/* theme:kinhtedautu family:portal */
:root {
    --theme-key: kinhtedautu;
    --theme-family: portal;
    --color-primary: #e10600;
    --color-secondary: #121212;
    --ink: #17212b;
    --muted: #687482;
    --line: #e6eaee;
    --soft: #f5f7f8;
    --canvas: #f2f4f5;
    --white: #fff;
    --max: 1240px;
    --font-ui: "Segoe UI", system-ui, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font: 15px/1.55 var(--font-ui);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

button {
    font: inherit;
    cursor: pointer;
}

input {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wrap {
    width: min(100% - 1.5rem, var(--max));
    margin-inline: auto;
}

.brandrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
}

.header-tools {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.header-date,
.header-weather {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    margin: 0;
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
}

.header-date::after,
.header-weather::after {
    content: "";
    display: none;
    position: absolute;
    top: 50%;
    right: -18px;
    width: 1px;
    height: 12px;
    transform: translateY(-50%);
    background: #c5ced6;
}

.header-date-weekday,
.header-weather-now {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--ink);
    font-weight: 700;
}

.header-date > span:last-child,
.header-weather-place {
    color: var(--muted);
    font-weight: 500;
}

.header-weather[hidden],
.header-weather [hidden] {
    display: none;
}

.header-weather-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: #e0a100;
}

.header-weather-icon--cold {
    color: #5ba4d6;
}

.header-weather-place {
    max-width: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand img {
    width: auto;
    max-width: 9.5rem;
    height: 36px;
    object-fit: contain;
    object-position: left center;
}

.brand-name {
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -1.2px;
    line-height: 1.1;
}

.brand-tagline,
.footer-brand p {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    padding: 0;
    background: var(--white);
    color: var(--ink);
}

.search-form {
    display: none;
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    right: 0;
    width: min(18rem, calc(100vw - 2rem));
}

.search-form.is-open {
    display: block;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 9px 14px;
    background: var(--white);
    color: var(--muted);
}

.search-field input {
    border: 0;
    outline: 0;
    width: 100%;
    min-width: 0;
    background: transparent;
    color: var(--ink);
    cursor: text;
}

.search-field input:focus {
    outline: 0;
}

.search-field:focus-within {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.search-icon {
    flex: 0 0 auto;
}

.search-spinner {
    display: none;
}

.search-form[aria-busy="true"] .search-spinner {
    display: inline-flex;
    animation: search-spin 0.8s linear infinite;
}

.search-form[aria-busy="true"] .search-icon {
    display: none;
}

@keyframes search-spin {
    to { transform: rotate(360deg); }
}

.search-status {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--muted);
}

.search-results {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    right: 0;
    width: min(320px, 80vw);
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.search-results a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
}

.search-results a:hover,
.search-results a:focus-visible {
    background: var(--soft);
}

.search-results img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.nav:has(.nav-toggle:checked) {
    z-index: 80;
}

.nav-bar {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.nav-toggle:focus-visible + .nav-open {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.nav-backdrop,
.nav-drawer-head,
.nav-branch,
.nav-branch-toggle {
    display: none;
}

.nav-branch svg,
.nav-drawer-close svg {
    display: block;
}

.nav-panel {
    min-width: 0;
}

.nav-list,
.nav-list ul,
.footer-nav,
.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 0;
    white-space: normal;
}

.nav-list a[aria-current="page"] {
    color: var(--color-primary);
}

body:has(#site-nav-toggle:checked) {
    overflow: hidden;
}

.nav-open {
    display: inline-flex;
}

.nav-backdrop {
    display: block;
    position: fixed;
    z-index: 1;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(17, 24, 39, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 220ms ease;
}

.nav-toggle:checked ~ .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(22rem, 100%);
    margin: 0;
    background: var(--white);
    overflow: auto;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 240ms ease, visibility 240ms;
}

.nav-toggle:checked ~ .nav-panel {
    transform: none;
    visibility: visible;
    pointer-events: auto;
}

.nav-drawer-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    align-items: center;
    min-height: 3.4rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.nav-drawer-close,
.nav-branch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--ink);
}

