/*
Theme Name: Teropong Jabar
Theme URI: https://example.com/
Author: Teropong Jabar
Description: Tema berita responsif dengan tampilan editorial modern untuk portal Teropong Jabar.
Version: 1.6.9
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: teropong-jabar
*/

:root {
    --tj-navy: #102b55;
    --tj-blue: #174b7c;
    --tj-red: #d71920;
    --tj-ink: #1d2b3c;
    --tj-muted: #68778a;
    --tj-line: #e4e9ef;
    --tj-soft: #f3f6fa;
    --tj-white: #fff;
    --tj-radius: 12px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--tj-ink);
    background: var(--tj-white);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--tj-ink); line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: #1268a8; text-underline-offset: 3px; }
a:hover { color: var(--tj-red); }
button, input { font: inherit; }
.tj-container { width: min(1200px, calc(100% - 36px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px; clip: auto; clip-path: none; background: #fff; }

.site-header { position: relative; z-index: 20; background: #fff; }
.header-main { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; min-width: 0; align-items: center; gap: 12px; color: var(--tj-navy); text-decoration: none; }
.custom-logo-link { display: block; flex: 0 0 auto; }
.custom-logo { display: block; width: auto; max-width: 230px; max-height: 64px; object-fit: contain; }
.site-title { margin: 0; color: var(--tj-navy); font-size: 1.35rem; font-weight: 850; line-height: 1.15; text-decoration: none; }
.site-description { display: block; margin-top: 3px; color: var(--tj-muted); font-size: .78rem; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search-form { display: flex; width: min(330px, 34vw); }
.header-search-form input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #d5dde7; border-right: 0; border-radius: 8px 0 0 8px; outline-offset: 2px; }
.icon-button, .search-submit { display: inline-grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid #d5dde7; border-radius: 8px; background: #fff; color: var(--tj-navy); cursor: pointer; }
.search-submit { border-color: var(--tj-navy); border-radius: 0 8px 8px 0; background: var(--tj-navy); color: #fff; }
.icon-button svg, .search-submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; }
.primary-navigation { border-top: 1px solid var(--tj-line); background: var(--tj-navy); }
.primary-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { display: block; padding: 12px 13px; color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { background: #1c5b91; color: #fff; }
.primary-menu .sub-menu { position: absolute; z-index: 30; display: none; min-width: 210px; margin: 0; padding: 6px; border: 1px solid var(--tj-line); border-radius: 0 0 9px 9px; background: #fff; box-shadow: 0 12px 24px #102b5526; list-style: none; }
.primary-menu li { position: relative; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: 8px 10px; border-radius: 5px; color: var(--tj-ink); }
.primary-menu .sub-menu a:hover { background: var(--tj-soft); color: var(--tj-red); }

.breaking-bar { border-bottom: 1px solid var(--tj-line); background: #fff; }
.breaking-inner { display: flex; align-items: center; gap: 12px; padding-block: 9px; }
.breaking-label { flex: 0 0 auto; padding: 3px 8px; border-radius: 4px; background: var(--tj-red); color: #fff; font-size: .7rem; font-weight: 850; letter-spacing: .06em; }
.breaking-inner a { overflow: hidden; color: var(--tj-navy); font-size: .9rem; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.site-main { min-height: 65vh; padding-block: 28px 56px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.section-heading h2 { margin: 0; color: var(--tj-navy); font-size: 1.25rem; line-height: 1.25; }
.section-heading::before { width: 4px; align-self: stretch; order: -1; border-radius: 5px; background: var(--tj-red); content: ""; }
.section-heading h2 { flex: 1; }
.section-link { font-size: .82rem; font-weight: 700; text-decoration: none; }
.home-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .82fr); align-items: start; gap: 28px; }
.home-main, .home-sidebar { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(230px, .9fr); gap: 16px; margin-bottom: 32px; }
.hero-lead { position: relative; overflow: hidden; min-height: 390px; border-radius: var(--tj-radius); background: var(--tj-navy); }
.hero-lead > a, .hero-lead img, .hero-placeholder { display: block; width: 100%; height: 100%; }
.hero-lead img { position: absolute; inset: 0; object-fit: cover; }
.hero-placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--tj-navy), #1680bd); }
.hero-lead::after { position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, rgb(5 18 37 / 88%)); content: ""; pointer-events: none; }
.hero-caption { position: absolute; z-index: 2; right: 24px; bottom: 24px; left: 24px; color: #fff; }
.hero-caption a { color: #fff; text-decoration: none; }
.hero-category { display: inline-block; margin-bottom: 8px; padding: 3px 8px; border-radius: 4px; background: var(--tj-red); color: #fff; font-size: .72rem; font-weight: 800; text-decoration: none; }
.hero-caption h1 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.25rem); line-height: 1.18; }
.hero-side { display: grid; grid-template-rows: auto repeat(2, minmax(0, 1fr)); gap: 10px; min-height: 390px; }
.hero-side .section-heading { margin-bottom: 0; }
.hero-side-card { display: grid; grid-template-columns: minmax(90px, 38%) minmax(0, 1fr); align-items: center; gap: 11px; min-height: 0; padding-bottom: 10px; border-bottom: 1px solid var(--tj-line); }
.hero-side-card:last-child { border-bottom: 0; }
.hero-side-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 7px; background: #e8eef5; }
.hero-side-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-side-card h3 { display: -webkit-box; overflow: hidden; margin: 4px 0 0; font-size: .94rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.hero-side-card h3 a { color: var(--tj-ink); text-decoration: none; }
.post-meta { display: flex; flex-wrap: wrap; gap: 5px 10px; color: var(--tj-muted); font-size: .76rem; }
.post-meta a { color: inherit; font-weight: 700; text-decoration: none; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post-card { overflow: hidden; border: 1px solid var(--tj-line); border-radius: 10px; background: #fff; box-shadow: 0 4px 14px #102b5508; }
.post-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #e8eef5; }
.post-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.post-card:hover .post-card-image img { transform: scale(1.025); }
.post-card-body { padding: 14px; }
.post-card h2 { margin: 5px 0 8px; font-size: 1.05rem; line-height: 1.3; }
.post-card h2 a { color: var(--tj-navy); text-decoration: none; }
.post-card-excerpt { margin: 0; color: #536579; font-size: .88rem; }
.sidebar-widget, .widget { margin-bottom: 18px; padding: 17px; border: 1px solid var(--tj-line); border-radius: 10px; background: #fff; }
.widget-title { margin: 0 0 12px; padding: 9px 11px; border-left: 4px solid var(--tj-red); background: linear-gradient(110deg, var(--tj-navy), var(--tj-blue)); color: #fff; font-size: .98rem; }
.sidebar-post { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--tj-line); }
.sidebar-post:last-child { border-bottom: 0; }
.sidebar-number { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 7px; background: #fbecef; color: var(--tj-red); font-weight: 900; }
.sidebar-post a { color: var(--tj-ink); font-size: .88rem; font-weight: 700; line-height: 1.4; text-decoration: none; }
.category-list { margin: 0; padding: 0; list-style: none; }
.category-list li { padding: 8px 0; border-bottom: 1px solid var(--tj-line); }
.category-list a { color: var(--tj-ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.today-news-widget { padding-bottom: 10px; }
.today-news-intro { margin: -4px 0 8px; color: var(--tj-muted); font-size: .82rem; }
.today-news-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--tj-line); }
.today-news-item:last-child { border-bottom: 0; }
.today-news-image { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, var(--tj-navy), #1680bd); }
.today-news-image img,.today-news-image .hero-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; }
.today-news-copy { min-width: 0; }
.today-news-category { display: inline-block; margin-bottom: 3px; color: var(--tj-red); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.today-news-item h3 { margin: 0 0 4px; font-size: .84rem; line-height: 1.35; }
.today-news-item h3 a { color: var(--tj-ink); text-decoration: none; }
.today-news-item h3 a:hover { color: var(--tj-red); }
.today-news-item .post-published-time { font-size: .68rem; }
.page-header { margin-bottom: 22px; padding: clamp(20px, 4vw, 34px); border-radius: var(--tj-radius); background: linear-gradient(120deg, var(--tj-navy), var(--tj-blue)); color: #fff; }
.page-header .eyebrow { color: #dcecff; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.page-header h1 { margin: 5px 0 0; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.2; }
.page-header p { margin: 8px 0 0; color: #e2edf8; }
.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; }
.archive-layout .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pagination { margin-top: 24px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 6px 11px; border: 1px solid var(--tj-line); border-radius: 6px; color: var(--tj-navy); font-weight: 700; text-decoration: none; }
.page-numbers.current { border-color: var(--tj-navy); background: var(--tj-navy); color: #fff; }
.single-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(260px, .85fr); align-items: start; gap: 24px; }
.article { min-width: 0; padding: clamp(18px, 4vw, 42px); border: 1px solid var(--tj-line); border-radius: var(--tj-radius); background: #fff; }
.single-layout > div > article.article { border-bottom: 0; border-radius: var(--tj-radius) var(--tj-radius) 0 0; }
.article h1 { margin: 7px 0 12px; color: var(--tj-navy); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; }
.article-featured-figure { margin: 22px 0; }
.article-featured-image { display: block; width: 100%; max-height: 560px; margin: 0; border-radius: 9px; object-fit: cover; }
.article-photo-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 7px; color: var(--tj-muted); font-size: .78rem; line-height: 1.5; }
.article-photo-credit { margin-left: auto; }
.article-content { font-size: 1.08rem; line-height: 1.85; overflow-wrap: anywhere; }
.article-content > * { max-width: 100%; }
.article-content img { height: auto; border-radius: 8px; }
.article-content iframe { max-width: 100%; }
.article-content blockquote { margin-inline: 0; padding: 10px 18px; border-left: 4px solid var(--tj-red); background: var(--tj-soft); color: #42556b; }
.article-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0; }
.article-tags a { padding: 4px 10px; border: 1px solid #d9e3ed; border-radius: 999px; background: #f3f7fb; color: var(--tj-blue); font-size: .78rem; font-weight: 700; text-decoration: none; }
.article-tags a:hover { border-color: var(--tj-blue); }
.article-pagination { margin: 24px 0; }
.related-posts { margin-top: 28px; padding: 16px; border: 1px solid #b9d1e8; border-radius: 12px; background: #eaf3fc; }
.comments-area { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--tj-line); }
.comments-area h2, .comments-area h3 { color: var(--tj-navy); }
.comment-list { padding: 0; list-style: none; }
.comment-body { margin: 14px 0; padding: 14px; border: 1px solid var(--tj-line); border-radius: 8px; background: #fff; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 10px; border: 1px solid #cbd4df; border-radius: 6px; }
.comment-form textarea { min-height: 130px; }
.comment-form .submit { padding: 10px 16px; border: 0; border-radius: 6px; background: var(--tj-red); color: #fff; font-weight: 750; cursor: pointer; }
.site-footer { margin-top: 24px; padding: 32px 0 18px; background: var(--tj-navy); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.footer-grid h2, .footer-grid h3 { margin-top: 0; font-size: 1rem; }
.footer-grid p { color: #dbe5f0; }
.footer-menu, .footer-categories { margin: 0; padding: 0; list-style: none; }
.footer-menu li, .footer-categories li { margin: 6px 0; }
.footer-grid a { color: #e7eef7; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 14px; border-top: 1px solid #ffffff30; color: #dbe5f0; font-size: .84rem; }
.search-form { display: flex; max-width: 620px; gap: 8px; margin-bottom: 24px; }
.search-form input { min-width: 0; flex: 1; padding: 11px 12px; border: 1px solid #cbd4df; border-radius: 7px; }
.search-form button, .button-link { padding: 10px 16px; border: 0; border-radius: 7px; background: var(--tj-red); color: #fff; font-weight: 750; text-decoration: none; cursor: pointer; }
.no-results { padding: 24px; border: 1px solid var(--tj-line); border-radius: 10px; background: var(--tj-soft); }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { color: var(--tj-muted); font-size: .85rem; }
.alignleft { float: left; margin: 0 18px 14px 0; }
.alignright { float: right; margin: 0 0 14px 18px; }
.aligncenter { display: block; margin-inline: auto; }
.sticky { outline: 2px solid #e8eff7; }
.bypostauthor { display: block; }

@media (max-width: 980px) {
    .home-layout { grid-template-columns: minmax(0, 1.7fr) minmax(230px, .9fr); gap: 18px; }
    .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(210px, .9fr); gap: 12px; }
    .hero-lead, .hero-side { min-height: 340px; }
    .hero-side-card { grid-template-columns: minmax(82px, 36%) minmax(0,1fr); gap: 9px; }
    .hero-side-card h3 { font-size: .85rem; }
    .archive-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 18px; }
}
@media (max-width: 720px) {
    .tj-container { width: min(100% - 28px, 600px); }
    .header-main { min-height: 70px; gap: 8px; }
    .site-title { font-size: 1.12rem; }
    .site-description { font-size: .7rem; }
    .custom-logo { max-width: 155px; max-height: 48px; }
    .header-actions { gap: 6px; }
    .header-search-form { position: absolute; z-index: 25; top: 14px; right: 100px; display: none; width: min(56vw, 300px); }
    .header-search-form.is-open { display: flex; }
    .icon-button, .search-submit { width: 38px; height: 38px; flex-basis: 38px; }
    .menu-toggle { display: inline-grid; }
    .primary-navigation { display: none; }
    .primary-navigation.is-open { display: block; }
    .primary-navigation > .tj-container {
        width: min(100% - 28px, 600px);
        padding: 4px 10px;
        border-radius: 0 0 8px 8px;
    }
    .primary-menu { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px; padding-block: 10px; }
    .primary-menu a { padding: 9px 10px; border: 1px solid #ffffff26; border-radius: 6px; background: #b9151b; font-size: .82rem; }
    .primary-menu .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 0 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .primary-menu .sub-menu a { padding: 7px; color: #fff; font-size: .78rem; }
    .breaking-inner { gap: 8px; }
    .breaking-inner a { font-size: .82rem; }
    .site-main { padding-top: 20px; }
    .home-layout, .single-layout, .archive-layout { grid-template-columns: minmax(0,1fr); }
    .hero-grid { grid-template-columns: minmax(0,1fr); }
    .hero-lead { min-height: 0; aspect-ratio: 16 / 10; }
    .hero-side { grid-template-rows: auto; min-height: 0; }
    .hero-side-card { grid-template-columns: clamp(100px, 28vw, 145px) minmax(0,1fr); min-height: 86px; }
    .hero-side-card h3 { font-size: .9rem; -webkit-line-clamp: 3; }
    .post-grid, .archive-layout .post-grid { grid-template-columns: minmax(0,1fr); }
    .archive-layout > .home-sidebar { order: 2; }
    .footer-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

:root {
    --tj-navy: #142d50;
    --tj-blue: #1b5688;
    --tj-red: #d72d36;
    --tj-ink: #1b2635;
    --tj-muted: #657386;
    --tj-line: #e5eaf0;
    --tj-soft: #f3f6f9;
    --tj-radius: 14px;
}

body { background: #f4f6f9; }
.site-header { box-shadow: 0 5px 20px #142d500d; }
.site-topline { background: var(--tj-navy); color: #dce7f3; font-size: .76rem; }
.site-topline-inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 12px; }
.header-main { min-height: 94px; }
.site-branding { gap: 14px; }
.site-kicker { display: block; margin-bottom: 3px; color: var(--tj-red); font-size: .66rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.site-title { font-size: 1.65rem; letter-spacing: -.04em; }
.site-description { font-size: .77rem; }
.search-toggle { display: none; }
.primary-navigation { border-top: 1px solid #ffffff20; box-shadow: 0 6px 15px #142d5014; }
.primary-menu { gap: 2px; }
.primary-menu > li > a { position: relative; padding-inline: 14px; }
.primary-menu > li > a::after { position: absolute; right: 14px; bottom: 0; left: 14px; height: 3px; border-radius: 3px 3px 0 0; background: var(--tj-red); content: ""; transform: scaleX(0); transition: transform .18s ease; }
.primary-menu > li:hover > a::after, .primary-menu > li:focus-within > a::after, .primary-menu .current-menu-item > a::after { transform: scaleX(1); }
.site-main { padding-top: 30px; }
.home-intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; padding: 19px 22px; border: 1px solid var(--tj-line); border-radius: var(--tj-radius); background: #fff; box-shadow: 0 8px 24px #142d5008; }
.home-intro-kicker { color: var(--tj-red); font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.home-intro h1 { margin: 3px 0 2px; color: var(--tj-navy); font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.2; letter-spacing: -.035em; }
.home-intro p { margin: 0; color: var(--tj-muted); font-size: .91rem; }
.home-intro-date { flex: 0 0 auto; padding: 8px 12px; border-radius: 7px; background: var(--tj-soft); color: var(--tj-navy); font-size: .78rem; font-weight: 750; }
.hero-grid { gap: 20px; margin-bottom: 34px; }
.hero-lead { min-height: 420px; border-radius: 15px; box-shadow: 0 12px 30px #102b5520; }
.hero-placeholder { background: radial-gradient(ellipse at 75% 20%, #3987b4 0, transparent 38%), linear-gradient(135deg, #102747, #17608e 65%, #d52d36); }
.hero-lead::after { inset: 18% 0 0; background: linear-gradient(transparent 5%, rgb(5 18 37 / 82%)); }
.hero-caption { right: 26px; bottom: 25px; left: 26px; }
.hero-caption h1 { max-width: 720px; text-wrap: pretty; }
.hero-side .section-heading { padding-bottom: 10px; border-bottom: 1px solid var(--tj-line); }
.hero-side-card { grid-template-columns: minmax(100px, 40%) minmax(0, 1fr); gap: 13px; padding-bottom: 12px; }
.hero-side-image { border-radius: 9px; }
.post-grid { gap: 18px; }
.post-card { border-color: #e6ebf0; border-radius: 12px; box-shadow: 0 5px 18px #102b550a; transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: 0 12px 28px #102b5518; transform: translateY(-2px); }
.post-card-image { background: #e4eaf0; }
.post-card-body { padding: 16px; }
.sidebar-widget, .widget { margin-bottom: 18px; padding: 16px; border-color: var(--tj-line); border-radius: 12px; box-shadow: 0 5px 18px #102b5508; }
.widget-title { margin: -16px -16px 10px; padding: 12px 15px; border: 0; border-radius: 11px 11px 0 0; background: var(--tj-navy); font-size: .92rem; }
.sidebar-post { grid-template-columns: 34px minmax(0,1fr); gap: 11px; }
.sidebar-number { width: 34px; height: 34px; border-radius: 9px; background: #fff0f0; font-size: .9rem; }
.category-list li { padding: 0; border-bottom: 1px solid var(--tj-line); }
.category-list li:last-child { border-bottom: 0; }
.category-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; }
.category-list a::after { color: #a4afbd; content: "›"; font-size: 1.1rem; }
.category-list .category-count { margin-left: auto; color: var(--tj-muted); font-size: .76rem; font-weight: 600; }
.home-empty-state { padding: 28px; border-color: var(--tj-line); background: #fff; box-shadow: 0 8px 24px #142d5008; }
.home-empty-state h2 { margin: 6px 0; color: var(--tj-navy); font-size: 1.45rem; }
.home-empty-state p { max-width: 650px; color: var(--tj-muted); }
.home-category-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.home-category-links a { padding: 7px 12px; border: 1px solid #dfe7ef; border-radius: 999px; background: #f8fafc; color: var(--tj-navy); font-size: .82rem; font-weight: 750; text-decoration: none; }
.home-category-links a:hover { border-color: var(--tj-red); color: var(--tj-red); }
.site-footer { margin-top: 38px; background: #102441; }
.footer-grid { gap: 32px; }
.footer-grid h2, .footer-grid h3 { letter-spacing: .01em; }
.footer-bottom { border-top-color: #ffffff24; }

@media (max-width: 980px) {
    .home-layout { gap: 20px; }
    .hero-lead, .hero-side { min-height: 360px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid > section:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .tj-container { width: min(100% - 28px, 600px); }
    .site-topline-inner { min-height: 30px; font-size: .67rem; }
    .site-topline-inner > span:last-child { display: none; }
    .header-main { min-height: 74px; }
    .site-title { font-size: 1.2rem; }
    .site-description { font-size: .68rem; }
    .site-kicker { font-size: .58rem; }
    .search-toggle { display: inline-grid; }
    .header-search-form { top: 16px; right: 98px; width: min(62vw, 300px); }
    .primary-menu { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }
    .primary-menu > li > a::after { display: none; }
    .primary-menu a { padding: 10px; }
    .site-main { padding-top: 18px; }
    .home-intro { align-items: flex-start; margin-bottom: 17px; padding: 15px; }
    .home-intro h1 { font-size: 1.28rem; }
    .home-intro p { max-width: 40ch; font-size: .82rem; }
    .home-intro-date { display: none; }
    .hero-grid { gap: 14px; margin-bottom: 26px; }
    .hero-lead { min-height: 0; aspect-ratio: 4 / 3; }
    .hero-caption { right: 16px; bottom: 16px; left: 16px; }
    .hero-caption h1 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
    .hero-side { gap: 8px; }
    .hero-side-card { grid-template-columns: clamp(100px, 30vw, 145px) minmax(0,1fr); }
    .home-empty-state { padding: 20px; }
    .footer-grid { gap: 18px; }
}

:root {
    --tj-navy: #102b55;
    --tj-blue: #0875ca;
    --tj-red: #d71920;
    --tj-ink: #202b38;
    --tj-muted: #747b83;
    --tj-line: #e4e7eb;
    --tj-soft: #f4f7fb;
    font-family: Roboto, Arial, Helvetica, sans-serif;
}

body, button, input, textarea, select {
    font-family: Roboto, Arial, Helvetica, sans-serif;
}

.tj-container { width: min(1320px, calc(100% - 32px)); }
.site-topline { background: #102b55; }
.site-title { color: #102b55; letter-spacing: -.025em; }
.site-logo { display: block; flex: 0 1 auto; max-width: min(220px, 38vw); }
.site-logo img { display: block; width: auto; max-width: 100%; max-height: 68px; object-fit: contain; object-position: left center; }
.custom-logo { max-width: 250px; max-height: 68px; }
.footer-brand-logo { display: inline-block; max-width: min(190px, 100%); }
.footer-brand-logo img { display: block; width: 100%; max-height: 64px; object-fit: contain; object-position: left center; }
.primary-navigation { background: #102b55; }
.primary-menu > li > a { font-size: .875rem; }
.hero-grid { grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr); }
.hero-lead { min-height: 0; aspect-ratio: 16 / 9; }
.hero-caption h1 { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.28; }
.hero-side-card h3 { font-size: .96rem; line-height: 1.32; }
.post-card h2 { font-size: 1rem; line-height: 1.38; }
.post-card-excerpt { font-size: .88rem; line-height: 1.65; }
.post-meta { font-size: .78rem; }
.article { max-width: 100%; padding: clamp(20px, 4vw, 46px); }
.article h1 { font-size: clamp(1.8rem, 3.2vw, 2.25rem); font-weight: 700; line-height: 1.22; letter-spacing: -.025em; }
.article h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; }
.article h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.35; }
.article-content { color: #202b38; font-size: 1.125rem; line-height: 1.8; }
.article-content p { margin: 0 0 1.35em; }
.article-content h2, .article-content h3, .article-content h4 { margin: 1.5em 0 .65em; line-height: 1.3; }
.article-content ul, .article-content ol { margin: 0 0 1.35em; padding-left: 1.5em; }
.article-featured-image { border-radius: 8px; }
.page-header { background: linear-gradient(120deg, #102b55, #174a7d); }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
.post-card { border-radius: 10px; }
.site-footer { background: #102b55; }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: minmax(0, 1.65fr) minmax(230px, 1fr); }
}

@media (max-width: 720px) {
    .tj-container { width: min(100% - 28px, 600px); }
    .site-logo { max-width: min(190px, 40vw); }
    .site-logo img, .custom-logo { width: auto; max-width: min(145px, 38vw); max-height: 46px; }
    .footer-brand-logo { max-width: min(175px, 100%); }
    .site-title { font-size: 1.2rem; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-lead { min-height: 0; aspect-ratio: 16 / 9; }
    .hero-caption h1 { font-size: clamp(1.25rem, 5.4vw, 1.75rem); }
    .hero-side-card h3 { font-size: .9rem; }
    .article { padding: 20px; }
    .article h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
    .article-content { font-size: 1.0625rem; line-height: 1.78; }
}

.headline-main-heading { margin-bottom: 12px; }
.empty-headlines { margin-top: 28px; }
.empty-headlines > p { margin: 0; padding: 18px; border: 1px dashed #cbd5e1; border-radius: 10px; background: #fff; color: var(--tj-muted); }
.editor-picks { margin: 28px 0 34px; }
.editor-picks-empty { margin: 0; padding: 18px; border: 1px dashed #cbd5e1; border-radius: 10px; background: #fff; color: var(--tj-muted); }
.footer-grid { grid-template-columns: minmax(150px, .75fr) minmax(150px, .8fr) minmax(250px, 1.4fr) minmax(150px, .8fr); align-items: start; }
.footer-grid > section { min-width: 0; }
.footer-grid h2, .footer-grid h3 { margin-bottom: 10px; font-size: .92rem; line-height: 1.35; }
.footer-grid, .footer-grid p, .footer-grid li, .footer-contact address { font-size: .82rem; line-height: 1.55; }
.footer-brand { padding-top: 6px; }
.footer-information ul { margin: 0; padding: 0; list-style: none; }
.footer-information li { margin: 4px 0; }
.footer-contact address { color: #dbe5f0; font-style: normal; }
.footer-contact p { margin: 0 0 8px; overflow-wrap: anywhere; }
.footer-contact strong { color: #fff; }
.social-links { display: flex; flex-wrap: wrap; gap: 9px; }
.social-link { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid #ffffff3b; border-radius: 50%; background: #ffffff12; color: #fff; }
.social-link[href]:hover, .social-link[href]:focus-visible { background: #fff; color: var(--tj-navy); }
.social-link.is-unconfigured { color: #dbe5f0; opacity: .7; }
.social-link svg { width: 20px; height: 20px; fill: currentColor; }
.social-link:nth-child(2) svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-link:nth-child(2) .social-icon-fill { fill: currentColor; stroke: none; }
.social-settings-hint { margin: 10px 0 0; color: #dbe5f0; font-size: .72rem; line-height: 1.5; }
.footer-bottom { font-size: .76rem; }

.site-topline-inner { justify-content: flex-end; }
.hero-side { grid-template-rows: repeat(3, minmax(0, 1fr)); }
.post-card-image { aspect-ratio: 16 / 9; }
.post-card h2 { font-size: clamp(1.08rem, 1.45vw, 1.25rem); line-height: 1.35; }
.article h1 { font-size: clamp(2rem, 3.8vw, 2.5rem); }
.article-content { font-size: 1.125rem; line-height: 1.8; }
.article-featured-image { display: block; width: 100%; height: auto; max-height: 620px; aspect-ratio: 16 / 9; object-fit: cover; }
.archive-description { display: none; }

@media (max-width: 980px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .site-logo { max-width: min(145px, 38vw); }
    .hero-side { grid-template-rows: auto; }
    .article h1 { font-size: clamp(1.8rem, 7vw, 2.2rem); }
}

.headline-carousel { margin: 0 0 30px; }
.headline-track, .editor-picks-track {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.headline-track::-webkit-scrollbar, .editor-picks-track::-webkit-scrollbar { display: none; }
.headline-track { border-radius: 14px; }
.headline-slide {
    position: relative;
    overflow: hidden;
    flex: 0 0 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    border-radius: 14px;
    background: var(--tj-navy);
    scroll-snap-align: start;
}
.headline-image { position: absolute; inset: 0; display: block; }
.headline-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.headline-slide::after {
    position: absolute;
    inset: 25% 0 0;
    background: linear-gradient(transparent, rgb(5 18 37 / 86%));
    content: "";
    pointer-events: none;
}
.headline-caption { position: absolute; z-index: 1; right: 24px; bottom: 24px; left: 24px; color: #fff; }
.headline-caption .hero-category { margin-bottom: 7px; }
.headline-caption h1, .headline-caption h2 { max-width: 760px; margin: 0; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.25; }
.headline-caption h1 a, .headline-caption h2 a { color: #fff; text-decoration: none; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 8px; padding-top: 10px; }
.carousel-button {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #d5dde7;
    border-radius: 50%;
    background: #fff;
    color: var(--tj-navy);
    cursor: pointer;
}
.carousel-button:hover, .carousel-button:focus-visible { border-color: var(--tj-navy); background: var(--tj-navy); color: #fff; }
.carousel-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.editor-picks-carousel { min-width: 0; }
.editor-picks-track { gap: 12px; }
.editor-pick-card { min-width: 0; flex: 0 0 calc((100% - 36px) / 4); scroll-snap-align: start; }
.editor-pick-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: #e8eef5; }
.editor-pick-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editor-pick-card h3 { margin: 7px 0 0; font-size: .88rem; line-height: 1.35; }
.editor-pick-card h3 a { display: -webkit-box; overflow: hidden; color: var(--tj-navy); text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.editor-pick-card h3 a:hover { color: var(--tj-red); }
.latest-news-list { display: grid; }
.latest-news-item { display: grid; grid-template-columns: minmax(100px, 150px) minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--tj-line); }
.latest-news-item:first-child { padding-top: 0; }
.latest-news-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 7px; background: #e8eef5; }
.latest-news-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.latest-news-item h3 { margin: 0; font-size: .98rem; line-height: 1.35; }
.latest-news-item h3 a { display: -webkit-box; overflow: hidden; color: var(--tj-navy); text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.latest-news-item h3 a:hover { color: var(--tj-red); }
.article-read-also { display: grid; gap: 7px; margin: 0 0 1.35em; padding: 12px 15px; border-left: 3px solid var(--tj-red); background: var(--tj-soft); font-size: .96em; line-height: 1.5; }
.article-read-also strong { color: var(--tj-navy); }
.article-read-also-link { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 11px; color: var(--tj-blue); font-weight: 700; text-decoration: none; }
.article-read-also-link img, .article-read-also-placeholder { display: block; width: 104px; aspect-ratio: 16 / 10; border-radius: 5px; background: #dce5ef; object-fit: cover; }
.article-read-also-link:hover span:last-child { text-decoration: underline; }
.article-read-also-placeholder { background: linear-gradient(135deg, #e8eef5, #cbd8e6); }

@media (max-width: 980px) {
    .primary-menu { flex-wrap: wrap; row-gap: 0; }
    .primary-menu > li > a { padding-inline: 10px; font-size: .8rem; }
    .headline-slide { min-height: 260px; }
    .editor-pick-card { flex-basis: calc((100% - 24px) / 3); }
    .latest-news-item { grid-template-columns: minmax(100px, 135px) minmax(0, 1fr); }
}

@media (max-width: 720px) {
    .headline-carousel { margin-bottom: 24px; }
    .headline-slide { min-height: 0; aspect-ratio: 4 / 3; }
    .headline-slide::after { inset: 15% 0 0; }
    .headline-caption { right: 15px; bottom: 16px; left: 15px; }
    .headline-caption h1, .headline-caption h2 { font-size: clamp(1.15rem, 5vw, 1.55rem); line-height: 1.25; }
    .editor-picks { margin-block: 22px 28px; }
    .editor-picks-track { gap: 10px; }
    .editor-pick-card { flex-basis: calc((100% - 10px) / 2); }
    .editor-pick-card h3 { font-size: .82rem; }
    .latest-news-item { grid-template-columns: minmax(90px, 32%) minmax(0, 1fr); gap: 11px; padding: 10px 0; }
    .latest-news-item h3 { font-size: .9rem; line-height: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
    .headline-track, .editor-picks-track { scroll-behavior: auto; }
}

body { background: #fff; }
.primary-navigation { border-top: 0; background: transparent; box-shadow: none; }
.primary-navigation > .tj-container {
    width: min(1320px, calc(100% - 32px));
    margin-inline: auto;
    background: var(--tj-red);
}
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { background: #b9151b; }
.page-header { background: linear-gradient(120deg, #b9151b, var(--tj-red)); }
.widget-title { border-left-color: var(--tj-red); background: var(--tj-red); }

.headline-section { margin-bottom: 28px; }
.headline-main-heading { visibility: hidden; }
.headline-side > h3 { display: none; }
.headline-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(245px, 1fr); align-items: stretch; gap: 18px; }
.headline-feature, .headline-carousel { min-width: 0; }
.category-news-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .82fr); align-items: start; gap: 28px; }
.category-news-main { min-width: 0; }
.category-page-header { margin-bottom: 18px; }
.headline-carousel { margin: 0; }
.headline-track { border-radius: 10px; }
.headline-slide { min-height: 0; aspect-ratio: 16 / 10; border-radius: 10px; }
.headline-caption { right: 18px; bottom: 18px; left: 18px; }
.headline-caption h1, .headline-caption h2 { font-size: clamp(1.15rem, 1.8vw, 1.55rem); }
.headline-side { display: grid; grid-template-rows: auto repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.headline-side > h3 { margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--tj-red); color: var(--tj-navy); font-size: 1rem; line-height: 1.3; }
.headline-side-item { display: grid; grid-template-columns: minmax(86px, 34%) minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; padding-bottom: 8px; border-bottom: 1px solid var(--tj-line); }
.headline-side-item:last-child { padding-bottom: 0; border-bottom: 0; }
.headline-side-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--tj-soft); }
.headline-side-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.headline-side-item h4 { display: -webkit-box; overflow: hidden; margin: 0; font-size: .86rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.headline-side-item h4 a { color: var(--tj-ink); text-decoration: none; }
.category-news-layout .headline-caption .hero-category { display: none; }
.post-published-time { display: block; margin-top: 5px; color: var(--tj-muted); font-size: .72rem; line-height: 1.35; }
.headline-caption .post-published-time { color: #e3edf8; font-size: .75rem; }
.headline-side-item .post-published-time { grid-column: 2; margin-top: -6px; font-size: .68rem; }
.editor-pick-card .post-published-time { margin-top: 4px; font-size: .68rem; }
.latest-news-item .post-published-time { grid-column: 2; margin-top: -8px; }
.hot-news-item .post-published-time { font-size: .67rem; }
.recommendation-item .post-published-time { grid-column: 2; margin-top: -6px; font-size: .66rem; }
.sidebar-post-content .post-published-time { margin-top: 3px; font-size: .66rem; }
.post-card .post-published-time { margin: -2px 0 8px; }
.related-news-item .post-published-time { grid-column: 2; margin-top: -7px; }
.article h1 { font-size: clamp(1.65rem, 3vw, 2rem); line-height: 1.25; }
.article h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.article h3 { font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
.article-content { font-size: 1rem; line-height: 1.75; }
.article-content h2 { font-size: 1.3rem; }
.article-content h3 { font-size: 1.12rem; }
.article-content h4 { font-size: 1rem; }
.comments-area { max-width: 760px; padding: 14px; }
.comments-area .comment-form { max-width: 560px; }
.comments-area .comment-form textarea { height: 88px; min-height: 88px; }
.comments-area .comment-list { font-size: .88rem; }
.comments-area .comment-body { margin: 10px 0; padding: 10px; }

.editor-picks, .hot-news { padding: 16px; border: 1px solid #dceaf7; border-radius: 12px; background: #f1f7fc; }
.editor-picks { margin-block: 0 30px; }
.editor-picks .section-heading, .hot-news .section-heading { margin-bottom: 12px; }
.editor-pick-card { flex-basis: calc((100% - 24px) / 3); }
.editor-pick-card h3 { font-size: .84rem; }
.latest-news-item { padding-inline: 0; border: 0; border-bottom: 1px solid var(--tj-line); border-radius: 0; background: transparent; box-shadow: none; }
.latest-news-item:hover { transform: none; }
.latest-news-list > .hot-news { grid-column: 1 / -1; margin-block: 14px; }
.hot-news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hot-news-item { min-width: 0; }
.hot-news-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 7px; background: var(--tj-soft); }
.hot-news-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hot-news-item h3 { margin: 7px 0 0; font-size: .84rem; line-height: 1.35; }
.hot-news-item h3 a { display: -webkit-box; overflow: hidden; color: var(--tj-navy); text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.latest-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.latest-pagination .page-numbers { min-height: 38px; }
.latest-pagination .current { border-color: var(--tj-red); background: var(--tj-red); color: #fff; }
.latest-pagination a:hover { border-color: var(--tj-red); color: var(--tj-red); }

.footer-recommendations { margin-block: 0 34px; padding: 18px; border: 1px solid #d5e7f7; border-radius: 12px; background: #eef6fd; }
.footer-recommendations .section-heading h2 { color: var(--tj-navy); }
.recommendation-list { display: flex; gap: 14px; overflow-x: auto; padding: 2px 0 8px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.recommendation-list::-webkit-scrollbar { display: none; }
.recommendation-item { display: grid; grid-template-columns: minmax(78px, 38%) minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; }
.recommendation-item { flex: 0 0 calc((100% - 28px) / 3); scroll-snap-align: start; }
.recommendation-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--tj-soft); }
.recommendation-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.recommendation-item h3 { display: -webkit-box; overflow: hidden; margin: 0; font-size: .82rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.recommendation-item h3 a { color: var(--tj-navy); text-decoration: none; }
.article-byline { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 14px 0 18px; }
.article-byline .post-meta { align-items: center; gap: 5px 12px; }
.article-byline .post-meta > * + *::before { margin-right: 10px; color: #a4afbd; content: "·"; }
.article-byline .post-meta > .post-editor::before { margin-right: 0; content: none; }
.article-byline .post-author strong,.article-byline .post-editor strong { color: var(--tj-navy); font-weight: 800; }
.article-share { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.article-share-label { color: var(--tj-muted); font-size: .76rem; font-weight: 700; }
.share-link { display: inline-grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #edf2f7; color: #263d58; }
.share-link:hover, .share-link:focus-visible { background: var(--tj-red); color: #fff; }
.share-link svg { width: 16px; height: 16px; fill: currentColor; }
.article-featured-image { margin-top: 0; }

.comments-area { max-width: 860px; margin-top: 18px; padding: 18px; }
.comments-area .comment-form { max-width: 680px; }
.comments-area .comment-form textarea { height: 110px; min-height: 110px; }
.comments-area .comment-form input:not([type="checkbox"]):not([type="submit"]) { max-width: 100%; }
.related-news-list { display: grid; gap: 0; }
.related-news-item { display: grid; grid-template-columns: minmax(100px, 150px) minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--tj-line); }
.related-news-item:first-child { padding-top: 0; }
.related-news-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 7px; background: var(--tj-soft); }
.related-news-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.related-news-item h3 { margin: 0; font-size: .96rem; line-height: 1.35; }
.related-news-item h3 a { color: var(--tj-navy); text-decoration: none; }

@media (max-width: 980px) {
    .headline-layout { grid-template-columns: minmax(0, 1.5fr) minmax(215px, 1fr); gap: 14px; }
    .category-news-layout { gap: 20px; }
    .headline-side-item { grid-template-columns: minmax(74px, 35%) minmax(0, 1fr); gap: 8px; }
    .headline-side-item h4 { font-size: .8rem; }
    .hot-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .recommendation-item { flex-basis: calc((100% - 14px) / 2); }
    .related-news-item { grid-template-columns: minmax(100px, 135px) minmax(0, 1fr); }
}

@media (max-width: 720px) {
    .header-actions { gap: 6px; }
    .header-actions .icon-button { width: 38px; height: 38px; flex-basis: 38px; }
    .headline-layout { grid-template-columns: minmax(0, 1fr); }
    .category-news-layout { grid-template-columns: minmax(0, 1fr); }
    .headline-slide { aspect-ratio: 16 / 10; }
    .headline-side { grid-template-rows: auto; }
    .headline-side-item { grid-template-columns: minmax(90px, 30%) minmax(0, 1fr); }
    .headline-side-item h4 { font-size: .86rem; }
    .related-news-item { grid-template-columns: minmax(90px, 32%) minmax(0, 1fr); gap: 11px; padding: 10px 0; }
    .related-news-item h3 { font-size: .88rem; }
    .editor-picks, .hot-news { padding: 12px; }
    .editor-pick-card { flex-basis: calc((100% - 10px) / 2); }
    .hot-news-grid { gap: 10px; }
    .hot-news-item h3 { font-size: .78rem; }
    .recommendation-item { flex-basis: 84%; }
    .article-byline { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .article-byline .post-meta { flex: 1 1 150px; gap: 4px 8px; font-size: .72rem; }
    .article-byline .post-author { flex-basis: 100%; }
    .article-share { flex-wrap: wrap; gap: 4px; }
    .article-share-label { display: none; }
    .article h1 { font-size: 1.55rem; }
    .article-content { font-size: .98rem; line-height: 1.72; }
    .comments-area { padding: 12px; }
    .comments-area .comment-form { max-width: 100%; }
}

html[data-theme="dark"] {
    color-scheme: dark;
    --tj-ink: #e6edf5;
    --tj-muted: #aab8c8;
    --tj-line: #344253;
    --tj-soft: #202c3a;
    --tj-navy: #e1eaf5;
    --tj-blue: #70baff;
}
html[data-theme="dark"] body,
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .breaking-bar,
html[data-theme="dark"] .primary-menu .sub-menu,
html[data-theme="dark"] .article,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .sidebar-widget,
html[data-theme="dark"] .widget,
html[data-theme="dark"] .home-intro,
html[data-theme="dark"] .home-empty-state,
html[data-theme="dark"] .editor-picks,
html[data-theme="dark"] .hot-news,
html[data-theme="dark"] .footer-recommendations { border-color: #324c65; background: #1b2b3b; }
html[data-theme="dark"] body { color: var(--tj-ink); }
html[data-theme="dark"] .site-title,
html[data-theme="dark"] .breaking-inner a,
html[data-theme="dark"] .headline-side > h3,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .article h1,
html[data-theme="dark"] .article-content,
html[data-theme="dark"] .post-card h2 a,
html[data-theme="dark"] .sidebar-post a,
html[data-theme="dark"] .category-list a,
html[data-theme="dark"] .today-news-item h3 a,
html[data-theme="dark"] .recommendation-item h3 a,
html[data-theme="dark"] .editor-pick-card h3 a,
html[data-theme="dark"] .hot-news-item h3 a,
html[data-theme="dark"] .latest-news-item h3 a,
html[data-theme="dark"] .headline-side-item h4 a { color: var(--tj-ink); }
html[data-theme="dark"] .article-byline .post-author strong,
html[data-theme="dark"] .article-byline .post-editor strong { color: var(--tj-ink); }
html[data-theme="dark"] .header-search-form input,
html[data-theme="dark"] .icon-button,
html[data-theme="dark"] .carousel-button,
html[data-theme="dark"] .comment-form input,
html[data-theme="dark"] .comment-form textarea { border-color: #46576a; background: #202c3a; color: var(--tj-ink); }
html[data-theme="dark"] .page-numbers { color: var(--tj-ink); }
html[data-theme="dark"] .editor-picks,
html[data-theme="dark"] .hot-news { border-color: #324c65; background: #1b2b3b; }
html[data-theme="dark"] .article-read-also,
html[data-theme="dark"] .article-content blockquote { background: #202c3a; color: var(--tj-ink); }
html[data-theme="dark"] .article-read-also strong,
html[data-theme="dark"] .article-read-also-link { color: var(--tj-ink); }
html[data-theme="dark"] .site-footer { background: #0e1823; }
html[data-theme="dark"] .site-main { background: transparent; }
html[data-theme="dark"] .site-description,
html[data-theme="dark"] .post-card-excerpt { color: var(--tj-muted); }
html[data-theme="dark"] .recommendation-item,
html[data-theme="dark"] .latest-news-item { color: var(--tj-ink); }
html[data-theme="dark"] .post-published-time { color: var(--tj-muted); }
html[data-theme="dark"] .share-link { background: #2b3b4e; color: var(--tj-ink); }
html[data-theme="dark"] .share-link:hover,
html[data-theme="dark"] .share-link:focus-visible { background: var(--tj-red); color: #fff; }

.site-logo { max-width: min(300px, 42vw); }
.site-logo img { width: auto; max-width: 100%; max-height: 82px; }
.footer-brand-logo { max-width: min(220px, 100%); }
.footer-brand-logo img { width: 100%; max-height: 72px; }

@media (max-width: 720px) {
    .site-logo { max-width: min(180px, 42vw); }
    .site-logo img, .custom-logo { max-width: 100%; max-height: 56px; }
    .footer-brand-logo { max-width: min(170px, 100%); }
    .footer-brand-logo img { max-height: 54px; }
}
