/* =========================================================
   responsive.css  (Bootstrap breakpoints, plain CSS) - FULL FILE
   IMPORTANT: load this AFTER style.min.css in _LandingLayout.cshtml
   Breakpoints: xxl 1600 | xl 1199.98 | lg 991.98 | md 767.98 | sm 575.98 | xs 359.98
   Blog listing responsive rules are at the very end of this file.
   ========================================================= */

/* ---------- Global safety ---------- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

@supports (overflow: clip) {
    body {
        overflow-x: clip; /* no accidental sideways scroll, doesn't break sticky */
    }
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* ---------- Large desktops ---------- */
@media (min-width: 1600px) {
    .container {
        max-width: 1440px;
    }
}

/* ---------- Touch devices: no "stuck" hover states ---------- */
@media (hover: none) {
    .fp-card:hover,
    .tr-card:hover,
    .lp-card:hover,
    .aw-text:hover,
    .zc-item:hover,
    .ab-stat:hover,
    .ab-pillar:hover,
    .ab-topic:hover {
        transform: none;
    }

    .tr-card:hover {
        background: rgba(255, 255, 255, .55);
        box-shadow: none;
    }

    .lp-card:hover {
        background: transparent;
        box-shadow: none;
    }

    .zc-item:hover {
        background: transparent;
        box-shadow: none;
    }

        .fp-card:hover .fp-thumb img,
        .tr-card:hover .tr-thumb img,
        .lp-card:hover .lp-thumb img,
        .zc-item:hover .zc-thumb img {
            transform: none;
        }
}

/* ---------- <= 1199.98px (below xl) ---------- */
@media (max-width: 1199.98px) {
    .hero-soft {
        padding: 60px 0;
    }

    .zf-tagline {
        font-size: 22px;
    }

    .zf-feature-title {
        font-size: 32px;
    }

    /* newsletter is stacked under Trending here */
    .newsletter-panel {
        min-height: 420px;
    }
}

/* ---------- 992px - 1199.98px (small laptops) ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .aw-text {
        padding: 24px 16px;
    }

    .aw-desc {
        font-size: 14px;
    }

    .zc-item {
        gap: 14px;
    }

    .zc-thumb {
        flex-basis: 100px;
        width: 100px;
        height: 100px;
    }

    .zc-title {
        font-size: 16px;
    }
}

/* ---------- 768px - 991.98px (tablet: 3-up overlay cards) ---------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .lp-overlay-title {
        font-size: 15px;
    }

    .lp-overlay-content {
        padding: 0 14px 20px;
    }
}

/* ---------- <= 991.98px (below lg: tablet) ---------- */
@media (max-width: 991.98px) {

    /* Header */
    #primary-menu {
        min-height: 64px;
        box-shadow: 0 2px 6px rgba(0,0,0,.06);
    }

        #primary-menu .container {
            position: relative;
            min-height: 64px;
            padding-left: 16px;
            padding-right: 16px;
        }

        #primary-menu .menu-btn-mobile {
            display: block !important;
            margin: 0 !important;
            font-size: 28px;
            padding: 0;
        }

        #primary-menu .sticky-logo {
            display: block;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

            #primary-menu .sticky-logo .brand_logo {
                max-height: 40px !important;
            }

        #primary-menu .search-btn {
            display: block;
            margin-left: auto;
            padding: 10px 0;
        }

        #primary-menu.is-stuck {
            box-shadow: 0 2px 8px rgba(3,27,78,.12);
        }

            #primary-menu.is-stuck .menu-btn-mobile {
                display: block !important;
                margin: 0 !important;
            }

            #primary-menu.is-stuck .sticky-logo {
                display: block;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
            }

            #primary-menu.is-stuck .search-btn {
                display: block;
                margin-left: auto;
            }

    /* Hero: stack + center */
    .hero-soft {
        padding: 50px 0;
    }

    .hero-photo {
        margin: 0 auto;
        max-width: 420px;
    }

    .hero-eyebrow {
        display: flex; /* was inline-flex, so centering never applied */
        justify-content: center;
        font-size: 15px;
        text-align: center;
    }

        .hero-eyebrow::before {
            display: none;
        }

    .hero-title {
        text-align: center;
    }

    .hero-soft .d-flex {
        justify-content: center;
    }

    .hero-chip {
        display: none;
    }

    .hero-badge {
        right: 4px;
        bottom: 24px;
        width: 96px;
        height: 96px;
    }

    .hero-photo::before {
        inset: 38px -8px -10px 8px;
    }

    .zw-marquee {
        transform: rotate(-0.9deg);
    }

    .zw-track span {
        font-size: 18px;
    }

    /* Featured: centre the orphan third card when 2-up */
    .featured-posts .row,
    .zc-section .row {
        justify-content: center;
    }

    /* Trending becomes a swipeable scroll-snap strip */
    .trending-posts .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 18px 4px 14px;
        scrollbar-width: none;
    }

        .trending-posts .row::-webkit-scrollbar {
            display: none;
        }

        .trending-posts .row > * {
            flex: 0 0 62%;
            max-width: 62%;
            scroll-snap-align: center;
        }

        /* items sitting off-screen in the strip must not wait for scroll-reveal */
        .trending-posts .row > .zw-reveal {
            opacity: 1 !important;
            transform: none !important;
        }

    /* Trending + newsletter */
    .newsletter-panel {
        min-height: 420px;
    }

    /* About / Work */
    .aw-section {
        padding: 40px 0;
    }

        .aw-section::before {
            display: none;
        }

    .aw-photo {
        max-width: 360px;
        margin-bottom: -1px;
        padding: 0 14px 14px 0; /* contains the dashed arch so it can't overflow */
    }

        .aw-photo::before {
            inset: 18px 0 0 14px;
        }

        .aw-photo img {
            height: 440px;
        }

    .aw-text {
        max-width: 560px;
        padding: 40px 24px;
        background-color: color-mix(in srgb, var(--bs-primary), white 85%);
    }

        .aw-text + .aw-text {
            margin-top: 0;
        }

    /* About page */
    .ab-profile {
        overflow: hidden;
    }

    /* Footer */
    .zf-tagline {
        font-size: 20px;
    }
}

