:root {
    --site-bg: #f3f6f8;
    --surface: #ffffff;
    --surface-soft: #edf3f6;
    --text: #132f42;
    --muted: #647786;
    --primary: #064a6b;
    --primary-deep: #06344d;
    --primary-bright: #0f739d;
    --accent: #f59e0b;
    --accent-soft: #fff4d8;
    --coral: #ef5b45;
    --border: #dbe4e9;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(6, 52, 77, .11);
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: var(--font-body);
}

.theme-modern-modular {
    background: var(--site-bg);
    color: var(--text);
}

.theme-modern-modular.drawer-open,
.theme-modern-modular.search-open {
    overflow: hidden;
}

.theme-modern-modular .site-container {
    width: min(1180px, calc(100% - 48px));
}

.portal-header {
    position: relative;
    z-index: 700;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .98);
}

.portal-utility {
    min-height: 34px;
    background: var(--primary-deep);
    color: rgba(255, 255, 255, .76);
    font-size: .72rem;
}

.portal-utility-inner {
    min-height: 34px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.portal-utility-inner > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.portal-network {
    justify-self: center;
    color: #fff;
    font-weight: 700;
}

.portal-utility-inner > div {
    display: flex;
    justify-self: end;
    gap: 18px;
}

.portal-utility a:hover {
    color: #fff;
}

.portal-masthead {
    min-height: 84px;
    display: grid;
    grid-template-columns: auto auto minmax(280px, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.portal-icon-button,
.drawer-close {
    width: 44px;
    height: 44px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--primary);
    font-size: 1.55rem;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.portal-icon-button:hover,
.drawer-close:hover {
    background: var(--surface-soft);
    color: var(--primary-bright);
}

.portal-icon-button:active,
.drawer-close:active {
    transform: scale(.94);
}

.portal-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.portal-brand:hover {
    color: inherit;
}

.portal-brand-mark {
    width: 46px;
    height: 46px;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 16px 4px 16px 4px;
    background: linear-gradient(145deg, var(--accent), #f47721);
    box-shadow: 0 9px 20px rgba(245, 158, 11, .26);
    color: #fff;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
}

.portal-brand-copy {
    min-width: 0;
}

.portal-brand-copy strong,
.portal-brand-copy small {
    display: block;
}

.portal-brand-copy strong {
    color: var(--primary);
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: -.055em;
    line-height: 1;
}

.portal-brand-copy small {
    max-width: 190px;
    overflow: hidden;
    margin-top: 5px;
    color: var(--muted);
    font-size: .59rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-brand-logo {
    max-width: 230px;
    max-height: 58px;
    object-fit: contain;
}

.portal-desktop-search {
    width: min(460px, 100%);
    justify-self: end;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #f8fafb;
    padding-left: 16px;
}

.portal-desktop-search:focus-within {
    border-color: var(--primary-bright);
    box-shadow: 0 0 0 4px rgba(15, 115, 157, .1);
}

.portal-desktop-search > i {
    color: var(--muted);
}

.portal-desktop-search input {
    min-width: 0;
    height: 44px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: .82rem;
}

.portal-desktop-search button {
    height: 40px;
    margin-right: 3px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    padding-inline: 18px;
    font-size: .75rem;
    font-weight: 800;
}

.portal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-trigger {
    display: none;
}

.portal-live-button {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #efcaca;
    border-radius: 999px;
    background: #fff7f7;
    color: #c83030;
    padding: 0 13px;
    font-size: .72rem;
    letter-spacing: .04em;
}

.portal-live-button > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e23d3d;
    box-shadow: 0 0 0 5px rgba(226, 61, 61, .1);
}

.portal-live-button:hover {
    border-color: #e23d3d;
    color: #a51e1e;
}

.portal-category-nav {
    border-top: 1px solid var(--border);
    background: #fff;
}

.portal-category-scroll,
.portal-discovery-scroll {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.portal-category-scroll::-webkit-scrollbar,
.portal-discovery-scroll::-webkit-scrollbar,
.portal-reels::-webkit-scrollbar,
.portal-region-track::-webkit-scrollbar,
.portal-recommendation-grid::-webkit-scrollbar {
    display: none;
}

.portal-category-scroll {
    gap: 29px;
}

.portal-category-scroll a {
    position: relative;
    flex: 0 0 auto;
    padding: 14px 1px 13px;
    color: #26495f;
    font-size: .82rem;
    font-weight: 800;
}

.portal-category-scroll a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--accent);
    content: "";
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .18s ease, transform .18s ease;
}

.portal-category-scroll a:hover,
.portal-category-scroll a.active {
    color: var(--primary);
}

.portal-category-scroll a:hover::after,
.portal-category-scroll a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.portal-discovery-nav {
    border-top: 1px solid #e7edf0;
    background: #f7fafb;
}

.portal-discovery-scroll {
    gap: 28px;
}

.portal-discovery-scroll a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-block: 10px;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 750;
}

.portal-discovery-scroll a:first-child,
.portal-discovery-scroll a:hover {
    color: var(--coral);
}

.portal-search-panel {
    position: absolute;
    z-index: 20;
    top: 118px;
    right: 0;
    left: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 18px 35px rgba(6, 52, 77, .12);
    padding-block: 22px;
}

.portal-search-panel[hidden] {
    display: none;
}

.portal-search-panel form {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding-left: 15px;
}

.portal-search-panel input {
    min-width: 0;
    height: 48px;
    border: 0;
    outline: 0;
}

.portal-search-panel button {
    align-self: stretch;
    border: 0;
    border-radius: 0 13px 13px 0;
    background: var(--primary);
    color: #fff;
    padding-inline: 24px;
    font-weight: 800;
}

.search-trends {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 14px;
    margin-top: 13px;
    color: var(--muted);
    font-size: .72rem;
}

.search-trends span {
    font-weight: 800;
}

.search-trends a {
    color: var(--primary-bright);
}

.portal-drawer-backdrop {
    position: fixed;
    z-index: 980;
    inset: 0;
    background: rgba(5, 25, 38, .62);
    backdrop-filter: blur(3px);
}

.portal-drawer-backdrop[hidden] {
    display: none;
}

.portal-drawer {
    position: fixed;
    z-index: 990;
    inset: 0 auto 0 0;
    width: min(620px, 92vw);
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 22px 0 60px rgba(0, 25, 40, .26);
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, visibility 0s linear .24s;
}

.drawer-open .portal-drawer {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.drawer-header {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    padding: 15px 24px;
}

.portal-brand.compact .portal-brand-mark {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
}

.portal-brand.compact .portal-brand-copy strong {
    font-size: 1.35rem;
}

.drawer-scroll {
    min-height: 0;
    overflow-y: auto;
    padding: 22px 24px 42px;
}

.drawer-account {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid #d7e7ed;
    border-radius: 16px;
    background: #eff8fa;
    padding: 13px;
}

.drawer-account > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
}

.drawer-account small,
.drawer-account strong {
    display: block;
}

.drawer-account small {
    color: var(--muted);
    font-size: .66rem;
}

.drawer-account strong {
    margin-top: 2px;
    font-size: .82rem;
}

.drawer-account > i {
    color: var(--primary);
}

.drawer-quick {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.drawer-quick a {
    display: grid;
    place-items: center;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fff;
    padding: 14px 8px;
    color: #375667;
    font-size: .67rem;
    font-weight: 750;
    text-align: center;
}

.drawer-quick i {
    color: var(--primary-bright);
    font-size: 1.15rem;
}

.drawer-quick a:hover {
    border-color: var(--primary-bright);
    color: var(--primary);
}

.drawer-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.drawer-section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}

.drawer-section-title span {
    font-size: .96rem;
    font-weight: 900;
}

.drawer-section-title small {
    color: var(--muted);
    font-size: .65rem;
}

.drawer-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 16px;
}

.drawer-channel-grid a {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #3c5665;
    font-size: .76rem;
    font-weight: 750;
}

.drawer-channel-grid a > span {
    width: 32px;
    height: 32px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--channel-color) 14%, white);
    color: var(--channel-color);
}

