/**
 * Homepage-only layout: hero, the shared section-header/link pattern used
 * by most sections, and each section's specific arrangement. Confirmed
 * from the live approved homepage (file "02 - Public Website", node 15:4).
 *
 * Requires (in this order, so this file's overrides win on tied
 * specificity): variables.css, header.css, footer.css, whatsapp-fab.css,
 * buttons.css, forms.css, property-components.css, then this file.
 *
 * Mobile confirmed from node 27:4 (same file); the breakpoint matches the
 * header/footer's 1024px.
 */

/* ---------------------------------------------------------------------
 * Shared section header + "view all" link pattern (Our Properties, Browse
 * By, Why Dafidol Realty, Investment, Client Voices, From the Journal all
 * use this exact pattern).
 * --------------------------------------------------------------------- */

.home-section {
    padding: 140px 80px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 64px;
}

.section-overline {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-champagne-gold);
    margin: 0;
}

.section-heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 42px;
    color: var(--color-primary-green);
    margin: 0;
}

/* Figma spaces this from the grid/cards above it via the section's own
   outer gap (64px desktop, 32px mobile) plus its own 8px top padding on
   mobile - margin-top here reproduces both without restructuring every
   section into a flex column. */
.section-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 64px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary-green);
    text-decoration: underline;
}

.section-link img {
    width: 12px;
    height: 12px;
    display: block;
}

/* ---------------------------------------------------------------------
 * Hero
 * --------------------------------------------------------------------- */

.home-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 920px;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.home-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(147deg, rgba(6, 34, 23, 0) 25%, rgba(6, 34, 23, 0.8) 52.5%, rgba(6, 34, 23, 0.949) 75%);
}

.home-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 80px;
    /* Top value is the fixed header's own height - now that <header> is
       position:fixed and no longer an in-flow sibling pushing this down,
       this content would otherwise render starting right under the header
       instead of below it. */
    padding: 130px 80px 80px;
}

.home-hero__titles {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 720px;
    color: var(--color-white);
    padding-top: 60px;
}

.home-hero__headline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 72px;
    line-height: 1.05;
    margin: 0;
}

.home-hero__subheading {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.home-hero__subheading-mobile {
    display: none;
}

.home-hero__cta-group {
    padding-top: 16px;
}

/* The Explore Properties button sits on a dark photo, so it needs the white
   variant of .btn-outline rather than the default green one. Border-width,
   radius, and vertical padding are also confirmed different from the shared
   .btn-outline/.btn-lg spec for this specific instance (1.5px/6px/14px here
   vs. buttons.css's 1px/4px/16px) - scoped override, not a change to the
   shared button library. */
.home-hero .btn-outline {
    border-width: 1.5px;
    border-color: var(--color-white);
    border-radius: 6px;
    padding-top: 14px;
    padding-bottom: 14px;
    color: var(--color-white);
}

.home-hero .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ---------------------------------------------------------------------
 * Hero search panel - the Location/Property Type/Price Range fields reuse
 * forms.css's .field-select dropdown shell; only the panel's own
 * borderless/compact presentation is defined here.
 * --------------------------------------------------------------------- */

.hero-search-panel {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow: 0px 16px 40px 0px rgba(0, 0, 0, 0.1);
}

.hero-search-field {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-search-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    color: #717171;
}

.hero-search-trigger,
.hero-search-trigger:focus-visible {
    /* Only clears the boxed look (.field-native-select's border/bg/
       height) - background-position/-image/-repeat/-size are left alone
       so the chevron set there stays put; a shorthand "background: none"
       here would wipe it out along with the white fill. */
    border: none;
    background-color: transparent;
    background-position: right center;
    padding: 0 20px 0 0;
    height: auto;
    outline: none;
}

.hero-search-trigger:focus-visible {
    outline: 2px solid var(--color-primary-green);
    outline-offset: 4px;
}

.hero-search-divider {
    width: 1px;
    height: 40px;
    background-color: #EAE6DF;
    margin: 0 24px;
    flex-shrink: 0;
}

.hero-search-submit {
    flex-shrink: 0;
    margin-left: 24px;
}

/* ---------------------------------------------------------------------
 * Featured properties / Curated collections shared grid basics
 * --------------------------------------------------------------------- */

.property-grid {
    display: flex;
    gap: 32px;
    width: 100%;
    align-items: stretch;
}

.property-grid .property-card--grid {
    flex: 1 0 0;
    min-width: 0;
}

/* Fewer than 3 properties (see index.php's $propertyGridModifierClass) -
   flex: 1 0 0 above has nothing to divide the row with and stretches a
   lone card to the section's full width. Caps each card back to the same
   ~380px a column works out to in the real 3-up row (this section has no
   max-width wrapper - .home-section is full-bleed with side padding only -
   so that figure comes from .property-card's own base max-width, not a
   guess) and centers whatever's left of the row instead of stretching it. */
.property-grid--partial {
    justify-content: center;
}

.property-grid--partial .property-card--grid {
    flex: 0 1 380px;
}

.collections-grid {
    display: flex;
    gap: 24px;
    width: 100%;
}

.collection-card {
    position: relative;
    flex: 1 0 0;
    min-width: 0;
    height: 520px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    text-decoration: none;
}

/* Subtle hover zoom, from the original design brief - image only, clipped
   by the card's own overflow:hidden above so it never spills past the
   rounded corners. The title sits in a separate, position:relative
   sibling below (z-index:1), so it never moves or scales with the image. */
.collection-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease-out;
}

