/**
 * BookingTrolley blog homepage
 * Extends design tokens from blog-premium.css
 */

.blog-home {
    --home-shell: min(74rem, calc(100vw - 2rem));
    --home-gutter: 1rem;
    --home-charcoal: #0f172a;
    --home-charcoal-soft: #1e293b;
    --home-amber: #2563eb;
    --home-amber-bright: #3b82f6;
    --home-muted: #64748b;
    background: #fff;
    color: var(--home-charcoal);
    overflow-x: clip;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 1200px) {
    .blog-home {
        --home-shell: min(92rem, calc(100vw - 5.5rem));
        --home-gutter: 1.25rem;
    }
}

@media (min-width: 1400px) {
    .blog-home {
        --home-shell: min(96rem, calc(100vw - 5rem));
    }
}

.blog-home-shell {
    width: var(--home-shell);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--home-gutter);
    box-sizing: border-box;
}

/* Reveal motion */
.blog-home [data-reveal] {
    opacity: 0;
    transform: translateY(1.35rem);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-home [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
.blog-home-kicker {
    margin: 0 0 0.5rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-amber);
}

.blog-home-section__title,
.blog-home-spotlight__title {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--home-charcoal);
}

.blog-home-link {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--home-amber);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.blog-home-link:hover {
    color: var(--home-amber-bright);
    transform: translateX(2px);
}

.blog-home-link--inline {
    display: inline-flex;
    margin-top: 1.25rem;
}

/* Buttons */
.blog-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.15s ease;
}

.blog-home-btn--primary {
    background: var(--home-amber);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.blog-home-btn--primary:hover {
    background: var(--home-amber-bright);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
    color: #fff;
}

.blog-home-btn--ghost {
    background: transparent;
    border-color: var(--blog-border, #e2e8f0);
    color: var(--home-charcoal);
}

.blog-home-btn--ghost:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: var(--home-amber);
}

.blog-home-btn--on-dark {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.blog-home-btn--on-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Hero — content clears fixed merged header at top */
.blog-home-hero {
    padding: calc(var(--site-header-offset, 5.5rem) + 0.35rem) 0 3rem;
}

body.blog-home-page.is-scrolled .blog-home-hero {
    padding-top: 1.25rem;
}

.blog-home-hero__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 960px) {
    .blog-home-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 2.5rem 3rem;
        padding-top: 0.5rem;
    }
}

.blog-home-hero__title {
    margin: 0 0 1rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: var(--home-charcoal);
}

.blog-home-hero__dek {
    margin: 0 0 1.5rem;
    max-width: 32rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.65;
    color: var(--home-muted);
}

.blog-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-home-hero__rotator {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1.75rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    transform: translateZ(0);
}

.blog-home-hero__rotator-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.blog-home-hero__rotator .blog-home-hero__visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition:
        opacity 1.05s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 1.05s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-home-hero__rotator .blog-home-hero__visual.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.blog-home-hero__rotator .blog-home-hero__visual.is-leaving {
    opacity: 0;
    visibility: visible;
    z-index: 1;
}

.blog-home-hero__rotator .blog-home-hero__visual img {
    transform: scale(1.06);
    transition: transform 8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

.blog-home-hero__rotator .blog-home-hero__visual.is-active img {
    transform: scale(1);
}

.blog-home-hero__rotator .blog-home-hero__visual.is-active:hover img {
    transform: scale(1.04);
}

.blog-home-hero__rotator-dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateX(-50%);
}

.blog-home-hero__rotator-dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, transform 0.25s ease;
}

.blog-home-hero__rotator-dot.is-active {
    width: 1.35rem;
    background: #fff;
}

.blog-home-hero__rotator-dot:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.08);
}

.blog-home-hero__rotator-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.blog-home-hero__visual {
    position: relative;
    display: block;
    border-radius: 1.75rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    text-decoration: none;
    transform: translateZ(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.blog-home-hero__visual:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 32px 70px rgba(15, 23, 42, 0.18);
}

@media (max-width: 767px) {
    .blog-home-hero__visual:hover {
        transform: none;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    }

    .blog-home-hero__visual:hover img {
        transform: none;
    }

    .blog-home-dest:hover,
    .blog-home-card:hover,
    .blog-home-card--overlay-feature:hover,
    .blog-home-card--overlay-tile:hover {
        transform: none;
    }
}

.blog-home-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-home-hero__visual:hover img {
    transform: scale(1.04);
}

.blog-home-hero__visual-fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #60a5fa 100%);
}

