/* POG24 public design system — v0.3.5.
 * Scope every rule to the versioned body class and stable Newspaper/TagDiv
 * component classes. Generated tdi_* selectors are intentionally avoided.
 */
:root {
    --pog24-ui-ink: #101828;
    --pog24-ui-muted: #5f6c85;
    --pog24-ui-canvas: #eaf2ff;
    --pog24-ui-canvas-soft: #f5f8ff;
    --pog24-ui-surface: #ffffff;
    --pog24-ui-purple: #5a2bd6;
    --pog24-ui-purple-dark: #32106f;
    --pog24-ui-coral: #ff4564;
    --pog24-ui-border: rgba(65, 84, 122, .13);
    --pog24-ui-shadow: 0 18px 50px rgba(43, 61, 101, .10);
    --pog24-ui-radius: 24px;
    --pog24-ui-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html {
    overflow-x: clip;
}

html body.pog24-design-v035 {
    background: var(--pog24-ui-canvas-soft) !important;
    color: var(--pog24-ui-ink) !important;
    font-family: var(--pog24-ui-font) !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html body.pog24-design-v035 :where(h1, h2, h3, h4, h5, h6, p, a, li, span, button, input, textarea, select) {
    font-family: var(--pog24-ui-font) !important;
}

html body.pog24-design-v035 :where(.td-main-content-wrap, .tdc-content-wrap, .tdc-zone, .tdc-row, .vc_row, .vc_column, .wpb_wrapper, .td_module_wrap) {
    min-width: 0 !important;
    box-sizing: border-box;
}

html body.pog24-design-v035 .td-main-content-wrap {
    overflow: clip;
    background: var(--pog24-ui-canvas) !important;
}

html body.pog24-design-v035 .td-module-title,
html body.pog24-design-v035 .td-module-title a {
    color: var(--pog24-ui-ink);
    letter-spacing: -.024em !important;
}

html body.pog24-design-v035 .td-post-date,
html body.pog24-design-v035 .td-author-date,
html body.pog24-design-v035 .td-module-meta-info {
    color: var(--pog24-ui-muted) !important;
}

html body.pog24-design-v035 .td-post-category {
    display: inline-flex !important;
    min-height: 24px;
    padding: 5px 10px !important;
    border: 1px solid rgba(90, 43, 214, .10) !important;
    border-radius: 999px !important;
    background: #f0ebff !important;
    color: #5124c7 !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    letter-spacing: .065em !important;
    text-transform: uppercase !important;
    align-items: center;
}

/* Header: one intentional, compact row. The theme's dormant sticky clone was
 * previously forced on top of the normal header, producing the duplicate logo
 * and two menus seen in the audit. Use that single-row clone as the desktop
 * header and keep it in normal document flow; use the native mobile row below.
 */
html body.pog24-design-v035 .td-header-template-wrap {
    min-height: 0 !important;
    border-bottom: 1px solid var(--pog24-ui-border);
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 10px 30px rgba(22, 35, 67, .07);
}

html body.pog24-design-v035 .td-header-template-wrap .pog24-wordmark-logo,
html body.pog24-design-v035 .td-header-template-wrap .tdb_header_logo:has(.tdb-logo-text-title) {
    display: none !important;
}

@media (min-width: 1101px) {
    html body.pog24-design-v035 .td-header-mobile-wrap,
    html body.pog24-design-v035 .td-header-mobile-sticky-wrap,
    html body.pog24-design-v035 .td-header-desktop-wrap {
        display: none !important;
    }

    html body.pog24-design-v035 .td-header-desktop-sticky-wrap {
        position: relative !important;
        inset: auto !important;
        z-index: 1000 !important;
        display: block !important;
        width: 100% !important;
        height: 76px !important;
        min-height: 76px !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: rgba(255, 255, 255, .96) !important;
        box-shadow: none !important;
    }

    html body.pog24-design-v035 .td-header-desktop-sticky-wrap :where(.tdc-zone, .tdc-row, .tdc-row-content, .td-pb-row, .vc_row) {
        width: 100% !important;
        height: 76px !important;
        min-height: 76px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        transform: none !important;
        background: transparent !important;
    }

    html body.pog24-design-v035 .td-header-desktop-sticky-wrap .vc_row {
        display: grid !important;
        max-width: 1320px !important;
        padding: 0 24px !important;
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 18px;
        align-items: center;
    }

    html body.pog24-design-v035 .td-header-desktop-sticky-wrap .vc_row > .vc_column {
        float: none !important;
        width: auto !important;
        height: 76px !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    html body.pog24-design-v035 .td-header-desktop-sticky-wrap :where(.wpb_wrapper, .tdb_header_logo, .tdb-logo-img-wrap, .tdb-logo-a, .tdb_header_menu, .tdb-menu) {
        height: 76px !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: center !important;
    }

    html body.pog24-design-v035 .td-header-desktop-sticky-wrap .tdb-logo-img {
        width: auto !important;
        max-width: 66px !important;
        height: 58px !important;
        max-height: 58px !important;
        object-fit: contain !important;
    }

    html body.pog24-design-v035 .td-header-desktop-sticky-wrap .tdb-menu {
        display: flex !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
    }

    html body.pog24-design-v035 .td-header-desktop-sticky-wrap .tdb-menu > li,
    html body.pog24-design-v035 .td-header-desktop-sticky-wrap .tdb-menu > li > a {
        height: 76px !important;
        min-height: 0 !important;
    }

    html body.pog24-design-v035 .td-header-desktop-sticky-wrap .tdb-menu > li > a {
        display: flex !important;
        padding: 0 clamp(8px, .75vw, 14px) !important;
        color: var(--pog24-ui-ink) !important;
        font-size: clamp(11px, .82vw, 13px) !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        letter-spacing: .035em !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
        align-items: center !important;
    }

    html body.pog24-design-v035 .td-header-desktop-sticky-wrap .tdb-menu > li > a:hover,
    html body.pog24-design-v035 .td-header-desktop-sticky-wrap .tdb-menu > li.current-menu-item > a {
        color: var(--pog24-ui-purple) !important;
    }
}

@media (max-width: 1100px) {
    html body.pog24-design-v035 .td-header-desktop-wrap,
    html body.pog24-design-v035 .td-header-desktop-sticky-wrap,
    html body.pog24-design-v035 .td-header-mobile-sticky-wrap {
        display: none !important;
    }

    html body.pog24-design-v035 .td-header-mobile-wrap {
        display: block !important;
        width: 100% !important;
        height: 66px !important;
        min-height: 66px !important;
        background: #fff !important;
    }

    html body.pog24-design-v035 .td-header-mobile-wrap :where(.tdc-zone, .tdc-row, .tdc-row-content, .td-pb-row, .vc_row) {
        width: 100% !important;
        height: 66px !important;
        min-height: 66px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    html body.pog24-design-v035 .td-header-mobile-wrap .vc_row {
        display: grid !important;
        padding: 0 16px !important;
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        align-items: center;
    }

    html body.pog24-design-v035 .td-header-mobile-wrap .vc_row > .vc_column {
        float: none !important;
        display: flex !important;
        width: auto !important;
        height: 66px !important;
        min-height: 0 !important;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
    }

    html body.pog24-design-v035 .td-header-mobile-wrap .vc_row > .vc_column:first-of-type {
        justify-content: flex-start;
    }

    html body.pog24-design-v035 .td-header-mobile-wrap .vc_row > .vc_column:last-of-type {
        justify-content: flex-end;
    }

    html body.pog24-design-v035 .td-header-mobile-wrap :where(.pog24-wordmark-logo, .tdb_header_logo:has(.tdb-logo-text-title)) {
        display: none !important;
    }

    html body.pog24-design-v035 .td-header-mobile-wrap :where(.wpb_wrapper, .tdb_header_logo, .tdb-logo-img-wrap, .tdb-logo-a) {
        display: flex !important;
        width: auto !important;
        height: 66px !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
    }

    html body.pog24-design-v035 .td-header-mobile-wrap .tdb-logo-img {
        width: auto !important;
        max-width: 58px !important;
        height: 52px !important;
        max-height: 52px !important;
        object-fit: contain !important;
    }

    html body.pog24-design-v035 .td-header-mobile-wrap :where(.tdb_mobile_menu, .tdb_mobile_search, .tdb-mobile-menu-button, .tdb-head-search-btn) {
        display: flex !important;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        border-radius: 12px !important;
        color: var(--pog24-ui-ink) !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Compact latest-news rail. */
html body.pog24-design-v035.home .pog24-news-ticker {
    width: calc(100% - 48px) !important;
    max-width: 1320px !important;
    min-height: 0 !important;
    margin: 22px auto 0 !important;
    padding: 18px 66px !important;
    border: 1px solid var(--pog24-ui-border) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .88) !important;
    box-shadow: 0 12px 30px rgba(45, 62, 98, .06);
}

html body.pog24-design-v035.home .pog24-news-ticker .td_block_inner {
    display: flex !important;
    gap: 22px;
    margin: 0 !important;
}

html body.pog24-design-v035.home .pog24-news-ticker .td_module_wrap {
    float: none !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.pog24-design-v035.home .pog24-news-ticker .td-module-container {
    min-height: 62px;
    padding: 2px 0 0 !important;
    border: 0 !important;
}

html body.pog24-design-v035.home .pog24-news-ticker .entry-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 7px !important;
    font-size: 13px !important;
    font-weight: 760 !important;
    line-height: 1.28 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

html body.pog24-design-v035.home .pog24-news-ticker .td-next-prev-wrap a {
    width: 42px !important;
    height: 42px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--pog24-ui-purple), #7c55ee) !important;
    box-shadow: 0 10px 24px rgba(90, 43, 214, .22) !important;
}

/* Lead story composition. */
html body.pog24-design-v035.home .pog24-gap-row {
    position: relative !important;
    display: grid !important;
    width: calc(100% - 48px) !important;
    max-width: 1320px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 24px auto 58px !important;
    padding: 22px !important;
    border: 1px solid var(--pog24-ui-border) !important;
    border-radius: 30px !important;
    background: linear-gradient(145deg, #edf4ff 0%, #e7effd 100%) !important;
    box-shadow: var(--pog24-ui-shadow);
    grid-template-columns: minmax(210px, .92fr) minmax(0, 2.25fr) minmax(205px, 1fr) minmax(220px, 1.05fr);
    gap: 18px;
    align-items: start;
}

html body.pog24-design-v035.home .pog24-gap-row > .vc_column {
    float: none !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.pog24-design-v035.home .pog24-main-latest {
    grid-column: 1;
    grid-row: 1;
}

html body.pog24-design-v035.home .pog24-main-hero {
    grid-column: 2;
    grid-row: 1;
}

html body.pog24-design-v035.home .pog24-main-side {
    grid-column: 3;
    grid-row: 1;
}

html body.pog24-design-v035.home .pog24-main-popular {
    grid-column: 4;
    grid-row: 1;
}

html body.pog24-design-v035.home .pog24-main-latest .tdm-title,
html body.pog24-design-v035.home .pog24-main-popular > .wpb_wrapper > .tdm_block_inline_text .tdm-title,
html body.pog24-design-v035.home .pog24-main-popular > .wpb_wrapper > .tdm_block_text_image .tdm-title {
    margin: 0 0 14px !important;
    padding: 12px 14px !important;
    border-left: 5px solid var(--pog24-ui-purple) !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: #4a20ba !important;
    font-size: clamp(18px, 1.6vw, 24px) !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
    letter-spacing: -.035em !important;
    text-transform: uppercase !important;
    box-shadow: 0 8px 22px rgba(47, 62, 99, .06);
}

html body.pog24-design-v035.home .pog24-main-latest .td_module_wrap {
    margin: 0 0 10px !important;
}

html body.pog24-design-v035.home .pog24-main-latest .td_module_wrap:nth-of-type(n+5) {
    display: none !important;
}

html body.pog24-design-v035.home .pog24-main-latest .td-module-container {
    display: grid !important;
    min-height: 100px;
    padding: 11px !important;
    border: 1px solid var(--pog24-ui-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 7px 18px rgba(44, 60, 96, .06);
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

html body.pog24-design-v035.home .pog24-main-latest .td-image-container,
html body.pog24-design-v035.home .pog24-main-latest .td-module-thumb,
html body.pog24-design-v035.home .pog24-main-latest .td-image-wrap,
html body.pog24-design-v035.home .pog24-main-latest .entry-thumb {
    width: 68px !important;
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    border-radius: 11px !important;
    object-fit: cover !important;
}

html body.pog24-design-v035.home .pog24-main-latest .entry-thumb {
    display: block !important;
    background-position: center !important;
    background-size: cover !important;
}

html body.pog24-design-v035.home .pog24-main-latest .td-module-meta-info {
    width: auto !important;
    padding: 0 !important;
}

html body.pog24-design-v035.home .pog24-main-latest .entry-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 7px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

html body.pog24-design-v035.home .pog24-main-latest .td-post-category {
    max-width: 100%;
    padding: 4px 7px !important;
    font-size: 8px !important;
    white-space: normal !important;
}

html body.pog24-design-v035.home .pog24-main-latest .td-post-date {
    font-size: 10px !important;
}

html body.pog24-design-v035.home .pog24-main-latest .td-excerpt,
html body.pog24-design-v035.home .pog24-main-latest .td-module-comments {
    display: none !important;
}

html body.pog24-design-v035.home .pog24-main-hero .td_module_flex_2,
html body.pog24-design-v035.home .pog24-main-hero .td-module-container,
html body.pog24-design-v035.home .pog24-main-hero .td-image-container,
html body.pog24-design-v035.home .pog24-main-hero .td-module-thumb,
html body.pog24-design-v035.home .pog24-main-hero .td-image-wrap {
    height: clamp(500px, 45vw, 620px) !important;
    min-height: 0 !important;
    border-radius: 24px !important;
}

html body.pog24-design-v035.home .pog24-main-hero .td_module_flex_2 {
    overflow: hidden !important;
    margin: 0 !important;
    background: #12182a !important;
    box-shadow: 0 18px 36px rgba(20, 29, 52, .18);
}

html body.pog24-design-v035.home .pog24-main-hero .entry-thumb {
    height: 100% !important;
    background-position: center !important;
    background-size: cover !important;
}

html body.pog24-design-v035.home .pog24-main-hero .td-module-container::after {
    content: '';
    position: absolute;
    inset: 28% 0 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 13, 27, .82) 74%, rgba(7, 13, 27, .96) 100%);
}

html body.pog24-design-v035.home .pog24-main-hero .td-module-meta-info {
    z-index: 2 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    padding: 28px !important;
}

html body.pog24-design-v035.home .pog24-main-hero .entry-title,
html body.pog24-design-v035.home .pog24-main-hero .entry-title a {
    color: #fff !important;
    font-size: clamp(27px, 2.25vw, 39px) !important;
    font-weight: 860 !important;
    line-height: 1.06 !important;
    letter-spacing: -.045em !important;
    text-shadow: 0 3px 20px rgba(0, 0, 0, .45) !important;
}

html body.pog24-design-v035.home .pog24-main-hero .td-excerpt,
html body.pog24-design-v035.home .pog24-main-hero .td-excerpt p {
    color: rgba(255, 255, 255, .91) !important;
    font-size: 15px !important;
    line-height: 1.52 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4) !important;
}

html body.pog24-design-v035.home .pog24-main-hero .td-post-category {
    border-color: rgba(255, 255, 255, .65) !important;
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .14) !important;
    backdrop-filter: blur(8px);
}

html body.pog24-design-v035.home .pog24-main-side .td_module_wrap {
    overflow: hidden !important;
    margin: 0 0 14px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid var(--pog24-ui-border) !important;
}

html body.pog24-design-v035.home .pog24-main-side .td-image-container,
html body.pog24-design-v035.home .pog24-main-side .td-module-thumb,
html body.pog24-design-v035.home .pog24-main-side .td-image-wrap,
html body.pog24-design-v035.home .pog24-main-side .entry-thumb {
    width: 100% !important;
    height: 150px !important;
    border-radius: 16px !important;
    background-position: center !important;
    background-size: cover !important;
}

html body.pog24-design-v035.home .pog24-main-side .entry-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 10px 0 0 !important;
    font-size: 15px !important;
    font-weight: 820 !important;
    line-height: 1.18 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

html body.pog24-design-v035.home .pog24-main-popular .td_module_wrap {
    margin: 0 0 8px !important;
    padding: 12px !important;
    border: 1px solid var(--pog24-ui-border) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .9) !important;
}

html body.pog24-design-v035.home .pog24-main-popular .entry-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 7px !important;
    font-size: 12px !important;
    font-weight: 790 !important;
    line-height: 1.25 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* Interactive retention band: stay in flow; never manufacture row height or
 * absolutely overlap it with article cards. */
html body.pog24-design-v035.home .pog24-gap-news {
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    clear: both !important;
    display: block !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 6px 0 0 !important;
    padding: 16px !important;
    border: 1px solid rgba(90, 43, 214, .12) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .76) !important;
    box-shadow: 0 14px 34px rgba(40, 57, 94, .08) !important;
    grid-column: 2 / -1;
    grid-row: 2;
    backdrop-filter: blur(12px);
}

html body.pog24-design-v035.home .pog24-gap-news__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

html body.pog24-design-v035.home .pog24-gap-widget {
    min-height: 174px !important;
    padding: 16px !important;
    border: 1px solid var(--pog24-ui-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(35, 50, 83, .05) !important;
}

html body.pog24-design-v035.home .pog24-gap-news__heading {
    margin: 0 0 11px !important;
    color: var(--pog24-ui-purple) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
}

/* Reusable section surfaces and rhythm. */
html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-technology, .pog24-section-more, .pog24-section-exclusive, .pog24-section-latest) {
    width: calc(100% - 48px) !important;
    max-width: 1320px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto 52px !important;
    padding: 54px 24px 26px !important;
    border: 1px solid var(--pog24-ui-border) !important;
    border-radius: 28px !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 14px 40px rgba(43, 59, 93, .07);
}

html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) {
    position: relative !important;
}

html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) .absolute_inner_full {
    top: -20px !important;
    right: auto !important;
    bottom: auto !important;
    left: 24px !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
}

html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) .absolute_inner_full .tdm-title,
html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) .absolute_inner_full .tdm-title-sm {
    padding: 13px 18px !important;
    border-radius: 12px !important;
    background: var(--pog24-ui-coral) !important;
    color: #fff !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

html body.pog24-design-v035.home .pog24-section-technology {
    padding-top: 24px !important;
}

html body.pog24-design-v035.home .pog24-section-technology .td_module_wrap,
html body.pog24-design-v035.home .pog24-section-more .td_module_wrap,
html body.pog24-design-v035.home .pog24-section-latest .td_module_wrap {
    margin-bottom: 18px !important;
}

html body.pog24-design-v035.home :where(.pog24-section-technology, .pog24-section-more, .pog24-section-latest) .entry-title {
    font-size: clamp(15px, 1.25vw, 19px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) .td_module_flex_2 .entry-title,
html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) .td_module_flex_2 .entry-title a,
html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) .td-big-grid-flex-post .entry-title,
html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) .td-big-grid-flex-post .entry-title a {
    color: #fff !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .55) !important;
}

