/* ────────────────────────────────────────────────────────────
   Front (public) pages — shared design system.
   Same look & colors as /News/Index: navy hero (#0b3c5d),
   accent blue (#1a6ea8), gradient buttons (#1565c0 → #1e88e5).
   The hero background PHOTO stays specific to News/Index
   (see .nh-hero--photo there); other pages use .nh-hero--plain.
   ──────────────────────────────────────────────────────────── */

/* ── Page background (fills gaps below/around content — same tone on every front page) ── */
body {
    background: #254d9d !important;
}

/* ── Wide container ── */
.nh-hero .container,
.nh-filter-bar .container,
.nh-content .container,
.nh-why-section .container,
.nh-footer .container {
    max-width: 1440px;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* ── Hero ── */
.nh-hero {
    color: #fff;
    padding: 72px 0 64px;
}
.nh-hero--plain {
    background: linear-gradient(135deg, #0b3c5d 0%, #1a6ea8 100%);
}
.nh-hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: center;
}
.nh-hero-grid.nh-hero-grid--single {
    grid-template-columns: 1fr;
    max-width: 760px;
}
.nh-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    padding: 5px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.nh-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 18px;
}
.nh-hero p {
    font-size: 1rem;
    opacity: .88;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 520px;
}
.nh-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes nh-pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(147,197,253,.85), 0 4px 20px rgba(59,130,246,.55); }
    65%  { box-shadow: 0 0 0 14px rgba(147,197,253,0), 0 4px 14px rgba(59,130,246,.25); }
    100% { box-shadow: 0 0 0 0  rgba(147,197,253,0), 0 4px 20px rgba(59,130,246,.55); }
}
@keyframes nh-btn-shine {
    0%   { left: -80%; }
    100% { left: 130%; }
}
.nh-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #1565c0 0%, #1e88e5 100%);
    color: #fff;
    font-weight: 700; padding: 13px 28px;
    border-radius: 10px; text-decoration: none;
    font-size: 15px; letter-spacing: .3px;
    position: relative; overflow: hidden;
    animation: nh-pulse-ring 2.2s ease-out infinite;
    transition: transform .18s ease, filter .18s ease;
    border: none; cursor: pointer;
}
.nh-btn-primary::after {
    content: '';
    position: absolute; top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
    animation: nh-btn-shine 3s ease-in-out infinite;
    animation-delay: .9s;
}
.nh-btn-primary:hover {
    color: #fff;
    transform: scale(1.06);
    filter: brightness(1.12);
    animation-play-state: paused;
}
.nh-btn-primary:hover::after { animation-play-state: paused; }
.nh-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 700; padding: 13px 28px;
    border-radius: 10px; text-decoration: none;
    font-size: 15px; letter-spacing: .3px;
    border: 2px solid rgba(255,255,255,.6);
    position: relative; overflow: hidden;
    transition: transform .18s ease, filter .18s ease, background .18s, border-color .18s;
}
.nh-btn-outline::after {
    content: '';
    position: absolute; top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
    transition: left 0s;
}
.nh-btn-outline:hover {
    color: #fff;
    background: rgba(255,255,255,0.22);
    border-color: #fff;
    transform: scale(1.06);
    filter: brightness(1.1);
}
.nh-btn-outline:hover::after {
    animation: nh-btn-shine 0.55s ease forwards;
}