.blog-home-hero__visual-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 1.5rem 1.35rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.blog-home-hero__visual-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}

.blog-home-hero__visual-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.25;
}

/* Sections */
.blog-home-section {
    padding: 2.5rem 0 3rem;
}

.blog-home-section--guides {
    padding-top: 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.blog-home-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

/* Carousel (destinations + spotlight rails) */
.blog-home-carousel {
    position: relative;
}

.blog-home-carousel__track {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-home-carousel__track::-webkit-scrollbar {
    display: none;
}

.blog-home-carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-top: -1.375rem;
    border: 1px solid var(--blog-border, #e2e8f0);
    border-radius: 999px;
    background: #fff;
    color: var(--home-charcoal);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.blog-home-carousel__nav:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
    background: #f8fafc;
}

.blog-home-carousel__nav:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
}

.blog-home-carousel__nav--prev {
    left: -0.35rem;
}

.blog-home-carousel__nav--next {
    right: -0.35rem;
}

.blog-home-carousel--on-dark .blog-home-carousel__nav {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--home-charcoal);
}

.blog-home-carousel--spotlight .blog-home-carousel__nav {
    top: calc(50% - 1.5rem);
}

@media (min-width: 768px) {
    .blog-home-carousel__nav--prev {
        left: -1.25rem;
    }

    .blog-home-carousel__nav--next {
        right: -1.25rem;
    }
}

@media (max-width: 767px) {
    .blog-home-carousel__nav {
        width: 2.35rem;
        height: 2.35rem;
        margin-top: -1.175rem;
    }
}

/* Destination rail */
.blog-home-dest-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0.5rem;
}

.blog-home-dest {
    flex: 0 0 min(72vw, 220px);
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.blog-home-dest:hover {
    transform: translateY(-4px);
}

.blog-home-dest__media {
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.blog-home-dest__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.blog-home-dest:hover .blog-home-dest__media img {
    transform: scale(1.06);
}

.blog-home-dest__fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #dbeafe, #eff6ff);
}

.blog-home-dest__name {
    display: block;
    margin-top: 0.65rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--home-charcoal);
}

/* Travel guides — magazine grid + timeline sidebar */
.blog-home-guides {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.blog-home-guides__main {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    min-width: 0;
}

.blog-home-guides__tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.875rem;
}

.blog-home-guides__aside {
    min-width: 0;
}

.blog-home-guides-feed {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0 0.25rem 1.65rem;
    border-left: 1px solid #e2e8f0;
    height: 100%;
    box-sizing: border-box;
}

.blog-home-guides-feed__item {
    position: relative;
    margin: 0;
    padding: 0 0 1.35rem 1.25rem;
}

.blog-home-guides-feed__item:last-child {
    padding-bottom: 0;
}

.blog-home-guides-feed__item::before {
    content: '';
    position: absolute;
    left: -1.72rem;
    top: 0.45rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: var(--home-amber);
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px #dbeafe;
}

.blog-home-guides-feed__link {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-home-guides-feed__link:hover {
    color: var(--home-amber);
}

.blog-home-guides-feed__link:hover .blog-home-guides-feed__title {
    color: var(--home-charcoal);
}

.blog-home-guides-feed__badge {
    align-self: flex-start;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-amber);
}

.blog-home-guides-feed__date {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}

.blog-home-guides-feed__title {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.38;
    color: var(--home-charcoal-soft);
    transition: color 0.2s ease;
}

