/*@import "tailwindcss";*/

@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter.woff2') format('woff2');
}

/* Performance / responsive safety (no visual redesign) */
.site-body {
    overflow-x: hidden;
}

.site-content img,
.site-footer img {
    max-width: 100%;
    height: auto;
}

.site-content img.object-cover,
.site-content .object-cover,
.Constructingimg img,
.blog-card-media img,
.blog-intro-split__media img,
.apartment-card__img,
.hero-banner-video {
    height: 100%;
}

.site-content iframe,
.site-content video {
    max-width: 100%;
}

@media (max-width: 1023px) {
    .wf-define-image,
    .wf-define-image img {
        height: auto !important;
        max-height: 480px;
    }
}

@media (max-width: 639px) {
    .wf-define-image,
    .wf-define-image img {
        max-height: 320px;
    }
}

:root {
    --theme-primary: #132968;
    --theme-secondary: #1e40af;
    --theme-button-bg: #132968;
    --theme-button-hover: #2a3634;
    --theme-header-bg: #ffffff;
    --theme-footer-bg: #132968;
    --theme-link: #132968;
    --theme-accent: #9CA3AF;
    --theme-heading: #374151;
    --theme-text: #4B5563;
    --theme-cta-text: #ffffff;
    --theme-surface: #ebf2f8;
    --theme-primary-soft: rgba(19, 41, 104, 0.15);
    --theme-primary-overlay: rgba(19, 41, 104, 0.35);
    --theme-accent-soft: rgba(156, 163, 175, 0.45);

    --brand: var(--theme-primary);
    --brand-soft: var(--theme-accent);
    --brand-dark: var(--theme-button-hover);
}

html { scroll-behavior: smooth; }

.site-body {
    color: var(--theme-text);
}

.heroSect{
    height: calc(100vh - 96px);
    min-height: 520px;
}
section.heroSect > .heroSect {
    height: 100%;
    min-height: 0;
}

