/* Global typography defaults */
:root {
    --font-serif-primary: 'Lora', serif;
    --font-sans-primary: 'Lato', 'Montserrat', sans-serif;
    --font-body: 'Lato', 'Lora', serif;
    --font-mono: 'Space Mono', 'SFMono-Regular', Consolas, monospace;
    --rose-50: #fff0f5;
    --rose-100: #ffe4e6;
    --rose-200: #fecdd3;
    --rose-400: #fb7185;
    --rose-500: #be123c;
    --plum-500: #4c1d95;
    --plum-700: #1e1b4b;
    --gold-100: #fef9c3;
    --gold-400: #fbbf24;
    --lavender-200: #ddd6fe;
    --ink: #0f172a;
    --slate-400: #475569;
    --card-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--ink);
    background: linear-gradient(180deg, var(--rose-50) 0%, #fff 60%);
    margin: 0;
}

h1,
.main-heading,
.hero-title {
    font-family: var(--font-serif-primary);
}

h2,
h3,
h4,
h5,
h6,
.section-title,
.subheading {
    font-family: var(--font-sans-primary);
    letter-spacing: 0.02em;
    text-transform: none;
}

p,
li,
blockquote,
figcaption,
small {
    font-family: var(--font-body);
}

code,
pre,
kbd,
samp {
    font-family: var(--font-mono);
}

.home-carousel {
    position: relative;
    max-width: 969px;
    margin: 2rem auto 3rem;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    background: #111;
}

.home-carousel__viewport {
    overflow: hidden;
}

.home-carousel__slide {
    position: relative;
}

.home-frame {
    padding-bottom: 5rem;
}

.container {
    width: min(1200px, 100% - 2.5rem);
    margin: 0 auto;
}

.home-hero {
    text-align: center;
    padding: 3rem 1rem 4rem;
    background: radial-gradient(circle at top, var(--rose-100), transparent 70%) no-repeat;
}

.home-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--rose-500);
    margin-bottom: 0.5rem;
}

.home-hero__title {
    font-family: var(--font-serif-primary);
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    margin: 0.5rem 0;
    color: var(--plum-700);
}

.home-hero__subtitle {
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    color: var(--slate-400);
}

.home-section {
    margin-top: 4rem;
}

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

.home-section__footer {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.home-section__eyebrow {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--slate-400);
    margin: 0 0 0.35rem;
}

.home-section h2 {
    font-size: 2rem;
    margin: 0;
    color: var(--plum-700);
}

.section-link {
    font-size: 0.95rem;
    color: var(--rose-500);
    text-decoration: none;
    font-weight: 600;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 0.33fr));
    gap: 1.5rem;
    max-width: 100%;
    justify-content: center;
}

.story-grid--small {
    grid-template-columns: repeat(auto-fill, minmax(200px, 0.2fr));
}

.story-carousel {
    position: relative;
    padding: 0 3.5rem;
    --story-carousel-gap: 1.25rem;
    --story-carousel-visible: 1;
}

.story-carousel__viewport {
    overflow: hidden;
}

.story-carousel__track {
    display: flex;
    gap: var(--story-carousel-gap);
    transition: transform 450ms ease;
    will-change: transform;
}

.story-carousel__slide {
    flex: 0 0 calc((100% - (var(--story-carousel-gap) * (var(--story-carousel-visible) - 1))) / var(--story-carousel-visible));
}

.story-carousel__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: var(--rose-500);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(236, 95, 135, 0.3);
    transition: transform 200ms ease, background 200ms ease;
}

.story-carousel__control:hover:not(:disabled) {
    background: var(--plum-700);
    transform: translateY(-50%) scale(1.08);
}

.story-carousel__control[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

.story-carousel__control--prev {
    left: 0;
}

.story-carousel__control--next {
    right: 0;
}

.story-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    border-radius: 28px;
    background: var(--plum-700);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    max-width: 320px;
    width: 100%;
    aspect-ratio: 2/3;
    color: #fff;
    isolation: isolate;
}