.blog-home-guides-feed__meta {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

@media (min-width: 1024px) {
    .blog-home-guides {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: 1.75rem 2.25rem;
        align-items: stretch;
    }

    .blog-home-guides__main {
        gap: 1rem;
    }

    .blog-home-guides__aside {
        display: flex;
        flex-direction: column;
        padding-top: 0;
        position: static;
    }

    .blog-home-guides-feed {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 100%;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .blog-home-guides-feed__item {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 0.85rem 0 0.85rem 1.25rem;
    }

    .blog-home-guides-feed__item::before {
        top: 50%;
        transform: translateY(-50%);
    }

    .blog-home-guides-feed__item:first-child {
        padding-top: 0;
    }

    .blog-home-guides-feed__item:last-child {
        padding-bottom: 0;
    }

    .blog-home-guides-feed__link {
        gap: 0.4rem;
    }

    .blog-home-guides-feed__title {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .blog-home-guides__tiles {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
}

@media (max-width: 639px) {
    .blog-home-guides__tiles {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-inline: calc(-1 * var(--home-gutter));
        padding: 0.15rem var(--home-gutter) 0.5rem;
        scroll-padding-inline: var(--home-gutter);
    }

    .blog-home-guides__tiles > .blog-home-card {
        flex: 0 0 min(72vw, 15.5rem);
        scroll-snap-align: start;
    }

    .blog-home-guides-feed__title {
        font-size: 1.0625rem;
    }
}

/* Post cards */
.blog-home-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--blog-border, #e2e8f0);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.blog-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

.blog-home-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-home-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.blog-home-card--tall .blog-home-card__media {
    aspect-ratio: 3 / 4;
}

/* Image-first overlay cards (travel guides + spotlight) */
.blog-home-card--overlay-feature,
.blog-home-card--overlay-tile {
    position: relative;
    border: none;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 10px 28px rgba(15, 23, 42, 0.08);
}

.blog-home-card--overlay-feature:hover,
.blog-home-card--overlay-tile:hover {
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.blog-home-card--overlay-feature .blog-home-card__link,
.blog-home-card--overlay-tile .blog-home-card__link {
    position: relative;
    display: block;
    min-height: 100%;
}

.blog-home-card--overlay-feature .blog-home-card__media {
    aspect-ratio: 16 / 9;
}

.blog-home-card--overlay-tile .blog-home-card__media {
    aspect-ratio: 4 / 5;
}

.blog-home-card--overlay-feature .blog-home-card__body,
.blog-home-card--overlay-tile .blog-home-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.75rem 1.15rem 1.1rem;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.35) 38%, rgba(15, 23, 42, 0.92) 100%);
    pointer-events: none;
}

.blog-home-card--overlay-feature .blog-home-card__badge,
.blog-home-card--overlay-tile .blog-home-card__badge {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 0.825rem;
}

.blog-home-card--overlay-feature .blog-home-card__title,
.blog-home-card--overlay-tile .blog-home-card__title {
    color: #fff;
}

.blog-home-card--overlay-feature .blog-home-card__meta,
.blog-home-card--overlay-tile .blog-home-card__meta {
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0.48rem;
}

.blog-home-card--overlay-feature .blog-home-card__title {
    font-size: clamp(1.38rem, 2.88vw, 1.86rem);
    line-height: 1.25;
}

.blog-home-card--overlay-feature .blog-home-card__meta {
    font-size: 0.9rem;
}

.blog-home-card--overlay-tile .blog-home-card__title {
    font-size: 1.125rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-home-card--overlay-tile .blog-home-card__body {
    padding: 2rem 0.95rem 0.95rem;
}

.blog-home-card--overlay-tile .blog-home-card__meta {
    font-size: 0.825rem;
}

.blog-home-card--overlay-tile .blog-home-card__badge {
    font-size: 0.675rem;
    padding: 0.18rem 0.54rem;
}

@media (max-width: 767px) {
    .blog-home-card--overlay-feature .blog-home-card__title {
        font-size: 1.35rem;
    }

    .blog-home-card--overlay-feature .blog-home-card__body {
        padding: 2.25rem 1rem 1rem;
    }
}

/* Legacy wide alias (spotlight rails may still reference) */
.blog-home-card--wide .blog-home-card__media {
    aspect-ratio: 16 / 10;
}

@media (min-width: 1024px) {
    .blog-home-card--wide .blog-home-card__media {
        aspect-ratio: 2 / 1;
    }
}

.blog-home-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-home-card:hover .blog-home-card__media img {
    transform: scale(1.06);
}

.blog-home-card__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.blog-home-card:hover .blog-home-card__veil {
    opacity: 1;
}

.blog-home-card__fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.blog-home-card__body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.blog-home-card--tall .blog-home-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.88) 100%);
}

.blog-home-card--tall {
    position: relative;
}

.blog-home-card--tall .blog-home-card__link {
    position: relative;
    min-height: 100%;
}

