/*
Theme Name: Mapos 2026
Description: Custom theme for Mapos Architectd by Ltl Mtn.
Author: Elliot Toman
Author URI: https://ltlmtn.com
Version: 1.0.0
Text Domain: mapos-2026
*/

@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');

:root {
    --copy: 'Cabin', sans-serif;
    --slate: #4f4e51;
    --teal: #20bec6;
    --bone: #EEEEEE;
    --desktop: 1200px;
}

.has-slate-color {
    color: var(--slate);
}

.has-slate-background-color {
    background-color: var(--slate);
}

.has-teal-color {
    color: var(--teal);
}

.has-teal-background-color {
    background-color: var(--teal);
}

.has-bone-color {
    color: var(--bone);
}

.has-bone-background-color {
    background-color: var(--bone);
}

.has-black-color {
    color: black;
}

.has-black-background-color {
    background-color: black;
}

.has-white-color {
    color: white;
}

.has-white-background-color {
    background-color: white;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    color: var(--slate);
    background-color: var(--bone);
    font-family: var(--copy);
    min-height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

.grecaptcha-badge {
    display: none !important;
}

.back-to-top-link {
    bottom: -4rem;
    opacity: 0;
    right: 1rem;
    position: fixed;
    transition: all 1s linear;
}

body.scrolled .back-to-top-link {
    bottom: 1rem;
    opacity: 1;
}

.footer-credit {
    border-bottom: 3px solid #DAB108;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.footer-credit .positioner {
    height: 0;
    position: relative;
}

.ltlmtn-logo {
    bottom: 0;
    display: block;
    position: absolute;
    right: 0;
}

.content-width {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--desktop);
    width: calc(100% - 2rem);
}

.slim {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

/* Header & Navigation Styles */
.site-header {
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding,
.menu-toggle {
    position: relative;
    z-index: 10;
}

.site-branding .site-logo {
    font-family: var(--copy);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    padding: 0.25rem;
}

.menu-toggle:focus {
    outline: 2px solid var(--teal);
}

.main-navigation {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: -1;
    padding: 10rem 1rem 4rem;
    min-height: 100vh;
    opacity: 0;
    transition: all 0.5s linear 0s;
}

.main-navigation.is-active {
    display: block;
    z-index: 9;
    opacity: 1;
    transition: opacity 0.5s linear 0.25s;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-family: var(--copy);
    color: var(--slate);
    text-decoration: none;
    font-weight: 300;
    font-size: 1.5rem;
    display: block;
    letter-spacing: 0.15em;
    padding: 1rem 0;
    transition: color 0.2s ease;
}

.main-navigation li.current-menu-item>a {
    text-decoration: underline;
}

.main-navigation li:not(:last-of-type) a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--teal);
}

.site-logo img {
    margin-bottom: 0.5rem;
    max-width: 150px;
}

.logo-subtitle {
    font: 500 1rem var(--copy);
    text-transform: uppercase;
}

.site-title {
    font: 700 2rem var(--copy);
}

.site-main {
    min-height: 75vh;
    padding: 2rem 0;
}

.site-footer {
    padding: 2rem 0;
}

.site-footer .wp-block-group-is-layout-flex {
    gap: 1rem;
}

body.home,
body.home a,
body.home .menu-toggle {
    color: white;
}

body.home .main-navigation.is-active {
    background-color: rgba(0, 0, 0, 0.75);
}



/* Homepage Splash Styles */
.homepage-splash-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
}

.homepage-splash-carousel,
.homepage-splash-carousel .slick-list,
.homepage-splash-carousel .slick-track,
.homepage-splash-carousel .splash-slide {
    width: 100%;
    height: 100%;
}

.homepage-splash-carousel .splash-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-splash-carousel .slick-slide {
    height: 100%;
}

.homepage-splash-links-container {
    align-items: center;
    display: flex;
    position: relative;
    min-height: 75vh;
    width: 100%;
    justify-content: end;
}

.homepage-splash-links {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.homepage-splash-links li {
    margin-bottom: 0.5rem;
}

.homepage-splash-links a {
    font-family: var(--copy);
    font-size: 1.25rem;
    color: var(--slate);
    display: block;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.2em;
}

.homepage-splash-links a:before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    content: " ";
    display: block;
    height: 100%;
    max-width: var(--desktop);
    opacity: 0;
    position: absolute;
    right: -0.5rem;
    top: 0;
    transition: all 0.5s ease;
    width: calc(100vw - 1rem);
    z-index: -1;
}

.homepage-splash-links a:hover:before {
    opacity: 1;
}