.story-card--small {
    max-width: 235px;
}

.story-card--small .story-card__body {
    min-height: 120px;
    height: 120px;
    padding: 1rem;
}

.story-card--small .story-card__title {
    font-size: 1rem;
}

.story-card--no-cover {
    background: linear-gradient(135deg, var(--plum-700), var(--plum-500));
}

.story-card__cover {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.story-carousel .story-card {
    height: 480px;
}

.story-carousel .story-card__cover img {
    object-fit: contain;
}

.story-card:hover .story-card__cover img {
    transform: scale(1.05);
}

.story-card__backdrop {
    position: absolute;
    inset: auto 0 0;
    height: 75%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.8) 40%, rgba(15, 23, 42, 1) 100%);
    z-index: 1;
}

.story-card__body {
    z-index: 2;
    width: 100%;
    padding: 1.25rem 1.4rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 160px;
    height: 160px;
    background: transparent;
    border-radius: 24px 24px 0 0;
    border: none;
    border-bottom: none;
}

.story-card__info-wrapper {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
}

.story-card__info-default,
.story-card__info-hover {
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.story-card__info-default {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.story-card__info-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.story-card:hover .story-card__info-default {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.story-card:hover .story-card__info-hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.stretched-link::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    cursor: pointer;
}

.story-card__interactive {
    position: relative;
    z-index: 2;
}

.story-card__badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 600;
    padding: 0.1rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.story-card__title {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-family: var(--font-sans-primary);
    font-weight: 800;
}

.story-card__title a {
    color: inherit;
    text-decoration: none;
}

.story-card__title a:hover {
    color: var(--gold-100);
}

.story-card__meta {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.story-card__tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.story-card__tags li {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    font-size: 0.68rem;
    color: #fff;
}

.story-card__intro {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-card--small .story-card__intro {
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.story-card__metric {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: var(--gold-100);
}

.story-card__metric span {
    font-size: 0.75rem;
}

.story-card__metric strong {
    font-size: 1rem;
}

.story-card__actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    justify-content: flex-end;
}

.story-card__actions .button--ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: white;
    background: transparent;
}

.story-card__actions .button--ghost:hover {
    border-color: #fff;
}

.story-card__actions .button--solid {
    background: var(--gold-400);
    border-color: var(--gold-400);
    color: var(--plum-700);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.2;
}

.button--large {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
}

.button--solid {
    background: #ea4695;
    color: white;
    border-color: #ea4695;
}

.button--amazon {
    color: #e68a00;
    border-color: #FF9900;
}

.button--amazon:hover {
    color: #e68a00;
    border-color: #e68a00;
}

.button--ghost {
    border-color: var(--rose-200);
    color: var(--rose-500);
}

.tag-tabs {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.tag-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag-tabs__tab {
    border: none;
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    background: var(--rose-100);
    color: var(--plum-500);
    font-weight: 600;
    cursor: pointer;
}

.tag-tabs__tab.is-active {
    background: var(--rose-500);
    color: white;
}

.tag-tabs__panel {
    display: none;
}

.tag-tabs__panel.is-active {
    display: block;
}

.tag-tabs__intro {
    margin-bottom: 1rem;
}

.tag-tabs__intro h3 {
    margin: 0;
    color: var(--plum-700);
}

.tag-tabs__intro p {
    margin: 0.3rem 0 0;
    color: var(--slate-400);
}

/* Hero Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 0 4rem;
}

@media (min-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }
}

.hero-split__content {
    max-width: 600px;
}

.hero-split__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--rose-500);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-split__title {
    font-family: var(--font-serif-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 0 0 1.5rem;
    color: var(--plum-700);
}

.hero-split__subtitle {
    font-size: 1.15rem;
    color: var(--slate-400);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-split__visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    aspect-ratio: 4/5;
}

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

.hero-split__visual .home-carousel {
    margin: 0;
    max-width: 100%;
    height: 100%;
    box-shadow: none;
}

.hero-split__visual .home-carousel__viewport,
.hero-split__visual .home-carousel__track,
.hero-split__visual .home-carousel__slide {
    height: 100%;
}

/* Featured Spotlight */
.featured-spotlight {
    margin-top: 2rem;
    margin-bottom: 5rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Gradient padding for screens larger than 1080px */
@media (min-width: 1081px) {

    .featured-spotlight::before,
    .featured-spotlight::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: calc((100vw - 1080px) / 2);
        z-index: 1;
        pointer-events: none;
    }

    .featured-spotlight::before {
        left: -100%;
        background: linear-gradient(to right, #000, transparent);
    }

    .featured-spotlight::after {
        right: -100%;
        background: linear-gradient(to left, #000, transparent);
    }
}

.featured-spotlight__link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-spotlight__link:hover {
    transform: translateY(-2px);
}

.featured-spotlight__inner {
    background: var(--plum-700);
    border-radius: 32px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    color: white;
    box-shadow: var(--card-shadow);
    height: 500px;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.featured-spotlight__link:hover .featured-spotlight__inner {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .featured-spotlight__inner {
        grid-template-columns: 400px 1fr;
    }
}

.featured-spotlight__cover {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.featured-spotlight__cover::before {
    content: '';
    position: absolute;
    inset: 0;

    z-index: 1;
}

.featured-spotlight__cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-spotlight__content {

    display: flex;
    flex-direction: column;
    justify-content: end;
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
}

.featured-spotlight__text {
    max-height: 36%;
    height: 36%;
    padding: 0.5rem 6rem;
    background: rgba(128, 128, 128, 0.5);
}

.featured-spotlight__label {
    position: absolute;
    top: 1rem;
    display: inline-block;
    background: var(--gold-400);
    color: var(--plum-700);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 6rem;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.featured-spotlight__title {
    font-family: var(--font-serif-primary);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.featured-spotlight__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: .5rem;
}

.featured-spotlight__desc {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 600px;
    margin: 0;
}

.featured-spotlight__actions {
    display: flex;
    gap: 1rem;
}

.featured-spotlight__actions .button--ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: white;
    background: transparent;
}

.featured-spotlight__actions .button--ghost:hover {
    border-color: #fff;
}

.featured-spotlight__actions .button--solid {
    background: var(--gold-400);
    color: var(--plum-700);
    border-color: var(--gold-400);
}

.featured-spotlight__actions .button--solid:hover {
    background: #fff;
    border-color: #fff;
}

@media (max-width: 768px) {
    .home-section__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .story-card__actions {
        flex-direction: column;
        align-items: flex-end;
    }

    .story-carousel {
        padding: 0 2.5rem;
    }

    .story-carousel__control {
        width: 36px;
        height: 36px;
    }

    .featured-spotlight__text {
        padding: 0 4rem;
    }

    .featured-spotlight__label {
        position: absolute;
        top: 2rem;
        margin-left: 2rem;
        font-size: 0.65rem;
    }

    .featured-spotlight__title {
        font-size: 1.25rem;
    }

    .featured-spotlight__desc {
        font-size: 0.9rem;
    }

    .featured-spotlight__meta {
        font-size: 0.8rem;
    }
}

@media (min-width: 640px) {
    .story-carousel {
        --story-carousel-visible: 2;
    }
}

@media (min-width: 900px) {
    .story-carousel {
        --story-carousel-visible: 3;
    }
}

@media (min-width: 1200px) {
    .story-carousel {
        --story-carousel-visible: 3;
    }
}

.home-carousel__track {
    display: flex;
    transition: transform 400ms ease;
    will-change: transform;
}

.home-carousel__slide {
    min-width: 100%;
}

.home-carousel__slide.is-active {
    z-index: 1;
}

.home-carousel__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    animation: none;
}

.home-carousel.is-sliding-next .home-carousel__slide.is-active img {
    animation: home-carousel-slide-from-right 400ms ease both;
}

.home-carousel.is-sliding-prev .home-carousel__slide.is-active img {
    animation: home-carousel-slide-from-left 400ms ease both;
}

@keyframes home-carousel-slide-from-right {
    from {
        transform: translateX(24px);
        opacity: 0.85;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes home-carousel-slide-from-left {
    from {
        transform: translateX(-24px);
        opacity: 0.85;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.home-carousel__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.5);
    color: #111;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms ease, transform 200ms ease;
}

.home-carousel__control[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.home-carousel__control:focus-visible {
    outline: 3px solid #0072f5;
    outline-offset: 2px;
}

.home-carousel__control--prev {
    left: 1rem;
}

.home-carousel__control--next {
    right: 1rem;
}

.home-carousel__indicators {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.home-carousel__indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
}

.home-carousel__indicator.is-active {
    background: #fff;
}

@media (max-width: 1024px) {
    .home-carousel__control {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-carousel__track,
    .home-carousel__slide {
        transition: none;
    }

    .home-carousel.is-sliding-next .home-carousel__slide.is-active img,
    .home-carousel.is-sliding-prev .home-carousel__slide.is-active img {
        animation: none;
    }
}

/* Story Detail Page */
.story-detail__hero {
    background: var(--rose-50);
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.story-detail__hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, var(--rose-100) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.story-detail__hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) {
    .story-detail__hero-inner {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 5rem;
    }
}

.story-detail__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--slate-400);
    margin-bottom: 2rem;
}

.story-detail__breadcrumbs a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.story-detail__breadcrumbs a:hover {
    color: var(--rose-500);
}

.story-detail__breadcrumbs .separator {
    opacity: 0.5;
}

.story-detail__meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--slate-400);
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge--success {
    background: #dcfce7;
    color: #166534;
}

.badge--info {
    background: #e0f2fe;
    color: #0369a1;
}

.story-detail__title {
    font-family: var(--font-serif-primary);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.1;
    color: var(--plum-700);
    margin: 0 0 1rem;
}

.story-detail__author-line {
    font-size: 1.1rem;
    color: var(--slate-400);
    margin-bottom: 1.5rem;
}

.story-detail__author-line .author-name {
    color: var(--plum-700);
    font-weight: 600;
}

.story-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.story-detail__tags .tag {
    background: white;
    border: 1px solid var(--rose-200);
    color: var(--rose-500);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
}

.story-detail__intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.story-detail__visual {
    position: relative;
}

.story-detail__cover-wrapper {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    aspect-ratio: 2/3;
    background: var(--plum-700);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.story-detail__cover-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.story-detail__cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-detail__cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-500));
}

.story-detail__body-wrapper {
    max-width: 800px;
    margin: -3rem auto 5rem;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.story-detail__stats {
    display: flex;
    gap: 3rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--rose-100);
}


.stat-item {
    /*display: flex;
    flex-direction: column;
    align-items: center;
    */
    display: block;
    text-align: right;
    width: 100%;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--plum-700);
    font-family: var(--font-serif-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
    margin-top: 0.5rem;
}

.story-detail__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ink);
    margin-bottom: 3rem;
}

.story-detail__text p {
    margin-bottom: 1.5rem;
}

.story-detail__footer {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid var(--rose-100);
}

@media (max-width: 768px) {
    .story-detail__hero {
        padding: 2rem 0 4rem;
    }

    .story-detail__cover-wrapper {
        transform: none;
        max-width: 300px;
        margin: 0 auto;
    }

    .story-detail__body-wrapper {
        margin-top: 0;
        padding: 2rem;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
}

/* Site Header */
.site-header {
    background-color: #fff;
    padding: .5rem 0;
    border-bottom: 1px solid var(--rose-100);
}

.site-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.site-logo-link {
    display: block;
    text-decoration: none;
}

.site-logo {
    height: 32px;
    width: auto;
    display: block;
}