.space-header-wrap {
    box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 0%);
}

/* 10B editorial single-post header — PCMag-inspired, 2026-07-15 */
body.single-post .space-title-box {
    background: #ffffff !important;
}

body.single-post .space-title-box-ins {
    padding: 40px 0 18px;
}

body.single-post .space-title-box-h1 h1 {
    max-width: 820px;
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(2.5rem, 4.1vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: #2b2b2b;
}

body.single-post .space-title-box .space-page-content-excerpt {
    max-width: 820px;
    margin-top: 18px;
}

body.single-post .space-title-box .space-page-content-excerpt p {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.42;
    font-weight: 400;
    color: #242424 !important;
}

body.single-post .space-title-box .sharedaddy,
body.single-post .space-title-box-category-wrap {
    display: none !important;
}

body.single-post .space-page-section-ins {
    padding-top: 24px;
}

body.single-post .space-page-content-meta {
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    body.single-post .space-title-box-ins {
        padding: 26px 0 16px;
    }

    body.single-post .space-title-box-h1 h1 {
        font-size: 2.25rem;
        line-height: 1.08;
        letter-spacing: -0.015em;
    }

    body.single-post .space-title-box .space-page-content-excerpt {
        margin-top: 14px;
    }

    body.single-post .space-title-box .space-page-content-excerpt p {
        font-size: 1.0625rem;
        line-height: 1.5;
    }

    body.single-post .space-page-section-ins {
        padding-top: 18px;
    }

    body.single-post .space-page-content-meta {
        margin-bottom: 16px;
    }
}

/* 10B desktop single-post two-column header/body grid — 2026-07-17 */
@media (min-width: 992px) {
    body.single-post .post.type-post {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
        grid-template-areas:
            "title sidebar"
            "main sidebar";
        width: calc(100% - 80px);
        max-width: 1200px;
        margin: 0 auto;
        align-items: start;
    }

    body.single-post .post.type-post > .space-title-box {
        grid-area: title;
        width: auto;
    }

    body.single-post .post.type-post > .space-title-box .space-title-box-ins {
        width: auto;
        max-width: none;
        margin: 0;
    }

    body.single-post .post.type-post > .space-page-section,
    body.single-post .post.type-post > .space-page-section > .space-page-section-ins {
        display: contents;
    }

    body.single-post .post.type-post .space-content-section {
        grid-area: main;
        width: auto !important;
        padding-top: 24px;
    }

    body.single-post .post.type-post .space-sidebar-section {
        grid-area: sidebar;
        width: auto !important;
        padding: 40px 0 0 30px;
        align-self: start;
    }
}

/* 10B coordinated search + mobile menu header — 2026-07-17 */
@media (max-width: 1200px) {
    .space-mobile-menu-icon {
        display: none !important;
    }

    .space-header-menu {
        position: relative;
    }

    #mega-menu-wrap-main-menu {
        position: absolute !important;
        top: 0;
        right: 0;
        width: 40px !important;
        height: 60px;
        z-index: 5;
    }

    #mega-menu-wrap-main-menu .mega-menu-toggle {
        min-height: 60px !important;
        height: 60px !important;
        background: transparent !important;
        align-items: center;
        justify-content: center;
    }

    #mega-menu-wrap-main-menu .mega-toggle-blocks-right {
        height: 60px !important;
        align-items: center;
    }

    #mega-menu-wrap-main-menu .mega-toggle-block,
    #mega-menu-wrap-main-menu .mega-toggle-animated {
        width: 21px !important;
        height: 20px !important;
        padding: 0 !important;
    }

    #mega-menu-wrap-main-menu .mega-toggle-animated-inner,
    #mega-menu-wrap-main-menu .mega-toggle-animated-inner::before,
    #mega-menu-wrap-main-menu .mega-toggle-animated-inner::after {
        width: 21px !important;
        height: 2px !important;
        background-color: #2d3436 !important;
        border-radius: 2px;
    }

    #mega-menu-wrap-main-menu .mega-toggle-animated[aria-expanded="false"] {
        background:
            linear-gradient(#2d3436, #2d3436) center calc(50% - 6px) / 21px 2px no-repeat,
            linear-gradient(#2d3436, #2d3436) center center / 21px 2px no-repeat,
            linear-gradient(#2d3436, #2d3436) center calc(50% + 6px) / 21px 2px no-repeat !important;
    }

    #mega-menu-wrap-main-menu .mega-toggle-animated[aria-expanded="false"] .mega-toggle-animated-inner {
        opacity: 0 !important;
    }
}

