/* ============================================================
   News Center Styles
   Dedicated styles for the News Center pages
   ============================================================ */

/* Hero Section */
.nc-hero {
    background: linear-gradient(135deg, #1a3a4a 0%, #0d2633 50%, #0a1a24 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.nc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.nc-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
}

.nc-hero-content {
    position: relative;
    z-index: 2;
}

.nc-hero-svg {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

/* Breadcrumb */
.nc-breadcrumb .breadcrumb {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.nc-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.nc-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
}

.nc-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.nc-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* Body */
.nc-body {
    background-color: #f5f6fa;
    min-height: 60vh;
}

/* Cards */
.nc-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #ffffff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nc-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nc-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nc-card-link:hover {
    color: inherit;
}

/* Category Pills */
.nc-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    background: rgba(26, 58, 74, 0.06);
    color: #1a3a4a;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(26, 58, 74, 0.12);
    transition: background 0.2s ease, border-color 0.2s ease;
    line-height: 1;
}

.nc-category-pill i {
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.nc-category-pill:hover {
    background: rgba(26, 58, 74, 0.12);
    border-color: rgba(26, 58, 74, 0.2);
    color: #1a3a4a;
}

.nc-category-pill:focus-visible {
    outline: 2px solid #1a3a4a;
    outline-offset: 2px;
}

/* Featured Article */
.nc-featured {
    border-left: 4px solid #1a3a4a;
}

/* Article List Item */
.nc-article-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eef0f4;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.nc-article-item:last-child {
    border-bottom: none;
}

.nc-article-item:hover {
    background: #f8f9fc;
    color: inherit;
}

.nc-article-item:focus-visible {
    outline: 2px solid #1a3a4a;
    outline-offset: -2px;
    border-radius: 0.25rem;
}

/* Date Badge */
.nc-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    padding: 0.4rem 0.5rem;
    background: rgba(26, 58, 74, 0.06);
    border-radius: 0.375rem;
    flex-shrink: 0;
}

.nc-date-badge-month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a3a4a;
    line-height: 1;
}

.nc-date-badge-day {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a3a4a;
    line-height: 1.2;
}

/* Article Detail */
.nc-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.nc-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
}

.nc-article-content h1,
.nc-article-content h2,
.nc-article-content h3,
.nc-article-content h4,
.nc-article-content h5,
.nc-article-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.nc-article-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.nc-article-content ul,
.nc-article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.nc-article-content li {
    margin-bottom: 0.35rem;
    line-height: 1.7;
}

.nc-featured-photo {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

/* Document Download Card */
.nc-download-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.nc-download-item:hover {
    background: #f8f9fc;
    border-color: #cdd3de;
    color: inherit;
}

.nc-download-item:focus-visible {
    outline: 2px solid #1a3a4a;
    outline-offset: 2px;
}

/* Event Card */
.nc-event-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.nc-event-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nc-event-color-bar {
    height: 4px;
}

/* Sidebar */
.nc-sidebar-link {
    display: block;
    padding: 0.6rem 1rem;
    color: #333;
    border-left: 3px solid transparent;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s ease;
}

.nc-sidebar-link:hover {
    background-color: rgba(26, 58, 74, 0.04);
    color: #1a3a4a;
}

.nc-sidebar-link:focus-visible {
    outline: 2px solid #1a3a4a;
    outline-offset: -2px;
}

.nc-sidebar-link.active {
    background-color: rgba(26, 58, 74, 0.06);
    border-left-color: #1a3a4a;
    color: #1a3a4a;
}

.nc-sidebar-header {
    background-color: rgba(26, 58, 74, 0.04);
}

.nc-sticky {
    position: sticky;
    top: 8.5rem;
    z-index: 1;
}

/* CTA & Footer — ensure they render above the sticky sidebar */
.nc-cta,
.nc-cta ~ * {
    position: relative;
    z-index: 2;
}

.nc-cta {
    background: linear-gradient(135deg, #1a3a4a 0%, #0d2633 100%);
}

/* Section Heading */
.nc-section-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a3a4a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

/* WCAG Contrast Fix */
.nc-body .text-muted {
    color: #636270 !important;
}

.nc-body .text-muted a {
    text-decoration: underline;
}

/* Utility */
.nc-icon-lg {
    font-size: 2rem;
}

.nc-icon-md {
    font-size: 1.25rem;
}

/* Print */
@media print {
    .nc-hero, .nc-cta, .nc-sidebar-link {
        display: none !important;
    }
}