/* ---------- <= 767.98px (below md: large phones) ---------- */
@media (max-width: 767.98px) {

    .hero-soft {
        padding: 40px 0;
    }

        /* decorative animated blobs: save battery on phones */
        .hero-soft::before,
        .hero-soft::after {
            animation: none;
        }

    .hero-photo {
        max-width: 340px;
    }

    .hero-signature {
        font-size: clamp(36px, 10vw, 52px);
    }

    /* iOS zooms the page when an input is < 16px */
    .form-control,
    .newsletter-input,
    input,
    select,
    textarea {
        font-size: 16px;
    }

    /* Section headings */
    .fp-line {
        flex: 0 1 60px;
    }

    .fp-title {
        font-size: clamp(30px, 8vw, 40px);
    }

    /* Featured */
    .fp-body {
        width: 92%;
        margin-top: -30px;
    }

    .fp-post-title {
        font-size: 18px;
    }

    /* Latest posts overlay */
    .lp-overlay-link {
        aspect-ratio: 4 / 3;
    }

    .lp-title {
        font-size: 15px;
    }

    /* Category columns */
    .zc-heading {
        margin-bottom: 20px;
    }

    /* Footer */
    .zf-main {
        padding: 30px 0 40px;
    }

    .zf-tagline {
        font-size: 20px;
    }

    .zf-logo {
        text-align: center;
    }

        .zf-logo img {
            margin: 0 auto;
        }

    .zf-social {
        justify-content: center;
    }

    .zf-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 0;
    }
}