.drawer-channel-grid a:hover {
    color: var(--primary-bright);
}

.drawer-region-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
}

.drawer-region-grid a {
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 9px;
    background: #f5f8f9;
    color: #466271;
    padding: 9px 10px;
    font-size: .72rem;
    font-weight: 750;
}

.drawer-region-grid i {
    color: var(--coral);
}

.drawer-information > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.drawer-information a {
    border-radius: 999px;
    background: #f1f5f7;
    color: var(--muted);
    padding: 7px 11px;
    font-size: .68rem;
    font-weight: 700;
}

.portal-top-ad {
    padding-block: 18px 14px;
}

.portal-top-ad .ad-unit {
    width: min(970px, 100%);
    min-height: 76px;
    margin-inline: auto;
    border-radius: 12px;
}

.portal-top-ad .ad-placeholder strong {
    font-size: 1rem;
}

.portal-breaking {
    min-height: 48px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    border: 1px solid #f1dcb4;
    border-radius: 13px;
    background: #fffaf0;
}

.portal-breaking > span {
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    padding-inline: 16px;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portal-breaking > a {
    min-width: 0;
    overflow: hidden;
    font-size: .82rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-breaking time {
    color: var(--muted);
    font-size: .7rem;
}

.portal-breaking > i {
    margin-right: 10px;
    color: var(--accent);
}

.portal-home-hero {
    padding-block: 18px 28px;
}

.portal-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(420px, .85fr);
    gap: 14px;
}

.portal-lead-story,
.portal-overlay-card {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--primary-deep);
}

