/* ========================================
   INDIVIDUAL STORY PAGE STYLES
   ======================================== */

.story-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-hero {
    padding: 10rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-dark);
    margin-bottom: 3rem;
}

.story-hero-image {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--charcoal);
    min-height: 200px;
}

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

.story-hero-image img[src=""],
.story-hero-image img:not([src]) {
    display: none;
}

.story-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 1.5rem 0 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-tagline {
    font-size: 1.35rem;
    color: var(--gold);
    font-style: italic;
    font-weight: 300;
}

.story-body {
    padding-bottom: 6rem;
}

.story-intro {
    margin-bottom: 3rem;
}

.story-intro .lead {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--cream);
    font-weight: 300;
}

.story-section {
    margin-bottom: 3rem;
}

.story-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-dark);
}

.story-section p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray-light);
    margin-bottom: 1.25rem;
}

.science-list {
    list-style: none;
    padding: 0;
}

.science-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-dark);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-light);
}

.science-list li:last-child {
    border-bottom: none;
}

.science-list li strong {
    color: var(--white);
    font-weight: 500;
}

/* Reference Cards */
.story-references {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gold-dark);
}

.story-references h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.reference-context {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.reference-card {
    background: var(--charcoal);
    border: 1px solid var(--gray-dark);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.reference-card:hover {
    border-color: var(--gold-dark);
    transform: translateX(4px);
}

.reference-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.reference-title {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.reference-url {
    font-size: 0.85rem;
    color: var(--gold);
}

.reference-description {
    font-size: 0.95rem;
    color: var(--gray-light);
    margin-top: 0.75rem;
    line-height: 1.6;
}

/* Multiple references */
.references-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .story-page {
        padding: 0 1.5rem;
    }

    .story-hero {
        padding: 8rem 0 3rem;
    }

    .story-intro .lead {
        font-size: 1.1rem;
    }
}