/* ── Why card (hero right) ── */
.nh-why-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
    color: #1e2d40;
}
.nh-why-card h3 {
    font-size: 1.05rem; font-weight: 800;
    color: #0b3c5d; margin: 0 0 20px;
}
.nh-why-item {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 0; border-bottom: 1px solid #f1f5f9;
}
.nh-why-item:last-child { border-bottom: none; padding-bottom: 0; }
.nh-why-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: #eff6ff; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #1a6ea8; font-size: 18px;
}
.nh-why-item span { font-size: .88rem; font-weight: 600; color: #334155; }

/* ── Content section ── */
.nh-content {
    background: #fff;
    padding: 52px 0 48px;
}
.nh-content-row {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

/* Section headers */
.nh-sec-header {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}
.nh-sec-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.05rem; font-weight: 800; color: #0b3c5d; margin: 0;
}
.nh-sec-title::before {
    content: '';
    display: block; width: 4px; height: 20px;
    background: #1a6ea8; border-radius: 2px;
}
.nh-sec-link {
    font-size: .82rem; font-weight: 700;
    color: #1a6ea8; text-decoration: none;
    display: flex; align-items: center; gap: 4px;
    white-space: nowrap;
}
.nh-sec-link:hover { text-decoration: underline; }

/* ── Article card — single (horizontal) ── */
.nh-article-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .18s;
}
.nh-article-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); color: inherit; }
.nh-article-card img {
    width: 100%; height: 100%;
    object-fit: cover; min-height: 160px;
}
.nh-article-img-ph {
    min-height: 160px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    display: flex; align-items: center; justify-content: center;
    color: #3b82f6; font-size: 2rem;
}
.nh-article-body {
    padding: 20px;
    display: flex; flex-direction: column;
}
.nh-article-date { font-size: .78rem; color: #94a3b8; margin-bottom: 6px; }
.nh-article-title {
    font-size: 1rem; font-weight: 800; color: #1e2d40;
    line-height: 1.35; margin-bottom: 8px;
}
.nh-article-excerpt {
    font-size: .87rem; color: #64748b; line-height: 1.55;
    flex: 1; margin-bottom: 14px;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}
.nh-article-read {
    font-size: .82rem; font-weight: 700; color: #1a6ea8;
    display: inline-flex; align-items: center; gap: 4px;
}

/* ── Article grid — 2 columns ── */
.nh-articles-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 4px;
}
.nh-card-v {
    display: flex; flex-direction: column;
    border: 1px solid #e5e7eb; border-radius: 14px;
    overflow: hidden; text-decoration: none; color: inherit;
    background: #fff; transition: box-shadow .18s;
}
.nh-card-v:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); color: inherit; }
.nh-card-v img { width: 100%; height: 180px; object-fit: cover; }
.nh-card-v .nh-article-img-ph { height: 180px; min-height: unset; }
.nh-card-v .nh-article-body { flex: 1; }
.nh-card-v .nh-article-excerpt { -webkit-line-clamp: 2; }

/* ── Article grid — 3 columns (compact) ── */
.nh-articles-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 4px;
}
.nh-articles-3col .nh-card-v img,
.nh-articles-3col .nh-card-v .nh-article-img-ph { height: 140px; }

