/* ── News Listing Page ── */

.news-spacer { height: 72px; }

.news-ticker-bar {
    background: #1b4332;
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}
.news-ticker-bar .ticker-label {
    display: inline-block;
    background: #e11d48;
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 14px;
    margin-right: 14px;
    border-radius: 2px;
}
.news-ticker-bar .ticker-track {
    display: inline-block;
    animation: ticker-scroll 40s linear infinite;
    font-size: .88rem;
    letter-spacing: .3px;
}
@keyframes ticker-scroll {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ── Page header ── */
.news-page-header {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    color: #fff;
    padding: 48px 0 32px;
    text-align: center;
}
.news-page-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 6px;
}
.news-page-header p {
    opacity: .8;
    font-size: 1rem;
    margin: 0;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
    font-size: .85rem;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumbs li + li::before {
    content: '/';
    color: #9ca3af;
    margin-right: 6px;
}
.breadcrumbs a { color: #059669; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ── Layout ── */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    padding: 40px 0;
}

/* ── Featured article ── */
.featured-article {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    background: #111827;
}
.featured-article img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    opacity: .75;
}
.featured-article .featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}
.featured-badge {
    display: inline-block;
    background: #e11d48;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.featured-article h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 10px;
}
.featured-article .article-meta {
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    display: flex;
    gap: 14px;
}
.featured-article a.featured-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ── Article grid ── */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.article-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    transition: transform .2s, box-shadow .2s;
    border: 1px solid #f3f4f6;
}
.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.article-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f3f4f6;
}
.article-card-img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #6ee7b7;
}
.article-card-body {
    padding: 16px;
}
.article-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card-meta {
    font-size: .78rem;
    color: #9ca3af;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.article-card-body .read-more {
    font-size: .82rem;
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}
.article-card-body .read-more:hover { text-decoration: underline; }

/* ── Sidebar ── */
.news-sidebar {}
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 24px;
}
.sidebar-widget-title {
    background: linear-gradient(135deg, #064e3b, #059669);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 16px;
}
.sidebar-article {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}
.sidebar-article:last-child { border-bottom: none; }
.sidebar-article:hover { background: #f9fafb; }
.sidebar-article-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f3f4f6;
}
.sidebar-article-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #6ee7b7;
    flex-shrink: 0;
}
.sidebar-article h4 {
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-article small { color: #9ca3af; font-size: .75rem; }

/* Newsletter signup box */
.newsletter-box {
    background: linear-gradient(135deg, #064e3b, #059669);
    color: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    margin-bottom: 24px;
}
.newsletter-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.newsletter-box p  { font-size: .85rem; opacity: .85; margin-bottom: 16px; }
.newsletter-box input {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    font-size: .9rem;
    margin-bottom: 8px;
    outline: none;
}
.newsletter-box button {
    width: 100%;
    background: #fff;
    color: #064e3b;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: .9rem;
    transition: opacity .2s;
}
.newsletter-box button:hover { opacity: .9; }

/* Empty state */
.news-empty {
    text-align: center;
    padding: 80px 20px;
    color: #9ca3af;
}
.news-empty svg { width: 64px; opacity: .3; margin-bottom: 16px; }
.news-empty p { font-size: 1rem; }

@media (max-width: 900px) {
    .news-layout { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .featured-article img { height: 280px; }
    .featured-article h2 { font-size: 1.3rem; }
}
