/* ===================================
   STORY PAGE - PREMIUM ARTICLE LAYOUT
   =================================== */

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    padding: 15px 0;
    margin-top: 90px; /* Account for fixed header */
    border-bottom: 1px solid rgba(217, 180, 95, 0.1);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--primary-gold);
    font-weight: 600;
}

.breadcrumbs a {
    color: var(--text-medium);
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--primary-gold);
}

.breadcrumbs li:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===================================
   STORY HERO SECTION
   =================================== */

.story-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(26, 26, 26, 0.6) 40%,
        rgba(26, 26, 26, 0.3) 70%,
        transparent 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    width: 100%;
}

.story-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 180, 95, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 180, 95, 0.3);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.story-category svg {
    width: 16px;
    height: 16px;
}

.story-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    max-width: 900px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* ===================================
   STORY CONTENT LAYOUT
   =================================== */

.story-content {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================================
   MAIN CONTENT AREA
   =================================== */

.main-content {
    max-width: 750px;
}

.lead-paragraph {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid rgba(217, 180, 95, 0.2);
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.content-heading {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: 20px;
}

.content-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

/* ===================================
   INFO PANEL
   =================================== */

.info-panel {
    background: var(--bg-light);
    border: 2px solid rgba(217, 180, 95, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.info-panel h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.info-panel p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.info-panel ul {
    margin: var(--spacing-md) 0;
    padding-left: 24px;
}

.info-panel li {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 8px;
}

.info-panel li::marker {
    color: var(--primary-gold);
}

/* ===================================
   HIGHLIGHT BOX
   =================================== */

.highlight-box {
    background: linear-gradient(135deg, rgba(217, 180, 95, 0.08) 0%, rgba(217, 180, 95, 0.03) 100%);
    border-left: 4px solid var(--primary-gold);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-md);
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.highlight-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary-gold);
    margin-top: 2px;
}

.highlight-box p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.highlight-box strong {
    color: var(--primary-dark-gold);
    font-weight: 700;
}

/* ===================================
   QUOTE BLOCKS
   =================================== */

.story-quote {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.quote-icon {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    width: 48px;
    height: 48px;
    color: var(--primary-gold);
    opacity: 0.2;
}

.story-quote p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 500;
    margin: 0 0 var(--spacing-md) 0;
    padding-left: 30px;
}

.story-quote cite {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: normal;
    font-weight: 600;
    padding-left: 30px;
}

.story-quote cite::before {
    content: '— ';
}

.final-quote {
    background: linear-gradient(135deg, rgba(217, 180, 95, 0.1) 0%, rgba(217, 180, 95, 0.05) 100%);
    border: 1px solid rgba(217, 180, 95, 0.2);
}

/* ===================================
   TIMELINE
   =================================== */

.timeline-section {
    background: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin: var(--spacing-xl) 0;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-gold) 0%, rgba(217, 180, 95, 0.3) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -34px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--primary-gold);
    border: 3px solid var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(217, 180, 95, 0.2);
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

/* ===================================
   SUCCESS METRICS
   =================================== */

.success-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.metric-card {
    background: var(--bg-white);
    border: 2px solid rgba(217, 180, 95, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.metric-card:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold-glow);
    transform: translateY(-4px);
}

.metric-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-sm);
    color: var(--primary-gold);
}

.metric-icon svg {
    width: 100%;
    height: 100%;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark-gold);
    margin-bottom: 4px;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
    line-height: 1.3;
}

/* ===================================
   STORY IMAGES
   =================================== */

.story-image {
    margin: var(--spacing-xl) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

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

.story-image figcaption {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-light);
    font-size: 0.9rem;
    color: var(--text-medium);
    font-style: italic;
    text-align: center;
}

/* ===================================
   RELATED RESOURCES
   =================================== */

.related-resources {
    background: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin: var(--spacing-xl) 0;
}

.related-resources h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.resource-card {
    background: var(--bg-white);
    border: 1px solid rgba(217, 180, 95, 0.15);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resource-card:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.resource-icon {
    width: 48px;
    height: 48px;
    background: rgba(217, 180, 95, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
}

.resource-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.resource-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin: 0;
}

/* ===================================
   STORY CTA
   =================================== */

.story-cta {
    background: linear-gradient(135deg, rgba(217, 180, 95, 0.08) 0%, rgba(217, 180, 95, 0.03) 100%);
    border: 2px solid rgba(217, 180, 95, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.story-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.story-cta > p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.story-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.cta-note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===================================
   SHARE SECTION
   =================================== */

.share-section {
    border-top: 2px solid rgba(217, 180, 95, 0.1);
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.share-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.copy-link {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid rgba(217, 180, 95, 0.3);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

/* ===================================
   SIDEBAR
   =================================== */

.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar > * {
    margin-bottom: var(--spacing-lg);
}

.author-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm);
    border: 3px solid var(--primary-gold);
    box-shadow: var(--shadow-soft);
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.author-bio {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.quick-facts {
    background: var(--bg-white);
    border: 2px solid rgba(217, 180, 95, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.quick-facts h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.fact-item {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(217, 180, 95, 0.1);
    font-size: 0.95rem;
    line-height: 1.4;
}

.fact-item:last-child {
    border-bottom: none;
}

.fact-item strong {
    color: var(--text-dark);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.more-stories-cta,
.help-cta-sidebar {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
}

.more-stories-cta h3,
.help-cta-sidebar h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.more-stories-cta p,
.help-cta-sidebar p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.secondary-button {
    display: inline-block;
    padding: 10px 24px;
    background: var(--bg-white);
    border: 2px solid var(--primary-gold);
    color: var(--primary-dark-gold);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.secondary-button:hover {
    background: var(--gold-gradient);
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   RELATED STORIES SECTION
   =================================== */

.related-stories {
    background: var(--bg-light);
    padding: var(--spacing-xxl) 0;
}

.related-stories .section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.story-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-category {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: rgba(217, 180, 95, 0.95);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    padding: var(--spacing-lg);
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.card-content p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.card-link::after {
    content: '→';
    transition: transform var(--transition-normal);
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        margin-top: 70px;
    }
    
    .story-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .story-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .story-meta {
        gap: var(--spacing-sm);
    }
    
    .meta-item {
        font-size: 0.85rem;
    }
    
    .lead-paragraph {
        font-size: 1.2rem;
    }
    
    .story-text {
        font-size: 1.05rem;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -28px;
        width: 14px;
        height: 14px;
    }
    
    .success-metrics {
        grid-template-columns: 1fr;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .story-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .story-category {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .story-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .highlight-box {
        flex-direction: column;
        padding: var(--spacing-md);
    }
    
    .story-quote {
        padding: var(--spacing-md);
    }
    
    .story-quote p {
        font-size: 1.15rem;
        padding-left: 0;
    }
    
    .story-quote cite {
        padding-left: 0;
    }
    
    .timeline-section {
        padding: var(--spacing-md);
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .announcement-bar,
    .site-header,
    .breadcrumbs,
    .sidebar,
    .story-cta,
    .share-section,
    .related-stories,
    .site-footer {
        display: none;
    }
    
    .story-content {
        padding: 0;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .story-hero {
        height: auto;
        min-height: 0;
        page-break-after: avoid;
    }
}