/* Pagination */
.nh-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.nh-page-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 8px;
    border: 1.5px solid #e2e8f0; background: #fff;
    color: #1a6ea8; font-weight: 600; font-size: .85rem;
    text-decoration: none; transition: all .15s;
}
.nh-page-btn:hover { border-color: #1a6ea8; background: #eff6ff; }
.nh-page-btn.active { background: #1a6ea8; color: #fff; border-color: #1a6ea8; }

/* ── Docs sidebar ── */
.nh-doc-item {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 0; border-bottom: 1px solid #f1f5f9;
}
.nh-doc-item:last-child { border-bottom: none; }
.nh-doc-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: #eff6ff; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #1a6ea8; font-size: 16px;
}
.nh-doc-info { flex: 1; min-width: 0; }
.nh-doc-title { font-size: .88rem; font-weight: 700; color: #1e2d40; }
.nh-doc-group { font-size: .75rem; color: #94a3b8; margin-top: 2px; }
.nh-doc-preview {
    display: inline-flex; align-items: center; gap: 5px;
    color: #1a6ea8; flex-shrink: 0;
    font-size: 12px; font-weight: 700;
    background: #eff6ff; border: 1px solid #bfdbfe;
    border-radius: 6px; padding: 4px 9px;
    white-space: nowrap; cursor: pointer;
    transition: background .15s, border-color .15s;
    font-family: inherit;
}
.nh-doc-preview:hover { background: #dbeafe; border-color: #93c5fd; color: #0e5a8a; }

/* ── Document lightbox ── */
.doc-lb-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.62); z-index: 1000;
    align-items: center; justify-content: center;
    padding: 24px;
}
.doc-lb-overlay.open { display: flex; }
.doc-lb-box {
    background: #fff; border-radius: 14px;
    width: 100%; max-width: 900px; height: 88vh;
    display: flex; flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
    overflow: hidden;
}
.doc-lb-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}
.doc-lb-title {
    font-size: .95rem; font-weight: 700; color: #0b3c5d;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: calc(100% - 48px);
}
.doc-lb-close {
    background: #f1f5f9; border: none; border-radius: 8px;
    width: 34px; height: 34px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #475569; font-size: 18px; flex-shrink: 0;
    transition: background .15s;
}
.doc-lb-close:hover { background: #e2e8f0; color: #0b3c5d; }
.doc-lb-frame {
    flex: 1; width: 100%; display: block;
    overflow-y: auto; overflow-x: hidden;
    background: #1e293b;
}
.nh-docs-all {
    display: inline-flex; align-items: center; gap: 4px;
    color: #1a6ea8; font-size: .85rem; font-weight: 700;
    text-decoration: none; margin-top: 12px;
}
.nh-docs-all:hover { text-decoration: underline; }

/* ── Survey card ── */
.nh-survey-card {
    background: linear-gradient(135deg, #0b3c5d, #1a6ea8);
    color: #fff; border-radius: 14px;
    padding: 22px 20px; text-align: center;
    margin-bottom: 16px;
}
.nh-survey-card h5 { font-weight: 800; font-size: .95rem; margin: 10px 0 8px; }
.nh-survey-card p { font-size: .83rem; opacity: .88; margin-bottom: 14px; }
.nh-survey-btn {
    background: #fff; color: #0b3c5d;
    font-weight: 700; font-size: .83rem;
    padding: 8px 20px; border-radius: 999px;
    text-decoration: none; display: inline-block;
}

/* ── Filter bar ── */
.nh-filter-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}
.nh-filter-inner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nh-filter-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #6b7280; }
.nh-filter-pill {
    display: inline-flex; align-items: center;
    padding: 5px 14px; border-radius: 999px;
    border: 1.5px solid #e5e7eb; background: #fff;
    color: #6b7280; font-weight: 600; font-size: .82rem;
    text-decoration: none; transition: all .15s;
}
.nh-filter-pill:hover { border-color: #1a6ea8; color: #1a6ea8; background: #eff6ff; }
.nh-filter-pill.active { background: #1a6ea8; color: #fff; border-color: #1a6ea8; }

/* ── Why register section ── */
.nh-why-section {
    background: #f1f1f1;
    padding: 48px 0 52px;
    border-top: 2px solid #e5e1e1;
}
.nh-why-section-title {
    text-align: center;
    font-size: 1.3rem; font-weight: 800;
    color: #0b3c5d; margin: 0 0 32px;
}
.nh-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.nh-why-tile {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.nh-why-tile-icon {
    width: 48px; height: 48px;
    background: #eff6ff; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #1a6ea8; font-size: 22px;
    margin-bottom: 14px;
}
.nh-why-tile h4 { font-size: .95rem; font-weight: 800; color: #1e2d40; margin: 0 0 6px; }
.nh-why-tile p { font-size: .83rem; color: #64748b; margin: 0; line-height: 1.55; }

/* ── Footer ── */
.nh-footer {
    background: #0b2545;
    color: rgba(255,255,255,.8);
    padding: 52px 0 0;
}
.nh-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}
.nh-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.nh-footer-brand img { height: 48px; border-radius: 50%; }
.nh-footer-brand-text strong { display: block; font-size: 14px; font-weight: 800; color: #fff; line-height: 1.2; }
.nh-footer-brand-text span { font-size: 11px; color: rgba(255,255,255,.6); }
.nh-footer-desc { font-size: .82rem; line-height: 1.65; color: rgba(255,255,255,.55); max-width: 220px; margin-top: 10px; }
.nh-footer h5 { font-size: .78rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .8px; margin: 0 0 14px; }
.nh-footer-links { list-style: none; padding: 0; margin: 0; }
.nh-footer-links li { margin-bottom: 8px; }
.nh-footer-links a { color: rgba(255,255,255,.6); font-size: .85rem; text-decoration: none; transition: color .15s; }
.nh-footer-links a:hover { color: #fff; }
.nh-footer-social { display: flex; gap: 10px; margin-top: 12px; }
.nh-footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.8); font-size: 16px;
    text-decoration: none; transition: background .15s;
}
.nh-footer-social a:hover { background: rgba(255,255,255,.2); color: #fff; }
.nh-footer-copy {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 0;
    font-size: .78rem;
    color: rgba(255,255,255,.4);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .nh-why-grid { grid-template-columns: repeat(2, 1fr); }
    .nh-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .nh-articles-3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .nh-hero-grid { grid-template-columns: 1fr; }
    .nh-why-card { display: none; }
    .nh-content-row { grid-template-columns: 1fr; }
    .nh-hero h1 { font-size: 2rem; }
    .nh-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .nh-hero { padding: 48px 0 40px; }
    .nh-article-card { grid-template-columns: 1fr; }
    .nh-articles-2col { grid-template-columns: 1fr; }
    .nh-articles-3col { grid-template-columns: 1fr; }
    .nh-why-grid { grid-template-columns: 1fr; }
    .nh-footer-grid { grid-template-columns: 1fr; }
}