.nav-drawer-close:focus-visible,
.nav-branch:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.nav-drawer-logo {
    justify-self: center;
    min-width: 0;
    font-weight: 800;
}

.nav-drawer-logo img {
    width: auto;
    height: 32px;
    max-width: 9rem;
    object-fit: contain;
}

.nav-branch-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-panel .nav-list {
    display: flex;
    flex-direction: column;
    padding: 0 16px 24px;
}

.nav-panel .nav-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.nav-panel .nav-list li > a {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
}

.nav-panel .nav-list li:has(> .nav-branch) > a {
    grid-column: 1;
}

.nav-panel .nav-branch {
    grid-column: 2;
    grid-row: 1;
}

.nav-branch svg {
    transition: transform 180ms ease;
}

.nav-branch-toggle:checked + .nav-branch svg {
    transform: rotate(180deg);
}

.nav-panel .nav-list li > ul {
    display: none;
    position: static;
    grid-column: 1 / -1;
    width: auto;
    margin: 0;
    padding: 0 0 8px 12px;
    border: 0;
    background: transparent;
}

.nav-panel .nav-branch-toggle:checked ~ ul {
    display: block;
}

.nav-panel .nav-list li > ul a {
    padding: 10px 4px;
    font-size: 15px;
    font-weight: 600;
}

.header-banner,
.banner-wrap,
.footer-banner {
    padding-top: 12px;
}

