/* ======================================================
   All Doctor Khulna — Shared Pages CSS (site-pages.css)
   Extends site-home.css for all public pages
   ====================================================== */

/* ── Base adjustments ── */
.main-nav a {
    position: relative;
    padding-bottom: 4px;
}
.main-nav a.active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
}
.main-nav a:hover { color: var(--blue); }

/* ── Mobile menu improvements ── */
@media (max-width: 860px) {
    .main-nav { display: none; }
    .menu-button { display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-top: 1px solid #e8f0fa;
        padding: 8px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .mobile-nav.is-open { max-height: 500px; }
    .mobile-nav a {
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        color: #334155;
        border-bottom: 1px solid #f0f6fd;
        display: block;
    }
    .mobile-nav a:last-child { border-bottom: 0; }
    .mobile-nav a:hover { background: #f8fbff; color: var(--blue); }
    .header-actions { gap: 8px; }
    .header-actions .btn-ghost span { display: none; }
    .header-actions .btn-primary span { display: none; }
}

@media (max-width: 560px) {
    .header-inner { gap: 12px; min-height: 70px; }
    .brand-logo { width: 160px; height: 46px; }
}

/* ── Page banner ── */
.page-banner .container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
}