.portal-lead-story > a,
.portal-overlay-card > a {
    position: relative;
    height: 100%;
    display: block;
    overflow: hidden;
}

.portal-lead-story > a {
    min-height: 510px;
}

.portal-lead-story img,
.portal-overlay-card img,
.portal-reel-card img,
.portal-photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .32s ease;
}

.portal-lead-story:hover img,
.portal-overlay-card:hover img,
.portal-reel-card:hover img,
.portal-photo-grid article:hover img {
    transform: scale(1.035);
}

.portal-image-fallback {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--primary), var(--primary-bright));
    color: rgba(255, 255, 255, .7);
    font-size: 2.4rem;
}

.portal-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 25, 38, .02) 24%, rgba(3, 25, 38, .24) 54%, rgba(3, 25, 38, .96) 100%);
}

.portal-lead-copy {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: clamp(25px, 4vw, 42px);
}

.portal-channel-pill {
    display: inline-flex;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    padding: 5px 10px;
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.portal-lead-copy h1 {
    max-width: 750px;
    margin: 12px 0 9px;
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    line-height: 1.08;
}

.portal-lead-copy p {
    max-width: 720px;
    margin: 0 0 15px;
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
}

.portal-story-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    color: var(--muted);
    font-size: .68rem;
}

.portal-lead-copy .portal-story-meta {
    color: rgba(255, 255, 255, .74);
}

.portal-lead-copy .portal-story-meta span:first-child {
    color: #fff;
    font-weight: 800;
}

.portal-hero-secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.portal-overlay-card > a {
    min-height: 248px;
}

.portal-overlay-card > a > div:last-child {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 18px;
}

.portal-overlay-card > a > div > span {
    color: #ffcb6d;
    font-size: .61rem;
    font-weight: 850;
    text-transform: uppercase;
}

.portal-overlay-card h2 {
    margin: 5px 0 7px;
    font-size: .94rem;
    line-height: 1.3;
}

.portal-overlay-card time {
    color: rgba(255, 255, 255, .7);
    font-size: .62rem;
}

.portal-media-icon {
    position: absolute;
    z-index: 3;
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--primary);
}

.portal-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.portal-section-heading h2 {
    position: relative;
    margin: 3px 0 0;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.15;
}

.portal-section-heading h2::after {
    width: 38px;
    height: 4px;
    display: block;
    border-radius: 99px;
    background: var(--accent);
    content: "";
    margin-top: 9px;
}