.page-shell {
    padding: 24px 0 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.story {
    min-width: 0;
}

.story-media {
    display: block;
    background: #243644;
    line-height: 0;
}

.story-media img,
.thumb-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-fallback {
    display: block;
    background: #d5dde3;
}

.kicker {
    display: inline-block;
    background: var(--color-primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.4px;
}

.story-title {
    margin: 0;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
}

.story-summary {
    margin: 0;
    color: var(--muted);
}

.meta {
    margin: 0;
    font-size: 11px;
    color: var(--muted);
}

.story--hero {
    position: relative;
    min-height: 280px;
    border-radius: 10px;
    overflow: hidden;
    color: var(--white);
}

.story--hero .story-media {
    position: absolute;
    inset: 0;
}

.story--hero .story-media img,
.story--hero .thumb-fallback {
    position: absolute;
    inset: 0;
}

.story--hero::after {
    content: "";
    position: absolute;
    inset: 25% 0 0;
    background: linear-gradient(transparent, #000c);
}

.story--hero .story-body {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 23px;
}

.story--hero .story-title {
    font-size: 22px;
    line-height: 1.25;
    margin: 10px 0;
}

.story--hero .story-summary {
    color: #e7edf0;
    font-size: 13px;
}

.story--hero .meta {
    color: #e1e7e9;
    margin-top: 10px;
}

.side-stories {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.story--mini {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line);
}

.side-stories .story--mini:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.story--mini .story-media,
.story--mini .story-media img,
.story--mini .thumb-fallback {
    width: 112px;
    height: 83px;
    border-radius: 7px;
}

.story--mini .kicker {
    display: none;
}

.story--mini .story-title {
    font-size: 14px;
    line-height: 1.35;
    margin: 1px 0 5px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 15px;
    border-left: 4px solid var(--color-primary);
    padding-left: 11px;
}

.section-head h2 {
    margin: 0;
    min-width: 0;
    font-size: 20px;
    letter-spacing: -0.4px;
}

.section-head h2 a {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.highlight-block,
.news-section,
.home-columns {
    margin-bottom: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
}

.story--card .story-media,
.story--card .story-media img,
.story--card .thumb-fallback {
    aspect-ratio: 1.5;
    border-radius: 8px;
}

.story--card .story-body {
    padding-top: 9px;
}

.story--card .story-title {
    font-size: 14px;
    line-height: 1.4;
    margin: 8px 0 5px;
}

.story--card .story-summary {
    display: none;
}

.story--card .meta {
    margin-top: 6px;
}

.home-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.story--row,
.story--listing {
    display: flex;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.story--row:first-child,
.story--listing:first-child {
    padding-top: 0;
}

.story--row .story-media,
.story--row .story-media img,
.story--row .thumb-fallback {
    width: 112px;
    height: 82px;
    flex: 0 0 auto;
    border-radius: 7px;
}

.story--row .kicker,
.story--row .story-summary {
    display: none;
}

.news-section .story--row .story-summary {
    display: block;
    font-size: 12px;
}

.story--row .story-title,
.story--listing .story-title {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 5px;
}

.story--listing .story-media,
.story--listing .story-media img,
.story--listing .thumb-fallback {
    width: 112px;
    height: 88px;
    flex: 0 0 auto;
    border-radius: 7px;
}

.story--listing .story-title {
    font-size: 15px;
}

.story--listing .story-summary {
    display: none;
    font-size: 13px;
    line-height: 1.55;
}

.news-section--stack > .story--listing .story-media,
.news-section--stack > .story--listing .story-media img,
.news-section--stack > .story--listing .thumb-fallback {
    width: 120px;
    height: 90px;
}

.news-section--stack > .story--listing .kicker {
    display: none;
}

.news-section--stack > .story--listing .story-title {
    font-size: 15px;
    line-height: 1.35;
}

.block-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px 16px;
}

.block-grid > .story {
    min-width: 0;
}

.block-grid .story-media img,
.block-grid .thumb-fallback {
    aspect-ratio: 16 / 9;
}

.block-grid .kicker {
    display: none;
}

.block-grid .story-title {
    margin-top: 0;
}

.block-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.block-feature > .story--listing {
    display: block;
    border: 0;
    padding: 0;
}

.block-feature > .story--listing .story-media,
.block-feature > .story--listing .story-media img,
.block-feature > .story--listing .thumb-fallback {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.block-feature > .story--listing .story-body {
    padding-top: 12px;
}

.block-feature > .story--listing .story-summary,
.block-mosaic > .story--listing .story-summary,
.block-index-wrap > .story--listing .story-summary {
    display: block;
}

.block-feature-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
}

.block-feature-side .story--mini {
    border-bottom: 1px solid var(--line);
    padding-top: 12px;
    padding-bottom: 12px;
}

.block-feature-side .story--mini:first-child {
    padding-top: 0;
}

.block-feature-side .story--mini:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.block-mosaic {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 14px 0 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.block-mosaic > .story--listing {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 0;
    border: 0;
}

.block-mosaic > .story--listing .story-body {
    order: 0;
}

.block-mosaic > .story--listing .story-title {
    font-size: 20px;
    line-height: 1.3;
    margin: 6px 0 10px;
}

.block-mosaic > .story--listing .story-summary {
    font-size: 14px;
}

.block-mosaic > .story--listing .story-media,
.block-mosaic > .story--listing .story-media img,
.block-mosaic > .story--listing .thumb-fallback {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}

.block-mosaic-rest {
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.block-mosaic-rest > .story--text {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.block-mosaic-rest > .story--text:first-child {
    padding-top: 0;
}

.block-mosaic-rest > .story--text:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.block-mosaic-rest .story--text .story-title {
    flex-basis: 100%;
    font-size: 14px;
}

.block-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.block-strip > .story {
    min-width: 0;
}

.block-strip .story-media img,
.block-strip .thumb-fallback {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
}

.block-strip .story-title {
    font-size: 13px;
    margin: 0 0 4px;
}

.block-strip .kicker {
    display: none;
}

.block-duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 28px;
}

.block-duo .story--listing {
    padding: 14px 0;
}

.block-index-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.block-index-wrap > .story--listing {
    display: block;
    padding: 0;
    border: 0;
}

.block-index-wrap > .story--listing .story-media,
.block-index-wrap > .story--listing .story-media img,
.block-index-wrap > .story--listing .thumb-fallback {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.block-index-wrap > .story--listing .story-body {
    padding-top: 12px;
}

.block-index-wrap > .story--listing .story-title {
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 8px;
}

.block-index-wrap > .story--listing .story-summary {
    font-size: 14px;
}

.block-index {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: news-index;
}

.block-index > li {
    counter-increment: news-index;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.block-index > li:first-child {
    padding-top: 0;
}

.block-index > li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.block-index > li::before {
    content: counter(news-index, decimal-leading-zero);
    color: var(--color-primary);
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -1px;
    opacity: 0.85;
}

.block-index .story--text .story-title {
    font-size: 16px;
    line-height: 1.4;
}

.story--text .story-body {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    align-items: baseline;
    justify-content: space-between;
}

.story--text .story-title {
    flex: 1 1 16rem;
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
}

.story--text .kicker {
    display: none;
}

.story--text .meta {
    flex: 0 0 auto;
}

.page-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 0;
}

.category-panel,
.article-panel {
    padding: 16px 14px;
}

.crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 18px;
    font-size: 12px;
    color: var(--muted);
}

.category-title,
.article-panel h1 {
    margin: 0 0 15px;
    line-height: 1.2;
}

.category-title {
    font-size: 26px;
}

.intro,
.empty-note {
    color: var(--muted);
    margin: 0 0 20px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.chip {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 7px 13px;
    font-size: 12px;
    background: var(--white);
    color: #485460;
}

.chip:hover,
.chip:focus-visible,
.chip.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--white);
}

.pagination {
    display: flex;
    gap: 7px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 25px 0 0;
}

.pagination a,
.pagination span {
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    font-size: 13px;
}

.pagination .is-current {
    background: var(--color-primary);
    color: var(--white);
    border-color: var(--color-primary);
}

.pagination .is-disabled {
    color: var(--muted);
}

.sidebar-box {
    padding: 18px;
    margin-bottom: 18px;
}

.sidebar-box h2 {
    margin: 0 0 13px;
    font-size: 16px;
    border-left: 3px solid var(--color-primary);
    padding-left: 9px;
}

.sidebar-box .story--mini {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
}

.sidebar-box .story--mini .story-media,
.sidebar-box .story--mini .story-media img,
.sidebar-box .story--mini .thumb-fallback {
    width: 86px;
    height: 65px;
}

.sidebar-box .story--mini .story-title {
    font-size: 12px;
}

.article-panel h1 {
    font-size: 26px;
    letter-spacing: -0.4px;
}

.dek {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.5;
    color: #596570;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.share {
    margin-left: auto;
    display: flex;
    gap: 7px;
}

.share a,
.share button {
    width: 29px;
    height: 29px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--ink);
    padding: 0;
}

.article-hero {
    margin: 20px 0 6px;
}

.article-hero img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border-radius: 8px;
}

.article-hero figcaption {
    margin: 5px 0 24px;
    font-size: 11px;
    color: var(--muted);
}

.article-copy {
    margin: 24px 0 0;
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.85;
    color: #27323b;
}

.article-copy p {
    margin: 0 0 20px;
}

.article-copy h2,
.article-copy h3 {
    font-family: var(--font-ui);
    line-height: 1.35;
    margin: 30px 0 12px;
}

.article-copy h2 {
    font-size: 23px;
}

.article-copy a {
    color: var(--color-primary);
    text-decoration: underline;
}

.article-copy blockquote {
    margin: 25px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--color-primary);
    background: #f3f8ef;
    font-size: 19px;
    font-weight: 700;
    color: #355226;
}

.article-copy ul,
.article-copy ol {
    margin: 0 0 20px;
    padding-left: 1.25rem;
}

.article-copy img {
    height: auto;
    border-radius: 8px;
}

.article-copy figure {
    margin: 1.25rem 0;
}

.article-copy figcaption {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--muted);
}

.article-copy table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px;
    font-family: var(--font-ui);
    font-size: 15px;
}