h1 {
    font: 300 2rem/1 var(--copy);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h2 {
    font: 300 1.5rem/1 var(--copy);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h3 {
    font: 600 1rem/1 var(--copy);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h4 {
    font: 600 0.85rem/1 var(--copy);
    text-transform: uppercase;
}

ul.project-meta {
    list-style: none;
    margin: 1rem 0;
}

ul.project-meta li {
    display: grid;
    grid-template-columns: 33.33% 1fr;
}

ul.project-meta li strong {
    text-transform: uppercase;
}

.site-main p {
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-modules {
    display: grid;
    gap: 1rem;
}

.project-modules .module {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.project-content {
    margin-bottom: 2rem;
}

.project-details {
    display: grid;
    gap: 1rem;
}

.project-modules .module-image,
.project-modules .module-text {
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.project-modules .module-image img {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.project-modules .module-text {
    padding: 1rem;
    border: 1px solid var(--teal);
    color: var(--teal);
    display: flex;
    align-items: center;
}

.project-read-more-toggle {
    color: var(--teal);
}

.press-container {
    margin-top: 2rem;
}

.press-container .no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
    font-size: 1.15rem;
    color: #666;
    list-style: none;
}

.projects-categories-navigation {
    margin: 2rem 0;
}

.project-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-categories-list li {
    display: block;
}

.project-categories-list li.show-all-category {
    margin-left: auto;
}

.project-categories-list .category-link {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    text-transform: uppercase;
}

.project-categories-list .category-link:hover {
    color: var(--teal);
}

.project-categories-list .category-link.is-active {
    border-bottom: 2px solid var(--slate);
}

.projects-grid-wrapper {
    margin-top: 3rem;
}

.projects-grid,
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.project-grid-item {
    background-color: var(--white);
}

.project-grid-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-grid-link:hover {
    opacity: 0.85;
}

.project-grid-thumbnail {
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: #eee;
    aspect-ratio: 10/7;
    position: relative;
    border-radius: 4px;
}

.project-grid-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-no-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.project-grid-title {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.project-grid-location {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

.projects-pagination {
    margin-top: 3rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.projects-section-header {
    max-width: 800px;
}

.projects-section-header h1 span {
    font-weight: 500;
}

.press-grid {
    list-style: none;
}

.press-grid .press-image {
    display: flex;
    aspect-ratio: 10/7;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.press-grid .press-image .press-logo {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
}

.press-grid .press-image .press-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.press-grid .press-image:hover .press-logo {
    background-color: rgba(255, 255, 255, 0.75);
}

.press-grid .press-item-title {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.post-thumbnail-header {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 12rem;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.post-thumbnail-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.post-title-overlay {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem;
    margin: 0;
    z-index: 2;
}

#mc_embed_signup {
    margin: 1rem 0;
    max-width: 400px;
}

#mc_embed_signup .indicates-required,
#mc_embed_signup .asterisk {
    color: red;
    font-size: 0.75em;
}

.mc-field-group {
    align-items: center;
    display: flex;
    height: 2.5rem;
    border: 0;
    width: 100%;
    margin-top: 0.5rem;
    position: relative;
}

#mc_embed_signup div.mce_inline_error {
    position: absolute;
    left: 100%;
    width: auto;
    font-size: 0.75em;
}

.mc-field-group label {
    background-color: rgba(0,0,0,0.1);
    flex-basis: 100%;
    padding: 0.5rem;
}

#mc_embed_signup input {
    background-color: white;
    appearance: none;
    border: 0;
    display: flex;
    width: 100%;
    min-width: 250px;
    padding: 0.5rem;
    font: normal 1rem var(--copy);
}

#mc_embed_signup input:focus {
    outline: 1px solid var(--teal);
}

#mc_embed_signup input[type=submit] {
    background-color: var(--slate);
    color: white;
    cursor: pointer;
    margin-top: 0.5rem;
    min-width: unset;
    width: auto;
}

.mc-field-group input[type=submit]:hover {
    background-color: black;
}

.job {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    margin-bottom: 1rem;
}

.job-toggle {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1px;
}

.job-title {
    background-color: var(--slate);
    color: white;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.5rem;
}

.job-readmore {
    background-color: var(--teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 2rem;
    cursor: pointer;
    height: 100%;
}

.job-readmore:hover {
    background-color: black;
}

.job-details {
    background-color: white;
}

.job-description,
.job-form {
    padding: 1rem;
}

.job-description ul {
    margin: 2rem;
}

.job-description ul li {
    margin-bottom: 0.5rem;
}

.frm_form_fields .frm_fields_container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 0;
    gap: 1rem;
}

.frm_form_fields .frm_fields_container input {
    border: 1px solid var(--slate);
    display: block;
    width: 100%;
    padding: 0.5rem;
    font: normal 1rem var(--copy);
}

.frm_form_field.frm_inline_container {
    display: flex;
    align-items: center;
    margin: 0;
}

.frm_form_field.frm_inline_container .frm_primary_label {
    padding: 0;
    white-space: nowrap;
}

.frm_form_fields .frm_fields_container input:focus {
    outline-color: var(--teal);
}

fieldset {
    border: 0;
}

.frm_dropzone.frm_single_upload,
.frm_dropzone.dz-clickable {
    display: flex;
    align-items: center;
    margin: 0;
    min-height: unset;
}

.frm_compact .frm_dropzone.dz-clickable.frm_single_upload .dz-message,
.frm_compact .frm_dropzone.dz-clickable .dz-message {
    display: block;
    width: 100%;
    box-shadow: none;
    border: 1px dashed var(--slate);
    margin: 0;
    padding: 1rem;
}

button.frm_button_submit.frm_final_submit {
    cursor: pointer;
    display: block;
    width: 100%;
    background-color: var(--teal);
    border: 0;
    padding: 0.5rem 1rem;
    font: 600 1rem var(--copy);
    color: white;
}

button.frm_button_submit.frm_final_submit:hover {
    background-color: black;
}

span.frm_required {
    color: red;
}

.taxonomy-description a {
    font-weight: bold;
}

#principles {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

#principles>.wp-block-group {
    padding: 1rem;
}

#principles>.wp-block-group:nth-of-type(2n+1) {
    background-color: white;
}

#principles>.wp-block-group:nth-of-type(2n+2) {
    background-color: var(--slate);
    color: white;
}

.wp-block-columns.are-vertically-aligned-center.principle-columns {
    align-items: stretch !important;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wp-block-columns.are-vertically-aligned-center.principle-columns .wp-block-column.is-vertically-aligned-center {
    position: relative;
    align-self: stretch;
}

.wp-block-group.principle-text {
    align-items: center;
    border: 1px solid var(--teal);
    border-radius: 4px;
    color: var(--teal);
    display: flex;
    height: 100%;
    padding: 1rem;
}

.wp-block-columns.are-vertically-aligned-center.principle-columns img {
    border-radius: 4px;
}

footer .credit {
    color: var(--slate);
    font-size: 0.75rem;
    text-align: center;
    padding: 1rem 0;
}

footer .credit a {
    color: var(--slate);
    text-decoration: none;
}

@media (min-width: 600px) {
    .footer-copyright-container {
        flex-direction: row;
    }
}

/* Desktop Navigation (800px and up) */
@media (min-width: 800px) {
    .menu-toggle {
        display: none;
    }

    .main-navigation {
        display: block;
        position: static;
        width: auto;
        box-shadow: none;
        padding: 0;
        background-color: transparent;
        min-height: unset;
        z-index: 9;
        opacity: 1;
    }

    .main-navigation ul {
        display: flex;
        gap: 2rem;
    }

    .main-navigation li {
        margin-bottom: 0;
    }

    .main-navigation li:not(:last-of-type) a {
        border-bottom: 0;
    }

    .main-navigation li a {
        padding: 0;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 3px;
    }

    .site-footer .wp-block-group-is-layout-flex {
        gap: 2rem;
    }

    .homepage-splash-links a {
        font-size: 1.5rem;
        padding: 0.5rem 0;
    }

    .project-details {
        grid-template-columns: 1fr 1fr;
    }

    .project-details h1 {
        font-size: 1.25rem;
    }

    .project-modules .module.layout-a,
    .project-modules .module.layout-c {
        grid-template-columns: 1fr 33.33%;
    }

    .project-modules .module.layout-b,
    .project-modules .module.layout-d {
        grid-template-columns: 33.33% 1fr;
    }

    .project-modules .module.layout-a .module-image,
    .project-modules .module.layout-b .module-image {
        overflow: hidden;
        position: relative;
    }

    .project-modules .module.layout-a .module-image img,
    .project-modules .module.layout-b .module-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .project-modules .module.layout-a .module-image.small-image,
    .project-modules .module.layout-b .module-image.small-image {
        padding-top: 175%;
    }

    .project-modules .module-text.Medium {
        font-size: 1.25em;
    }

    .project-modules .module-text.Large {
        font-size: 1.5em;
    }

    #principles>* {
        flex-basis: calc(50% - 1rem);
        display: flex;
        align-items: stretch;
        height: stretch;
    }
}

@media screen and (min-width: 1080px) {
    #principles>* {
        flex-basis: calc(33.33% - 1rem);
    }
}

@media (min-width: 1200px) {
    .project-details {
        grid-template-columns: 33.33% 1fr;
    }

    .project-modules .module.layout-a .module-image.small-image,
    .project-modules .module.layout-b .module-image.small-image {
        padding-top: 150%;
    }
}