.portal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary-bright);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.portal-section-heading > a {
    color: var(--primary);
    font-size: .72rem;
    font-weight: 850;
}

.portal-section-heading.light,
.portal-section-heading.light .portal-eyebrow,
.portal-section-heading.light > a {
    color: #fff;
}

.portal-section-heading.light h2::after {
    background: #5de0dd;
}

.portal-visual-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 10%, rgba(21, 168, 164, .32), transparent 26%),
        radial-gradient(circle at 90% 90%, rgba(245, 158, 11, .2), transparent 25%),
        var(--primary-deep);
    color: #fff;
    padding-block: 34px 40px;
}

.portal-reels {
    display: grid;
    grid-auto-columns: minmax(150px, 1fr);
    grid-auto-flow: column;
    gap: 13px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.portal-reel-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: #0a3448;
    scroll-snap-align: start;
}

.portal-reel-card > a {
    position: relative;
    height: 310px;
    display: block;
    overflow: hidden;
}

.portal-reel-card .portal-card-gradient {
    background: linear-gradient(180deg, rgba(0, 0, 0, .02) 20%, rgba(1, 16, 26, .18) 45%, rgba(1, 16, 26, .98) 100%);
}

.portal-reel-play {
    position: absolute;
    z-index: 2;
    top: 13px;
    right: 13px;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 1.15rem;
}

.portal-reel-card > a > div {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px;
}

.portal-reel-card small {
    color: #6fe4df;
    font-size: .58rem;
    font-weight: 850;
    text-transform: uppercase;
}

.portal-reel-card h3 {
    margin: 5px 0 8px;
    font-size: .8rem;
    line-height: 1.3;
}

.portal-reel-card > a > div > span {
    color: rgba(255, 255, 255, .63);
    font-size: .58rem;
}

.portal-news-section {
    padding-block: 46px 58px;
}

.portal-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 36px;
    align-items: start;
}

.portal-feed {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.portal-feed-card {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 19px;
    padding: 18px;
    border-bottom: 1px solid var(--border);
}

.portal-feed-card:last-child {
    border-bottom: 0;
}

.portal-feed-image {
    position: relative;
    min-height: 154px;
    display: block;
    overflow: hidden;
    border-radius: 13px;
    background: var(--surface-soft);
}

.portal-feed-image img,
.portal-channel-lead-image img,
.portal-channel-list img,
.portal-region-image img,
.portal-recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.portal-feed-card:hover .portal-feed-image img,
.portal-channel-lead:hover img,
.portal-channel-list article:hover img,
.portal-region-track article:hover img,
.portal-recommendation-grid article:hover img {
    transform: scale(1.03);
}

.portal-feed-type {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: rgba(5, 36, 54, .9);
    color: #fff;
    padding: 5px 8px;
    font-size: .58rem;
    font-weight: 800;
}

.portal-feed-category {
    color: var(--primary-bright);
    font-size: .65rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portal-feed-card h3 {
    margin: 7px 0 8px;
    font-size: 1.16rem;
    line-height: 1.35;
}

.portal-feed-card h3 a:hover {
    color: var(--primary-bright);
}

.portal-feed-card p {
    margin: 0 0 13px;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.55;
}

.portal-feed-ad {
    padding: 17px;
    border-bottom: 1px solid var(--border);
    background: #f8fafb;
}

.portal-inline-ad {
    min-height: 82px;
    border-radius: 10px;
}

.portal-home-sidebar {
    display: grid;
    gap: 20px;
}

.portal-sidebar-ad .ad-unit {
    min-height: 250px;
}

.portal-popular-panel,
.portal-topic-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.portal-mini-heading {
    border-bottom: 1px solid var(--border);
    padding: 18px 19px 14px;
}

.portal-mini-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--coral);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.portal-mini-heading h2 {
    margin: 4px 0 0;
    font-size: 1.22rem;
}

.portal-popular-panel ol {
    margin: 0;
    padding: 0 19px;
    list-style: none;
}

.portal-popular-panel li {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 11px;
    padding-block: 15px;
    border-bottom: 1px solid var(--border);
}

.portal-popular-panel li > span {
    color: var(--accent);
    font-size: 1.65rem;
    font-weight: 950;
    line-height: 1;
}

.portal-popular-panel li small,
.portal-popular-panel li time {
    display: block;
    color: var(--muted);
    font-size: .58rem;
}

.portal-popular-panel li a {
    display: block;
    margin-block: 3px 6px;
    font-size: .78rem;
    font-weight: 850;
    line-height: 1.38;
}

.portal-panel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary-bright);
    padding: 14px 19px;
    font-size: .7rem;
    font-weight: 850;
}

