/* Site menu pages — clean professional layout matching hamburger menu style */
:root {
    --smp-ink: #111;
    --smp-muted: #666;
    --smp-line: #e8e8e8;
    --smp-bg: #f7f7f7;
    --smp-card: #fff;
    --smp-accent: #111;
}

.smp-body {
    margin: 0;
    background: var(--smp-bg);
    color: var(--smp-ink);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
}

.smp-top {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid var(--smp-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
}

.smp-top-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.smp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.smp-brand-logo {
    height: 36px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
    filter: none;
    opacity: 1;
}

.smp-brand-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #5b2d8e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
}

.smp-epaper-badge {
    display: inline-flex;
    align-items: center;
    background: #111;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 5px 8px;
    border-radius: 2px;
    text-decoration: none;
    flex-shrink: 0;
}

.smp-epaper-badge .hr-e,
.smp-epaper-badge span {
    color: #fff;
}

.smp-epaper-badge--mobile {
    display: none;
}

.smp-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.smp-icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    border-radius: 4px;
}

.smp-icon-btn:hover {
    background: #f0f0f0;
}

.smp-main {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 64px;
}

.smp-page-card {
    background: var(--smp-card);
    border: 1px solid var(--smp-line);
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.smp-page-head {
    padding: 22px 22px 16px;
    border-bottom: 1px solid var(--smp-line);
}

.smp-kicker {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--smp-muted);
}

.smp-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111;
    line-height: 1.25;
}

.smp-page-body {
    padding: 22px;
}

.smp-prose {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #222;
}

.smp-prose a {
    color: #111;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.smp-lead {
    margin: 0 0 1.15rem;
    color: #444;
    font-size: 1.02rem;
    line-height: 1.7;
}

.smp-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 1.1rem 0 1.35rem;
}

.smp-card {
    border: 1px solid var(--smp-line);
    background: #fff;
    padding: 16px;
}

.smp-card h3 {
    margin: 0 0 6px;
    font-size: 0.98rem;
    font-weight: 700;
}

.smp-card p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.55;
}

.smp-faq-item {
    border: 1px solid var(--smp-line);
    border-bottom: none;
    background: #fff;
}

.smp-faq-item:last-child {
    border-bottom: 1px solid var(--smp-line);
}

.smp-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.95rem;
}

.smp-faq-item summary::-webkit-details-marker {
    display: none;
}

.smp-faq-item[open] summary {
    background: #f5f5f5;
}

.smp-faq-item p {
    margin: 0;
    padding: 0 16px 14px;
    color: #555;
    font-size: 0.92rem;
}

.smp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--smp-line);
}

.smp-list-item + .smp-list-item {
    border-top: 1px solid var(--smp-line);
}

.smp-list-item a {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
}

.smp-list-item a:hover {
    background: #f5f5f5;
}

.smp-list-title {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.smp-list-meta {
    display: block;
    font-size: 0.8rem;
    color: #777;
}

.smp-empty {
    margin: 0;
    color: #777;
    padding: 12px 0;
}

.smp-cta-wrap {
    margin: 1.4rem 0 0;
}

.smp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: #111;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 2px;
}

.smp-cta:hover {
    background: #333;
}

.smp-footer {
    border-top: 1px solid var(--smp-line);
    background: #fff;
    padding: 18px 16px 28px;
    text-align: center;
    color: #777;
    font-size: 0.82rem;
}

.smp-footer a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

/* Match reader hamburger drawer on CMS pages */
.smp-body .hr-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 4800;
}

.smp-body .hr-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(360px, 92vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 4801;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.14);
}

.smp-body .hr-nav-drawer.is-open {
    transform: translateX(0);
}

.smp-body .hr-nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.smp-body .hr-nav-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.smp-body .hr-nav-drawer-logo {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.smp-body .hr-nav-drawer-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #5b2d8e;
}

.smp-body .hr-epaper-badge {
    display: inline-flex;
    background: #111;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.smp-body .hr-nav-drawer-close {
    border: none;
    background: transparent;
    font-size: 1.85rem;
    line-height: 1;
    color: #111;
    cursor: pointer;
    padding: 4px 6px;
}

.smp-body .hr-nav-drawer-list {
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.smp-body .hr-nav-drawer-link {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: #111;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 18px;
    cursor: pointer;
}

.smp-body .hr-nav-drawer-link:hover,
.smp-body .hr-nav-drawer-link.is-active {
    background: #f3f3f3;
    color: #000;
}

.smp-page-body img {
    max-width: 100%;
    height: auto;
}

.smp-page-body h2,
.smp-page-body h3 {
    line-height: 1.35;
}

.smp-page-body p {
    margin-top: 0;
}

@media (max-width: 767.98px) {
    .smp-main {
        width: calc(100% - 24px);
        padding: 18px 0 48px;
    }
    .smp-page-head,
    .smp-page-body {
        padding: 16px;
    }
    .smp-cards {
        grid-template-columns: 1fr;
    }
    .smp-brand-name {
        max-width: 34vw;
        font-size: 0.85rem;
    }
}
