/* ============================= */
/* NEWS & UPDATES SECTION */
/* ============================= */

.news-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.news-hero {
    margin-bottom: 4rem;
}

.news-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
}

/* Featured Card */
.news-card.featured {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.news-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.news-content {
    padding: 2.5rem;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.news-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

/* Sidebar Mini Cards */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-card-mini {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.25rem;
    padding: 1rem;
    background: #fcfcfc;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card-mini:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.mini-image {
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
}

.mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
}

.mini-content h4 {
    font-size: 1.05rem;
    margin: 4px 0 8px 0;
    line-height: 1.4;
}

/* Newsletter Box */
.news-cta-box {
    padding: 2rem;
    background: var(--color-primary-light);
    border-radius: 20px;
    margin-top: 1rem;
}

.news-cta-box h4 {
    margin-bottom: 0.5rem;
}

.news-cta-box p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.news-mini-form {
    display: flex;
    gap: 0.5rem;
}

.news-mini-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
}

.btn-icon {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 10px;
    cursor: pointer;
}


































/* ========================
NEWS-SHOW
=========================*/


/* ========================
   MODERN NEWS PAGE STYLES
   ======================== */

/* General */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --accent: #8b5cf6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

.section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
}

/* Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}
.reading-progress-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 8px rgba(59,130,246,0.5);
}

/* Breadcrumb */
.news-breadcrumb {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.back-link:hover {
    color: var(--primary);
}
.separator {
    color: var(--gray-400);
}
.current {
    color: var(--gray-900);
    font-weight: 600;
}

/* Layout Grid */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 992px) {
    .news-layout { grid-template-columns: 1fr; }
    .news-sidebar-sticky { display: none; }
}

/* Main Content */
.news-main-content {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 2.5rem;
}

.news-header {
    margin-bottom: 2rem;
}
.news-badge-lg {
    display: inline-block;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.35rem 1rem;
    border-radius: 30px;
    margin-bottom: 1rem;
}
.news-title-lg {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0.5rem 0 1.5rem;
}
.news-author-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.author-info {
    flex: 1;
}
.author-name {
    display: block;
    font-weight: 700;
    color: var(--gray-900);
}
.post-date {
    font-size: 0.9rem;
    color: var(--gray-700);
}
.share-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.share-stats i {
    width: 18px;
    height: 18px;
}

/* Feature Image */
.news-feature-figure {
    margin: 2rem 0 2.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.2);
}
.news-feature-figure img {
    width: 100%;
    height: auto;
    display: block;
}
.news-feature-figure figcaption {
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    font-size: 0.95rem;
    color: var(--gray-700);
    border-top: 1px solid var(--gray-200);
}

/* Article Body */
.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-700);
}
.article-body h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2.5rem 0 1rem;
    scroll-margin-top: 5rem;
}
.article-body h3 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 2rem 0 1rem;
}
.lead {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}
.key-takeaways {
    background: linear-gradient(145deg, #eff6ff, #ffffff);
    border-left: 6px solid var(--primary);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.key-takeaways h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-top: 0;
}
.key-takeaways ul {
    margin-bottom: 0;
}
.pro-tip {
    display: flex;
    gap: 1rem;
    background: #fffbeb;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px dashed #f59e0b;
    margin: 2rem 0;
    box-shadow: 0 4px 10px rgba(245,158,11,0.1);
}
.modern-quote {
    background: var(--gray-900);
    color: white;
    padding: 2rem;
    border-radius: 2rem;
    margin: 2.5rem 0;
    font-size: 1.3rem;
    font-style: italic;
    position: relative;
}
.modern-quote p {
    margin-bottom: 1rem;
}
.modern-quote cite {
    font-size: 1rem;
    color: var(--gray-400);
    font-style: normal;
}
.case-study-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--gray-200);
    margin: 2.5rem 0;
}
.case-study-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    margin-top: 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}
.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-200);
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: 0.95rem;
    color: var(--gray-700);
}

/* Article Footer */
.article-footer {
    border-top: 2px solid var(--gray-200);
    margin-top: 3rem;
    padding-top: 2rem;
}
.author-bio {
    display: flex;
    gap: 1.5rem;
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}
.author-bio img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.author-bio h4 {
    margin: 0 0 0.5rem;
    color: var(--gray-900);
}
.author-bio p {
    margin: 0;
    color: var(--gray-700);
}
.share-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.share-links {
    display: flex;
    gap: 0.75rem;
}
.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-share:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.btn-share i {
    width: 18px;
    height: 18px;
}

/* Sidebar */
.news-sidebar-sticky {
    position: sticky;
    top: 2rem;
}
.sidebar-block {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
}
.sidebar-block h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}
.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc li {
    margin-bottom: 0.75rem;
}
.toc a {
    color: var(--gray-700);
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s;
}
.toc a:hover,
.toc a.active {
    background: var(--gray-100);
    color: var(--primary);
    font-weight: 500;
    padding-left: 1.5rem;
}
.newsletter-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    color: white;
}
.newsletter-card h4 {
    color: white;
}
.newsletter-card p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}
.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sidebar-input {
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #334155;
    background: #1e293b;
    color: white;
    font-size: 1rem;
}
.sidebar-input::placeholder {
    color: #94a3b8;
}
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover {
    background: var(--primary-dark);
}
.small-note {
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
}
.related-posts ul {
    list-style: none;
    padding: 0;
}
.related-posts li {
    margin-bottom: 1.25rem;
    border-bottom: 1px dashed var(--gray-200);
    padding-bottom: 1rem;
}
.related-posts li:last-child {
    border-bottom: none;
}
.related-posts a {
    font-weight: 600;
    color: var(--gray-800);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}
.related-posts a:hover {
    color: var(--primary);
}
.related-posts span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Responsive */
@media (max-width: 768px) {
    .news-main-content { padding: 1.5rem; }
    .news-title-lg { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .author-bio { flex-direction: column; text-align: center; }
}