.portal-topic-panel > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 18px 20px;
}

.portal-topic-panel a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #f8fafb;
    padding: 6px 9px;
    color: #3f5d6d;
    font-size: .65rem;
    font-weight: 750;
}

.portal-topic-panel b {
    color: var(--coral);
}

.portal-topic-panel small {
    border-radius: 999px;
    background: #e5eef2;
    padding: 1px 5px;
    font-size: .52rem;
}

.portal-channels-section {
    border-top: 1px solid var(--border);
    background: #fff;
    padding-block: 52px 66px;
}

.portal-channel-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.portal-channel-panel {
    min-width: 0;
    border: 1px solid var(--border);
    border-top: 4px solid var(--channel-accent);
    border-radius: 16px;
    background: #fff;
    padding: 20px;
}

.portal-channel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 17px;
}

.portal-channel-header > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-channel-header > div > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: color-mix(in srgb, var(--channel-accent) 14%, white);
    color: var(--channel-accent);
}

.portal-channel-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.portal-channel-header > a {
    color: var(--channel-accent);
    font-size: .65rem;
    font-weight: 850;
}

.portal-channel-lead {
    display: grid;
    grid-template-columns: 48% minmax(0, 1fr);
    gap: 15px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--border);
}

.portal-channel-lead-image {
    min-height: 158px;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface-soft);
}

.portal-channel-lead h3 {
    margin: 2px 0 8px;
    font-size: 1rem;
    line-height: 1.35;
}

.portal-channel-lead p {
    margin: 0 0 9px;
    color: var(--muted);
    font-size: .7rem;
    line-height: 1.5;
}

.portal-channel-lead time,
.portal-channel-list time,
.portal-region-track time,
.portal-recommendation-grid time {
    color: var(--muted);
    font-size: .6rem;
}

.portal-channel-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 15px;
    padding-top: 16px;
}

.portal-channel-list article {
    min-width: 0;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
}

.portal-channel-list article > a {
    height: 67px;
    display: block;
    overflow: hidden;
    border-radius: 9px;
    background: var(--surface-soft);
}

.portal-channel-list h3 {
    margin: 0 0 5px;
    font-size: .72rem;
    line-height: 1.35;
}

.portal-photo-section {
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15, 115, 157, .17), transparent 45%),
        #071f30;
    color: #fff;
    padding-block: 50px 62px;
}

.portal-photo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, .65fr));
    grid-template-rows: repeat(2, 215px);
    gap: 12px;
}

.portal-photo-grid article {
    min-width: 0;
    overflow: hidden;
    border-radius: 15px;
}

.portal-photo-grid article > a {
    position: relative;
    height: 100%;
    display: block;
}

.portal-photo-grid .portal-photo-lead {
    grid-row: 1 / 3;
}

.portal-photo-grid article > a > div {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 18px;
}

.portal-photo-grid small {
    color: #6fe4df;
    font-size: .6rem;
    font-weight: 850;
    text-transform: uppercase;
}

.portal-photo-grid h3 {
    margin: 5px 0 0;
    font-size: .86rem;
    line-height: 1.3;
}

.portal-photo-lead h3 {
    font-size: 1.5rem;
}

.portal-photo-count {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: rgba(3, 25, 38, .82);
    padding: 5px 8px;
    font-size: .58rem;
    font-weight: 800;
}