/* ---------- <= 575.98px (below sm: phones) ---------- */
@media (max-width: 575.98px) {

    .hero-soft {
        padding: 32px 0;
    }

    .hero-eyebrow {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: clamp(24px, 6.8vw, 30px);
    }

    .hero-badge {
        width: 84px;
        height: 84px;
    }

        .hero-badge i {
            font-size: 24px;
        }

    .zw-marquee {
        padding: 12px 0;
        transform: rotate(-0.6deg);
    }

    .zw-track span {
        font-size: 16px;
    }

    /* Section headings */
    .fp-line {
        flex: 0 1 30px;
    }

    .fp-title {
        font-size: 30px;
        white-space: normal;
        text-align: center;
    }

    /* Featured: don't let a single card fill the whole phone height */
    .fp-card {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .fp-thumb {
        aspect-ratio: 4 / 5;
    }

        .fp-thumb::after {
            font-size: 48px;
            bottom: 46px;
        }

    .fp-body {
        width: 94%;
    }

    /* Readable small text */
    .fp-meta,
    .lp-meta,
    .zc-date {
        font-size: 11px;
    }

    .fp-cat,
    .tr-cat,
    .lp-cat {
        font-size: 11px;
    }

    /* Trending strip */
    .trending-posts .row > * {
        flex-basis: 72%;
        max-width: 72%;
    }

    .tr-title {
        font-size: 15px;
    }

    .tr-card::before {
        font-size: 60px;
    }

    .newsletter-panel {
        min-height: 0;
    }

    .newsletter-icon {
        font-size: 44px;
    }

    .newsletter-box {
        padding: 22px 18px 26px;
    }

    .newsletter-title {
        font-size: 32px;
    }

    .newsletter-text {
        font-size: 13px;
        line-height: 1.7;
    }

    /* Latest (2-up grid) */
    .lp-card {
        padding: 8px 8px 4px;
    }

    .lp-title {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .lp-load-more {
        max-width: 100%;
    }

    /* About / Work */
    .aw-photo img {
        height: 380px;
    }

    .aw-title {
        font-size: 32px;
    }

    .aw-desc {
        font-size: 14px;
    }

    .aw-text {
        padding: 32px 18px;
    }

    /* Category columns */
    .zc-item {
        gap: 16px;
        padding: 8px;
    }

    .zc-thumb {
        flex-basis: 96px;
        width: 96px;
        height: 96px;
    }

    .zc-title {
        font-size: 16px;
    }

    /* About page */
    .ab-gallery {
        grid-auto-rows: 130px;
        gap: 8px;
    }

    /* Footer */
    .zf-heading {
        font-size: 14px;
    }

    .zf-feature-title {
        font-size: 28px;
        margin: 16px 0 10px;
    }

    .zf-feature-text {
        font-size: 13px;
    }

    .zf-post-thumb {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    .zf-post-title {
        font-size: 15px;
    }

    .zf-links a {
        font-size: 12px;
    }

    .zf-links li + li::before {
        margin: 0 10px;
    }

    /* Floating buttons (respect iPhone home bar) */
    .wa-fab {
        width: 46px;
        height: 46px;
        font-size: 1.35rem;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        left: 16px;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
}

/* ---------- <= 359.98px (very small phones: 320px) ---------- */
@media (max-width: 359.98px) {
    .hero-signature {
        font-size: 32px;
    }

    .hero-badge {
        width: 72px;
        height: 72px;
    }

    .fp-title {
        font-size: 26px;
    }

    .fp-body {
        padding: 14px 14px 16px;
    }

    .fp-post-title {
        font-size: 16px;
    }

    .newsletter-title,
    .aw-title {
        font-size: 28px;
    }

    .lp-title {
        font-size: 13px;
    }

    .zc-thumb {
        flex-basis: 80px;
        width: 80px;
        height: 80px;
    }

    .zc-title {
        font-size: 15px;
    }

    .zf-feature-title {
        font-size: 24px;
    }

    .zw-track span {
        font-size: 14px;
    }
}

/* ---------- Landscape phones (short screens) ---------- */
@media (max-height: 480px) and (orientation: landscape) {
    .hero-soft {
        padding: 28px 0;
    }

    .newsletter-panel {
        min-height: 0;
    }

    .aw-photo img {
        height: 320px;
    }
}

/* =========================================================
   BLOG LISTING PAGE  (pairs with blog-list.css)
   ========================================================= */

/* ---------- <= 1199.98px: 8-col column is narrow, stack the spotlight ---------- */
@media (max-width: 1199.98px) {
    .bl-card--feature {
        flex-direction: column;
    }

        .bl-card--feature .bl-thumb {
            flex-basis: auto;
            aspect-ratio: 4 / 3.2;
        }

        .bl-card--feature .bl-body {
            padding: 22px 12px 6px;
            text-align: center;
        }

        .bl-card--feature .bl-cat {
            align-self: center;
        }

        .bl-card--feature .bl-excerpt {
            margin-left: auto;
            margin-right: auto;
        }

        .bl-card--feature .bl-foot {
            justify-content: space-between;
        }
}

/* ---------- <= 991.98px: sidebar drops under the posts ---------- */
@media (max-width: 991.98px) {
    .bl-hero {
        padding: 56px 0 70px;
    }

    .bl-orb {
        display: none;
    }

    .bl-side {
        gap: 22px;
    }

    .bl-author-photo {
        width: 170px;
    }
}

/* ---------- <= 767.98px ---------- */
@media (max-width: 767.98px) {
    /* category pills get the full bar width */
    .bl-filter {
        margin-top: 20px;
        padding: 10px 0;
    }

    .bl-count {
        display: none;
    }

    .bl-search {
        padding-left: 16px;
    }

    .bl-steps {
        grid-template-columns: 1fr;
        padding: 26px 18px;
    }

    .bl-step + .bl-step::before {
        display: none;
    }
}

/* ---------- <= 575.98px ---------- */
@media (max-width: 575.98px) {
    .bl-hero {
        padding: 44px 0 60px;
    }

    .bl-script {
        font-size: clamp(46px, 16vw, 64px);
    }

    .bl-search {
        padding: 5px 5px 5px 16px;
    }

        .bl-search .btn-theme-primary {
            padding: 11px 18px;
        }

    .bl-card-title {
        font-size: 18px;
    }

    .bl-widget {
        padding: 22px 16px;
    }

    .bl-news-title,
    .bl-step h3 {
        font-size: 34px;
    }

    .bl-pop-n::before {
        font-size: 34px;
        min-width: 28px;
    }

    .bl-cta {
        padding: 56px 0;
    }

    .bl-cta-box {
        padding: 34px 18px;
    }
}

/* ---------- Touch: no stuck hover effects ---------- */
@media (hover: none) {
    .bl-card:hover {
        transform: none;
        box-shadow: 0 6px 20px rgba(49, 49, 49, .05);
    }

        .bl-card:hover .bl-thumb img {
            transform: none;
        }

        .bl-card:hover::before {
            opacity: 0;
        }

        .bl-card:hover::after {
            transform: scaleX(0);
        }

    .bl-topic:hover {
        transform: none;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .bl-reveal {
        animation: none !important;
    }

    .bl-news-ico,
    .bl-cta-icon {
        animation: none;
    }
}
/* =========================================================
   responsive.css  (Bootstrap breakpoints, plain CSS) - FULL FILE
   IMPORTANT: load this AFTER style.min.css in _LandingLayout.cshtml
   Breakpoints: xxl 1600 | xl 1199.98 | lg 991.98 | md 767.98 | sm 575.98 | xs 359.98
   Blog listing responsive rules are at the very end of this file.
   ========================================================= */

/* ---------- Global safety ---------- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

@supports (overflow: clip) {
    body {
        overflow-x: clip; /* no accidental sideways scroll, doesn't break sticky */
    }
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* ---------- Large desktops ---------- */
@media (min-width: 1600px) {
    .container {
        max-width: 1440px;
    }
}

/* ---------- Touch devices: no "stuck" hover states ---------- */
@media (hover: none) {
    .fp-card:hover,
    .tr-card:hover,
    .lp-card:hover,
    .aw-text:hover,
    .zc-item:hover,
    .ab-stat:hover,
    .ab-pillar:hover,
    .ab-topic:hover {
        transform: none;
    }

    .tr-card:hover {
        background: rgba(255, 255, 255, .55);
        box-shadow: none;
    }

    .lp-card:hover {
        background: transparent;
        box-shadow: none;
    }

    .zc-item:hover {
        background: transparent;
        box-shadow: none;
    }

        .fp-card:hover .fp-thumb img,
        .tr-card:hover .tr-thumb img,
        .lp-card:hover .lp-thumb img,
        .zc-item:hover .zc-thumb img {
            transform: none;
        }
}

/* ---------- <= 1199.98px (below xl) ---------- */
@media (max-width: 1199.98px) {
    .hero-soft {
        padding: 60px 0;
    }

    .zf-tagline {
        font-size: 22px;
    }

    .zf-feature-title {
        font-size: 32px;
    }

    /* newsletter is stacked under Trending here */
    .newsletter-panel {
        min-height: 420px;
    }
}

/* ---------- 992px - 1199.98px (small laptops) ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .aw-text {
        padding: 24px 16px;
    }

    .aw-desc {
        font-size: 14px;
    }

    .zc-item {
        gap: 14px;
    }

    .zc-thumb {
        flex-basis: 100px;
        width: 100px;
        height: 100px;
    }

    .zc-title {
        font-size: 16px;
    }
}

/* ---------- 768px - 991.98px (tablet: 3-up overlay cards) ---------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .lp-overlay-title {
        font-size: 15px;
    }

    .lp-overlay-content {
        padding: 0 14px 20px;
    }
}

/* ---------- <= 991.98px (below lg: tablet) ---------- */
@media (max-width: 991.98px) {
    /* Hero: stack + center */
    .hero-soft {
        padding: 50px 0;
    }

    .hero-photo {
        margin: 0 auto;
        max-width: 420px;
    }

    .hero-eyebrow {
        display: flex; /* was inline-flex, so centering never applied */
        justify-content: center;
        font-size: 15px;
        text-align: center;
    }

        .hero-eyebrow::before {
            display: none;
        }

    .hero-title {
        text-align: center;
    }

    .hero-soft .d-flex {
        justify-content: center;
    }

    .hero-chip {
        display: none;
    }

    .hero-badge {
        right: 4px;
        bottom: 24px;
        width: 96px;
        height: 96px;
    }

    .hero-photo::before {
        inset: 38px -8px -10px 8px;
    }

    .zw-marquee {
        transform: rotate(-0.9deg);
    }

    .zw-track span {
        font-size: 18px;
    }

    /* Featured: centre the orphan third card when 2-up */
    .featured-posts .row,
    .zc-section .row {
        justify-content: center;
    }

    /* Trending becomes a swipeable scroll-snap strip */
    .trending-posts .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 18px 4px 14px;
        scrollbar-width: none;
    }

        .trending-posts .row::-webkit-scrollbar {
            display: none;
        }

        .trending-posts .row > * {
            flex: 0 0 62%;
            max-width: 62%;
            scroll-snap-align: center;
        }

        /* items sitting off-screen in the strip must not wait for scroll-reveal */
        .trending-posts .row > .zw-reveal {
            opacity: 1 !important;
            transform: none !important;
        }

    /* Trending + newsletter */
    .newsletter-panel {
        min-height: 420px;
    }

    /* About / Work */
    .aw-section {
        padding: 40px 0;
    }

        .aw-section::before {
            display: none;
        }

    .aw-photo {
        max-width: 360px;
        margin-bottom: -1px;
        padding: 0 14px 14px 0; /* contains the dashed arch so it can't overflow */
    }

        .aw-photo::before {
            inset: 18px 0 0 14px;
        }

        .aw-photo img {
            height: 440px;
        }

    .aw-text {
        max-width: 560px;
        padding: 40px 24px;
        background-color: color-mix(in srgb, var(--bs-primary), white 85%);
    }

        .aw-text + .aw-text {
            margin-top: 0;
        }

    /* About page */
    .ab-profile {
        overflow: hidden;
    }

    /* Footer */
    .zf-tagline {
        font-size: 20px;
    }
}

/* ---------- <= 767.98px (below md: large phones) ---------- */
@media (max-width: 767.98px) {

    .hero-soft {
        padding: 40px 0;
    }

        /* decorative animated blobs: save battery on phones */
        .hero-soft::before,
        .hero-soft::after {
            animation: none;
        }

    .hero-photo {
        max-width: 340px;
    }

    .hero-signature {
        font-size: clamp(36px, 10vw, 52px);
    }

    /* iOS zooms the page when an input is < 16px */
    .form-control,
    .newsletter-input,
    input,
    select,
    textarea {
        font-size: 16px;
    }

    /* Section headings */
    .fp-line {
        flex: 0 1 60px;
    }

    .fp-title {
        font-size: clamp(30px, 8vw, 40px);
    }

    /* Featured */
    .fp-body {
        width: 92%;
        margin-top: -30px;
    }

    .fp-post-title {
        font-size: 18px;
    }

    /* Latest posts overlay */
    .lp-overlay-link {
        aspect-ratio: 4 / 3;
    }

    .lp-title {
        font-size: 15px;
    }

    /* Category columns */
    .zc-heading {
        margin-bottom: 20px;
    }

    /* Footer */
    .zf-main {
        padding: 30px 0 40px;
    }

    .zf-tagline {
        font-size: 20px;
    }

    .zf-logo {
        text-align: center;
    }

        .zf-logo img {
            margin: 0 auto;
        }

    .zf-social {
        justify-content: center;
    }

    .zf-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 0;
    }
}

/* ---------- <= 575.98px (below sm: phones) ---------- */
@media (max-width: 575.98px) {

    .hero-soft {
        padding: 32px 0;
    }

    .hero-eyebrow {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: clamp(24px, 6.8vw, 30px);
    }

    .hero-badge {
        width: 84px;
        height: 84px;
    }

        .hero-badge i {
            font-size: 24px;
        }

    .zw-marquee {
        padding: 12px 0;
        transform: rotate(-0.6deg);
    }

    .zw-track span {
        font-size: 16px;
    }

    /* Section headings */
    .fp-line {
        flex: 0 1 30px;
    }

    .fp-title {
        font-size: 30px;
        white-space: normal;
        text-align: center;
    }

    /* Featured: don't let a single card fill the whole phone height */
    .fp-card {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .fp-thumb {
        aspect-ratio: 4 / 5;
    }

        .fp-thumb::after {
            font-size: 48px;
            bottom: 46px;
        }

    .fp-body {
        width: 94%;
    }

    /* Readable small text */
    .fp-meta,
    .lp-meta,
    .zc-date {
        font-size: 11px;
    }

    .fp-cat,
    .tr-cat,
    .lp-cat {
        font-size: 11px;
    }

    /* Trending strip */
    .trending-posts .row > * {
        flex-basis: 72%;
        max-width: 72%;
    }

    .tr-title {
        font-size: 15px;
    }

    .tr-card::before {
        font-size: 60px;
    }

    .newsletter-panel {
        min-height: 0;
    }

    .newsletter-icon {
        font-size: 44px;
    }

    .newsletter-box {
        padding: 22px 18px 26px;
    }

    .newsletter-title {
        font-size: 32px;
    }

    .newsletter-text {
        font-size: 13px;
        line-height: 1.7;
    }

    /* Latest (2-up grid) */
    .lp-card {
        padding: 8px 8px 4px;
    }

    .lp-title {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .lp-load-more {
        max-width: 100%;
    }

    /* About / Work */
    .aw-photo img {
        height: 380px;
    }

    .aw-title {
        font-size: 32px;
    }

    .aw-desc {
        font-size: 14px;
    }

    .aw-text {
        padding: 32px 18px;
    }

    /* Category columns */
    .zc-item {
        gap: 16px;
        padding: 8px;
    }

    .zc-thumb {
        flex-basis: 96px;
        width: 96px;
        height: 96px;
    }

    .zc-title {
        font-size: 16px;
    }

    /* About page */
    .ab-gallery {
        grid-auto-rows: 130px;
        gap: 8px;
    }

    /* Footer */
    .zf-heading {
        font-size: 14px;
    }

    .zf-feature-title {
        font-size: 28px;
        margin: 16px 0 10px;
    }

    .zf-feature-text {
        font-size: 13px;
    }

    .zf-post-thumb {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    .zf-post-title {
        font-size: 15px;
    }

    .zf-links a {
        font-size: 12px;
    }

    .zf-links li + li::before {
        margin: 0 10px;
    }

    /* Floating buttons (respect iPhone home bar) */
    .wa-fab {
        width: 46px;
        height: 46px;
        font-size: 1.35rem;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        left: 16px;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
}

/* ---------- <= 359.98px (very small phones: 320px) ---------- */
@media (max-width: 359.98px) {
    .hero-signature {
        font-size: 32px;
    }

    .hero-badge {
        width: 72px;
        height: 72px;
    }

    .fp-title {
        font-size: 26px;
    }

    .fp-body {
        padding: 14px 14px 16px;
    }

    .fp-post-title {
        font-size: 16px;
    }

    .newsletter-title,
    .aw-title {
        font-size: 28px;
    }

    .lp-title {
        font-size: 13px;
    }

    .zc-thumb {
        flex-basis: 80px;
        width: 80px;
        height: 80px;
    }

    .zc-title {
        font-size: 15px;
    }

    .zf-feature-title {
        font-size: 24px;
    }

    .zw-track span {
        font-size: 14px;
    }
}

/* ---------- Landscape phones (short screens) ---------- */
@media (max-height: 480px) and (orientation: landscape) {
    .hero-soft {
        padding: 28px 0;
    }

    .newsletter-panel {
        min-height: 0;
    }

    .aw-photo img {
        height: 320px;
    }
}

/* =========================================================
   BLOG LISTING PAGE  (pairs with blog-list.css)
   ========================================================= */

/* ---------- <= 1199.98px: 8-col column is narrow, stack the spotlight ---------- */
@media (max-width: 1199.98px) {
    .bl-card--feature {
        flex-direction: column;
    }

        .bl-card--feature .bl-thumb {
            flex-basis: auto;
            aspect-ratio: 4 / 3.2;
        }

        .bl-card--feature .bl-body {
            padding: 22px 12px 6px;
            text-align: center;
        }

        .bl-card--feature .bl-cat {
            align-self: center;
        }

        .bl-card--feature .bl-excerpt {
            margin-left: auto;
            margin-right: auto;
        }

        .bl-card--feature .bl-foot {
            justify-content: space-between;
        }
}

/* ---------- <= 991.98px: sidebar drops under the posts ---------- */
@media (max-width: 991.98px) {
    .bl-hero {
        padding: 56px 0 70px;
    }

    .bl-orb {
        display: none;
    }

    .bl-side {
        gap: 22px;
    }

    .bl-author-photo {
        width: 170px;
    }
}

/* ---------- <= 767.98px ---------- */
@media (max-width: 767.98px) {
    /* category pills get the full bar width */
    .bl-filter {
        margin-top: 20px;
        padding: 10px 0;
    }

    .bl-count {
        display: none;
    }

    .bl-search {
        padding-left: 16px;
    }

    .bl-steps {
        grid-template-columns: 1fr;
        padding: 26px 18px;
    }

    .bl-step + .bl-step::before {
        display: none;
    }
}

/* ---------- <= 575.98px ---------- */
@media (max-width: 575.98px) {
    .bl-hero {
        padding: 44px 0 60px;
    }

    .bl-script {
        font-size: clamp(46px, 16vw, 64px);
    }

    .bl-search {
        padding: 5px 5px 5px 16px;
    }

        .bl-search .btn-theme-primary {
            padding: 11px 18px;
        }

    .bl-card-title {
        font-size: 18px;
    }

    .bl-widget {
        padding: 22px 16px;
    }

    .bl-news-title,
    .bl-step h3 {
        font-size: 34px;
    }

    .bl-pop-n::before {
        font-size: 34px;
        min-width: 28px;
    }

    .bl-cta {
        padding: 56px 0;
    }

    .bl-cta-box {
        padding: 34px 18px;
    }
}

/* ---------- Touch: no stuck hover effects ---------- */
@media (hover: none) {
    .bl-card:hover {
        transform: none;
        box-shadow: 0 6px 20px rgba(49, 49, 49, .05);
    }

        .bl-card:hover .bl-thumb img {
            transform: none;
        }

        .bl-card:hover::before {
            opacity: 0;
        }

        .bl-card:hover::after {
            transform: scaleX(0);
        }

    .bl-topic:hover {
        transform: none;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .bl-reveal {
        animation: none !important;
    }

    .bl-news-ico,
    .bl-cta-icon {
        animation: none;
    }
}
/* =========================================================
   responsive.css  (Bootstrap breakpoints, plain CSS) - FULL FILE
   IMPORTANT: load this AFTER style.min.css in _LandingLayout.cshtml
   Breakpoints: xxl 1600 | xl 1199.98 | lg 991.98 | md 767.98 | sm 575.98 | xs 359.98
   Blog listing responsive rules are at the very end of this file.
   ========================================================= */

/* ---------- Global safety ---------- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

@supports (overflow: clip) {
    body {
        overflow-x: clip; /* no accidental sideways scroll, doesn't break sticky */
    }
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* ---------- Large desktops ---------- */
@media (min-width: 1600px) {
    .container {
        max-width: 1440px;
    }
}

/* ---------- Touch devices: no "stuck" hover states ---------- */
@media (hover: none) {
    .fp-card:hover,
    .tr-card:hover,
    .lp-card:hover,
    .aw-text:hover,
    .zc-item:hover,
    .ab-stat:hover,
    .ab-pillar:hover,
    .ab-topic:hover {
        transform: none;
    }

    .tr-card:hover {
        background: rgba(255, 255, 255, .55);
        box-shadow: none;
    }

    .lp-card:hover {
        background: transparent;
        box-shadow: none;
    }

    .zc-item:hover {
        background: transparent;
        box-shadow: none;
    }

        .fp-card:hover .fp-thumb img,
        .tr-card:hover .tr-thumb img,
        .lp-card:hover .lp-thumb img,
        .zc-item:hover .zc-thumb img {
            transform: none;
        }
}

/* ---------- <= 1199.98px (below xl) ---------- */
@media (max-width: 1199.98px) {
    .hero-soft {
        padding: 60px 0;
    }

    .zf-tagline {
        font-size: 22px;
    }

    .zf-feature-title {
        font-size: 32px;
    }

    /* newsletter is stacked under Trending here */
    .newsletter-panel {
        min-height: 420px;
    }
}

/* ---------- 992px - 1199.98px (small laptops) ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .aw-text {
        padding: 24px 16px;
    }

    .aw-desc {
        font-size: 14px;
    }

    .zc-item {
        gap: 14px;
    }

    .zc-thumb {
        flex-basis: 100px;
        width: 100px;
        height: 100px;
    }

    .zc-title {
        font-size: 16px;
    }
}

/* ---------- 768px - 991.98px (tablet: 3-up overlay cards) ---------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .lp-overlay-title {
        font-size: 15px;
    }

    .lp-overlay-content {
        padding: 0 14px 20px;
    }
}

/* ---------- <= 991.98px (below lg: tablet) ---------- */
@media (max-width: 991.98px) {
    /* Hero: stack + center */
    .hero-soft {
        padding: 50px 0;
    }

    .hero-photo {
        margin: 0 auto;
        max-width: 420px;
    }

    .hero-eyebrow {
        display: flex; /* was inline-flex, so centering never applied */
        justify-content: center;
        font-size: 15px;
        text-align: center;
    }

        .hero-eyebrow::before {
            display: none;
        }

    .hero-title {
        text-align: center;
    }

    .hero-soft .d-flex {
        justify-content: center;
    }

    .hero-chip {
        display: none;
    }

    .hero-badge {
        right: 4px;
        bottom: 24px;
        width: 96px;
        height: 96px;
    }

    .hero-photo::before {
        inset: 38px -8px -10px 8px;
    }

    .zw-marquee {
        transform: rotate(-0.9deg);
    }

    .zw-track span {
        font-size: 18px;
    }

    /* Featured: centre the orphan third card when 2-up */
    .featured-posts .row,
    .zc-section .row {
        justify-content: center;
    }

    /* Trending becomes a swipeable scroll-snap strip */
    .trending-posts .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 18px 4px 14px;
        scrollbar-width: none;
    }

        .trending-posts .row::-webkit-scrollbar {
            display: none;
        }

        .trending-posts .row > * {
            flex: 0 0 62%;
            max-width: 62%;
            scroll-snap-align: center;
        }

        /* items sitting off-screen in the strip must not wait for scroll-reveal */
        .trending-posts .row > .zw-reveal {
            opacity: 1 !important;
            transform: none !important;
        }

    /* Trending + newsletter */
    .newsletter-panel {
        min-height: 420px;
    }

    /* About / Work */
    .aw-section {
        padding: 40px 0;
    }

        .aw-section::before {
            display: none;
        }

    .aw-photo {
        max-width: 360px;
        margin-bottom: -1px;
        padding: 0 14px 14px 0; /* contains the dashed arch so it can't overflow */
    }

        .aw-photo::before {
            inset: 18px 0 0 14px;
        }

        .aw-photo img {
            height: 440px;
        }

    .aw-text {
        max-width: 560px;
        padding: 40px 24px;
        background-color: color-mix(in srgb, var(--bs-primary), white 85%);
    }

        .aw-text + .aw-text {
            margin-top: 0;
        }

    /* About page */
    .ab-profile {
        overflow: hidden;
    }

    /* Footer */
    .zf-tagline {
        font-size: 20px;
    }
}

/* ---------- <= 767.98px (below md: large phones) ---------- */
@media (max-width: 767.98px) {

    .hero-soft {
        padding: 40px 0;
    }

        /* decorative animated blobs: save battery on phones */
        .hero-soft::before,
        .hero-soft::after {
            animation: none;
        }

    .hero-photo {
        max-width: 340px;
    }

    .hero-signature {
        font-size: clamp(36px, 10vw, 52px);
    }

    /* iOS zooms the page when an input is < 16px */
    .form-control,
    .newsletter-input,
    input,
    select,
    textarea {
        font-size: 16px;
    }

    /* Section headings */
    .fp-line {
        flex: 0 1 60px;
    }

    .fp-title {
        font-size: clamp(30px, 8vw, 40px);
    }

    /* Featured */
    .fp-body {
        width: 92%;
        margin-top: -30px;
    }

    .fp-post-title {
        font-size: 18px;
    }

    /* Latest posts overlay */
    .lp-overlay-link {
        aspect-ratio: 4 / 3;
    }

    .lp-title {
        font-size: 15px;
    }

    /* Category columns */
    .zc-heading {
        margin-bottom: 20px;
    }

    /* Footer */
    .zf-main {
        padding: 30px 0 40px;
    }

    .zf-tagline {
        font-size: 20px;
    }

    .zf-logo {
        text-align: center;
    }

        .zf-logo img {
            margin: 0 auto;
        }

    .zf-social {
        justify-content: center;
    }

    .zf-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 0;
    }
}

/* ---------- <= 575.98px (below sm: phones) ---------- */
@media (max-width: 575.98px) {

    .hero-soft {
        padding: 32px 0;
    }

    .hero-eyebrow {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: clamp(24px, 6.8vw, 30px);
    }

    .hero-badge {
        width: 84px;
        height: 84px;
    }

        .hero-badge i {
            font-size: 24px;
        }

    .zw-marquee {
        padding: 12px 0;
        transform: rotate(-0.6deg);
    }

    .zw-track span {
        font-size: 16px;
    }

    /* Section headings */
    .fp-line {
        flex: 0 1 30px;
    }

    .fp-title {
        font-size: 30px;
        white-space: normal;
        text-align: center;
    }

    /* Featured: don't let a single card fill the whole phone height */
    .fp-card {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .fp-thumb {
        aspect-ratio: 4 / 5;
    }

        .fp-thumb::after {
            font-size: 48px;
            bottom: 46px;
        }

    .fp-body {
        width: 94%;
    }

    /* Readable small text */
    .fp-meta,
    .lp-meta,
    .zc-date {
        font-size: 11px;
    }

    .fp-cat,
    .tr-cat,
    .lp-cat {
        font-size: 11px;
    }

    /* Trending strip */
    .trending-posts .row > * {
        flex-basis: 72%;
        max-width: 72%;
    }

    .tr-title {
        font-size: 15px;
    }

    .tr-card::before {
        font-size: 60px;
    }

    .newsletter-panel {
        min-height: 0;
    }

    .newsletter-icon {
        font-size: 44px;
    }

    .newsletter-box {
        padding: 22px 18px 26px;
    }

    .newsletter-title {
        font-size: 32px;
    }

    .newsletter-text {
        font-size: 13px;
        line-height: 1.7;
    }

    /* Latest (2-up grid) */
    .lp-card {
        padding: 8px 8px 4px;
    }

    .lp-title {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .lp-load-more {
        max-width: 100%;
    }

    /* About / Work */
    .aw-photo img {
        height: 380px;
    }

    .aw-title {
        font-size: 32px;
    }

    .aw-desc {
        font-size: 14px;
    }

    .aw-text {
        padding: 32px 18px;
    }

    /* Category columns */
    .zc-item {
        gap: 16px;
        padding: 8px;
    }

    .zc-thumb {
        flex-basis: 96px;
        width: 96px;
        height: 96px;
    }

    .zc-title {
        font-size: 16px;
    }

    /* About page */
    .ab-gallery {
        grid-auto-rows: 130px;
        gap: 8px;
    }

    /* Footer */
    .zf-heading {
        font-size: 14px;
    }

    .zf-feature-title {
        font-size: 28px;
        margin: 16px 0 10px;
    }

    .zf-feature-text {
        font-size: 13px;
    }

    .zf-post-thumb {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    .zf-post-title {
        font-size: 15px;
    }

    .zf-links a {
        font-size: 12px;
    }

    .zf-links li + li::before {
        margin: 0 10px;
    }

    /* Floating buttons (respect iPhone home bar) */
    .wa-fab {
        width: 46px;
        height: 46px;
        font-size: 1.35rem;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        left: 16px;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
}

/* ---------- <= 359.98px (very small phones: 320px) ---------- */
@media (max-width: 359.98px) {
    .hero-signature {
        font-size: 32px;
    }

    .hero-badge {
        width: 72px;
        height: 72px;
    }

    .fp-title {
        font-size: 26px;
    }

    .fp-body {
        padding: 14px 14px 16px;
    }

    .fp-post-title {
        font-size: 16px;
    }

    .newsletter-title,
    .aw-title {
        font-size: 28px;
    }

    .lp-title {
        font-size: 13px;
    }

    .zc-thumb {
        flex-basis: 80px;
        width: 80px;
        height: 80px;
    }

    .zc-title {
        font-size: 15px;
    }

    .zf-feature-title {
        font-size: 24px;
    }

    .zw-track span {
        font-size: 14px;
    }
}

/* ---------- Landscape phones (short screens) ---------- */
@media (max-height: 480px) and (orientation: landscape) {
    .hero-soft {
        padding: 28px 0;
    }

    .newsletter-panel {
        min-height: 0;
    }

    .aw-photo img {
        height: 320px;
    }
}

/* =========================================================
   BLOG LISTING PAGE  (pairs with blog-list.css)
   ========================================================= */

/* ---------- <= 1199.98px: 8-col column is narrow, stack the spotlight ---------- */
@media (max-width: 1199.98px) {
    .bl-card--feature {
        flex-direction: column;
    }

        .bl-card--feature .bl-thumb {
            flex-basis: auto;
            aspect-ratio: 4 / 3.2;
        }

        .bl-card--feature .bl-body {
            padding: 22px 12px 6px;
            text-align: center;
        }

        .bl-card--feature .bl-cat {
            align-self: center;
        }

        .bl-card--feature .bl-excerpt {
            margin-left: auto;
            margin-right: auto;
        }

        .bl-card--feature .bl-foot {
            justify-content: space-between;
        }
}

/* ---------- <= 991.98px: sidebar drops under the posts ---------- */
@media (max-width: 991.98px) {
    .bl-hero {
        padding: 56px 0 70px;
    }

    .bl-orb {
        display: none;
    }

    .bl-side {
        gap: 22px;
    }

    .bl-author-photo {
        width: 170px;
    }
}

/* ---------- <= 767.98px ---------- */
@media (max-width: 767.98px) {

    .bl-steps {
        grid-template-columns: 1fr;
        padding: 26px 18px;
    }

    .bl-step + .bl-step::before {
        display: none;
    }
}

/* ---------- <= 575.98px ---------- */
@media (max-width: 575.98px) {
    .bl-hero {
        padding: 44px 0 60px;
    }

    .bl-script {
        font-size: clamp(46px, 16vw, 64px);
    }

    .bl-card-title {
        font-size: 18px;
    }

    .bl-widget {
        padding: 22px 16px;
    }


    .bl-pop-n::before {
        font-size: 34px;
        min-width: 28px;
    }

    .bl-cta {
        padding: 56px 0;
    }

    .bl-cta-box {
        padding: 34px 18px;
    }
}

/* ---------- Touch: no stuck hover effects ---------- */
@media (hover: none) {
    .bl-card:hover {
        transform: none;
        box-shadow: 0 6px 20px rgba(49, 49, 49, .05);
    }

        .bl-card:hover .bl-thumb img {
            transform: none;
        }

        .bl-card:hover::before {
            opacity: 0;
        }

        .bl-card:hover::after {
            transform: scaleX(0);
        }

    .bl-topic:hover {
        transform: none;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .bl-reveal {
        animation: none !important;
    }

    .bl-news-ico,
    .bl-cta-icon {
        animation: none;
    }
}

@media (min-width: 992px) {
    .bl-side-sticky {
        position: sticky;
        top: calc(var(--bl-sticky-top) + 12px);
    }
}

/* =========================================================
   10. HOVER (only on devices that really hover)
   ========================================================= */
@media (hover: hover) {
    .bd-toc a:hover {
        transform: translateX(4px);
    }

    .bd-nav-link:hover {
        transform: translateY(-6px);
        background: var(--zw-cream);
        box-shadow: var(--zw-shadow);
    }
}


/* =========================================================
   11. RESPONSIVE
   ========================================================= */

/* <= 1199.98  (small laptops) */
@media (max-width: 1199.98px) {
    .bd-hero {
        padding: 90px 0 110px;
    }
}

/* <= 991.98  (tablet: hero stacks, sidebar drops under article) */
@media (max-width: 991.98px) {
    .bd-hero {
        padding: 80px 0 110px;
    }

    .bd-hero-media {
        max-width: 420px;
        margin: 0 auto;
    }

    .bd-badge {
        right: -6px;
        bottom: 40px;
        width: 104px;
        height: 104px;
    }

    .bd-aside {
        margin-top: 10px;
    }

    .bd-body {
        padding-bottom: 70px;
    }

    .bd-takeaways .bl-steps {
        gap: 26px;
        padding: 34px 24px;
    }
}

/* <= 767.98  (large phones) */
@media (max-width: 767.98px) {
    .bd-hero {
        padding: 64px 0 100px;
    }

    .bd-wave {
        height: 56px;
    }

    .bd-prose {
        font-size: 14.5px;
        line-height: 1.9;
    }

        .bd-prose > p:first-of-type::first-letter {
            font-size: 3.6em;
            padding-right: 10px;
        }

        .bd-prose ol > li {
            padding-left: 38px;
        }

    .bd-pull {
        padding: 28px 24px 24px 26px;
    }

        .bd-pull::before {
            font-size: 120px;
        }

    .bd-share-label {
        width: 100%;
        margin-right: 0;
    }

    .bd-takeaways .bl-steps {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 30px 22px;
    }

    .bd-author {
        flex-direction: column;
        text-align: center;
        padding: 26px 22px;
    }

        .bd-author .bl-author-photo {
            flex: none;
        }

        .bd-author .ab-social {
            justify-content: center;
        }

    .bd-nav {
        grid-template-columns: 1fr;
    }

    .bd-nav-link--next {
        text-align: left;
        align-items: flex-start;
    }
}

/* <= 575.98  (phones) */
@media (max-width: 575.98px) {
    .bd-hero {
        padding: 48px 0 90px;
    }

    .bd-script {
        font-size: clamp(42px, 13vw, 56px);
    }

    .bd-title {
        font-size: clamp(26px, 7.4vw, 32px);
    }

    .bd-hero-media {
        max-width: 340px;
    }

    .bd-badge {
        right: -6px;
        bottom: 24px;
        width: 92px;
        height: 92px;
    }

        .bd-badge i {
            font-size: 22px;
        }

    .bd-chip {
        padding: 8px 13px;
        font-size: 10px;
    }

    .bd-lead {
        padding-left: 18px;
        font-size: 17px;
    }

    .bd-prose h2 {
        font-size: 24px;
    }

    .bd-figure img {
        border-radius: 180px 180px 22px 22px;
    }

    .bd-tags .ab-chip {
        font-size: 10px;
    }

    .bd-author-body .bl-sign {
        font-size: 36px;
    }

    .bd-nav-link strong {
        font-size: 16px;
    }

    .bd-toc a {
        font-size: 12.5px;
    }

    .bd-takeaways .bl-steps {
        padding: 28px 18px;
    }
}

/* <= 359.98  (very small phones, 320px) */
@media (max-width: 359.98px) {
    .bd-title {
        font-size: 24px;
    }

    .bd-hero-media {
        max-width: 280px;
    }

    .bd-badge {
        width: 80px;
        height: 80px;
    }

        .bd-badge i {
            font-size: 20px;
        }

    .bd-prose {
        font-size: 14px;
    }
}


/* =========================================================
   12. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .bd-hero::before {
        animation: none;
    }

    .bd-nav-link,
    .bd-toc a {
        transition: none;
    }
}
