/* --- Scoped News Hub Content Styles (NO HEADER STYLES HERE) --- */
.ticker-container {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    padding: 10px 20px;
    overflow: hidden;
}

.news-section-main {
    max-width: 1200px;
    margin: 30px auto 80px;
    padding: 0 20px;
}

.news-hero {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.news-hero-inner {
    background: linear-gradient(135deg, oklch(98% 0.01 250), oklch(96% 0.02 250));
    border: 1px solid oklch(94% 0.01 260);
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: 0 12px 30px -20px rgba(0,0,0,0.15);
}

.news-hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: oklch(20% 0.04 260);
}

.news-hero p {
    font-size: 1rem;
    color: oklch(45% 0.03 260);
    max-width: 700px;
}

/* --- Shared Layouts (moved from global) --- */
.hero-card {
    position: relative;
    background: oklch(25% 0.05 260);
    border-radius: 32px;
    padding: 80px 50px;
    margin-bottom: 60px;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 450px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.25);
}

.hero-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 80px -15px rgba(0,0,0,0.3);
}

.hero-badge {
    position: absolute;
    top: 40px;
    left: 50px;
    background: oklch(55% 0.18 260);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-card-title {
    font-size: 3rem;
    line-height: 1.15;
    margin: 25px 0;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.hero-card-title a {
    color: white;
    text-decoration: none;
}

.hero-card {
    position: relative;
    background: oklch(25% 0.05 260);
    border-radius: 32px;
    padding: 80px 50px;
    margin-bottom: 60px;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 450px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.25);
}

.hero-card:hover { 
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 80px -15px rgba(0,0,0,0.3);
}

.hero-badge {
    position: absolute;
    top: 40px;
    left: 50px;
    background: oklch(55% 0.18 260);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-card-title {
    font-size: 3rem;
    line-height: 1.15;
    margin: 25px 0;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.hero-card-title a { color: white; text-decoration: none; }

.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
}

.news-card-premium {
    background: white;
    border-radius: 20px;
    padding: 24px 26px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s ease;
    border: 1px solid oklch(94% 0.01 260);
    box-shadow: 0 10px 26px -16px rgba(0,0,0,0.18);
}

.news-card-premium:hover {
    transform: translateY(-6px);
    border-color: oklch(55% 0.18 260);
}

/* --- News Article Pages (moved from global) --- */
.news-article-main {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.news-article-card {
    background: white;
    border-radius: 28px;
    padding: 48px 44px;
    border: 1px solid oklch(94% 0.01 260);
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.08);
}

.article-nav-top {
    margin-bottom: 16px;
}

.back-list-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid oklch(88% 0.02 260);
    background: linear-gradient(135deg, oklch(99% 0.01 260), oklch(96% 0.02 260));
    color: oklch(32% 0.03 260);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 8px 18px -14px rgba(2, 6, 23, 0.35);
}

.back-list-btn:hover {
    transform: translateY(-1px);
    border-color: oklch(60% 0.15 250);
    box-shadow: 0 12px 22px -14px rgba(0, 82, 204, 0.35);
}

.news-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    color: var(--text-sub);
    font-weight: 700;
    font-size: 0.9rem;
}

.news-article-date {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: oklch(96% 0.02 260);
    color: oklch(45% 0.05 260);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.news-article-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 26px;
    font-weight: 900;
    color: var(--text-main);
}

.news-article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-main);
}

.news-article-content h2 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 900;
}

.news-article-content h3 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 800;
}

.news-article-content p {
    margin-bottom: 16px;
}

.news-article-content ul {
    padding-left: 22px;
    margin-bottom: 16px;
}

.news-article-content li {
    margin-bottom: 8px;
}

.news-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 4px;
}

.news-hashtag-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: oklch(96% 0.02 260);
    border: 1px solid oklch(90% 0.02 260);
    color: oklch(40% 0.08 255);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
}

.news-card-meta {
    display: flex;
    justify-content: flex-start;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: oklch(96% 0.02 260);
    color: oklch(45% 0.05 260);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.premium-icon-box {
    width: 50px;
    height: 50px;
    background: oklch(96% 0.02 260);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: oklch(55% 0.18 260);
}

.news-title-text {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 800;
    color: oklch(22% 0.04 260);
}

.news-excerpt {
    font-size: 0.95rem;
    line-height: 1.55;
    color: oklch(45% 0.03 260);
}

.pagination { margin-top: 80px; display: flex; justify-content: center; align-items: center; gap: 30px; }

.pagination-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    min-width: 120px;
    border-radius: 100px;
    border: 2px solid oklch(90% 0.02 260);
    text-decoration: none;
    color: oklch(30% 0.02 260);
    font-weight: 800;
}

.current-page { color: oklch(55% 0.18 260); font-size: 1.4rem; font-weight: 800; }

/* --- Dark Mode Overrides --- */
body.dark-mode .ticker-container {
    background: oklch(18% 0.02 260);
    border: 1px solid oklch(30% 0.02 260);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

body.dark-mode .news-card-premium {
    background: oklch(18% 0.02 260);
    border-color: oklch(30% 0.02 260);
    color: oklch(92% 0.02 260);
}

body.dark-mode .news-card-premium:hover {
    border-color: oklch(55% 0.18 260);
}

body.dark-mode .premium-icon-box {
    background: oklch(24% 0.02 260);
    color: oklch(80% 0.08 260);
}

body.dark-mode .news-title-text {
    color: oklch(92% 0.02 260);
}

body.dark-mode .news-date {
    background: oklch(24% 0.02 260);
    color: oklch(85% 0.02 260);
}

body.dark-mode .news-article-card {
    background: oklch(18% 0.02 260);
    border-color: oklch(30% 0.02 260);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

body.dark-mode .back-list-btn {
    border-color: oklch(34% 0.02 260);
    background: linear-gradient(135deg, oklch(24% 0.02 260), oklch(20% 0.02 260));
    color: oklch(90% 0.02 260);
}

body.dark-mode .news-article-title,
body.dark-mode .news-article-content {
    color: oklch(92% 0.02 260);
}

body.dark-mode .news-article-date {
    background: oklch(24% 0.02 260);
    color: oklch(85% 0.02 260);
}

body.dark-mode .news-hashtag-chip {
    background: oklch(24% 0.02 260);
    border-color: oklch(34% 0.02 260);
    color: oklch(85% 0.06 255);
}

body.dark-mode .news-hero-inner {
    background: linear-gradient(135deg, oklch(18% 0.02 260), oklch(16% 0.02 260));
    border-color: oklch(30% 0.02 260);
}

body.dark-mode .news-hero h1 {
    color: oklch(92% 0.02 260);
}

body.dark-mode .news-hero p {
    color: oklch(70% 0.03 260);
}

body.dark-mode .news-excerpt {
    color: oklch(70% 0.03 260);
}

body.dark-mode .pagination-button {
    border-color: oklch(30% 0.02 260);
    color: oklch(85% 0.02 260);
}
