/* News Detail Mobile Styles (< 768px) */
:root {
    --bg-light: #fdfcfb;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-gold: #cba174;
    --border-color: #e2e8f0;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: 'Noto Sans SC', sans-serif;
}

/* Hero Section */
.article-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 100px 0 60px;
    color: white;
    position: relative;
}

.article-hero .container {
    margin: 0 20px;
    width: auto;
    max-width: none;
}



/* Sticky Back Button - Matches Event Detail Mobile */
.back-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    pointer-events: auto;
}

.sticky-nav-container {
    position: relative;
    top: 0;
    /* Mobile header offset */
    z-index: 100;
    pointer-events: none;
    margin-bottom: 20px;
    margin-top: 20px;
    /* Create gap above */
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.sticky-nav-container.sticky-active {
    position: fixed;
    top: 80px;
    /* Match Event Detail */
    left: 0;
    margin-bottom: 0;
    background: transparent;
    padding: 0 20px;
    box-shadow: none;
    animation: slideDown 0.3s ease;
    pointer-events: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.back-link-btn:hover {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    transform: translateX(-3px);
}

/* Old Back Link Removed */

.article-category {
    display: inline-block;
    background: rgba(203, 161, 116, 0.2);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(203, 161, 116, 0.5);
    color: #f0e6d8;
    font-weight: 600;
}

.article-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Main Content */
.article-container {
    background: white;
    margin: 0 auto;
    max-width: 100%;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
    /* Removed negative margin to allow vertical centering of back button */
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.article-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 40px 0 20px;
    font-weight: 700;
}

.article-body blockquote {
    border-left: 4px solid var(--accent-gold);
    margin: 30px 0;
    padding: 15px 20px;
    background: #f8fafc;
    font-style: italic;
    font-size: 1.1rem;
    color: #475569;
}

.article-source {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Related News */
.related-section {
    padding: 60px 0;
    margin: 0 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.related-grid::-webkit-scrollbar {
    display: none;
}

.related-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Flex sizing for mobile scroll */
    min-width: 280px;
    flex: 0 0 85%;
    /* Peek effect */
    scroll-snap-align: center;
}

.related-image {
    height: 180px;
    background-color: #e2e8f0;
    background-size: cover;
    background-position: center;
}

.related-content {
    padding: 20px;
}

.related-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 15px;
}

.read-link {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
}