/* DK Sports - main stylesheet */
:root {
  --ink: #0E1116;
  --ink-2: #181D26;
  --ink-3: #252B36;
  --paper: #F4F2EE;
  --card: #FFFFFF;
  --line: #E2DED6;
  --text: #15181E;
  --muted: #666B75;
  --red: #E4002B;
  --red-d: #B5001F;
  --volt: #FFC400;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(14,17,22,.06), 0 8px 24px -12px rgba(14,17,22,.18);
  --f-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --f-ui: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-read: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.55 var(--f-ui); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--volt); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }

/* ---------- Top bar & header ---------- */
.topbar { background: #07090C; color: #9AA0AA; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.social { display: flex; gap: 6px; }
.social a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: inherit; transition: background .2s, color .2s; }
.social a:hover { background: var(--red); color: #fff; }
.social svg { width: 15px; height: 15px; fill: currentColor; }

.header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--red); }
.header-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800; font-style: italic; letter-spacing: .5px; flex-shrink: 0; }
.logo-mark { background: var(--red); color: #fff; padding: 2px 10px 0 8px; font-size: 30px; line-height: 1.15; transform: skewX(-10deg); display: inline-block; }
.logo-text { font-size: 28px; color: #fff; }
.nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { font-family: var(--f-display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .6px; padding: 8px 12px; border-radius: 6px; color: #D5D8DE; white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: var(--ink-3); }
.nav a.active { color: #fff; box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.header-actions { display: flex; gap: 6px; margin-left: auto; }
.icon-btn { background: transparent; border: 0; color: #fff; width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; }
.icon-btn:hover { background: var(--ink-3); }
.menu-btn { display: none; }
.searchbar { background: var(--ink-2); padding: 14px 0; }
.searchbar .wrap { display: flex; gap: 10px; }
.searchbar input { flex: 1; height: 46px; border-radius: 8px; border: 1px solid var(--ink-3); background: #0B0E13; color: #fff; padding: 0 16px; font: inherit; font-size: 16px; }
.searchbar button, .btn { height: 46px; padding: 0 22px; border-radius: 8px; border: 0; background: var(--red); color: #fff; font-weight: 700; letter-spacing: .3px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s; }
.searchbar button:hover, .btn:hover { background: var(--red-d); }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--text); }
.btn-ghost:hover { background: var(--text); color: #fff; }

/* ---------- Ticker ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; }
.ticker-in { display: flex; align-items: center; height: 40px; gap: 14px; }
.ticker-label { background: var(--ink); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; font-size: 14px; flex-shrink: 0; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-move { display: inline-flex; gap: 40px; white-space: nowrap; animation: tick 40s linear infinite; font-weight: 600; font-size: 14.5px; }
.ticker-move a:hover { text-decoration: underline; }
.ticker-move a::before { content: "\25CF"; margin-right: 10px; color: var(--volt); font-size: 9px; vertical-align: 2px; }
.ticker:hover .ticker-move { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Layout ---------- */
main { min-height: 60vh; outline: none; }
.section { padding: 40px 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; border-bottom: 2px solid var(--text); padding-bottom: 10px; }
.sec-title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 28px; letter-spacing: .4px; display: flex; align-items: center; gap: 12px; }
.sec-title::before { content: ""; width: 12px; height: 26px; background: var(--red); transform: skewX(-12deg); }
.sec-link { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .6px; color: var(--red); }
.sec-link:hover { text-decoration: underline; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }

/* ---------- Hero ---------- */
.hero { margin-top: 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.ov-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; min-height: 240px; display: flex; isolation: isolate; }
.ov-card .media { position: absolute; inset: 0; z-index: -2; }
.ov-card .media img, .ov-card .media .cover-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ov-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,10,14,0) 25%, rgba(8,10,14,.92) 100%); }
.ov-card:hover .media img, .ov-card:hover .media .cover-fallback { transform: scale(1.04); }
.ov-body { margin-top: auto; padding: 22px; }
.ov-card h2 { font-family: var(--f-display); font-weight: 800; font-size: 26px; line-height: 1.05; margin: 10px 0 8px; text-wrap: balance; }
.hero-main { min-height: 520px; }
.hero-main h2 { font-size: clamp(32px, 4.2vw, 52px); text-transform: uppercase; }
.hero-main .ov-body { padding: 32px; }
.hero-main p.ex { color: #D6D9DF; max-width: 640px; margin: 0 0 12px; font-size: 17px; }

/* ---------- Pills & meta ---------- */
.pill { display: inline-block; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .8px; padding: 3px 9px 2px; border-radius: 4px; background: var(--c, var(--red)); color: #fff; }
.meta { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.ov-card .meta { color: #B9BEC7; }
.meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; margin-right: 14px; vertical-align: middle; }

/* ---------- Category strip ---------- */
.cat-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 8px; font-weight: 700; transition: border-color .2s, transform .2s; }
.cat-chip:hover { border-color: var(--c); transform: translateY(-2px); }
.cat-chip i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); display: grid; place-items: center; color: #fff; font-style: normal; font-family: var(--f-display); font-size: 14px; }
.cat-chip small { color: var(--muted); font-weight: 500; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(14,17,22,.06), 0 18px 36px -16px rgba(14,17,22,.3); }
.card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.card .media img, .card .media .cover-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .media img { transform: scale(1.05); }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card h3 { font-family: var(--f-display); font-weight: 700; font-size: 23px; line-height: 1.12; text-wrap: balance; }
.card h3 a:hover { color: var(--red); }
.card p { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; padding-top: 6px; }

.cover-fallback { display: grid; place-items: center; background: radial-gradient(120% 90% at 80% 10%, color-mix(in srgb, var(--c, var(--red)) 75%, #fff 0%) 0%, var(--c, var(--red)) 40%, #0B0E13 100%); color: rgba(255,255,255,.18); font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(30px, 6vw, 64px); letter-spacing: 2px; overflow: hidden; }

/* ---------- Sidebar ---------- */
.side-box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 24px; }
.side-box h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 22px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.side-box h3::before { content: ""; width: 8px; height: 20px; background: var(--red); transform: skewX(-12deg); }
.trend { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.trend li { counter-increment: t; display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.trend li:first-child { border-top: 0; padding-top: 0; }
.trend li::before { content: counter(t, decimal-leading-zero); font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.trend a { font-weight: 700; line-height: 1.3; display: block; margin-bottom: 4px; }
.trend a:hover { color: var(--red); }
.side-cats { list-style: none; margin: 0; padding: 0; }
.side-cats a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-weight: 600; }
.side-cats li:first-child a { border-top: 0; }
.side-cats a:hover { color: var(--red); }
.side-cats a span { display: flex; align-items: center; gap: 10px; }
.side-cats a span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.count { background: var(--paper); border-radius: 999px; padding: 1px 10px; font-size: 13px; color: var(--muted); }

.news-box { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.news-box::before { content: "DK"; position: absolute; right: -10px; bottom: -36px; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 150px; color: rgba(255,255,255,.05); }
.news-box h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.news-box p { color: #AEB3BC; margin: 0 0 16px; }
.subscribe { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.subscribe input { flex: 1 1 160px; min-width: 0; height: 46px; border-radius: 8px; border: 1px solid var(--line); padding: 0 14px; font: inherit; }
.subscribe-dark input { background: #0B0E13; border-color: var(--ink-3); color: #fff; }
.subscribe button { height: 46px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font-weight: 700; }
.subscribe button:hover { background: var(--red-d); }
.form-msg { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; min-height: 1px; }
.form-msg.ok { color: #3DDC84; }
.form-msg.err { color: #FF6B7F; }

/* ---------- Article ---------- */
.article-head { padding: 40px 0 26px; text-align: center; }
.article-head .inner { max-width: 900px; margin: 0 auto; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.crumbs a:hover { color: var(--red); }
.article-head h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 5.6vw, 68px); text-transform: uppercase; margin: 16px 0; text-wrap: balance; letter-spacing: .2px; }
.article-head .lede { font-family: var(--f-read); font-size: clamp(18px, 2vw, 21px); color: #454952; max-width: 720px; margin: 0 auto 18px; }
.article-head .meta { justify-content: center; }
.byline { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 15px; }
.article-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--ink); max-width: 1100px; margin: 0 auto; }
.article-cover img, .article-cover .cover-fallback { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 64px minmax(0, 720px); gap: 32px; justify-content: center; padding: 40px 0 20px; }
.share { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 10px; align-self: start; }
.share span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); text-align: center; }
.share a, .share button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--text); margin: 0 auto; transition: background .2s, color .2s; }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; }
.share svg { width: 18px; height: 18px; fill: currentColor; }

.prose { font-family: var(--f-read); font-size: 19px; line-height: 1.72; color: #1F2329; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose > p:first-of-type::first-letter { float: left; font-family: var(--f-display); font-weight: 800; font-size: 4.4em; line-height: .82; padding: 6px 10px 0 0; color: var(--red); }
.prose h2, .prose h3 { font-family: var(--f-display); font-weight: 800; color: var(--text); margin: 1.6em 0 .55em; }
.prose h2 { font-size: 34px; text-transform: uppercase; }
.prose h3 { font-size: 26px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 5px solid var(--red); font-size: 1.22em; font-style: italic; color: var(--text); }
.prose img { border-radius: 8px; margin: 1.5em auto; height: auto; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; font-family: var(--f-ui); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--f-ui); font-size: 16px; margin: 1.4em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose th { background: var(--ink); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.tag { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.tag:hover { border-color: var(--red); color: var(--red); }

/* ---------- Page headers ---------- */
.page-head { background: var(--ink); color: #fff; padding: 52px 0 46px; position: relative; overflow: hidden; border-bottom: 6px solid var(--c, var(--red)); }
.page-head::after { content: attr(data-word); position: absolute; right: -10px; bottom: -40px; font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(90px, 16vw, 220px); color: rgba(255,255,255,.04); white-space: nowrap; pointer-events: none; }
.page-head .kicker { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--c, var(--red)); }
.page-head h1 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 7vw, 84px); margin: 6px 0 8px; }
.page-head p { color: #B9BEC7; margin: 0; max-width: 640px; font-size: 17px; }
.page-head .searchform { display: flex; gap: 10px; max-width: 620px; margin-top: 18px; }
.page-head .searchform input { flex: 1; height: 50px; border-radius: 8px; border: 0; padding: 0 16px; font: inherit; font-size: 17px; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-weight: 700; }
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .cur { background: var(--ink); color: #fff; border-color: var(--ink); }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty h2 { font-family: var(--f-display); font-size: 40px; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.empty .big { font-family: var(--f-display); font-size: 120px; font-weight: 800; font-style: italic; color: var(--red); line-height: 1; }
.about-wrap { max-width: 760px; margin: 0 auto; }

/* ---------- Loading ---------- */
.loading-page { display: grid; place-items: center; min-height: 50vh; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { background: linear-gradient(90deg, #ECE9E3 25%, #F7F5F1 50%, #ECE9E3 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
.fade-in { animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C9CDD4; margin-top: 60px; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; padding: 50px 20px 36px; }
.footer h4 { font-family: var(--f-display); text-transform: uppercase; font-size: 18px; letter-spacing: 1px; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer li a:hover { color: #fff; text-decoration: underline; }
.footer-tag, .muted-light { color: #8E949E; font-size: 15px; margin: 14px 0; }
.footer .social a { background: var(--ink-3); color: #fff; width: 34px; height: 34px; }
.footer-bottom { border-top: 1px solid var(--ink-3); padding: 18px 20px; font-size: 14px; color: #7D838D; }
.setup-note { max-width: 680px; margin: 60px auto; background: #FFF6D6; border: 2px solid var(--volt); border-radius: var(--radius); padding: 26px; }


/* ---------- Category blocks & mini list ---------- */
.card-body .pill { align-self: flex-start; }
.muted { color: var(--muted); }
.cat-block .sec-head { border-bottom-color: var(--c, var(--text)); }
.cat-block .sec-title::before { background: var(--c, var(--red)); }
.block-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; }
.block-main { min-height: 380px; }
.mini-list { display: flex; flex-direction: column; gap: 14px; }
.mini { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; background: var(--card); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); align-items: center; transition: transform .2s; }
.mini:hover { transform: translateX(4px); }
.mini .media { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--ink); }
.mini .media img, .mini .media .cover-fallback { width: 100%; height: 100%; object-fit: cover; font-size: 20px; }
.mini h4 { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.12; margin-bottom: 6px; }
.mini:hover h4 { color: var(--red); }
.news-wide .news-box { padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; align-items: center; }
.news-wide .news-box h3 { font-size: 36px; }
.news-wide .news-box p { margin: 0; }
.news-wide .news-box form { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 860px) {
  .block-grid { grid-template-columns: 1fr; }
  .news-wide .news-box { grid-template-columns: 1fr; }
  .news-wide .news-box form { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) { .mini { grid-template-columns: 110px minmax(0, 1fr); } }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .with-sidebar { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; top: 105px; left: 0; right: 0; bottom: 0; background: var(--ink); flex-direction: column; padding: 16px 20px; gap: 4px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
  .nav.open { transform: none; }
  .nav a { font-size: 22px; padding: 12px; border-bottom: 1px solid var(--ink-3); border-radius: 0; }
  .nav a.active { box-shadow: inset 3px 0 0 var(--red); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { min-height: 420px; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .share { position: static; flex-direction: row; justify-content: center; order: 2; margin-top: 20px; }
  .share a, .share button { margin: 0; }
  .share span { align-self: center; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .nav { top: 71px; }
  .header-in { height: 68px; gap: 12px; }
  .logo-mark { font-size: 26px; }
  .logo-text { font-size: 24px; }
  .grid, .grid-2 { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr; }
  .hero { margin-top: 16px; }
  .hero-main { min-height: 360px; }
  .hero-main p.ex { display: none; }
  .ov-card h2 { font-size: 24px; }
  .hero-main .ov-body, .ov-body { padding: 20px; }
  .sec-title { font-size: 24px; }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 28px; }
  .article-cover { aspect-ratio: 16 / 10; border-radius: 0; margin: 0 -16px; }
  .footer-grid { grid-template-columns: 1fr; padding: 40px 16px 26px; }
  .page-head .searchform { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