.site-header {
    background-color: var(--theme-header-bg, #ffffff) !important;
    /*overflow: hidden;*/
}

.site-footer {
    background-color: var(--theme-footer-bg, #132968) !important;
}

/* Dark footer — light text */
.site-footer--dark {
    color: #e5e7eb;
}
.site-footer--dark .site-footer-copy { color: #d1d5db; }
.site-footer--dark .site-footer-muted { color: #9ca3af; }
.site-footer--dark .site-footer-link { color: #d1d5db; }
.site-footer--dark .site-footer-link:hover { color: var(--theme-accent); }
.site-footer--dark .site-footer-icon { color: var(--theme-accent); stroke: var(--theme-accent); }
.site-footer--dark .site-footer-border { border-color: rgba(255, 255, 255, 0.15); }

/* Light footer — dark readable text (local/light theme) */
.site-footer--light {
    color: var(--theme-text, #4b5563);
}
.site-footer--light .site-footer-copy { color: var(--theme-text, #4b5563); }
.site-footer--light .site-footer-muted { color: #6b7280; }
.site-footer--light .site-footer-link { color: var(--theme-text, #4b5563); }
.site-footer--light .site-footer-link:hover { color: var(--theme-primary); }
.site-footer--light .site-footer-icon { color: var(--theme-accent); stroke: var(--theme-accent); }
.site-footer--light .site-footer-border { border-color: #e5e7eb; }

.site-office-map {
    height: 380px;
    min-height: 380px;
}
.site-office-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

/* Fixed logo size — never show full-resolution PNG overflow into hero */
.-site-logo,
.-site-logo-img,
.site-logo-silhouette,
.site-logo-svg {
    height: 3.25rem !important;
    max-height: 3.25rem !important;
    width: auto !important;
    max-width: 4.75rem !important;
    display: block;
    object-fit: contain !important;
    flex-shrink: 0;
}

.site-logo-svg--header .site-logo-house,
.site-logo-svg--header .site-logo-window {
    stroke: var(--theme-logo-stroke-header, var(--theme-primary));
}

.site-logo-svg--footer .site-logo-house,
.site-logo-svg--footer .site-logo-window {
    stroke: var(--theme-logo-stroke-footer, var(--theme-cta-text));
}

.site-logo-svg .site-logo-mark {
    fill: var(--theme-logo-mark, var(--theme-secondary));
}

/*.site-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    background: transparent !important;
    flex-shrink: 0;
    overflow: hidden;
    height: 3.25rem;
    max-height: 3.25rem;
    max-width: 4.75rem;
}*/

/*@media (min-width: 1024px) {
    .site-logo-wrap {
        width: 88px;
    }
}*/

@media (max-width: 1024px) {
    .heroSect{
        height: calc(100vh - 80px);
        min-height: 420px;
    }

    .mobile-menudiv{
        align-items: flex-start;
    }

    .clientlogos{
        overflow: hidden;
    }

}

@media (max-width: 767.9px) {
    /*.clientlogos{
        overflow: hidden;
    }

    .clientlogos div:last-child{
        margin-left: auto;
        margin-right: auto;
        grid-column: 2 span / 3;
    }*/

}

/* Home business-area images: lock to current rendered size 512×723 */
.Constructingimg {
    width: 512px;
    height: 723px;
    max-width: 100%;
}
.Constructingimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 1023px) {
    .Constructingimg {
        width: 100%;
        height: auto;
        aspect-ratio: 512 / 723;
        max-width: 100%;
    }

    .home-area-row {
        flex-direction: column !important;
    }

    .home-area-row .Constructingimg {
        margin-left: auto;
        margin-right: auto;
        order: 0 !important;
        max-width: 36rem !important;
        width: 100%;
    }

    .home-area-row .flex-1 {
        order: 0 !important;
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .home-area-row .Constructingimg {
        max-width: 42rem !important;
        height: 580px;
        aspect-ratio: auto;
    }

    .home-area-row .Constructingimg img {
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 1024px) {
    .home-area-row .Constructingimg {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 767.9px) {
    .home-area-row .Constructingimg {
        max-width: 100% !important;
        height: 280px;
        aspect-ratio: auto;
    }

    .home-area-row .Constructingimg img {
        height: 100%;
        object-fit: cover;
    }
}

.site-logo-img,
.site-logo-silhouette {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* White silhouette only on dark footer — never spill on header/hero */
.site-logo-silhouette {
    position: absolute;
    left: 50%;
    top: 50%;
    width: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 0 !important;
    transform: translate(-50%, -50%) scale(1.04);
    filter: brightness(0) invert(1);
}

.site-footer--dark .site-logo-silhouette--footer {
    opacity: 1 !important;
}

.site-logo-img {
    position: relative;
    z-index: 1;
    filter: none;
}

.site-logo-wrap--footer {
    /*margin-right: 0.15rem;*/
}

/* Logo text — follows theme (auto light/dark by header/footer bg) */
.site-brand-name {
    color: var(--theme-brand-name, var(--theme-primary)) !important;
    font-family: "REM", "Public Sans", sans-serif !important;
    font-weight: 700 !important;
    line-height: 28px;
}

.site-brand-tagline {
    color: var(--theme-brand-tagline, var(--theme-text)) !important;
    font-family: "REM", "Public Sans", sans-serif !important;
    line-height: 20px;
}


.taglineWrap{
    position: relative;
    height: 20px;
    overflow: hidden;
}

.tagline{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--theme-brand-tagline, var(--theme-accent)) !important;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px);
    will-change: transform, opacity;
}

.tagline.active{
    animation: taglineIn .8s cubic-bezier(.22,1,.36,1) forwards;
}

.tagline.leaving{
    animation: taglineOut .8s cubic-bezier(.22,1,.36,1) forwards;
}

.site-header .site-brand-name {
    color: var(--theme-brand-name, var(--theme-primary)) !important;
}

.site-header .tagline {
    color: var(--theme-brand-tagline, var(--theme-accent)) !important;
}

.site-footer .tagline{
    color: var(--theme-footer-brand-tagline, var(--theme-accent)) !important;
}

.section-head {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin:1rem 0 1.5rem;
}

/*.section-num {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--blueprint);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}
*/

.fliedlabel span{
    color: #c0392b;
}


@keyframes taglineIn{
    0%{
        opacity: 0;
        transform: translateY(8px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes taglineOut{
    0%{
        opacity: 1;
        transform: translateY(0);
    }
    100%{
        opacity: 0;
        transform: translateY(-8px);
    }
}

@media (prefers-reduced-motion: reduce){
    .tagline.active,
    .tagline.leaving{
        animation: none;
        opacity: 1;
        transform: none;
    }
}








/*.taglineWrap{
    position:relative;
    height:20px;
    overflow:hidden;
}

.tagline{
    position:absolute;
    top:0;
    left:0;
    font-size:14px;
    font-weight:400;
    color:#2f8fd0;
    white-space:nowrap;
    opacity:0;
    transform:translateY(12px);
}

.tagline.active{
    animation: taglineIn 0.6s ease forwards;
}

.tagline.leaving{
    animation: taglineOut 0.6s ease forwards;
}

@keyframes taglineIn{
    from{ opacity:0; transform:translateY(12px); }
    to{ opacity:1; transform:translateY(0); }
}

@keyframes taglineOut{
    from{ opacity:1; transform:translateY(0); }
    to{ opacity:0; transform:translateY(-12px); }
}

@media (prefers-reduced-motion: reduce){
    .tagline.active, .tagline.leaving{ animation:none; opacity:1; transform:none; }
}*/


.clientlogos{
    display: grid;
    grid-template-columns: repeat(7, auto);
    gap: 16px;
}

.clientlogosinner {
    /*background: #fff;
    box-shadow: 0 0 10px rgb(10 31 68 / 10%);
    text-align: center;
    padding: 2rem;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.clientlogosinner img{
    height: 100px;
}









.site-footer-brand-name {
    color: var(--theme-footer-brand-name, var(--theme-accent)) !important;
    font-family: "REM", "Public Sans", sans-serif !important;
    font-weight: 700 !important;
    line-height: 28px;
}

.site-footer-brand-tagline {
    color: var(--theme-footer-brand-tagline, var(--theme-accent)) !important;
    font-family: "REM", "Public Sans", sans-serif !important;
    line-height: 20px;
}

.nav-link {
    position: relative;
    font-weight: 700;
    color: var(--theme-link);
    transition: color .2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--theme-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--theme-accent);
    transition: width .2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown__head svg,
.dropdown__menulist a .dest-left svg,
.dropdown__menulist a .dest-right svg,
.dropdown__menulist a .dest-right svg.chev {
    width: 17px !important;
    height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
    flex-shrink: 0 !important;
    display: block;
}

.nav-dropdown__head svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    color: #4c5fef;
}

@media (max-width: 1023px) {
    .site-header .nav-dropdown[data-nav-dropdown] {
        display: none !important;
    }
}

.site-header .nav-link.nav-dropdown__toggle {
    background: #c8242b;
    color: #fff !important;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 7px;
    height: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background .15s ease;
    box-shadow: 0 6px 16px -6px rgba(200,36,43,.55);
}

.nav-dropdown__caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
    transition: transform .18s ease;
}

.site-header .nav-link.nav-dropdown__toggle::after{
    display: none;
}

.site-header .nav-link.nav-dropdown__toggle:hover {
    background: #a51e24;
    color: #fff !important;
}

.site-header .nav-link.nav-dropdown__toggle.is-active{
    color: #fff !important;
}

.nav-dropdown__menu {
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    background:#fff !important;
    border:1px solid #ececec;
    box-shadow:0 10px 26px rgba(4,45,82,0.14);
    border-radius:6px;
    min-width:280px;
    width: max-content;
    max-width: min(320px, calc(100vw - 24px));
    height: auto !important;
    max-height: none !important;
    padding:20px;
    opacity:0;
    visibility:hidden;
    overflow: visible !important;
    transform:translateY(-6px);
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index:200;
}

.site-header .nav-dropdown:hover .nav-dropdown__menu,
.site-header .nav-dropdown:focus-within .nav-dropdown__menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.site-header .nav-dropdown:hover .nav-link.nav-dropdown__toggle .nav-dropdown__caret {
    transform: rotate(180deg);
}


.nav-dropdown.is-open .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown__head {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.nav-dropdown__head svg {
    width: 20px;
    height: 20px;
    color: #4c5fef;
    flex-shrink: 0;
}

.nav-dropdown__head span{
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #171a24;
    letter-spacing: -0.01em;
}

.nav-locationcount {
    font-size: 13px;
    color: #9aa1b5;
    margin: 0 0 18px 30px;
}

.country-name {
    font-size: 12px;
    font-weight: 500;
    color: #6b7180;
    margin: 0 0 8px 4px;
}

.dropdown__menulist{    
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown__menulist a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
    font-size: 14.5px;
    color: #171a24;
    font-weight: 500;
}

.dropdown__menulist a .dest-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown__menulist a .dest-left svg {
    width: 17px;
    height: 17px;
    color: #6b7180;
    flex-shrink: 0;
}

.dropdown__menulist a .dest-right svg {
    width: 17px;
    height: 17px;
    color: #9aa1b5;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

.dropdown__menulist a:hover {
    background: rgb(3, 105, 161, .1);
    color: var(--theme-primary);
}


.dropdown__menulist a:hover, 
.dropdown__menulist a:focus-visible {
    background: #f1f3f8;
    border-color: #d7dae5;
}

.dropdown__menulist a:hover .dest-right svg {
    color: #4c5fef;
    transform: translateX(3px);
}


.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: none;
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-left.is-visible {
    opacity: 1;
    transform: none;
}

.cardbox{
    box-shadow: 0 10px 30px rgba(16, 57, 92, 0.08);
    border: 1px solid #d8e1e8;
    border-radius: 16px;
    padding: 28px;
}

.required-note {
    font-size: 12px;
    color: #66727d;
    margin: 0 0 16px;
}

.required-note span {
    margin-right: 2px;
    color: #c0392b;
}

.form-input {
    width: 100%;
    height: 2.5rem;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    padding: 0.62rem 0.75rem;
    margin: 0;
    border: 1px solid #d8e1e8;
    color: #1c232b;
    width: 100%;
}

.divd{
    color: #d8e1e8;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 2px var(--theme-primary-soft);
}

.form-textarea {
    width: 100%;
    min-height: 5.25rem;
    border: 1px solid #d8e1e8;
    border-radius: 0.375rem;
    padding: 0.62rem 0.75rem;
    background: #fff;
    font-size: 14px;
    margin: 0;
}

.form-input.is-invalid,
.form-textarea.is-invalid {
    border-color: #dc2626;
}

.field-error {
    display: none;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.25;
    color: #dc2626;
}

.field-error.is-visible {
    display: block;
    color: #dc2626;
}

.apt-detail__block .field-error,
.apt-enquiry .field-error {
    color: #dc2626 !important;
}

.site-toast-root {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: min(340px, calc(100vw - 2rem));
    pointer-events: none;
}

.site-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    background: #0f172a;
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.85rem 0.95rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
}

.site-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.site-toast-success { background: var(--theme-primary); }
.site-toast-error { background: #b91c1c; }

.site-toast-icon {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-toast-svg {
    width: 0.9rem;
    height: 0.9rem;
}

.site-toast-body {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.35;
    padding-top: 0.05rem;
}

.site-toast-close {
    background: transparent;
    border: 0;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 0.1rem;
    display: inline-flex;
}

.site-toast-close-svg {
    width: 0.95rem;
    height: 0.95rem;
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-button-bg);
    color: #fff;
    font-weight: 600;
    border-radius: 0.375rem;
    padding: 0.75rem 1.5rem;
    transition: background .2s ease;
}

.btn-brand:hover { background: var(--theme-button-hover); }

.btn-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-accent);
    color: var(--theme-primary);
    font-weight: 600;
    border-radius: 0.375rem;
    padding: 0.75rem 2rem;
    transition: opacity .2s ease, background .2s ease;
}

.btn-soft:hover { opacity: .9; }

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    color: #fff;
    font-weight: 500;
    border-radius: 0.375rem;
    padding: 0.75rem 2rem;
    background: transparent;
    transition: background .2s ease, color .2s ease;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--theme-primary);
}

.region-marquee-wrap {
    overflow: hidden;
    width: 100%;
}

.region-marquee {
    display: flex;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    animation: region-scroll 40s linear infinite;
}

.region-marquee:hover {
    animation-play-state: paused;
}

.region-marquee-group {
    display: flex;
    flex-shrink: 0;
    gap: 0.75rem;
    padding-right: 0.75rem;
}

.region-card {
    position: relative;
    flex-shrink: 0;
    width: 7rem;
    height: 5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    background: #e5e7eb;
}

@media (min-width: 640px) {
    .region-marquee-group {
        gap: 0.85rem;
        padding-right: 0.85rem;
    }
    .region-card {
        width: 8rem;
        height: 6rem;
    }
}

@media (min-width: 768px) {
    .region-marquee-group {
        gap: 1rem;
        padding-right: 1rem;
    }
    .region-card {
        width: 140px;
        height: 96px;
    }
}

.region-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.region-card-label {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,.9);
    border-radius: 0.25rem;
    padding: 0 0.5rem;
    white-space: nowrap;
}

.region-card-label span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

@keyframes region-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .region-marquee {
        animation: none;
    }
}

/* Construction animated banner (SVG/CSS — no photos) */
.hero-banner {
    background: #070e1c;
}

.hero-banner__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,14,28,0.45) 0%, rgba(7,14,28,0.25) 45%, rgba(7,14,28,0.72) 100%);
    z-index: 1;
}

.hero-banner .container {
    z-index: 5;
}

.hero-banner__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--theme-accent-soft);
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d1d5db;
    background: var(--theme-primary-overlay);
}

.hero-banner__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    z-index: 5;
}

.hero-banner__scroll span {
    display: block;
    width: 1.25rem;
    height: 2rem;
    border: 2px solid rgba(255,255,255,0.45);
    border-radius: 999px;
    position: relative;
}

.hero-banner__scroll span::after {
    content: '';
    position: absolute;
    top: 0.35rem;
    left: 50%;
    width: 0.3rem;
    height: 0.3rem;
    margin-left: -0.15rem;
    border-radius: 50%;
    background: #fff;
    animation: hero-scroll 1.6s ease-in-out infinite;
}

@keyframes hero-scroll {
    0% { opacity: 0; transform: translateY(0); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translateY(0.85rem); }
}

.const-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background: #071225;
}

.const-sky {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 40% at 72% 18%, rgba(245,158,11,0.12), transparent 55%),
        radial-gradient(ellipse 40% 35% at 20% 30%, rgba(147,197,253,0.1), transparent 50%),
        linear-gradient(180deg, #060e1c 0%, var(--theme-primary) 42%, #0a1630 72%, #050b16 100%);
    animation: const-sky-shift 18s ease-in-out infinite alternate;
}

.const-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 28% 12%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 45% 22%, rgba(255,255,255,0.65), transparent),
        radial-gradient(1px 1px at 62% 8%, rgba(255,255,255,0.45), transparent),
        radial-gradient(1.5px 1.5px at 78% 15%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 88% 28%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 35% 35%, rgba(255,255,255,0.35), transparent);
    animation: const-stars-twinkle 5s ease-in-out infinite alternate;
    opacity: 0.7;
}

.const-glow {
    position: absolute;
    top: 8%;
    right: 16%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.35) 0%, rgba(245,158,11,0.08) 40%, transparent 70%);
    animation: const-pulse 7s ease-in-out infinite;
    filter: blur(2px);
}

.const-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(156,163,175,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(156,163,175,0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 68%);
    animation: const-grid-move 24s linear infinite;
}

.const-haze {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(10,20,40,0.55) 40%, rgba(3,7,18,0.75));
    pointer-events: none;
    z-index: 1;
}

.const-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
    z-index: 2;
}

.const-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.const-far {
    animation: const-far-drift 20s ease-in-out infinite alternate;
}

.const-build {
    transform-origin: center bottom;
    transform-box: fill-box;
    animation: const-rise 3.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.const-build--1 { animation-delay: 0.2s; }
.const-build--2 { animation-delay: 0.55s; }
.const-build--3 { animation-delay: 0.85s; }
.const-build--4 { animation-delay: 0.35s; }
.const-build--5 { animation-delay: 1.05s; }
.const-build--core { animation-delay: 0.65s; }

.const-floors .floor {
    opacity: 0;
    animation: const-floor-in 0.55s ease-out both;
}

.const-floors .floor-1 { animation-delay: 1.2s; }
.const-floors .floor-2 { animation-delay: 1.55s; }
.const-floors .floor-3 { animation-delay: 1.9s; }
.const-floors .floor-4 { animation-delay: 2.25s; }
.const-floors .floor-5 { animation-delay: 2.6s; }
.const-floors .floor-6 { animation-delay: 2.95s; }
.const-floors .floor-7 { animation-delay: 3.3s; }
.const-floors .floor-8 { animation-delay: 3.65s; }

.const-windows .win {
    animation: const-window-glow 3.8s ease-in-out infinite;
}

.const-windows .win:nth-child(odd) { animation-delay: 0.35s; }
.const-windows .win:nth-child(3n) { animation-delay: 0.9s; }
.const-windows .win:nth-child(5n) { animation-delay: 1.6s; }
.const-windows .win:nth-child(7n) { animation-delay: 2.2s; }

.const-scaffold {
    animation: const-scaffold-pulse 5s ease-in-out infinite;
}

.const-crane-arm {
    transform-origin: 711px 205px;
    animation: const-crane-swing 9s ease-in-out infinite;
}

.const-load {
    transform-origin: 504px 212px;
    animation: const-hook-drop 9s ease-in-out infinite;
}

.const-road-dash {
    animation: const-road-scroll 2.2s linear infinite;
}


.const-dust span,
.const-beams span,
.const-sparks span {
    position: absolute;
    display: block;
    pointer-events: none;
}

.const-dust span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(209,213,219,0.5);
    bottom: 16%;
    z-index: 2;
    animation: const-dust-float 8s linear infinite;
}

.const-dust span:nth-child(1) { left: 14%; animation-delay: 0s; }
.const-dust span:nth-child(2) { left: 28%; animation-delay: 1.1s; width: 4px; height: 4px; }
.const-dust span:nth-child(3) { left: 42%; animation-delay: 2s; }
.const-dust span:nth-child(4) { left: 55%; animation-delay: 0.6s; width: 5px; height: 5px; }
.const-dust span:nth-child(5) { left: 68%; animation-delay: 1.7s; }
.const-dust span:nth-child(6) { left: 80%; animation-delay: 2.5s; width: 3px; height: 3px; }
.const-dust span:nth-child(7) { left: 92%; animation-delay: 3.2s; }

.const-beams span {
    width: 2px;
    height: 110px;
    border-radius: 2px;
    background: linear-gradient(180deg, transparent, rgba(147,197,253,0.75), transparent);
    top: 18%;
    z-index: 2;
    animation: const-beam 5.5s ease-in-out infinite;
}

.const-beams span:nth-child(1) { left: 22%; animation-delay: 0s; }
.const-beams span:nth-child(2) { left: 48%; animation-delay: 1.2s; height: 140px; }
.const-beams span:nth-child(3) { left: 64%; animation-delay: 2.4s; }
.const-beams span:nth-child(4) { left: 82%; animation-delay: 3.1s; height: 90px; }

.const-sparks span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px 2px rgba(245,158,11,0.9);
    bottom: 42%;
    left: 58%;
    z-index: 3;
    animation: const-spark 1.4s ease-out infinite;
}

.const-sparks span:nth-child(1) { animation-delay: 0s; }
.const-sparks span:nth-child(2) { animation-delay: 0.18s; left: 59%; }
.const-sparks span:nth-child(3) { animation-delay: 0.35s; left: 57%; bottom: 44%; }
.const-sparks span:nth-child(4) { animation-delay: 0.5s; left: 60%; }
.const-sparks span:nth-child(5) { animation-delay: 0.7s; left: 56.5%; bottom: 41%; }
.const-sparks span:nth-child(6) { animation-delay: 0.9s; left: 58.5%; }
.const-sparks span:nth-child(7) { animation-delay: 1.05s; left: 59.5%; bottom: 43%; }
.const-sparks span:nth-child(8) { animation-delay: 1.2s; left: 57.5%; }

@keyframes const-sky-shift {
    from { filter: brightness(1) saturate(1); }
    to { filter: brightness(1.12) saturate(1.08); }
}

@keyframes const-stars-twinkle {
    from { opacity: 0.45; }
    to { opacity: 0.85; }
}

@keyframes const-grid-move {
    from { background-position: 0 0; }
    to { background-position: 56px 56px; }
}

@keyframes const-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.12); }
}