.portal-region-section {
    padding-block: 52px 58px;
}

.portal-region-track {
    display: grid;
    grid-auto-columns: minmax(230px, 1fr);
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.portal-region-track article {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
    padding: 10px;
    scroll-snap-align: start;
}

.portal-region-image {
    position: relative;
    height: 145px;
    display: block;
    overflow: hidden;
    border-radius: 11px;
    background: var(--surface-soft);
}

.portal-region-image > span:last-child {
    position: absolute;
    z-index: 2;
    bottom: 8px;
    left: 8px;
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    padding: 4px 8px;
    font-size: .57rem;
    font-weight: 850;
}

.portal-region-track h3 {
    margin: 11px 3px 7px;
    font-size: .8rem;
    line-height: 1.35;
}

.portal-region-track time {
    display: block;
    margin: 0 3px 4px;
}

.portal-recommendation-section {
    border-top: 1px solid var(--border);
    background: #fff;
    padding-block: 52px 68px;
}

.portal-recommendation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.portal-recommendation-grid article {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
}

.portal-recommendation-image {
    height: 150px;
    display: block;
    overflow: hidden;
    background: var(--surface-soft);
}

.portal-recommendation-grid article > div {
    padding: 13px;
}

.portal-recommendation-grid small {
    color: var(--primary-bright);
    font-size: .6rem;
    font-weight: 850;
    text-transform: uppercase;
}

.portal-recommendation-grid h3 {
    margin: 6px 0 9px;
    font-size: .82rem;
    line-height: 1.38;
}

.portal-footer {
    background: #052d43;
    color: rgba(255, 255, 255, .72);
    padding: 52px 0 20px;
}

.portal-footer-main {
    display: grid;
    grid-template-columns: 1.65fr repeat(3, 1fr);
    gap: 45px;
}

.portal-brand.footer .portal-brand-copy strong {
    color: #fff;
}

.portal-brand.footer .portal-brand-copy small {
    color: rgba(255, 255, 255, .56);
}

.portal-footer-about p {
    max-width: 390px;
    margin: 18px 0;
    font-size: .77rem;
}

.portal-socials {
    display: flex;
    gap: 8px;
}

.portal-socials span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    color: #fff;
}

.portal-footer h2 {
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
}

.portal-footer-links {
    display: grid;
    gap: 8px;
}

.portal-footer-links a {
    font-size: .72rem;
}

.portal-footer-links a:hover {
    color: #6fe4df;
}

.portal-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 42px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    font-size: .66rem;
}

.portal-mobile-ad-shell {
    display: none;
}

.portal-mobile-ad-shell[hidden] {
    display: none !important;
}

.theme-modern-modular .listing-hero {
    background: linear-gradient(135deg, #e6f3f7, #fff7e4);
}

.theme-modern-modular .listing-hero h1 {
    color: var(--primary);
}

.theme-modern-modular .listing-section {
    padding-top: 30px;
}

.theme-modern-modular .listing-card,
.theme-modern-modular .article-main,
.theme-modern-modular .sidebar-popular {
    background: #fff;
}

.theme-modern-modular .article-page {
    padding-top: 36px;
}

.theme-modern-modular .article-main {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: clamp(24px, 4vw, 44px);
}

.theme-modern-modular .article-main > h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.8rem);
}

.theme-modern-modular .article-content {
    color: #243b48;
}