.article-copy th,
.article-copy td {
    border: 1px solid var(--line);
    padding: 8px 10px;
    text-align: left;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 25px 0 0;
    font-family: var(--font-ui);
}

.tags span {
    background: var(--soft);
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 12px;
    color: #56616b;
}

.related-block {
    margin-top: 28px;
}

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

.site-footer {
    background: #111e25;
    color: #dce4e8;
    padding: 32px 0 18px;
}

.footgrid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.site-footer .brand-name,
.site-footer .brand {
    color: var(--white);
}

.site-footer .brand img {
    filter: brightness(0) invert(1);
}

.site-footer .brand-name {
    font-size: 22px;
}

.site-footer p,
.site-footer a {
    font-size: 12px;
    color: #b9c4c9;
}

.site-footer h2 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 14px;
}

.footer-nav,
.footer-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav ul {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.footer-latest-list {
    display: grid;
    gap: 7px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.copyright {
    border-top: 1px solid #ffffff20;
    margin-top: 24px;
    padding-top: 14px;
}

.copyright p {
    margin: 0;
    font-size: 11px;
    color: #9daab0;
}

.error-panel {
    max-width: 36rem;
    margin: 24px auto;
    padding: 32px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.error-panel h1 {
    margin: 12px 0;
    font-size: 30px;
}

.error-home {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: 7px;
    background: var(--color-primary);
    color: var(--white);
    font-weight: 700;
}

.banner-slot {
    margin: 0 0 18px;
}

.banner-slot img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.banner-slot [data-banner-link] {
    cursor: pointer;
}

.banner-slot-preview-bar {
    position: sticky;
    top: 0;
    z-index: 400;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    padding: 0.7rem 1rem;
    background: #111827;
    color: #f9fafb;
    border-bottom: 1px solid #374151;
    font-size: 0.875rem;
}

.banner-slot-preview-bar p,
.banner-slot-preview-bar form {
    margin: 0;
}

.banner-slot-preview-bar button {
    border: 1px solid #9ca3af;
    background: transparent;
    color: #f9fafb;
    padding: 0.35rem 0.85rem;
}

.banner-slot.is-preview {
    position: relative;
}

.banner-slot.is-preview-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5.5rem;
    padding: 0.75rem;
    border: 1px dashed #6b7280;
    background: repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(17, 24, 39, 0.04) 8px, rgba(17, 24, 39, 0.04) 16px);
}

.banner-slot.is-preview-filled {
    outline: 1px dashed #6b7280;
    outline-offset: 2px;
}

.banner-slot-preview-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    margin: 0;
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
    color: #111827;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
}