@keyframes const-far-drift {
    from { transform: translateX(-8px); }
    to { transform: translateX(10px); }
}

@keyframes const-rise {
    from { transform: translateY(45%) scaleY(0.15); opacity: 0; }
    to { transform: translateY(0) scaleY(1); opacity: 1; }
}

@keyframes const-floor-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes const-window-glow {
    0%, 100% { opacity: 0.2; }
    40% { opacity: 0.85; }
    70% { opacity: 0.35; }
}

@keyframes const-scaffold-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 0.9; }
}

@keyframes const-crane-swing {
    0%, 100% { transform: rotate(-2.5deg); }
    50% { transform: rotate(3.5deg); }
}

@keyframes const-hook-drop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(48px); }
}

@keyframes const-road-scroll {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -50; }
}

@keyframes const-dust-float {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    12% { opacity: 0.75; }
    100% { transform: translateY(-260px) translateX(18px) scale(0.3); opacity: 0; }
}

@keyframes const-beam {
    0%, 100% { opacity: 0; transform: translateY(0) scaleY(0.35); }
    35% { opacity: 0.85; transform: translateY(24px) scaleY(1); }
    65% { opacity: 0; }
}

@keyframes const-spark {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--sx, 18px), var(--sy, -28px)) scale(0); opacity: 0; }
}