.collection-card:hover img {
    transform: scale(1.04);
}

.collection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(240deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 75%);
}

.collection-card__title {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 24px;
    color: var(--color-white);
    margin: 0;
}

/* ---------------------------------------------------------------------
 * Why Dafidol Realty
 * --------------------------------------------------------------------- */

.pillars-section {
    background-color: var(--color-primary-green);
}

.pillars-section {
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.pillars-section .section-header {
    align-items: center;
    text-align: center;
    margin-bottom: 0;
}

.pillars-section .section-heading {
    color: var(--color-white);
}

.pillars-grid {
    display: flex;
    gap: 40px;
    width: 100%;
}

.pillar-card {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #062217;
    border: 1px solid var(--color-champagne-gold);
}

.pillar-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.pillar-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 22px;
    color: var(--color-white);
    margin: 0;
}

.pillar-description {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-white);
    opacity: 0.8;
    margin: 0;
}

/* ---------------------------------------------------------------------
 * Lifestyle editorial
 * --------------------------------------------------------------------- */

.lifestyle-section {
    background-color: var(--color-ivory);
}

.lifestyle-split {
    display: flex;
    gap: 96px;
    align-items: center;
    width: 100%;
}

.lifestyle-content {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.lifestyle-eyebrow-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lifestyle-heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 48px;
    line-height: 1.15;
    color: var(--color-primary-green);
    margin: 0;
}

.lifestyle-body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-charcoal);
    margin: 0;
}

/* Was two separate <p class="lifestyle-body"> elements getting the
   40px flex gap from .lifestyle-content between them - now
   admin/page-content.php's editable version (get_content_block('home',
   'lifestyle_body', ...)) is one <div class="lifestyle-body"> holding
   TinyMCE's own <p> tags, which the parent's flex gap no longer reaches
   between. Restores the same 40px separation directly. */
.lifestyle-body p {
    margin: 0 0 40px;
}

.lifestyle-body p:last-child {
    margin-bottom: 0;
}

.lifestyle-photo {
    flex: 1 0 0;
    min-width: 0;
    height: 640px;
    border-radius: 12px;
    overflow: hidden;
}

.lifestyle-cta {
    border-width: 1.5px;
    padding: 12px 24px;
}

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

/* ---------------------------------------------------------------------
 * Investment
 * --------------------------------------------------------------------- */

.investment-section .section-header {
    max-width: 720px;
    gap: 16px;
}

.investment-header-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.investment-intro {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #717171;
    margin: 0;
}

.investment-cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.investment-card {
    display: flex;
    height: 360px;
    border: 1px solid #EAE6DF;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

.investment-card__image {
    width: 360px;
    flex-shrink: 0;
}

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

.investment-card__content {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(9px);
}

.investment-card__title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 26px;
    color: var(--color-primary-green);
    margin: 0 0 8px;
}

.investment-card__meta {
    display: flex;
    gap: 40px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.investment-card__meta-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    color: #717171;
    margin-bottom: 4px;
}

.investment-card__meta-value {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-charcoal);
}

.investment-card__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.investment-card__actions .btn-outline,
.investment-card__actions .btn-primary {
    padding: 14px 24px;
}

.investment-consultation-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 16px;
}

.investment-consultation-cta .btn-primary {
    padding: 16px 36px;
    border: 1px solid var(--color-champagne-gold);
    gap: 8px;
}

.investment-consultation-cta img {
    width: 14px;
    height: 14px;
    display: block;
}

.investment-view-btn__label-mobile {
    display: none;
}