.banner-slot.is-preview-filled .banner-slot-preview-badge {
    position: absolute;
    z-index: 2;
    top: 0.35rem;
    left: 0.35rem;
}

.banner-slot-preview-label {
    font-weight: 700;
}

.banner-slot-preview-code,
.banner-slot-preview-hint {
    color: #4b5563;
}

.article-copy figure[data-media-gallery] {
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.25rem 0;
}

.article-copy figure[data-media-gallery] > figure {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    height: 100%;
    margin: 0 !important;
}

.article-copy figure[data-media-gallery] > figure > img {
    width: 100% !important;
    max-width: none !important;
    height: auto;
    margin: 0 !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
}

.article-copy figure[data-media-gallery] figcaption {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    text-align: left;
}

figure[data-media-gallery][data-captions="hidden"] figcaption,
figure[data-media-gallery][data-style="featured"][data-captions="lead"] > figure:not(:first-child) figcaption {
    display: none;
}

figure[data-media-gallery][data-style="grid"] {
    display: grid;
    align-items: start;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

figure[data-media-gallery][data-style="grid"][data-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
figure[data-media-gallery][data-style="grid"][data-columns="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
figure[data-media-gallery][data-style="grid"][data-gap="sm"] { gap: 0.35rem; }
figure[data-media-gallery][data-style="grid"][data-gap="lg"] { gap: 1.25rem; }
figure[data-media-gallery][data-style="grid"][data-ratio="1-1"] > figure > img { aspect-ratio: 1 / 1; }
figure[data-media-gallery][data-style="grid"][data-ratio="16-9"] > figure > img { aspect-ratio: 16 / 9; }

figure[data-media-gallery][data-style="featured"] {
    display: grid;
    align-items: stretch;
    gap: 0.75rem;
}

figure[data-media-gallery][data-style="featured"] > figure > img {
    flex: 1 1 auto;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
}

figure[data-media-gallery][data-style="featured"][data-lead="top"][data-thumbs="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
figure[data-media-gallery][data-style="featured"][data-lead="top"][data-thumbs="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
figure[data-media-gallery][data-style="featured"][data-lead="top"][data-thumbs="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
figure[data-media-gallery][data-style="featured"][data-lead="top"] > figure:first-child { grid-column: 1 / -1; }
figure[data-media-gallery][data-style="featured"][data-lead="top"] > figure:first-child > img { aspect-ratio: 16 / 9; height: auto !important; }
figure[data-media-gallery][data-style="featured"][data-lead="top"] > figure:not(:first-child) > img { aspect-ratio: 4 / 3; height: auto !important; }

figure[data-media-gallery][data-style="featured"][data-lead="left"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
}

figure[data-media-gallery][data-style="featured"][data-lead="left"] > figure {
    grid-column: auto;
    grid-row: auto;
}

figure[data-media-gallery][data-style="strip"] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    overflow-x: auto;
}

figure[data-media-gallery][data-style="strip"] > figure {
    flex: 0 0 16rem;
    width: 16rem !important;
}

figure[data-media-gallery][data-style="strip"] > figure > img {
    height: 11rem !important;
    aspect-ratio: auto;
}

@media (min-width: 48rem) {
    .wrap {
        width: min(100% - 2rem, var(--max));
    }

    .header-weather-place {
        max-width: 7rem;
    }

    .brand img {
        max-width: 180px;
        height: 42px;
    }

    .card-grid,
    .block-grid,
    .block-strip,
    .card-grid--related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .block-duo,
    .block-feature-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .block-feature-side .story--mini:nth-child(-n+2) {
        padding-top: 0;
    }

    .block-feature-side .story--mini:nth-last-child(-n+2) {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .story--listing .story-summary {
        display: block;
    }

    .story--listing .story-media,
    .story--listing .story-media img,
    .story--listing .thumb-fallback {
        width: 150px;
        height: 100px;
    }

    .story--hero {
        min-height: 340px;
    }

    .story--hero .story-title {
        font-size: 26px;
    }

    .category-panel,
    .article-panel {
        padding: 20px;
    }

    .footgrid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 28px;
    }

    .footer-latest {
        grid-column: 1 / -1;
    }

    .footer-latest-list {
        grid-template-columns: 1fr 1fr;
    }

    figure[data-media-gallery][data-style="grid"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    figure[data-media-gallery][data-style="grid"][data-columns="2"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    figure[data-media-gallery][data-style="grid"][data-columns="4"] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    figure[data-media-gallery][data-style="featured"][data-lead="top"][data-thumbs="3"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    figure[data-media-gallery][data-style="featured"][data-lead="top"][data-thumbs="4"] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    figure[data-media-gallery][data-style="featured"][data-lead="left"] {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-template-rows: none;
    }

    figure[data-media-gallery][data-style="featured"][data-lead="left"][data-thumbs="2"] { grid-template-rows: repeat(2, minmax(10rem, 1fr)); }
    figure[data-media-gallery][data-style="featured"][data-lead="left"][data-thumbs="3"] { grid-template-rows: repeat(3, minmax(8rem, 1fr)); }
    figure[data-media-gallery][data-style="featured"][data-lead="left"][data-thumbs="4"] { grid-template-rows: repeat(4, minmax(7rem, 1fr)); }
    figure[data-media-gallery][data-style="featured"][data-lead="left"] > figure:first-child { grid-column: 1 / span 8; }
    figure[data-media-gallery][data-style="featured"][data-lead="left"][data-thumbs="2"] > figure:first-child { grid-row: 1 / span 2; }
    figure[data-media-gallery][data-style="featured"][data-lead="left"][data-thumbs="3"] > figure:first-child { grid-row: 1 / span 3; }
    figure[data-media-gallery][data-style="featured"][data-lead="left"][data-thumbs="4"] > figure:first-child { grid-row: 1 / span 4; }
    figure[data-media-gallery][data-style="featured"][data-lead="left"][data-thumbs="2"] > figure:nth-child(-n+3):not(:first-child),
    figure[data-media-gallery][data-style="featured"][data-lead="left"][data-thumbs="3"] > figure:nth-child(-n+4):not(:first-child),
    figure[data-media-gallery][data-style="featured"][data-lead="left"][data-thumbs="4"] > figure:nth-child(-n+5):not(:first-child) {
        grid-column: 9 / span 4;
    }
}

@media (min-width: 64rem) {
    .wrap {
        width: min(100% - 2.75rem, var(--max));
    }

    .brandrow {
        flex-wrap: nowrap;
        gap: 22px;
        padding: 20px 0;
    }

    .header-tools {
        gap: 36px;
    }

    .header-date::after,
    .header-weather::after {
        display: block;
    }

    .header-weather-place {
        max-width: 9rem;
    }

    .brand img {
        max-width: 220px;
        height: 48px;
    }

    .brand-name {
        font-size: 28px;
    }

    .search-toggle {
        display: none;
    }

    .search-form,
    .search-form.is-open {
        display: block;
        position: relative;
        top: auto;
        right: auto;
        width: 270px;
    }

    body:has(#site-nav-toggle:checked) {
        overflow: visible;
    }

    .nav-open,
    .nav-backdrop,
    .nav-drawer-head,
    .nav-branch,
    .nav-branch-toggle {
        display: none;
    }

    .nav-panel,
    .nav-toggle:checked ~ .nav-panel {
        display: block;
        position: static;
        width: auto;
        margin: 0;
        overflow: visible;
        transform: none;
        visibility: visible;
        pointer-events: auto;
        background: transparent;
    }

    .nav-panel .nav-list {
        flex-direction: row;
        align-items: stretch;
        padding: 0;
        white-space: nowrap;
    }

    .nav-panel .nav-list li {
        display: block;
        position: relative;
        border-bottom: 0;
    }

    .nav-panel .nav-list li > a,
    .nav-panel .nav-list a {
        display: inline-flex;
        align-items: center;
        grid-column: auto;
        padding: 14px 13px;
        font-size: 13px;
        border-bottom: 3px solid transparent;
    }

    .nav-panel .nav-list a[aria-current="page"] {
        border-bottom-color: var(--color-primary);
    }

    .nav-panel .nav-list li > ul,
    .nav-panel .nav-branch-toggle:checked ~ ul {
        display: none;
        position: absolute;
        z-index: 25;
        top: 100%;
        left: 0;
        grid-column: auto;
        width: auto;
        min-width: 200px;
        margin: 0;
        padding: 6px 0;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 8px;
    }

    .nav-panel .nav-list li:hover > ul,
    .nav-panel .nav-list li:focus-within > ul {
        display: block;
    }

    .nav-panel .nav-list ul a {
        display: block;
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 700;
        white-space: normal;
    }

    .nav-list > li > ul > li > ul {
        top: 0;
        left: 100%;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
        gap: 18px;
        margin-bottom: 28px;
    }

    .story--hero {
        min-height: 380px;
    }

    .story--hero .story-title {
        font-size: 29px;
    }

    .card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .story--listing .story-media,
    .story--listing .story-media img,
    .story--listing .thumb-fallback {
        width: 190px;
        height: 126px;
    }

    .story--listing .story-title {
        font-size: 18px;
    }

    .news-section--stack > .story--listing .story-media,
    .news-section--stack > .story--listing .story-media img,
    .news-section--stack > .story--listing .thumb-fallback {
        width: 200px;
        height: 130px;
    }

    .news-section--stack > .story--listing .story-title {
        font-size: 17px;
    }

    .block-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .block-feature {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }

    .block-strip {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .block-mosaic {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 24px;
    }

    .block-mosaic > .story--listing {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px;
    }

    .block-mosaic > .story--listing .story-body {
        order: -1;
    }

    .block-mosaic > .story--listing .story-title {
        font-size: 24px;
    }

    .block-mosaic-rest {
        border-top: 0;
        padding-top: 0;
        border-left: 1px solid var(--line);
        padding-left: 20px;
    }

    .block-index-wrap {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px;
    }

    .block-index-wrap > .story--listing .story-title {
        font-size: 22px;
    }

    .page-split {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 26px;
    }

    .category-panel,
    .article-panel {
        padding: 24px;
    }

    .category-title {
        font-size: 30px;
    }

    .article-panel h1 {
        font-size: 36px;
        letter-spacing: -0.9px;
    }

    .dek {
        font-size: 18px;
    }

    .article-copy {
        font-size: 18px;
    }

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

    .footgrid {
        grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 0.85fr) minmax(0, 1.25fr);
        gap: 35px;
    }

    .footer-latest {
        grid-column: auto;
    }

    .footer-latest-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-panel,
    .nav-backdrop,
    .nav-branch svg {
        transition: none;
    }
}
