/* ===================================================
   Shared Site Header - Reviews & Resources
   Nav bar + page header (title, subtitle)
   =================================================== */

/* ---------- Top Nav ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #1B5E20;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.site-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 56px;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 14px; /* px for consistent nav link size across Reviews and Resources */
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 6px;
    transition: background 0.18s ease, color 0.18s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.site-nav-links a:hover {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    text-decoration: none;
}

.site-nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
}

@media (max-width: 520px) {
    .site-nav-inner { padding: 0 12px; height: 50px; }
    .site-nav-links { gap: 3px; }
    .site-nav-links a { font-size: 13px; padding: 6px 10px; }
    .site-nav-links a i { display: none; }
}

@media (max-width: 360px) {
    .site-nav-inner { padding: 0 8px; }
    .site-nav-links { gap: 2px; width: 100%; justify-content: space-between; }
    .site-nav-links a { font-size: 12px; padding: 6px 8px; }
}

/* ---------- Header ---------- */
.site-header {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: #fff;
    padding: 32px 24px 28px;
    text-align: center;
}

.site-header .header-content h1 {
    font-size: 38px; /* px for pixel-perfect match across Reviews and Resources */
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.site-header .header-content h1 i {
    margin-right: 10px;
    color: #FFD54F;
}

.site-header .header-subtitle {
    font-size: 17px; /* px for pixel-perfect match across pages */
    opacity: 0.92;
    margin-bottom: 6px;
}

.site-header .header-subtitle a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.site-header .header-subtitle a:hover {
    opacity: 0.85;
    color: #fff;
}

.site-header .header-count {
    font-size: 15px;
    opacity: 0.75;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .site-header { padding: 28px 16px 24px; }
    .site-header .header-content h1 { font-size: 29px; }
    .site-header .header-subtitle { font-size: 16px; }
}

@media (max-width: 480px) {
    .site-header .header-content h1 { font-size: 24px; }
}