.blog-home-card--tall .blog-home-card__badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.blog-home-card--tall .blog-home-card__title {
    color: #fff;
}

.blog-home-card--tall .blog-home-card__meta {
    color: rgba(255, 255, 255, 0.75);
}

.blog-home-card__badge {
    align-self: flex-start;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-amber);
}

.blog-home-card__title {
    margin: 0;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--home-charcoal);
}

.blog-home-card--default .blog-home-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-home-card--wide .blog-home-card__title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.blog-home-card__excerpt {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--home-muted);
}

.blog-home-card__meta {
    margin-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Spotlight bands */
.blog-home-spotlight {
    padding: 3.5rem 0;
    background: #f8fafc;
    border-top: 1px solid var(--blog-border, #e2e8f0);
}

.blog-home-spotlight--dark {
    background: var(--home-charcoal);
    border-top: 0;
}

.blog-home-spotlight--dark .blog-home-kicker {
    color: #93c5fd;
}

.blog-home-spotlight--dark .blog-home-spotlight__title {
    color: #fff;
}

.blog-home-spotlight--dark .blog-home-spotlight__links a {
    color: #fff;
}

.blog-home-spotlight--dark .blog-home-link {
    color: #93c5fd;
}

.blog-home-spotlight__grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 960px) {
    .blog-home-spotlight__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
        gap: 2.5rem;
    }
}

.blog-home-spotlight__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    letter-spacing: -0.02em;
}

.blog-home-spotlight__links {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.blog-home-spotlight__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--home-charcoal);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.blog-home-spotlight__links a:hover {
    color: var(--home-amber);
    transform: translateX(4px);
}

.blog-home-spotlight__rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0.5rem;
}

.blog-home-spotlight__rail .blog-home-card {
    flex: 0 0 min(75vw, 260px);
    scroll-snap-align: start;
    border: 0;
}

.blog-home-spotlight--dark .blog-home-spotlight__rail .blog-home-card {
    background: transparent;
}

/* CTA */
.blog-home-cta {
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, var(--home-charcoal) 0%, var(--home-charcoal-soft) 100%);
    color: #fff;
}

.blog-home-cta__inner {
    text-align: center;
    max-width: 40rem;
}