.const-sparks span:nth-child(1) { --sx: 22px; --sy: -32px; }
.const-sparks span:nth-child(2) { --sx: -16px; --sy: -24px; }
.const-sparks span:nth-child(3) { --sx: 28px; --sy: -18px; }
.const-sparks span:nth-child(4) { --sx: -22px; --sy: -36px; }
.const-sparks span:nth-child(5) { --sx: 12px; --sy: -40px; }
.const-sparks span:nth-child(6) { --sx: -28px; --sy: -20px; }
.const-sparks span:nth-child(7) { --sx: 30px; --sy: -28px; }
.const-sparks span:nth-child(8) { --sx: -10px; --sy: -34px; }

#mobile-menu{
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    z-index: 50;
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

#mobile-menu.flex {
    display: flex !important;
}

#mobile-menu.hidden{
    display: none !important;
}

.mobile-housing-dropdown__toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding-right: 0;
}

.mobile-housing-dropdown__caret {
    transition: transform 0.2s ease;
}

.mobile-housing-dropdown.is-open .mobile-housing-dropdown__caret {
    transform: rotate(180deg);
}

.mobile-housing-dropdown__panel.hidden {
    display: none !important;
}

.hamburger {
    cursor: pointer;
    position: relative;
    width: 48px;
    height: 48px;
    transition: all 0.25s;
    outline: none !important;
}

.hamburger__top-bun,
.hamburger__bottom-bun {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #000;
  transform: rotate(0);
  transition: all 0.5s;
}

.hamburger:hover [class*="-bun"] {
  background: #333;
}

.hamburger__top-bun {
  transform: translateY(-5px);
}

.hamburger__bottom-bun {
  transform: translateY(3px);
}

.open {
  transform: rotate(90deg);
  transform: translateY(-1px);
  transition: all ease-in-out 600ms;
}

.open .hamburger__top-bun {
  transform:
    rotate(45deg)
    translateY(0px);
}

.open .hamburger__bottom-bun {
  transform:
    rotate(-45deg)
    translateY(0px);
}