@media (min-width: 1201px) {
    .space-header-menu #mega-menu-wrap-main-menu {
        position: absolute !important;
        top: 0;
        right: 55px;
        width: max-content !important;
        margin: 0 !important;
    }
}

/* 10B stable search/menu spacing through the 1200px breakpoint */
@media (max-width: 1200px) {
    .space-header-menu > .space-header-search {
        right: 55px !important;
    }
}

/* 10B compact single-post title through tablet widths — 2026-07-17 */
@media (max-width: 1200px) {
    body.single-post .space-title-box-h1 h1 {
        font-size: 2.25rem;
        line-height: 1.08;
    }
}

/* 10B native sticky sidebar stack — 2026-07-17 */
@media (min-width: 992px) {
    body.single-post {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    body.single-post .space-sidebar-section {
        position: relative !important;
        top: auto !important;
        align-self: stretch;
        height: 100%;
    }

    body.single-post #custom_html-57 {
        position: sticky !important;
        top: 24px !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: auto !important;
        transform: none !important;
    }

    body.single-post #block-7 {
        position: sticky !important;
        top: 400px !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: auto !important;
        transform: none !important;
    }
}

/* Laptop-height screens: keep the sticky stack to NoPause + ExpressVPN. */
@media (min-width: 992px) and (max-height: 819px) {
    body.single-post #custom_html-57 .custom-ad-widget > p:first-of-type {
        display: block;
        margin: 8px 0 !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    body.single-post #custom_html-57 .custom-ad-widget img {
        width: auto;
        max-height: 100px;
        margin: 4px 0 !important;
    }

    body.single-post #custom_html-57 .custom-ad-widget > p:last-of-type {
        margin-top: 10px !important;
    }

    body.single-post #block-7 .space-organizations-4-archive-item:nth-of-type(2) {
        display: none;
    }
}

/* Medium-height desktop windows: compact the stack and show all three panels. */
@media (min-width: 992px) and (min-height: 820px) and (max-height: 1049px) {
    body.single-post #block-7 {
        top: 400px !important;
    }

    body.single-post #custom_html-57 .custom-ad-widget > p:first-of-type {
        display: block;
        margin: 8px 0 !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    body.single-post #custom_html-57 .custom-ad-widget img {
        width: auto;
        max-height: 100px;
        margin: 4px 0 !important;
    }

    body.single-post #custom_html-57 .custom-ad-widget > p:last-of-type {
        margin-top: 10px !important;
    }

    body.single-post #block-7 .space-organizations-4-archive-item:nth-of-type(2) {
        display: block;
    }

    body.single-post #block-7 .space-organizations-archive-item-button-notice {
        display: none;
    }

    body.single-post #block-7 .space-organizations-4-archive-item {
        margin-bottom: 6px !important;
    }
}

@media (min-width: 992px) and (min-height: 1050px) {
    body.single-post #block-7 {
        top: 481px !important;
    }
}

/* 10B sidebar ratings: show four full stars plus the final half star. */
body.single-post #block-7 .star-rating .star:nth-child(n + 5):not(:last-child) {
    display: none;
}

/* 10B NoPause card alignment and balanced vertical spacing. */
body.single-post #custom_html-57 .custom-ad-widget > a {
    display: block;
    width: 100%;
}

body.single-post #custom_html-57 .custom-ad-widget img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 4px 0 !important;
}

body.single-post #custom_html-57 .custom-ad-widget > p:last-of-type {
    margin-bottom: 0 !important;
}

body.single-post #custom_html-57 .custom-ad-widget > p:last-of-type a {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
}

/* 10B top-level navigation uses regular weight. */
#mega-menu-main-menu > li.mega-menu-item > a.mega-menu-link {
    font-weight: 400 !important;
}