html body.pog24-design-v035.home .tdc-content-wrap > .tdc-zone > .tdc_zone > .tdc-row {
    max-width: 1440px;
    margin-inline: auto;
}

/* Footer: compact, editorial, and visually separate from content. */
html body.pog24-design-v035 .td-footer-template-wrap {
    min-height: 0 !important;
    padding: 46px 24px 18px !important;
    border-top: 0 !important;
    background: linear-gradient(145deg, #101a35 0%, #1d1641 100%) !important;
    color: rgba(255, 255, 255, .82) !important;
}

html body.pog24-design-v035 .td-footer-template-wrap :where(.tdc-row, .tdc-row-content, .td-pb-row, .vc_row) {
    max-width: 1260px !important;
    min-height: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    background: transparent !important;
}

html body.pog24-design-v035 .td-footer-template-wrap :where(h1, h2, h3, h4, .tdm-title) {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    letter-spacing: .055em !important;
}

html body.pog24-design-v035 .td-footer-template-wrap :where(p, li, a, .tdm-descr, .td-module-title, .td-module-title a, .td-post-date) {
    color: rgba(255, 255, 255, .76) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

html body.pog24-design-v035 .td-footer-template-wrap .pog24-wordmark-logo,
html body.pog24-design-v035 .td-footer-template-wrap .tdb_header_logo:has(.tdb-logo-text-title) {
    display: none !important;
}

html body.pog24-design-v035 .td-footer-template-wrap .tdb-logo-img {
    width: auto !important;
    max-width: 90px !important;
    height: 72px !important;
    max-height: 72px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
    opacity: .94;
}

html body.pog24-design-v035 .td-footer-template-wrap :where(.mailerlite-form, .tdm-contact-form-wrap) {
    padding: 22px !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: none !important;
}

html body.pog24-design-v035 .td-footer-template-wrap :where(input[type="email"], input[type="text"]) {
    min-height: 46px !important;
    border: 1px solid rgba(255, 255, 255, .20) !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: var(--pog24-ui-ink) !important;
}

html body.pog24-design-v035 .td-footer-template-wrap :where(button, input[type="submit"], .tdm-btn) {
    min-height: 44px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, var(--pog24-ui-purple), #7a4cf0) !important;
    color: #fff !important;
    font-weight: 800 !important;
}

html body.pog24-design-v035 .td-footer-template-wrap .pog24-copyright-wrap {
    margin-top: 24px !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .13) !important;
}

html body.pog24-design-v035 .td-footer-template-wrap .pog24-copyright {
    color: rgba(255, 255, 255, .62) !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    letter-spacing: .07em !important;
    text-align: center !important;
}

/* Article and archive pages inherit the same typography, canvas and safe
 * content width without altering editorial content or SEO markup. */
html body.pog24-design-v035:not(.home) .td-main-content-wrap {
    padding: clamp(24px, 4vw, 54px) 20px !important;
}

html body.pog24-design-v035:not(.home) :where(.td-container, .tdc-row, .tdc-row-content) {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

html body.pog24-design-v035.single-post :where(.tdb_single_content, .td-post-content) {
    color: #26334d !important;
    font-size: clamp(16px, 1.2vw, 18px) !important;
    line-height: 1.76 !important;
}

html body.pog24-design-v035.single-post :where(.tdb_single_content, .td-post-content) :where(img, video, iframe) {
    max-width: 100% !important;
    height: auto;
    border-radius: 16px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    html body.pog24-design-v035.home .pog24-gap-row {
        width: calc(100% - 32px) !important;
        padding: 18px !important;
        grid-template-columns: minmax(210px, .72fr) minmax(0, 1.55fr);
    }

    html body.pog24-design-v035.home .pog24-main-latest {
        grid-column: 1;
        grid-row: 1;
    }

    html body.pog24-design-v035.home .pog24-main-hero {
        grid-column: 2;
        grid-row: 1;
    }

    html body.pog24-design-v035.home .pog24-main-side,
    html body.pog24-design-v035.home .pog24-main-popular,
    html body.pog24-design-v035.home .pog24-gap-news {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    html body.pog24-design-v035.home .pog24-main-latest .td_module_wrap:nth-of-type(n+4) {
        display: none !important;
    }

    html body.pog24-design-v035.home .pog24-main-side .td_block_inner,
    html body.pog24-design-v035.home .pog24-main-popular .td_block_inner {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    html body.pog24-design-v035.home .pog24-main-side .td_module_wrap,
    html body.pog24-design-v035.home .pog24-main-popular .td_module_wrap {
        margin: 0 !important;
    }

    html body.pog24-design-v035.home .pog24-gap-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    html body.pog24-design-v035 .td-main-content-wrap {
        overflow: hidden;
    }

    html body.pog24-design-v035.home .pog24-news-ticker {
        width: calc(100% - 24px) !important;
        margin-top: 14px !important;
        padding: 14px 48px !important;
        border-radius: 16px !important;
    }

    html body.pog24-design-v035.home .pog24-news-ticker .td_block_inner {
        overflow-x: auto !important;
        gap: 12px !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    html body.pog24-design-v035.home .pog24-news-ticker .td_block_inner::-webkit-scrollbar {
        display: none;
    }

    html body.pog24-design-v035.home .pog24-news-ticker .td_module_wrap {
        flex: 0 0 88% !important;
        scroll-snap-align: start;
    }

    html body.pog24-design-v035.home .pog24-news-ticker .td_module_wrap:nth-of-type(n+4) {
        display: none !important;
    }

    html body.pog24-design-v035.home .pog24-gap-row {
        width: calc(100% - 24px) !important;
        margin-top: 16px !important;
        margin-bottom: 38px !important;
        padding: 14px !important;
        border-radius: 22px !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    html body.pog24-design-v035.home :where(.pog24-main-latest, .pog24-main-hero, .pog24-main-side, .pog24-main-popular, .pog24-gap-news) {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    html body.pog24-design-v035.home .pog24-main-hero {
        order: -2;
    }

    html body.pog24-design-v035.home .pog24-main-latest {
        order: -1;
    }

    html body.pog24-design-v035.home .pog24-main-hero .td_module_flex_2,
    html body.pog24-design-v035.home .pog24-main-hero .td-module-container,
    html body.pog24-design-v035.home .pog24-main-hero .td-image-container,
    html body.pog24-design-v035.home .pog24-main-hero .td-module-thumb,
    html body.pog24-design-v035.home .pog24-main-hero .td-image-wrap {
        height: 440px !important;
    }

    html body.pog24-design-v035.home .pog24-main-hero .td-module-meta-info {
        padding: 22px !important;
    }

    html body.pog24-design-v035.home .pog24-main-hero .entry-title,
    html body.pog24-design-v035.home .pog24-main-hero .entry-title a {
        font-size: clamp(25px, 7.6vw, 33px) !important;
    }

    html body.pog24-design-v035.home .pog24-main-hero .td-excerpt,
    html body.pog24-design-v035.home .pog24-main-hero .td-excerpt p {
        display: -webkit-box !important;
        overflow: hidden;
        font-size: 14px !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    html body.pog24-design-v035.home .pog24-main-latest .td_module_wrap:nth-of-type(n+4),
    html body.pog24-design-v035.home .pog24-main-popular .td_module_wrap:nth-of-type(n+5) {
        display: none !important;
    }

    html body.pog24-design-v035.home .pog24-main-latest .td-module-container {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    html body.pog24-design-v035.home .pog24-main-latest .td-image-container,
    html body.pog24-design-v035.home .pog24-main-latest .td-module-thumb,
    html body.pog24-design-v035.home .pog24-main-latest .td-image-wrap,
    html body.pog24-design-v035.home .pog24-main-latest .entry-thumb {
        width: 82px !important;
        height: 78px !important;
    }

    html body.pog24-design-v035.home .pog24-gap-news {
        display: block !important;
        margin-top: 0 !important;
        padding: 12px !important;
        border-radius: 18px !important;
    }

    html body.pog24-design-v035.home .pog24-gap-news__grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body.pog24-design-v035.home .pog24-gap-widget {
        min-height: 0 !important;
    }

    html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-technology, .pog24-section-more, .pog24-section-exclusive, .pog24-section-latest) {
        width: calc(100% - 24px) !important;
        margin-bottom: 34px !important;
        padding: 48px 14px 18px !important;
        border-radius: 21px !important;
    }

    html body.pog24-design-v035.home .pog24-section-technology {
        padding-top: 18px !important;
    }

    html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) .absolute_inner_full {
        left: 14px !important;
    }

    html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) .absolute_inner_full .tdm-title,
    html body.pog24-design-v035.home :where(.pog24-section-breaking, .pog24-section-exclusive) .absolute_inner_full .tdm-title-sm {
        padding: 11px 14px !important;
        font-size: 16px !important;
    }

    html body.pog24-design-v035 .td-footer-template-wrap {
        padding: 34px 18px 16px !important;
    }

    html body.pog24-design-v035 .td-footer-template-wrap :where(.vc_row, .vc_row_inner) {
        width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    html body.pog24-design-v035 .td-footer-template-wrap .tdb-logo-img {
        max-width: 74px !important;
        height: 60px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.pog24-design-v035 *,
    html body.pog24-design-v035 *::before,
    html body.pog24-design-v035 *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