@media (prefers-reduced-motion: reduce) {
    .const-build,
    .const-crane-arm,
    .const-load,
    .const-dust span,
    .const-beams span,
    .const-sparks span,
    .const-windows .win,
    .const-floors .floor,
    .const-sky,
    .const-grid,
    .const-stars,
    .const-glow,
    .const-far,
    .const-scaffold,
    .const-road-dash {
        animation: none !important;
    }

    .const-build,
    .const-floors .floor {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   Theme bridge — map existing brand hex utilities to CRM colors
   (keeps layout/markup; only colors become dynamic)
   ============================================================ */

.border-t-\[\#132968\] { border-top-color: var(--theme-primary) !important; }
.bg-\[\#132968\] { background-color: var(--theme-primary) !important; }
.text-\[\#132968\] { color: var(--theme-primary) !important; }
.group-hover\:text-\[\#132968\]:is(:where(.group):hover *) { color: var(--theme-primary) !important; }
.hover\:text-\[\#132968\]:hover { color: var(--theme-primary) !important; }

.bg-\[\#9CA3AF\] { background-color: var(--theme-accent) !important; }
.text-\[\#9CA3AF\] { color: var(--theme-accent) !important; }
.group-hover\:bg-\[\#9CA3AF\]:is(:where(.group):hover *) { background-color: var(--theme-accent) !important; }
.group-hover\:text-\[\#9CA3AF\]:is(:where(.group):hover *) { color: var(--theme-accent) !important; }
.hover\:border-\[\#9CA3AF\]:hover { border-color: var(--theme-accent) !important; }
.hover\:text-\[\#9CA3AF\]:hover { color: var(--theme-accent) !important; }

.hover\:bg-\[\#2a3634\]:hover,
.hover\:bg-\[\#b8763a\]:hover {
    background-color: var(--theme-button-hover) !important;
}

/* Buttons that used hardcoded brand blues */
button.bg-\[\#132968\],
a.bg-\[\#132968\].text-white,
.theme-btn {
    background-color: var(--theme-button-bg) !important;
}

button.bg-\[\#132968\]:hover,
a.bg-\[\#132968\].text-white:hover,
.theme-btn:hover {
    background-color: var(--theme-button-hover) !important;
}

/* Inline accent / brand helpers used across pages */
.theme-accent-bg { background-color: var(--theme-accent) !important; }
.theme-accent-color { color: var(--theme-accent) !important; }
.theme-accent-border { border-color: var(--theme-accent) !important; }
.theme-primary-bg { background-color: var(--theme-primary) !important; }
.theme-primary-color { color: var(--theme-primary) !important; }
.theme-secondary-bg { background-color: var(--theme-secondary) !important; }
.theme-secondary-color { color: var(--theme-secondary) !important; }

/* SVG strokes hardcoded to the old accent */
[stroke="#9CA3AF"],
[stroke="#9ca3af"] {
    stroke: var(--theme-accent) !important;
}

.site-body a.text-\[\#132968\] {
    color: var(--theme-link) !important;
}

.site-footer a:hover {
    color: var(--theme-accent) !important;
}

.hamburger [class*="-bun"] {
    background: var(--theme-primary);
}

.hamburger:hover [class*="-bun"] {
    background: var(--theme-button-hover);
}

/* ============================================================
   Page content text — all pages (Oil & Gas, Commercial, CTAs…)
   ============================================================ */

.site-content {
    color: var(--theme-text);
}

/* Content headings: Oil & Gas, Commercial, U.S. Military, card titles */
.site-content .text-gray-700,
.site-content .text-gray-800,
.site-content .text-gray-900 {
    color: var(--theme-heading) !important;
}

/* Content body paragraphs & subtitles */
.site-content .text-gray-500,
.site-content .text-gray-600,
.site-content .prose,
.site-content .prose p {
    color: var(--theme-text) !important;
}

.site-content p:not([class*="text-"]):not(.text-white) {
    color: var(--theme-text);
}

/* Brand section titles keep Primary Color */
.site-content .text-\[\#132968\] {
    color: var(--theme-primary) !important;
}

/* CTA / dark banner text (Ready to start…, hero subtitles) */
.site-content .text-white,
.site-content .text-gray-200,
.site-content .text-gray-300 {
    color: var(--theme-cta-text) !important;
}




.compare-card {
    background: #ffffff;
    border: 1px solid #dce6ee;
    border-radius: 16px;
    padding: 34px 36px;
    box-shadow: 0 2px 8px rgba(15, 27, 45, 0.06);
}

.compare-card.alt {
    background: linear-gradient(160deg, #f9fafb, #f0f3f5);
    border-color: #d4dde5;
}

.compare-card ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.compare-card ul li{
    position: relative;
    padding-left: 24px;
}

.compare-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--theme-brand-name);
}

.compare-card.alt li::before {
    background: #c23b3f;
}


.manifest {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #dce6ee;
    box-shadow: 0 10px 30px rgba(11, 59, 99, 0.10);
    overflow: hidden;
    margin-top: 8px;
}

.manifest th,
.manifest td{
    padding-left: 28px;
    padding-right: 28px;
}

.featuregrid{
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .featuregrid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .featuregrid{
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
}

.wf-tour-frame {
    min-height: 420px;
}

.wf-tour-collage {
    position: relative;
    width: 148px;
    height: 148px;
}

.wf-tour-collage span {
    position: absolute;
    width: 56px;
    height: 56px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 14px rgba(19, 41, 104, 0.18);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.wf-tour-collage span:nth-child(1) { top: 0; left: 46px; width: 56px; height: 56px; }
.wf-tour-collage span:nth-child(2) { top: 38px; left: 8px; }
.wf-tour-collage span:nth-child(3) { top: 38px; right: 8px; left: auto; }
.wf-tour-collage span:nth-child(4) { bottom: 8px; left: 28px; }
.wf-tour-collage span:nth-child(5) { bottom: 8px; right: 28px; left: auto; }

@media (max-width: 639px) {
    .wf-tour-frame {
        min-height: 360px;
    }

    .wf-tour-collage {
        width: 120px;
        height: 120px;
    }

    .wf-tour-collage span {
        width: 46px;
        height: 46px;
    }

    .wf-tour-collage span:nth-child(1) { left: 37px; width: 46px; height: 46px; }
    .wf-tour-collage span:nth-child(2) { top: 30px; left: 4px; }
    .wf-tour-collage span:nth-child(3) { top: 30px; right: 4px; }
    .wf-tour-collage span:nth-child(4) { bottom: 4px; left: 20px; }
    .wf-tour-collage span:nth-child(5) { bottom: 4px; right: 20px; }
}

.checklist-card{}

.checklist-card li{
    font-size: 16px;
    color: var(--theme-text) !important;
}

.checklist-card li span{
    color: var(--theme-text) !important;
}

.compare-card.alt.checklist-card ul{
    padding: 0;
}

.compare-card.alt.checklist-card  li{
    padding: 0 0 10px;
}

.compare-card.alt.checklist-card  li::before{
    display: none;
}

.check-icon {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.check-icon svg {
    width: 13px;
    height: 13px;
    stroke: #fff;
    stroke-width: 3;
}

/* Blog detail page — clean editorial layout */
.blog-detail-page {
    background: #fff;
}

.blog-intro-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
    margin-top: 0.5rem;
}

@media (min-width: 900px) {
    .blog-intro-split {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2.5rem;
        align-items: start;
    }
}

.blog-intro-split__text {
    min-width: 0;
}

.blog-intro-split__media {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 44, 71, 0.12);
    background: #f3f4f6;
    width: 100%;
    height: 320px;
    flex-shrink: 0;
}

.blog-intro-split__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 640px) {
    .blog-intro-split__media {
        height: 420px;
    }
}

@media (min-width: 900px) {
    .blog-intro-split__media {
        height: 520px;
    }
}

.blog-detail-top {
    padding: 2.75rem 0 0;
}

.blog-detail-content {
    padding: 2.25rem 0 4.5rem;
}

@media (min-width: 1024px) {
    .blog-detail-top {
        padding-top: 3.5rem;
    }

    .blog-detail-content {
        padding: 2.75rem 0 6rem;
    }
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #6b7280;
}

.blog-breadcrumb a {
    color: var(--theme-primary);
    text-decoration: none;
    font-weight: 500;
}

.blog-breadcrumb a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.blog-breadcrumb__sep {
    color: #c4c9d1;
    font-weight: 400;
}

.blog-breadcrumb__current {
    color: #6b7280;
    max-width: 100%;
}

.blog-detail-date {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--theme-accent);
}

.blog-detail-cat {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--theme-primary);
    opacity: 0.85;
}

.blog-detail-title {
    margin: 0 0 1.1rem;
    font-size: clamp(1.85rem, 3.4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--theme-primary);
}

.blog-detail-excerpt {
    margin: 0 0 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #5b6472;
}

.blog-detail-hero-img {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 44, 71, 0.12);
    background: #f3f4f6;
}

.blog-detail-hero-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-sections {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

@media (min-width: 1024px) {
    .blog-sections {
        gap: 3.25rem;
    }
}

.blog-section-heading {
    margin: 0 0 1.15rem;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--theme-primary);
}

.blog-prose {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.blog-prose p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #555d6b;
}

@media (min-width: 640px) {
    .blog-prose p {
        font-size: 1.125rem;
        line-height: 1.85;
    }
}

.blog-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 1.75rem;
    align-items: start;
}

@media (min-width: 900px) {
    .blog-split {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2.25rem;
    }
}

.blog-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.blog-feature-list--solo {
    margin-top: 1.65rem;
    max-width: 38rem;
}

.blog-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0;
}

.blog-feature-bullet {
    flex: none;
    width: 9px;
    height: 9px;
    margin-top: 0.55rem;
    border-radius: 2px;
    background: var(--theme-primary);
}

.blog-feature-copy {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #555d6b;
}

.blog-feature-copy strong {
    color: #2f3640;
    font-weight: 700;
}

.blog-card-media {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.blog-card-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-card-media .blog-card-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    border-radius: 2px;
    background: var(--theme-primary);
}

.blog-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--theme-heading, #111827);
}

@media (min-width: 640px) {
    .blog-card-title {
        font-size: 1.125rem;
    }
}

@media (min-width: 640px) {
    .blog-card-media {
        height: 200px;
    }
}

@media (min-width: 1024px) {
    .blog-card-media {
        height: 190px;
    }
}

/* Articles library (LodgeLink-style listing) */
.articles-library-list {
    background: #f4f6f9;
}

.articles-library-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
    margin-bottom: 1.75rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.articles-library-toolbar__title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.articles-library-toolbar__title::before {
    content: "";
    flex-shrink: 0;
    width: 4px;
    height: 1.35rem;
    border-radius: 999px;
    background: var(--theme-accent, #9CA3AF);
}

.articles-library-count {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--theme-primary, #132968);
    line-height: 1.2;
}

.articles-library-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
}

.articles-library-sort-label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #6b7280;
    white-space: nowrap;
}

.articles-library-sort-select {
    appearance: none;
    -webkit-appearance: none;
    min-width: 210px;
    max-width: 100%;
    padding: 0.6rem 2.35rem 0.6rem 0.95rem;
    border: 1px solid #d5dbe3;
    border-radius: 8px;
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23132968' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 14px;
    color: var(--theme-primary, #132968);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.articles-library-sort-select:hover {
    border-color: var(--theme-accent, #9CA3AF);
    background-color: #fff;
}

.articles-library-sort-select:focus {
    outline: none;
    border-color: var(--theme-primary, #132968);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(19, 41, 104, 0.12);
}

/* Tablet */
@media (max-width: 1024px) {
    .articles-library-list {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .articles-library-toolbar {
        gap: 0.75rem 1rem;
        margin-bottom: 1.35rem;
    }

    .articles-library-count {
        font-size: 1.05rem;
    }

    .articles-library-sort-select {
        min-width: 180px;
    }

    .site-footer .grid-cols-2{
        grid-template-columns: 1fr auto;
    }

    .careersbox .careersbox_xl:last-child {
        margin: 0 auto;
        grid-column: 2 span;
        width: 352px;
    }

}

/* Mobile + small tablet */
@media (max-width: 767px) {
    .articles-library-page > section.relative {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .articles-library-page > section.relative .min-h-\[35vh\] {
        min-height: 28vh;
    }

    .articles-library-list {
        padding-top: 1.75rem !important;
        padding-bottom: 2rem !important;
    }

    .articles-library-list > .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .articles-library-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        margin-bottom: 1.15rem;
        padding-left: 0.15rem;
        padding-right: 0.15rem;
    }

    .articles-library-toolbar__title {
        width: 100%;
    }

    .articles-library-count {
        font-size: 1.05rem;
    }

    .articles-library-sort {
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }

    .articles-library-sort-label {
        font-size: 0.72rem;
    }

    .articles-library-sort-select {
        width: 100%;
        min-width: 0;
        font-size: 0.875rem;
        padding: 0.7rem 2.25rem 0.7rem 0.9rem;
    }

    .articles-library-grid {
        gap: 1.1rem;
    }

    .articles-library-card__body {
        padding: 1rem 1.05rem 1.15rem;
    }

    .articles-library-card__title {
        font-size: 1.02rem;
    }

    .articles-library-page .apartment-pager {
        margin-top: 1.75rem;
    }

    .articles-library-page .apartment-pager__panel {
        justify-content: center;
        width: 100%;
        gap: 0.3rem;
    }

    .articles-library-page .apartment-pager__btn,
    .articles-library-page .apartment-pager__page {
        min-height: 2.1rem;
        padding: 0.35rem 0.6rem;
        font-size: 0.78rem;
    }

    .site-footer .grid-cols-2{
        grid-template-columns: 1fr auto;
        row-gap: 48px;
    }

    .careersbox .careersbox_xl:last-child {
        width: 100%;
        grid-column: inherit;
    }

    .wf-define-image,
    .wf-define-image img{
        height: auto !important;
    }


}

@media (max-width: 480px) {
    .articles-library-page > section.relative h1 {
        font-size: 1.85rem;
        margin-bottom: 0.85rem;
    }

    .articles-library-page > section.relative p {
        font-size: 0.98rem;
        line-height: 1.45;
    }
}

.articles-library-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .articles-library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .articles-library-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

.articles-library-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 44, 71, 0.06);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.articles-library-card:hover {
    box-shadow: 0 10px 28px rgba(15, 44, 71, 0.12);
    transform: translateY(-2px);
}

.articles-library-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1f5;
}

.articles-library-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.articles-library-card:hover .articles-library-card__media img {
    transform: scale(1.04);
}

.articles-library-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.35rem 1.4rem;
}

.articles-library-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.65rem;
}

.articles-library-card__tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    border-radius: 3px;
    background: var(--theme-primary, #132968);
}

.articles-library-card__date {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--theme-accent, #9CA3AF);
}

.articles-library-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--theme-heading, #111827);
    transition: opacity 0.2s ease;
}

.articles-library-card:hover .articles-library-card__title {
    opacity: 0.82;
}

.articles-library-card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0 0 1rem;
    font-size: 0.925rem;
    line-height: 1.6;
    color: var(--theme-text, #4B5563);
}

.articles-library-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--theme-primary, #132968);
}

.articles-library-card__cta svg {
    transition: transform 0.2s ease;
}

.articles-library-card:hover .articles-library-card__cta svg {
    transform: translateX(3px);
}

.articles-library-results {
    position: relative;
    min-height: 120px;
    transition: opacity 0.2s ease;
}

.articles-library-results.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 640px) {
    .articles-library-page .apartment-pager__panel {
        justify-content: center;
    }
}

.blog-split-media {
    overflow: hidden;
    border-radius: 10px;
    background: #f3f4f6;
}

.blog-split-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

@media (min-width: 900px) {
    .blog-split-media img {
        min-height: 360px;
        aspect-ratio: auto;
        max-height: 520px;
    }
}

.blog-inline-figure {
    margin: 0;
}

.blog-inline-figure figcaption {
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.blog-cta {
    margin: 0.5rem 0;
    padding: 0;
    border-radius: 1rem;
    border: 1px solid #e3e8f0;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 44, 71, 0.06);
}

.blog-cta--housing {
    background: linear-gradient(120deg, var(--theme-primary-soft, #e8eef8) 0%, #ffffff 58%);
    border-left: 4px solid var(--theme-primary);
}

.blog-cta--contact {
    background: linear-gradient(120deg, #e8f5e9 0%, #ffffff 58%);
    border-left: 4px solid var(--theme-accent, #2f8fd0);
}

.blog-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 1.5rem 1.35rem;
}

@media (min-width: 768px) {
    .blog-cta__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.75rem;
        padding: 1.75rem 2rem;
    }
}

.blog-cta-title {
    margin: 0;
    flex: 1;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--theme-primary);
    text-align: left;
}

@media (min-width: 768px) {
    .blog-cta-title {
        font-size: 1.35rem;
        max-width: 34rem;
    }
}

.blog-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.85rem 1.4rem;
    border-radius: 0.65rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--theme-primary);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(19, 41, 104, 0.18);
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.blog-cta-btn:hover {
    opacity: 1;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(19, 41, 104, 0.22);
}

.blog-cta-btn__arrow {
    font-size: 1.05em;
    line-height: 1;
    transition: transform 0.2s ease;
}

.blog-cta-btn:hover .blog-cta-btn__arrow {
    transform: translateX(3px);
}

.blog-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .blog-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.blog-column-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--theme-primary);
}

.blog-column-card p {
    margin: 0;
    line-height: 1.65;
    color: #555d6b;
}

.blog-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    overflow: hidden;
}

.blog-faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    font-weight: 600;
    color: var(--theme-primary);
    user-select: none;
}

.blog-faq-item summary::-webkit-details-marker {
    display: none;
}

.blog-faq-plus {
    flex: none;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-primary-soft, #eef2f8);
    color: var(--theme-primary);
    transition: transform 0.2s ease;
}

.blog-faq-item[open] .blog-faq-plus {
    transform: rotate(45deg);
}

.blog-faq-answer {
    padding: 0 1.15rem 1.15rem;
}

.blog-faq-answer p {
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    line-height: 1.7;
    color: #555d6b;
}

/* Blog detail — mobile / tablet */
.blog-detail-page {
    overflow-x: hidden;
}

.blog-detail-page img {
    max-width: 100%;
}

@media (max-width: 899px) {
    .blog-detail-top {
        padding-top: 1.75rem;
    }

    .blog-detail-content {
        padding-top: 1.75rem;
        padding-bottom: 3.25rem;
    }

    .blog-detail-title {
        font-size: clamp(1.55rem, 5.5vw, 2.1rem);
        line-height: 1.25;
        margin-bottom: 0.9rem;
    }

    .blog-detail-excerpt {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 1.35rem;
    }

    .blog-intro-split {
        gap: 1.35rem;
    }

    .blog-intro-split__media {
        height: 280px;
        border-radius: 12px;
    }

    .blog-sections {
        gap: 2rem;
    }

    .blog-section-heading {
        font-size: clamp(1.25rem, 4.2vw, 1.55rem);
        margin-bottom: 0.9rem;
    }

    .blog-prose {
        gap: 1.05rem;
    }

    .blog-prose p {
        font-size: 1rem;
        line-height: 1.75;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .blog-feature-list {
        gap: 1.05rem;
    }

    .blog-feature-copy {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .blog-feature-list--solo {
        max-width: none;
    }

    .blog-cta__inner {
        padding: 1.25rem 1.15rem;
        gap: 1rem;
    }

    .blog-cta-title {
        font-size: 1.05rem;
        line-height: 1.4;
    }

    .blog-cta-btn {
        width: 100%;
        padding: 0.85rem 1.15rem;
    }

    .blog-columns {
        gap: 1rem;
    }

    .blog-column-card {
        padding: 1.15rem 1.05rem;
    }

    .blog-faq-item summary {
        padding: 0.9rem 1rem;
        gap: 0.75rem;
        font-size: 0.95rem;
        align-items: flex-start;
    }

    .blog-faq-answer {
        padding: 0 1rem 1rem;
    }

    .blog-split-media img {
        min-height: 240px;
        aspect-ratio: 16 / 10;
    }
}

@media (min-width: 640px) and (max-width: 899px) {
    .blog-intro-split__media {
        height: 360px;
    }

    .blog-detail-top {
        padding-top: 2.25rem;
    }

    .blog-cta__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.4rem 1.5rem;
    }

    .blog-cta-btn {
        width: auto;
        min-width: 200px;
    }

    .blog-cta-title {
        font-size: 1.15rem;
        max-width: 28rem;
    }
}

@media (max-width: 639px) {
    .blog-breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .blog-detail-meta {
        margin-bottom: 0.75rem;
    }

    .blog-intro-split__media {
        height: 240px;
    }

    .blog-detail-hero-img {
        border-radius: 12px;
    }

    .blog-detail-hero-img img {
        aspect-ratio: 16 / 10;
    }
}

.faqtabs{
    padding-bottom: 20px;
}


@media (max-width: 480px) {
    .Constructingimg{
        height: 260px;
        aspect-ratio: auto;
        max-width: 100%;
    }

    .home-area-row .Constructingimg {
        height: 280px;
    }

    .site-footer .grid .f-width{
        grid-column: 1 / -1;
    }

    .site-footer .grid .lt-col{
        margin-left: 0;
    }

    .site-logo-wrap{
        width: 60px;
    }

    .site-brand-name,
    .site-footer-brand-name{
        font-size: 14px;
        line-height: 22px;
    }

    .site-brand-tagline,
    .site-footer-brand-tagline{
        font-size: 11px;
        line-height: 14px;
    }

    .site-footer .site-footer-social{
        margin: 0 10px 0 0;
    }

    .site-footer-copy,
    .site-footer-link {
        font-size: 14px;
    }

    .site-footer .text-lg{
        font-size: 16px;
    }

    .tagline{
        font-size: 11px;
        line-height: inherit;
    }

    .manifest th, .manifest td {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Apartment search filter bar */
.apartment-search__panel {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem 1.25rem 1.35rem;
    box-shadow: 0 1px 2px rgba(19, 41, 104, 0.04);
}

.apartment-search__fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: end;
}

.apartment-search__field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--theme-primary);
    margin-bottom: 0.4rem;
}

.apartment-search .form-input {
    height: 2.75rem;
    border-radius: 0.5rem;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    padding-right: 2.25rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    background-size: 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apartment-search .form-input:focus {
    outline: none;
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 2px var(--theme-primary-soft);
}

.apartment-search .form-input:hover {
    border-color: #d1d5db;
}

.apartment-search__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.apartment-search__submit {
    min-height: 2.75rem;
    padding: 0.65rem 1.75rem;
    border-radius: 0.5rem;
}

.apartment-search__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    color: var(--theme-primary);
    font-weight: 600;
    background: #fff;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.apartment-search__clear:hover {
    border-color: var(--theme-accent);
    color: var(--theme-accent);
}

.apartment-search__count {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
}

@media (min-width: 768px) {
    .apartment-search__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .apartment-search__panel {
        padding: 1.5rem 1.75rem;
    }

    .apartment-search__fields {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1.1rem;
    }

    .apartment-search__actions {
        padding-bottom: 1px;
    }
}

/* Apartment results pagination */
.apartment-pager {
    text-align: center;
}

.apartment-pager__panel {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /*background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
    box-shadow: 0 1px 2px rgba(19, 41, 104, 0.04);*/
}

.apartment-pager__btn,
.apartment-pager__page {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: var(--theme-primary);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.apartment-pager__btn:hover,
.apartment-pager__page:hover {
    border-color: var(--theme-accent);
    color: var(--theme-primary);
}

.apartment-pager__btn.is-disabled {
    color: #9ca3af;
    background: #f3f4f6;
    border-color: #e5e7eb;
    cursor: default;
    pointer-events: none;
}

.apartment-pager__pages {
    display: inline-flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.apartment-pager__page.is-active {
    background: var(--theme-accent);
    border-color: var(--theme-accent);
    color: var(--theme-primary);
}

.apartment-pager__ellipsis {
    color: #9ca3af;
    padding: 0 0.2rem;
    font-weight: 600;
}

.apartment-pager__meta {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.apartmentcard{
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e3e8ee;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 44, 71, .06);
    transition: transform .22s cubic-bezier(.2, .7, .3, 1), box-shadow .22s ease, border-color .22s ease;
}

.apartmentcard hr {
    color: #e1e3e7;
    margin: 18px 0 14px;
    display: block;
}

.apartmentcard:hover{
    box-shadow: 0 24px 56px rgba(15, 44, 71, .16), 0 8px 20px rgba(15, 44, 71, .08);
    border-color: #d2dbe3;
}


/* Apartment search results + map */
.apartment-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.apartment-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 8 / 5;
    height: auto;
    background: #f3f4f6;
}

.apartment-card__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.apartmentcard:hover .apartment-card__img {
    transform: scale(1.06);
}

.apartment-results__map-wrap {
    position: relative;
    min-height: 360px;
    border-radius: 20px;
    border: 1px solid #cecece;
    box-shadow: 0 12px 28px rgba(15, 44, 71, .10), 0 3px 8px rgba(15, 44, 71, .06);
    overflow: hidden;
}

.apartment-results__map {
    width: 100%;
    height: 360px;
}

.apt-map-popup__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.apt-map-popup__img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 0.35rem;
    margin-bottom: 0.6rem;
}

.apt-map-popup__title {
    display: block;
    color: var(--theme-primary);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.apt-map-popup__loc,
.apt-map-popup__meta {
    margin: 0 0 0.25rem;
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.35;
}

.apt-map-popup__cta {
    display: inline-block;
    margin-top: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--theme-primary);
}

@media (min-width: 1024px) {
    .apartment-results {
        grid-template-columns: minmax(0, 1.15fr) 440px;
        gap: 1.75rem;
    }

    .apartment-results__map-wrap {
        position: sticky;
        top: 7.5rem;
        min-height: inherit;
        height: calc(100vh - 145px);
    }

    .apartment-results__map {
        height: 100vh;
    }
}

/* Apartment detail image slider */
.apt-slider {
    --apt-slider-radius: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.apt-slider__viewport {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--apt-slider-radius);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    aspect-ratio: 16 / 10;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.apt-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.apt-slider__slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 0.55s ease, transform 0.7s ease, visibility 0.55s;
}

.apt-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

.apt-slider__slide img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.apt-slider__shade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 18%;
    z-index: 2;
    pointer-events: none;
}

.apt-slider__shade--left {
    left: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.35), transparent);
}

.apt-slider__shade--right {
    right: 0;
    background: linear-gradient(270deg, rgba(15, 23, 42, 0.35), transparent);
}

.apt-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
    z-index: 3;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.apt-slider__nav--prev { left: 0.9rem; }
.apt-slider__nav--next { right: 0.9rem; }

.apt-slider__nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
}