/* ---------------------------------------------------------------------
 * Testimonials
 * --------------------------------------------------------------------- */

.testimonials-section {
    background-color: var(--color-ivory);
}

.testimonials-section .section-header {
    align-items: center;
    text-align: center;
}

/* flex-wrap - this grid used to always render exactly 3 hardcoded
   placeholder cards, so overflow from a 4th+ card was never possible.
   Now that count comes from admin/testimonials.php (any number of real
   testimonials), a 4th+ card wraps to its own row instead of squeezing
   the row indefinitely narrower. Unlike the About page's team photos
   (which look visibly distorted/oversized when stretched), a stretched
   text card isn't actually broken at 1-3 items - flex:1 0 0 below is
   deliberately left as-is for that count, not given a fixed max-width. */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
}

.testimonial-card {
    flex: 1 1 280px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 40px;
    background-color: var(--color-white);
    border: 1px solid #EAE6DF;
    border-radius: 12px;
}

.testimonial-card__mark {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 56px;
    line-height: 0.8;
    color: var(--color-champagne-gold);
    margin: 0;
}

.testimonial-card__quote {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-charcoal);
    margin: 0;
}

.testimonial-card__name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary-green);
    margin: 0;
}

.testimonial-card__location {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    color: #717171;
    margin: 0;
}

/* ---------------------------------------------------------------------
 * Journal
 * --------------------------------------------------------------------- */

.journal-grid {
    display: flex;
    gap: 32px;
    width: 100%;
}

.journal-card {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none;
}

.journal-card__image {
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
}

/* Subtle hover zoom, from the original design brief - image only, clipped
   by .journal-card__image's own overflow:hidden above. Category/title/meta
   sit below as separate flex siblings, so they never move with it. */
.journal-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease-out;
}

.journal-card:hover .journal-card__image img {
    transform: scale(1.04);
}

.journal-card__category {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-champagne-gold);
    margin: 0;
}

.journal-card__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-charcoal);
    margin: 0;
}

.journal-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.journal-card__meta span {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    color: #717171;
}

.journal-card__meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background-color: #EAE6DF;
    flex-shrink: 0;
}

/* ---------------------------------------------------------------------
 * Newsletter
 * --------------------------------------------------------------------- */

.newsletter-section {
    background-color: var(--color-primary-green);
    padding: 120px 80px;
    text-align: center;
}

.newsletter-heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 48px;
    color: var(--color-white);
    margin: 0 0 16px;
}

.newsletter-description {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
    opacity: 0.85;
    max-width: 640px;
    margin: 0 auto 48px;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
}

/* Error/success states for the AJAX submit in assets/js/newsletter-form.js -
   hidden by default, shown by that script toggling .is-visible. */
.newsletter-form-error {
    display: none;
    max-width: 520px;
    margin: 12px auto 0;
    text-align: center;
    color: #f2b8b8;
    font-family: var(--font-body);
    font-size: 13px;
}

.newsletter-form-error.is-visible {
    display: block;
}

