/* ================================
   Single Story Page Styles
   ================================ */

/* Hero Section */
.story-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    max-width: 1200px;
    /* Widened from 900px */
    margin: 0 auto;
}

.story-client-logo {
    height: 40px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.story-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.story-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    /* Keep subtitle readable measure */
    margin-left: auto;
    margin-right: auto;
}

.story-meta-hero {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--color-text-tertiary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image */
.story-hero-image-container {
    width: 100%;
    max-width: 1400px;
    /* Widened from 1200px */
    margin: 0 auto 6rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 60vh;
    min-height: 400px;
    position: relative;
}

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

/* Content Layout */
.story-content-wrapper {
    max-width: 1400px;
    /* Widened from 1200px */
    margin: 0 auto;
    padding: 0 2rem 8rem;
    display: grid;
    grid-template-columns: 1fr 390px;
    /* Article takes space, Sidebar narrow */
    gap: 6rem;
    align-items: start;
}

/* Main Article */
.story-article {
    order: 1;
    /* Center stage (visually left) */
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.story-article h2 {
    font-size: 2rem;
    color: var(--color-text-primary);
    margin: 3rem 0 1.5rem;
    font-weight: 600;
}

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

.story-article strong {
    color: var(--color-text-primary);
}

.story-quote-box {
    margin: 3rem 0;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--color-accent-blue);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.story-quote-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.story-quote-author {
    font-size: 0.9rem;
    color: var(--color-text-tertiary);
    font-weight: 600;
}

/* Sidebar (Stats/Info) */
.story-sidebar {
    order: 2;
    /* Sidebar on right */
    position: sticky;
    top: 100px;
    height: fit-content;
}

.recent-stories-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.recent-stories-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-tertiary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.recent-stories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-story-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
    padding: 0.6rem;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.recent-story-link:hover {
    background: rgba(255, 255, 255, 0.06);
}

.recent-story-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex: 0 0 56px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.recent-story-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.recent-story-title {
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--color-text-primary);
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recent-story-category {
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* Read Next */
.read-next-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 968px) {
    .story-content-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .story-sidebar {
        position: static;
        order: 2;
        /* Show sidebar after the article on mobile */
        margin-top: 2rem;
    }
}

/* ================================
   Social Share & Survey
   ================================ */
.story-interactions {
    margin-top: 2rem;
    padding-top: 0;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.share-section {
    /* Keep it visually clean to appear part of article flow */
}

.survey-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.interaction-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    background: var(--color-accent-blue);
    border-color: var(--color-accent-blue);
    color: #fff;
}

.survey-buttons {
    display: flex;
    gap: 1rem;
}

.survey-btn {
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.survey-btn:hover {
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
}

.survey-thank-you {
    padding: 1rem;
    background: rgba(187, 153, 84, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-accent-blue);
    font-weight: 500;
    text-align: center;
}