.apt-slider__footer {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.apt-slider__dots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.apt-slider__dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.apt-slider__dot.is-active {
    width: 1.35rem;
    background: var(--theme-accent);
}

.apt-slider__counter {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.apt-slider__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.18);
    z-index: 4;
    overflow: hidden;
}

.apt-slider__progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--theme-accent);
}

.apt-slider__progress span.is-running {
    animation: aptSliderProgress 5s linear forwards;
}

@keyframes aptSliderProgress {
    from { width: 0; }
    to { width: 100%; }
}

.apt-slider__thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.apt-slider__thumbs {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.15rem 0;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.apt-slider__thumbs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.apt-slider__thumbs-nav {
    flex: 0 0 auto;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.apt-slider__thumbs-nav:hover {
    background: #f8fafc;
    border-color: var(--theme-accent);
    transform: scale(1.04);
}

.apt-slider__thumb {
    position: relative;
    flex: 0 0 auto;
    width: 4.75rem;
    height: 3.4rem;
    padding: 0;
    border: 0;
    border-radius: 0.55rem;
    overflow: hidden;
    background: #e5e7eb;
    cursor: pointer;
    opacity: 0.62;
    scroll-snap-align: center;
    box-shadow: inset 0 0 0 2px transparent;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.apt-slider__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apt-slider__thumb:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.apt-slider__thumb.is-active {
    opacity: 1;
    box-shadow: inset 0 0 0 2px var(--theme-accent);
}

@media (min-width: 768px) {
    .apt-slider__thumb {
        width: 5.5rem;
        height: 3.9rem;
    }

    .apt-slider__nav {
        width: 3rem;
        height: 3rem;
    }
}

/* Apartment detail page layout */
.apt-detail__section {
    padding: 1rem 0 4rem;
    background: #fff;
}

.apt-detail__wrap {
    max-width: 72rem;
    margin: 0 auto;
}

.apt-detail__toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.85rem;
}

.apt-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0;
    padding: 0.4rem 0.75rem 0.4rem 0.45rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: var(--theme-primary);
    font-weight: 600;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.apt-detail__back:hover {
    color: var(--theme-primary);
    border-color: var(--theme-accent);
    background: #f8fafc;
}

.apt-detail__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem 1.15rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 70%);
}