@media (max-width: 1080px) {
    .portal-masthead {
        grid-template-columns: auto auto minmax(220px, 1fr) auto;
    }

    .portal-brand-copy small {
        display: none;
    }

    .portal-hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
    }

    .portal-lead-story > a {
        min-height: 470px;
    }

    .portal-overlay-card > a {
        min-height: 228px;
    }

    .portal-news-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 24px;
    }

    .portal-feed-card {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .portal-feed-card p {
        display: none;
    }

    .portal-channel-lead {
        display: block;
    }

    .portal-channel-lead-image {
        height: 190px;
        margin-bottom: 12px;
    }

    .portal-channel-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal-recommendation-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .theme-modern-modular .site-container {
        width: min(100% - 32px, 1180px);
    }

    .portal-utility {
        display: none;
    }

    .portal-header {
        position: sticky;
        top: 0;
        box-shadow: 0 7px 22px rgba(6, 52, 77, .07);
    }

    .portal-masthead {
        min-height: 72px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 9px;
    }

    .portal-desktop-search {
        display: none;
    }

    .search-trigger {
        display: grid;
    }

    .portal-search-panel {
        top: 72px;
    }

    .portal-brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 14px 4px 14px 4px;
        font-size: 1.35rem;
    }

    .portal-brand-copy strong {
        font-size: 1.42rem;
    }

    .portal-category-scroll {
        gap: 24px;
    }

    .portal-discovery-scroll {
        gap: 23px;
    }

    .portal-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal-lead-story > a {
        min-height: 520px;
    }

    .portal-hero-secondary {
        grid-template-columns: repeat(4, minmax(235px, 1fr));
        grid-template-rows: auto;
        overflow-x: auto;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    .portal-overlay-card {
        scroll-snap-align: start;
    }

    .portal-overlay-card > a {
        min-height: 190px;
    }

    .portal-reels {
        grid-auto-columns: minmax(145px, 30vw);
    }

    .portal-news-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal-home-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .portal-sidebar-ad {
        display: none;
    }

    .portal-channel-panels {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal-channel-lead {
        display: grid;
    }

    .portal-channel-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 360px repeat(2, 190px);
    }

    .portal-photo-grid .portal-photo-lead {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .portal-recommendation-grid {
        display: grid;
        grid-auto-columns: minmax(220px, 45vw);
        grid-auto-flow: column;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    .portal-recommendation-grid article {
        scroll-snap-align: start;
    }

    .portal-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .theme-modern-modular {
        padding-bottom: 68px;
    }

    .theme-modern-modular .site-container {
        width: calc(100% - 24px);
    }

    .portal-masthead {
        gap: 5px;
    }

    .portal-icon-button {
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }

    .portal-brand {
        gap: 7px;
    }

    .portal-brand-mark {
        width: 39px;
        height: 39px;
        border-radius: 13px 3px 13px 3px;
        font-size: 1.2rem;
    }

    .portal-brand-copy strong {
        max-width: 142px;
        overflow: hidden;
        font-size: 1.25rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .portal-actions {
        gap: 2px;
    }

    .portal-live-button {
        min-height: 36px;
        padding-inline: 9px;
    }

    .portal-live-button i {
        display: none;
    }

    .portal-category-scroll a {
        padding-block: 12px;
        font-size: .77rem;
    }

    .portal-discovery-scroll a {
        padding-block: 9px;
        font-size: .69rem;
    }

    .portal-search-panel {
        padding-block: 14px 17px;
    }

    .portal-search-panel button {
        padding-inline: 17px;
    }

    .search-trends {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
    }

    .portal-drawer {
        width: min(94vw, 430px);
    }

    .drawer-header,
    .drawer-scroll {
        padding-inline: 17px;
    }

    .drawer-quick {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .drawer-quick a {
        padding-inline: 4px;
        font-size: .6rem;
    }

    .drawer-channel-grid,
    .drawer-region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-top-ad {
        padding-block: 10px;
    }

    .portal-top-ad .ad-unit {
        min-height: 62px;
    }

    .portal-top-ad .ad-placeholder small {
        display: none;
    }

    .portal-breaking {
        grid-template-columns: auto minmax(0, 1fr) 13px;
        gap: 9px;
        min-height: 45px;
    }

    .portal-breaking > span {
        padding-inline: 10px;
        font-size: .58rem;
    }

    .portal-breaking time {
        display: none;
    }

    .portal-breaking > a {
        font-size: .72rem;
    }

    .portal-home-hero {
        padding-block: 12px 22px;
    }

    .portal-lead-story {
        border-radius: 16px;
    }

    .portal-lead-story > a {
        min-height: 465px;
    }

    .portal-lead-copy {
        padding: 21px;
    }

    .portal-lead-copy h1 {
        font-size: 1.85rem;
    }

    .portal-lead-copy p {
        display: none;
    }

    .portal-lead-copy .portal-story-meta span:last-child {
        display: none;
    }

    .portal-hero-secondary {
        grid-template-columns: repeat(4, minmax(215px, 78vw));
        gap: 10px;
    }

    .portal-overlay-card > a {
        min-height: 175px;
    }

    .portal-overlay-card h2 {
        font-size: .86rem;
    }

    .portal-section-heading {
        align-items: center;
        margin-bottom: 16px;
    }

    .portal-section-heading h2 {
        font-size: 1.42rem;
    }

    .portal-section-heading > a {
        font-size: .64rem;
    }

    .portal-visual-section {
        padding-block: 29px 34px;
    }

    .portal-reels {
        grid-auto-columns: minmax(145px, 47vw);
        gap: 10px;
    }

    .portal-reel-card > a {
        height: 280px;
    }

    .portal-news-section {
        padding-block: 34px 42px;
    }

    .portal-feed-card {
        grid-template-columns: 122px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .portal-feed-image {
        min-height: 100px;
    }

    .portal-feed-card h3 {
        margin-block: 5px 8px;
        font-size: .88rem;
    }

    .portal-feed-card .portal-story-meta span:first-child {
        display: none;
    }

    .portal-feed-ad {
        padding: 10px;
    }

    .portal-feed-ad .ad-unit {
        min-height: 70px;
    }

    .portal-home-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal-channels-section {
        padding-block: 39px 48px;
    }

    .portal-channel-panel {
        padding: 16px;
    }

    .portal-channel-header > a {
        font-size: .6rem;
    }

    .portal-channel-lead {
        display: block;
    }

    .portal-channel-lead-image {
        height: 190px;
    }

    .portal-channel-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal-photo-section {
        padding-block: 39px 48px;
    }

    .portal-photo-grid {
        grid-template-rows: 330px repeat(2, 150px);
        gap: 8px;
    }

    .portal-photo-grid article {
        border-radius: 12px;
    }

    .portal-photo-grid article > a > div {
        padding: 12px;
    }

    .portal-photo-grid h3 {
        font-size: .73rem;
    }

    .portal-photo-lead h3 {
        font-size: 1.2rem;
    }

    .portal-photo-count {
        top: 8px;
        right: 8px;
    }

    .portal-region-section,
    .portal-recommendation-section {
        padding-block: 39px 48px;
    }

    .portal-region-track {
        grid-auto-columns: minmax(220px, 76vw);
    }

    .portal-recommendation-grid {
        grid-auto-columns: minmax(210px, 76vw);
    }

    .portal-footer {
        padding-top: 42px;
    }

    .portal-footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .portal-footer-bottom {
        display: grid;
    }

    .portal-mobile-ad-shell {
        position: fixed;
        z-index: 850;
        right: 8px;
        bottom: 8px;
        left: 8px;
        display: block;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 12px 38px rgba(0, 24, 38, .22);
        padding: 3px;
    }

    .portal-mobile-ad-shell > button {
        position: absolute;
        z-index: 3;
        top: -11px;
        right: -3px;
        width: 25px;
        height: 25px;
        display: grid;
        place-items: center;
        border: 1px solid var(--border);
        border-radius: 50%;
        background: #fff;
        color: var(--muted);
        padding: 0;
    }

    .portal-mobile-ad {
        min-height: 52px;
        border: 0;
        border-radius: 9px;
    }

    .portal-mobile-ad .ad-placeholder strong {
        font-size: .88rem;
    }

    .portal-mobile-ad .ad-label {
        top: 4px;
        font-size: .5rem;
    }

    .theme-modern-modular .article-main {
        border-radius: 14px;
        padding: 20px 17px;
    }

    .theme-modern-modular .article-main > h1 {
        font-size: 2rem;
    }

    .theme-modern-modular .listing-hero {
        padding-block: 34px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-drawer {
        transition: none;
    }
}