.newsletter-form-success {
    display: none;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form-success.is-visible {
    display: block;
}

.newsletter-form-success__title {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin: 0 0 8px;
}

.newsletter-form-success__desc {
    font-family: var(--font-body);
    color: var(--color-white);
    opacity: 0.85;
    margin: 0;
}

.newsletter-form .field-control {
    height: 56px;
    border-radius: 8px;
    border-color: var(--color-border-light);
}

.newsletter-form .btn-secondary {
    height: 56px;
    padding: 16px 32px;
    border-radius: 8px;
    color: #062217;
    flex-shrink: 0;
}

/* ---------------------------------------------------------------------
 * Mobile (<1024px) - confirmed from the dedicated mobile homepage frame
 * (file 02, node 27:4). Tablet (768-1023px) uses this same mobile layout;
 * no dedicated tablet homepage frame exists, only tablet nav frames (see
 * header.css), so the phone-width layout simply stretches wider here.
 * --------------------------------------------------------------------- */

@media (max-width: 1023px) {
    .home-hero {
        min-height: 0;
    }

    /* Confirmed a different angle/stops/opacity than the desktop overlay -
       node 27:5, not a scaled reuse of the desktop gradient. */
    .home-hero__bg::after {
        background: linear-gradient(118.95deg, rgba(6, 34, 23, 0.102) 25%, rgba(6, 34, 23, 0.902) 60%, rgb(6, 34, 23) 75%);
    }

    /* Side padding 20px, vertical 56px, confirmed across every section in
       the dedicated mobile homepage frame (node 27:4) - Newsletter is the
       one exception, at 48px vertical. */
    .home-section {
        padding: 56px 20px;
    }

    .newsletter-section {
        padding: 48px 20px;
    }

    /* Shared section-header pattern (mobile): tighter gap and a smaller,
       bold heading than desktop's regular-weight 42px. */
    .section-header {
        gap: 8px;
        margin-bottom: 32px;
    }

    .section-overline {
        font-size: 11px;
    }

    .section-heading {
        font-size: 30px;
        font-weight: 700;
    }

    /* ---- Hero (mobile) - confirmed from node 27:5, not a scaled-down
       version of the desktop hero: different gap rhythm, font sizes, and a
       fully rebuilt search panel (stacked fields, horizontal dividers,
       tiny chevrons, no border, lighter shadow). ---- */

    /* Top value adds the transparent mobile header's own height (72px) on
       top of the original 40px breathing room, for the same reason as the
       desktop rule above - <header> is position:fixed now, so nothing
       upstream reserves that space any more. */
    .home-hero__content {
        padding: 112px 20px 32px;
        gap: 32px;
    }

    .home-hero__titles {
        gap: 16px;
    }

    .home-hero__headline {
        font-size: 38px;
        line-height: 1.1;
    }

    .home-hero__subheading {
        font-size: 14px;
        line-height: 1.5;
        opacity: 0.9;
    }

    .home-hero__subheading-default {
        display: none;
    }

    .home-hero__subheading-mobile {
        display: inline;
    }

    .home-hero__cta-group {
        width: 100%;
        padding-top: 0;
    }

    .home-hero .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .hero-search-panel {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
        border: none;
        border-radius: 8px;
        backdrop-filter: blur(8px);
        box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.07);
    }

    .hero-search-label {
        font-size: 10px;
    }

    .hero-search-trigger {
        font-size: 13px;
        background-size: 10px;
    }

    .hero-search-divider {
        display: block;
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .hero-search-submit {
        margin-left: 0;
        width: 100%;
        padding: 14px 16px;
        font-size: 13px;
        border-radius: 4px;
    }

    /* ---- Featured properties (mobile) - single column, confirmed 260px
       image (not 420px) and 24px gap between stacked cards. ---- */

    .property-grid {
        flex-direction: column;
        gap: 24px;
    }

    /* .property-grid .property-card--grid's flex:1 0 0 (desktop, three
       equal-width columns in a row) carries a flex-basis of 0 - harmless in
       a row, but in this column layout that's a 0 starting HEIGHT, leaving
       each card's actual height to a flex-grow distribution across an
       auto-height (not fixed-height) column container. That's an
       ill-defined computation browsers can resolve inconsistently, up to
       rendering the cards with no visible height at all. Reset to natural
       content-based sizing instead. */
    .property-grid .property-card--grid {
        flex: none;
    }

    .property-card--grid .property-card__image {
        height: 260px;
    }

    /* ---- Collections (mobile) - a horizontally scrollable strip of
       fixed-width cards, confirmed from the frame, not a wrapping grid. ---- */

    .collections-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .section-link {
        margin-top: 40px;
    }

    .collection-card {
        flex: 0 0 220px;
        height: 320px;
    }

    .collection-card__title {
        font-weight: 700;
        font-size: 18px;
    }

    /* ---- Why Dafidol pillars (mobile) - a 2x2 grid, left-aligned header
       (desktop's is centered), confirmed from node 27:165. ---- */

    .pillars-section {
        gap: 40px;
    }

    .pillars-section .section-header {
        align-items: flex-start;
        text-align: left;
    }

    .pillars-grid {
        flex-direction: row;
        flex-wrap: wrap;
        row-gap: 28px;
        column-gap: 16px;
    }

    .pillar-card {
        flex: 1 1 calc(50% - 8px);
        min-width: 140px;
        gap: 12px;
    }

    .pillar-icon {
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }

    .pillar-icon img {
        width: 20px;
        height: 20px;
    }

    .pillar-title {
        font-weight: 600;
        font-size: 18px;
    }

    .pillar-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .investment-card__meta {
        flex-direction: column;
    }

    /* ---- Lifestyle (mobile) - confirmed from node 27:200: stacked photo
       (240px, not desktop's 640px), tighter content gap, and a bold,
       smaller heading than desktop's regular-weight 48px. ---- */

    .lifestyle-split {
        flex-direction: column;
        gap: 24px;
    }

    .lifestyle-content {
        gap: 16px;
    }

    .lifestyle-heading {
        font-size: 28px;
        line-height: 1.2;
        font-weight: 700;
    }

    .lifestyle-body {
        font-size: 14px;
        line-height: 1.6;
    }

    .lifestyle-cta {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .lifestyle-photo {
        width: 100%;
        height: 240px;
    }

    /* ---- Investment (mobile) - confirmed from node 27:209: nested header
       gaps (12px outer / 8px inner, vs desktop's flat 16px), a bold 20px
       card title (desktop is regular 26px), and "View Info" instead of
       desktop's "View Property" label (left as-is - a content difference,
       not a CSS one; flagged in the audit report). ---- */

    .investment-section {
        gap: 32px;
    }

    .investment-section .section-header {
        gap: 12px;
    }

    .investment-header-group {
        gap: 8px;
    }

    .investment-intro {
        font-size: 13px;
        line-height: 1.5;
    }

    .investment-cards {
        gap: 20px;
    }

    .investment-card {
        flex-direction: column;
        height: auto;
    }

    .investment-card__image {
        width: 100%;
        height: 200px;
    }

    .investment-card__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .investment-card__title {
        font-weight: 700;
        font-size: 20px;
    }

    .investment-card__meta {
        gap: 12px;
        margin-top: 8px;
    }

    .investment-card__meta-label {
        font-size: 10px;
    }

    .investment-card__meta-value {
        font-size: 15px;
    }

    .investment-card__actions {
        width: 100%;
    }

    .investment-card__actions .btn-outline,
    .investment-card__actions .btn-primary {
        padding: 12px 16px;
    }

    .investment-consultation-cta {
        padding-top: 8px;
    }

    .investment-consultation-cta .btn-primary {
        padding: 14px 16px;
    }

    .investment-view-btn__label-default {
        display: none;
    }

    .investment-view-btn__label-mobile {
        display: inline;
    }

    /* ---- Testimonials (mobile) - confirmed from node 27:269: only 2 cards
       stacked (the PHP loop still renders 3 - a content decision, flagged
       rather than silently trimmed), left-aligned header (desktop's is
       centered), and a smaller, non-italic quote (desktop is italic). ---- */

    .testimonials-section .section-header {
        align-items: flex-start;
        text-align: left;
    }

    .testimonials-grid {
        flex-direction: column;
        gap: 16px;
    }

    /* Same flex-basis:0-in-a-column issue as .property-card--grid above -
       .testimonial-card's flex:1 0 0 is a desktop-row sizing rule. */
    .testimonial-card {
        flex: none;
        padding: 20px;
        gap: 16px;
        border-radius: 8px;
    }

    .testimonial-card__mark {
        font-size: 36px;
        line-height: 0.5;
    }

    .testimonial-card__quote {
        font-size: 13px;
        line-height: 1.6;
    }

    .testimonial-card__name {
        font-size: 12px;
    }

    .testimonial-card__location {
        font-size: 11px;
    }

    /* ---- Journal (mobile) - confirmed from node 27:286: only 2 cards
       stacked (same content flag as Testimonials above), smaller image,
       and smaller type throughout. ---- */

    .journal-grid {
        flex-direction: column;
        gap: 28px;
    }

    /* Same flex-basis:0-in-a-column issue as .property-card--grid above -
       .journal-card's flex:1 0 0 is a desktop-row sizing rule. */
    .journal-card {
        flex: none;
        gap: 12px;
    }

    .journal-card__image {
        height: 180px;
        border-radius: 8px;
    }

    .journal-card__category {
        font-size: 10px;
    }

    .journal-card__title {
        font-size: 15px;
        line-height: 1.4;
    }

    .journal-card__meta span {
        font-size: 12px;
    }

    .journal-card__meta-dot {
        width: 3px;
        height: 3px;
        border-radius: 1.5px;
    }

    /* ---- Newsletter (mobile) - confirmed from node 27:313: bold 24px
       heading (desktop is regular 48px), smaller/dimmer description, and
       shorter 48px-tall fields (desktop is 56px). ---- */

    .newsletter-section {
        gap: 24px;
    }

    .newsletter-heading {
        font-size: 24px;
        font-weight: 700;
    }

    .newsletter-description {
        font-size: 13px;
        line-height: 1.5;
        opacity: 0.8;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .newsletter-form .field-control {
        height: 48px;
        border-radius: 6px;
    }

    .newsletter-form .btn-secondary {
        height: 48px;
        border-radius: 6px;
    }
}
