/* SphereNexus v1.7 final typography, compact cards and mobile navigation refinements. */

/* Strict editorial typography hierarchy: nothing exceeds 26px or weight 600. */
body h1,
body .h1 { font-size: 26px !important; font-weight: 600 !important; line-height: 1.24; }
body h2,
body .h2 { font-size: 22px !important; font-weight: 600 !important; line-height: 1.3; }
body h3,
body .h3 { font-size: 18px !important; font-weight: 600 !important; line-height: 1.38; }
body h4,
body .h4 { font-size: 16px !important; font-weight: 600 !important; line-height: 1.42; }
body h5 { font-size: 15px !important; font-weight: 600 !important; }
body h6 { font-size: 14px !important; font-weight: 600 !important; }
body strong,
body b { font-weight: 600 !important; }

.site-header a,
.site-header button,
.site-main a,
.site-main button,
.site-footer a,
.site-footer button,
.widget a,
.widget button,
.category-label,
.eyebrow,
.post-meta,
.story-card__category { font-weight: 600; }

.sn-button,
.sn-button--dark,
.sn-button--accent,
.sn-button--compact,
.header-subscribe { font-weight: 500 !important; }

/* Clean text-only Read More treatment across all article cards. */
.sn-read-more-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-top: 10px;
    padding: 0 0 3px;
    color: var(--sn-teal-dark);
    background: transparent !important;
    border: 0;
    font-family: var(--sn-font-ui);
    font-size: 10px;
    font-weight: 500 !important;
    line-height: 1.4;
}
.sn-read-more-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transition: right .22s ease;
}
.sn-read-more-link:hover { color: var(--sn-navy); }
.sn-read-more-link:hover::after { right: 0; }
.sn-read-more-link .sn-icon {
    width: 13px;
    height: 13px;
    transition: transform .2s ease;
}
.sn-read-more-link:hover .sn-icon { transform: translateX(3px); }
.story-card__content .post-meta + .sn-read-more-link { margin-top: 9px; }
.mini-story .sn-read-more-link { margin-top: 6px; font-size: 9px; }

/* Keep the card hierarchy intentionally smaller than H1. */
.story-card__title,
.archive-grid--premium .story-card__title { font-size: 15px !important; font-weight: 600 !important; }
.section-heading h2,
.category-heading h2,
.widget-title,
.sidebar-card__title,
.footer-toggle { font-size: 18px !important; font-weight: 600 !important; }
.article-content--premium h2,
.page-content--professional h2 { font-size: 22px !important; }
.article-content--premium h3,
.page-content--professional h3 { font-size: 18px !important; }

/* Mobile menu button must remain visible and usable. */
@media (max-width: 1080px) {
    .site-header--cut .mobile-menu-toggle,
    .site-header--ultra .mobile-menu-toggle,
    .mobile-menu-toggle {
        position: relative;
        z-index: 8;
        display: grid !important;
        place-items: center;
        flex: 0 0 auto;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .mobile-menu-toggle .sn-icon {
        display: block !important;
        width: 20px;
        height: 20px;
        color: currentColor;
        stroke: currentColor;
    }
    .site-header--cut .header-actions {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        min-width: max-content;
    }
    .site-header--cut .main-header__inner { overflow: visible; }
}

@media (max-width: 700px) {
    .site-header--cut .header-subscribe { display: none !important; }
    .site-header--cut .branding-wrap { min-width: 0; }
    .site-header--cut .header-actions { gap: 5px; }
    .site-header--cut .search-toggle,
    .site-header--cut .mobile-menu-toggle { width: 38px; height: 38px; }
}

@media (max-width: 420px) {
    .site-header--cut .main-header__inner { padding-inline: 10px; }
    .site-header--cut .search-toggle,
    .site-header--cut .mobile-menu-toggle { width: 36px; height: 36px; }
}
.sn-read-more-link--light { color: rgba(255,255,255,.94); }
.sn-read-more-link--light:hover { color: #fff; }