.apt-detail__header-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
}

.apt-detail__header h1 {
    margin: 0;
    color: var(--theme-primary);
    font-size: clamp(1.7rem, 2.4vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
}

.apt-detail__location {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    margin: 0;
    max-width: 40rem;
    color: #4b5563;
    font-size: 0.98rem;
    line-height: 1.45;
}

.apt-detail__location svg {
    flex-shrink: 0;
    color: var(--theme-accent);
}

.apt-detail__badge,
.apt-detail__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.apt-detail__badge {
    background: var(--theme-primary);
    color: #fff;
}

.apt-detail__chip {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: var(--theme-primary);
}

.apt-detail__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
}

.apt-detail__main {
    min-width: 0;
    max-width: 100%;
}

.apt-location--side {
    display: none;
}

.apt-detail__block {
    margin-top: 2rem;
}

.apt-enquiry__form {
    padding-left: 0;
}

.apt-enquiry__form .form-input {
    height: 3.25rem;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apt-enquiry__form .form-input:hover {
    border-color: #d1d5db;
}

.apt-enquiry__form .form-input:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px var(--theme-primary-soft);
}

.apt-enquiry__form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--theme-primary);
    margin-bottom: 0.35rem;
}

.apt-enquiry__submit {
    margin-top: 0.5rem;
    display: inline-flex;
    min-width: 12rem;
    min-height: 3.25rem;
    justify-content: center;
    padding: 0.85rem 2.25rem;
    font-size: 1rem;
}