.blog-home-cta__title {
    margin: 0 0 0.75rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.blog-home-cta__text {
    margin: 0 0 1.5rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.blog-home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* Home — no body offset; hero section handles header clearance */
body.blog-home-page {
    padding-top: 0;
}

@media (max-width: 767px) {
    .blog-home {
        --home-gutter: 1.25rem;
        --home-space-xs: 0.5rem;
        --home-space-sm: 0.75rem;
        --home-space-md: 1.25rem;
        --home-space-lg: 1.75rem;
        --home-space-xl: 2.5rem;
    }

    .blog-home-shell {
        padding-left: max(var(--home-gutter), env(safe-area-inset-left, 0px));
        padding-right: max(var(--home-gutter), env(safe-area-inset-right, 0px));
    }

    .blog-home-hero {
        padding-top: calc(var(--site-header-offset, 4.5rem) + env(safe-area-inset-top, 0px) + var(--home-space-md));
        padding-bottom: var(--home-space-xl);
        border-bottom: 1px solid #f1f5f9;
    }

    body.blog-home-page.is-scrolled .blog-home-hero {
        padding-top: var(--home-space-md);
    }

    .blog-home-hero__grid {
        gap: var(--home-space-lg);
    }

    .blog-home-hero__copy {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .blog-home-hero__copy .blog-home-kicker {
        display: none;
    }

    .blog-home-hero__title {
        font-size: clamp(1.875rem, 8.2vw, 2.35rem);
        line-height: 1.1;
        margin: 0 0 var(--home-space-sm);
    }

    .blog-home-hero__dek {
        font-size: 1rem;
        line-height: 1.65;
        margin: 0 0 var(--home-space-lg);
        max-width: none;
    }

    .blog-home-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
    }

    /* Featured card below is the secondary CTA — avoid cramped duplicate pill */
    .blog-home-hero__actions .blog-home-btn--ghost {
        display: none;
    }

    .blog-home-btn {
        width: 100%;
        min-height: 3rem;
        padding: 0.875rem 1.25rem;
        justify-content: center;
        font-size: 1rem;
    }

    .blog-home-hero__featured {
        display: flex;
        flex-direction: column;
        gap: var(--home-space-sm);
        margin-top: var(--home-space-xs);
    }

    .blog-home-hero__featured-label {
        margin: 0;
        font-size: 0.625rem;
        letter-spacing: 0.16em;
    }

    .blog-home-hero__rotator {
        aspect-ratio: 16 / 10;
        border-radius: 1.125rem;
        box-shadow:
            0 1px 2px rgba(15, 23, 42, 0.06),
            0 12px 32px rgba(15, 23, 42, 0.1);
    }

    .blog-home-hero__visual-caption {
        padding: 2.5rem 1.125rem 1.125rem;
    }

    .blog-home-hero__visual-label {
        font-size: 0.625rem;
        letter-spacing: 0.14em;
    }

    .blog-home-hero__visual-title {
        font-size: 1.0625rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-home-hero__rotator-dots {
        bottom: 0.85rem;
    }

    .blog-home-section {
        padding: var(--home-space-xl) 0;
    }

    .blog-home-section:first-of-type {
        padding-top: calc(var(--home-space-xl) + var(--home-space-xs));
    }

    .blog-home-section__head {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--home-space-sm);
        margin-bottom: var(--home-space-md);
    }

    .blog-home-section__head .blog-home-kicker {
        margin-bottom: 0.35rem;
    }

    .blog-home-section__title,
    .blog-home-spotlight__title {
        font-size: clamp(1.625rem, 5.5vw, 2rem);
        line-height: 1.12;
    }

    .blog-home-section__head .blog-home-link {
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        min-height: 2.75rem;
        padding: 0.35rem 0;
        white-space: normal;
    }

    .blog-home-carousel__nav {
        display: none;
    }

    .blog-home-carousel {
        margin-inline: calc(-1 * var(--home-gutter));
    }

    .blog-home-dest-rail,
    .blog-home-spotlight__rail {
        padding: 0.15rem var(--home-gutter) 0.65rem;
        scroll-padding-inline: var(--home-gutter);
        gap: 0.875rem;
    }

    .blog-home-dest {
        flex: 0 0 min(62vw, 168px);
    }

    .blog-home-dest__name {
        margin-top: 0.75rem;
        font-size: 0.875rem;
        line-height: 1.35;
    }

    .blog-home-section--guides {
        padding-top: var(--home-space-xl);
        background: #f8fafc;
    }

    .blog-home-guides {
        gap: var(--home-space-lg);
    }

    .blog-home-guides__aside {
        padding-top: 0.25rem;
    }

    .blog-home-guides-feed {
        padding-left: 1.15rem;
    }

    .blog-home-spotlight {
        padding: var(--home-space-xl) 0;
    }

    .blog-home-spotlight__grid {
        gap: var(--home-space-lg);
    }

    .blog-home-spotlight__intro .blog-home-kicker {
        margin-bottom: 0.35rem;
    }

    .blog-home-spotlight__links {
        margin-top: var(--home-space-sm);
    }

    .blog-home-spotlight__links a {
        font-size: 0.9375rem;
        line-height: 1.5;
        padding: 0.35rem 0;
    }

    .blog-home-cta {
        padding: var(--home-space-xl) 0;
        padding-bottom: calc(var(--home-space-xl) + env(safe-area-inset-bottom, 0px));
    }

    .blog-home-cta__inner {
        text-align: left;
    }

    .blog-home-cta__title {
        font-size: clamp(1.625rem, 5.5vw, 2rem);
        text-align: left;
    }

    .blog-home-cta__text {
        text-align: left;
        margin-bottom: var(--home-space-md);
    }

    .blog-home-cta__actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--home-space-sm);
    }

    .blog-home-cta__actions .blog-home-btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .blog-home-hero__featured-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .blog-home-hero__title {
        font-size: 1.8125rem;
    }

    .blog-home-hero__rotator {
        aspect-ratio: 4 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-home [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .blog-home-card,
    .blog-home-hero__visual,
    .blog-home-hero__rotator .blog-home-hero__visual,
    .blog-home-hero__rotator-dot {
        transition: none;
    }
    .blog-home-dest,
    .blog-home-btn,
    .blog-home-link {
        transition: none;
    }
}
