.news-page-header {
    position: relative;
    overflow: hidden;
    padding: 60px 0 50px;
    background: linear-gradient(135deg, #0f1923 0%, #1a2d3d 100%);
    color: #fff;
    text-align: center;
}

.news-page-header::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color, #00a89d) 50%, transparent);
    z-index: 2;
}

#newsHeaderCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.news-page-header .container { position: relative; z-index: 1; }
.news-page-header h1 { margin: 0 0 10px; color: #fff; font-size: 2.2rem; font-weight: 800; letter-spacing: -.5px; }
.news-page-header p { margin: 0; color: rgb(255 255 255 / 70%); font-size: 1rem; }
.news-page-section { padding: 42px 0 64px; background: radial-gradient(circle at top left, rgb(0 168 157 / 6%), transparent 32%), var(--bg-page, #fff); }
.news-page-shell { max-width: 1040px; margin: 0 auto; }
.news-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; color: #637083; font-size: .85rem; }
.news-breadcrumb a { color: #173453; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.news-breadcrumb a:hover, .news-breadcrumb a:focus-visible { color: #087d76; text-decoration-color: currentColor; }
.news-breadcrumb i { font-size: .65rem; }

.news-detail-card {
    overflow: hidden;
    border: 1px solid #294257;
    border-left: 4px solid var(--primary-color, #00a89d);
    border-radius: 16px;
    background: linear-gradient(145deg, #132536, #0f1c2c);
    color: #fff;
    box-shadow: 0 10px 34px rgb(15 25 35 / 12%);
}

.news-detail-heading { padding: 36px 40px 30px; }
.news-detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 18px; font-size: .82rem; }
.news-detail-category, .news-detail-date { display: inline-flex; align-items: center; gap: 9px; }
.news-detail-category { color: #8ce6dc; font-weight: 600; }
.news-detail-date { color: #ccd7e2; }
.news-detail-card h2 { margin: 0; color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.35; font-weight: 750; letter-spacing: -.4px; overflow-wrap: anywhere; }
.news-detail-image { margin: 0 40px; overflow: hidden; border: 1px solid rgb(255 255 255 / 12%); border-radius: 12px; background: #0f1923; }
.news-detail-image img { display: block; width: 100%; height: auto; }
.news-detail-body { padding: 32px 40px 36px; }
.news-detail-copy { max-width: 78ch; }
.news-detail-copy p, .news-detail-card--empty p { margin: 0 0 20px; color: #eef3f8; font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.news-detail-copy p:first-child { color: #fff; font-size: 1.1rem; font-weight: 500; }
.news-detail-copy p:last-child { margin-bottom: 0; }
.news-share { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 15%); }
.news-share__label { color: #ccd7e2; font-size: .9rem; font-weight: 600; }
.news-share__links { display: flex; flex-wrap: wrap; gap: 10px; }
.news-share__link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgb(140 230 220 / 35%); border-radius: 50%; background: rgb(140 230 220 / 6%); color: #8ce6dc; font-size: 1.15rem; line-height: 1; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.news-share__link:hover, .news-share__link:focus-visible { background: #8ce6dc; border-color: #8ce6dc; color: #0f1c2c; }
.news-detail-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 15%); }
.news-detail-back { display: inline-flex; align-items: center; gap: 9px; color: #e8f1f8; font-size: .9rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.news-detail-back:hover, .news-detail-back:focus-visible { color: #8ce6dc; text-decoration-color: currentColor; }
.news-detail-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid #c9d7e5; border-radius: 10px; background: #f1f5f9; color: #173453; font-size: .875rem; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; }
.news-detail-button { transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.news-detail-button:hover, .news-detail-button:focus-visible { background: #173453; border-color: #c9d7e5; color: #fff; box-shadow: 0 4px 12px rgb(23 52 83 / 16%); }
.news-detail-button i { transition: transform .2s ease; }
.news-share__register { margin-left: auto; flex-shrink: 0; }
.news-detail-button:hover .bi-arrow-right, .news-detail-button:focus-visible .bi-arrow-right { transform: translateX(3px); }
.news-detail-card a:focus-visible { outline: 3px solid #b9f3eb; outline-offset: 5px; }
.news-breadcrumb a:focus-visible { outline: 2px solid #087d76; outline-offset: 4px; }
.news-detail-card--empty { padding: 44px 40px; text-align: center; }
.news-empty-icon { display: block; margin-bottom: 20px; color: #8ce6dc; font-size: 2rem; }
.news-detail-card--empty p { max-width: 600px; margin: 20px auto 26px; }

.news-list { display: grid; gap: 28px; }
.news-list-card { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); align-items: center; }
.news-list-card--text { grid-template-columns: minmax(0, 1fr); }
.news-list-card__image { display: block; margin: 24px 0 24px 24px; overflow: hidden; border: 1px solid rgb(255 255 255 / 12%); border-radius: 10px; background: #0f1923; }
.news-list-card__image img { display: block; width: 100%; height: auto; }
.news-list-card__body { min-width: 0; padding: 30px 32px; }
.news-list-card h2 { margin-bottom: 14px; font-size: 1.4rem; }
.news-list-card h2 a { color: #fff; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.news-list-card h2 a:hover, .news-list-card h2 a:focus-visible { color: #8ce6dc; text-decoration-color: currentColor; }
.news-list-card__summary { margin: 0 0 22px; color: #eef3f8; font-size: .95rem; line-height: 1.8; overflow-wrap: anywhere; }
.news-list-card .news-detail-meta { margin-bottom: 14px; }

@media (prefers-reduced-motion: reduce) {
    .news-breadcrumb a, .news-detail-back, .news-detail-button, .news-detail-button i, .news-list-card h2 a, .news-share__link { transition: none; }
    .news-detail-button:hover .bi-arrow-right, .news-detail-button:focus-visible .bi-arrow-right { transform: none; }
}

@media (max-width: 767px) {
    .news-page-header { padding: 42px 0 36px; }
    .news-page-header h1 { font-size: 1.75rem; }
    .news-page-section { padding: 28px 0 40px; }
    .news-detail-heading { padding: 26px 22px 24px; }
    .news-detail-image { margin: 0 22px; border-radius: 10px; }
    .news-detail-body { padding: 24px 22px 28px; }
    .news-detail-meta { gap: 12px; }
    .news-detail-card--empty { padding: 32px 22px; }
    .news-list { gap: 22px; }
    .news-list-card { grid-template-columns: minmax(0, 1fr); }
    .news-list-card__image { margin: 22px 22px 0; }
    .news-list-card__body { padding: 24px 22px 28px; }
    .news-list-card h2 { font-size: 1.3rem; }
}

@media (max-width: 420px) {
    .news-detail-actions { align-items: stretch; flex-direction: column; }
    .news-detail-button { width: 100%; }
}