.apt-detail__block h2,
.apt-side-card h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
    color: var(--theme-primary);
    font-size: 1.35rem;
    font-weight: 700;
}

.apt-detail__block p {
    margin: 0;
    color: #374151;
    line-height: 1.7;
}

.apt-detail__block p.field-error {
    color: #dc2626 !important;
    line-height: 1.25;
}

.apt-desc {
    padding-left: 2.55rem;
}

.apt-desc__text {
    margin: 0;
    color: #374151;
    line-height: 1.7;
}

.apt-desc__text.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.apt-desc__toggle {
    margin-top: 0.65rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--theme-primary);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}

.apt-desc__toggle:hover {
    color: var(--theme-accent);
}

.apt-detail__hicon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--theme-accent) 22%, #fff);
    color: var(--theme-primary);
    flex-shrink: 0;
}

.apt-amenity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.apt-amenity-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.7rem;
    background: #f8fafc;
}

.apt-amenity-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.55rem;
    background: var(--theme-primary);
    color: var(--theme-accent);
    flex-shrink: 0;
}

.apt-amenity-card__label {
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
}

.apt-side-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(19, 41, 104, 0.04);
    margin-bottom: 1rem;
}

.apt-side-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.apt-side-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.apt-side-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.5rem;
    background: #f3f4f6;
    color: var(--theme-primary);
    flex-shrink: 0;
}

.apt-side-list small {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.15rem;
}

.apt-side-list strong {
    color: var(--theme-primary);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

.apt-side-cta {
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
    padding: 1.35rem 1.25rem 1.4rem;
    box-shadow: 0 1px 2px rgba(19, 41, 104, 0.04);
    border-left: 4px solid var(--theme-accent);
}

.apt-side-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: var(--theme-primary);
    color: var(--theme-accent);
    margin-bottom: 0.75rem;
}

.apt-side-cta h3 {
    margin: 0 0 0.5rem;
    color: var(--theme-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.apt-side-cta p {
    margin: 0 0 0.85rem;
    color: #4b5563;
    line-height: 1.55;
}

.apt-side-cta__points {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.apt-side-cta__points li {
    position: relative;
    padding-left: 1.1rem;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.4;
}

.apt-side-cta__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--theme-accent);
}

.apt-side-cta .btn-soft {
    width: 100%;
}

/* Static Off Base Housing Japan content */
.apt-static {
    margin-top: 2.75rem;
    padding-top: 2.25rem;
    border-top: 1px solid #e5e7eb;
}

.apt-static__intro {
    max-width: 48rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.apt-static__intro h2 {
    margin: 0 0 0.75rem;
    color: var(--theme-primary);
    font-size: 1.6rem;
    font-weight: 700;
}

.apt-static__intro p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.02rem;
}

.apt-static__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.apt-static__card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    padding: 1.15rem 1.2rem;
}

.apt-static__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.55rem;
    background: var(--theme-primary);
    color: var(--theme-accent);
    margin-bottom: 0.7rem;
}

.apt-static__card h3 {
    margin: 0 0 0.45rem;
    color: var(--theme-primary);
    font-size: 1.05rem;
    font-weight: 700;
}

.apt-static__card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

.apt-static__note {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 55%);
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--theme-accent);
    border-radius: 0.85rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 1px 2px rgba(19, 41, 104, 0.04);
}

.apt-static__note-main {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.apt-static__note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: var(--theme-primary);
    color: var(--theme-accent);
    flex-shrink: 0;
}

.apt-static__note-copy {
    min-width: 0;
}

.apt-static__note-copy h3 {
    margin: 0 0 0.35rem;
    color: var(--theme-primary);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.apt-static__note-copy p,
.apt-static__note p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

.apt-static__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.apt-static__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    color: var(--theme-primary);
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.apt-static__link:hover {
    border-color: var(--theme-accent);
    color: var(--theme-accent);
}

@media (min-width: 768px) {
    .apt-static__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .apt-static__note {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 1.35rem 1.5rem;
    }

    .apt-static__actions {
        flex-shrink: 0;
    }
}

@media (min-width: 640px) {
    .apt-amenity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .apt-detail__section {
        padding: 1.15rem 0 5rem;
    }

    .apt-detail__grid {
        grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
        gap: 2rem;
    }

    .apt-detail__side {
        position: sticky;
        top: 6.5rem;
    }

    .apt-location--main {
        display: none;
    }

    .apt-location--side {
        display: block;
    }

    .apt-amenity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .apartment-results{
        gap: 2.5rem;
        padding-bottom: 1rem;
    }
}

/* Apartments listing + detail — mobile / tablet / desktop */
@media (max-width: 767px) {
    .apartment-search__panel {
        padding: 1rem;
    }

    .apartment-search__actions {
        width: 100%;
    }

    .apartment-search__submit {
        width: 100%;
    }

    .apartment-results__map-wrap {
        min-height: 260px;
    }

    .apartment-results__map {
        height: 260px;
    }

    .apt-slider__viewport {
        aspect-ratio: 16 / 10;
        min-height: 0;
        border-radius: 0.75rem;
        background: #fff;
    }

    .apt-slider__slide img {
        object-fit: cover;
    }

    .apt-slider__shade {
        display: none;
    }

    .apt-slider__nav {
        width: 2.25rem;
        height: 2.25rem;
    }

    .apt-slider__nav--prev { left: 0.5rem; }
    .apt-slider__nav--next { right: 0.5rem; }

    .apt-slider__footer {
        left: 0.55rem;
        right: 0.55rem;
        bottom: 0.55rem;
        gap: 0.5rem;
    }

    .apt-slider__dots {
        display: none;
    }

    .apt-slider__thumb {
        width: 3.85rem;
        height: 2.85rem;
    }

    .apt-slider__thumbs-nav {
        width: 2rem;
        height: 2rem;
    }

    .apt-detail__header {
        padding: 0.85rem 0.9rem 1rem;
    }

    .apt-detail__header h1 {
        font-size: 1.45rem;
        word-break: break-word;
    }

    .apt-detail__location {
        align-items: flex-start;
        font-size: 0.9rem;
    }

    .apt-side-cta .btn-soft,
    .apt-static__actions .btn-soft,
    .apt-static__link {
        width: 100%;
    }

    .apt-static__actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .apt-static__intro h2 {
        font-size: 1.35rem;
    }

    .apt-amenity-card {
        padding: 0.7rem 0.8rem;
    }

    .site-header .nav-dropdown[data-nav-dropdown],
    .site-header .nav-link.nav-dropdown__toggle{
        display: none !important;
    }



    .clientlogos{
        grid-template-columns: repeat(3, 1fr);
    }

    .clientlogosinner img {
        width: 70px;
        height: auto;
    }

    .clientlogosinner:last-child{
        grid-column: 1 span / 3;
    }

    .apartment-results{
        gap: 3rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .apartment-pager{
        margin-top: 30px;
    }

    .apartment-results {
        gap: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .apartment-search__actions {
        grid-column: 1 / -1;
    }

    .apartment-results__map-wrap {
        min-height: 380px;
    }

    .apartment-results__map {
        height: 380px;
    }

    .apt-slider__viewport {
        aspect-ratio: 16 / 10;
        min-height: 0;
        background: #fff;
    }

    .apt-slider__slide img {
        object-fit: cover;
    }

    .apt-slider__dots {
        display: none;
    }

    .apt-detail__side {
        position: static;
    }

    .apt-static__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .apt-static__grid > :last-child {
        grid-column: 1 / -1;
    }
}

