/*
Theme Name: TecnoHub Editorial
Theme URI: https://tecnohub.tec.br/
Description: Tema próprio da TecnoHub — notícias de tecnologia, IA e vida digital. Leve, sem builder.
Version: 1.0.0
Author: TecnoHub
Text Domain: tecnohub-editorial
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
	--ink: #14252d;
	--deep: #0e1b21;
	--teal: #355f62;
	--mint: #4fb3b0;
	--mint-dk: #2a7f7b;
	--mint-lt: #d9f0ee;
	--soft: #eef4f4;
	--line: #dce6e7;
	--text: #222831;
	--body: #31363f;
	--muted: #60757d;
	--white: #fff;
	--head: "Sora", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--wrap: 1240px;
	--gut: 24px;
	--r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.th-lock { overflow: hidden; }
body { margin: 0; background: var(--white); color: var(--body); font: 400 16.5px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mint-dk); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--text); margin: 0; line-height: 1.25; letter-spacing: -.01em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.th-skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--mint); color: var(--ink); padding: 8px 14px; }
.th-skip:focus { left: 8px; top: 8px; }
.th-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Header ---------- */
.th-header { background: var(--ink); color: #e4eeef; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
body.admin-bar .th-header { top: 32px; }
.th-header-in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.th-logo { display: block; flex: 0 0 auto; }
.th-logo img { width: 158px; height: auto; }
.th-nav { flex: 1; min-width: 0; }
.th-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; justify-content: flex-end; }
.th-nav-list a { display: block; padding: 8px 12px; border-radius: 999px; font: 600 14.5px/1 var(--head); color: #cfe0e2; white-space: nowrap; }
.th-nav-list a:hover { background: rgba(255,255,255,.08); color: #fff; }
.th-nav-list a[aria-current] { background: var(--mint); color: var(--ink); }
.th-burger { display: none; width: 40px; height: 40px; border: 0; background: none; color: #fff; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0 9px; }
.th-burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.th-search-btn { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.th-search-btn:hover, .th-search-btn[aria-expanded="true"] { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.th-search-panel { background: var(--deep); padding: 16px 0; }

.th-searchform { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.th-searchform input { flex: 1; min-width: 0; font: 400 16px var(--sans); padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); }
.th-searchform input:focus { outline: 2px solid var(--mint); outline-offset: 0; }
.th-searchform button { border: 0; border-radius: 999px; background: var(--mint); color: var(--ink); font: 700 14px var(--head); padding: 0 22px; cursor: pointer; }
.th-searchform button:hover { background: #6fc7c4; }

/* ---------- Drawer ---------- */
.th-drawer { position: fixed; inset: 0; z-index: 100; background: rgba(14,27,33,.6); }
.th-drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); background: var(--ink); color: #cfe0e2; overflow-y: auto; padding: 0 0 24px; }
body.admin-bar .th-drawer-panel { top: 46px; }
.th-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.th-logo-sm img { width: 128px; }
.th-drawer-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: none; color: #fff; cursor: pointer; }
.th-drawer-label { margin: 20px 20px 8px; font: 700 11.5px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.th-drawer-list, .th-drawer-inst { list-style: none; margin: 0; padding: 0; }
.th-drawer-list a, .th-drawer-inst a { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; font: 600 15px var(--head); color: #eaf3f4; }
.th-drawer-list a:hover, .th-drawer-inst a:hover { background: rgba(255,255,255,.06); color: var(--mint); }
.th-drawer-list small { font: 600 12px var(--sans); color: #8aa2a8; }
.th-drawer-inst a { font: 400 14.5px var(--sans); color: #b6c8cc; }

/* ---------- Shared ---------- */
.th-main { min-height: 50vh; }
.th-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.th-head h2 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.th-head h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--mint); flex: 0 0 auto; }
.th-head h2 a:hover { color: var(--mint-dk); }
.th-more { font: 700 13.5px var(--head); color: var(--mint-dk); white-space: nowrap; }
.th-more:hover { color: var(--ink); }

.th-tag { display: inline-block; font: 700 11.5px/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--mint-dk); margin: 0 0 6px; }
.th-tag:hover { color: var(--ink); }
.th-when { font-size: 13px; color: var(--muted); }
.th-meta { margin-top: 6px; }
.th-title { font-weight: 700; }
.th-title a:hover { color: var(--mint-dk); }
.th-excerpt { margin: 10px 0 0; color: var(--body); }

.th-thumb { display: block; overflow: hidden; border-radius: var(--r); background: var(--soft); aspect-ratio: 16 / 9; }
.th-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.th-thumb:hover img { transform: scale(1.03); }
.th-thumb-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--ink), var(--teal)); }
@media (prefers-reduced-motion: reduce) { .th-thumb img { transition: none; } }

.th-card .th-thumb { margin-bottom: 12px; }
.th-card .th-title { font-size: 17.5px; line-height: 1.32; }
.th-lead .th-thumb { margin-bottom: 16px; aspect-ratio: 16 / 10; }
.th-lead .th-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.16; font-weight: 800; }
.th-side { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.th-side .th-thumb { aspect-ratio: 1 / 1; border-radius: 10px; }
.th-side .th-title { font-size: 15px; line-height: 1.35; }
.th-side .th-meta { margin-top: 4px; }
.th-line { padding: 12px 0; border-top: 1px solid var(--line); }
.th-line .th-title { font-size: 15.5px; line-height: 1.38; }
.th-line .th-tag { display: none; }

.th-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.th-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.th-sec { padding-top: 48px; padding-bottom: 48px; }
.th-btn { display: inline-block; padding: 13px 26px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 14.5px var(--head); }
.th-btn:hover { background: var(--mint); color: var(--ink); }

/* ---------- Home: agora ---------- */
.th-now { background: var(--soft); border-bottom: 1px solid var(--line); }
.th-now-in { display: flex; align-items: center; gap: 18px; min-height: 48px; }
.th-now-label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font: 800 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.th-now-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(79,179,176,.25); }
.th-now-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; flex: 1; min-width: 0; }
.th-now-list li { display: flex; gap: 8px; align-items: baseline; min-width: 0; font-size: 14px; }
.th-now-list .th-when { flex: 0 0 auto; font: 700 12px var(--head); color: var(--mint-dk); }
.th-now-list a { font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Home: topo (three columns, same height) ---------- */
.th-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 28px; align-items: stretch; padding-top: 32px; padding-bottom: 44px; }
.th-top-lead .th-lead { height: 100%; }
.th-top-mid { display: flex; flex-direction: column; gap: 22px; }
.th-top-mid .th-card { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.th-top-mid .th-thumb { flex: 1; aspect-ratio: auto; min-height: 120px; }
.th-top-mid .th-title { font-size: 16.5px; }
.th-top-radar { display: flex; flex-direction: column; background: var(--ink); color: #e4eeef; border-radius: var(--r); padding: 22px 22px 8px; }
.th-radar-h { font: 800 13px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin: 0 0 6px; }
.th-radar { list-style: none; margin: 0; padding: 0; counter-reset: r; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.th-radar li { counter-increment: r; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.09); }
.th-radar li:first-child { border-top: 0; }
.th-radar li::before { content: counter(r, decimal-leading-zero); font: 800 16px/1.4 var(--head); color: var(--mint); }
.th-radar .th-tag { color: #8fc9c6; font-size: 10.5px; margin-bottom: 3px; }
.th-radar .th-title { font-size: 15px; line-height: 1.35; color: #fff; }
.th-radar .th-title a:hover { color: var(--mint); }

/* ---------- Home: hub tiles ---------- */
.th-hub { background: var(--ink); padding: 40px 0 44px; }
.th-head-light h2 { color: #fff; }
.th-hub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.th-hub-grid a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: .15s; }
.th-hub-grid strong { font: 700 17px var(--head); color: #fff; }
.th-hub-grid span { font-size: 13px; color: #8fb0b5; }
.th-hub-grid a:hover { background: var(--mint); border-color: var(--mint); }
.th-hub-grid a:hover strong, .th-hub-grid a:hover span { color: var(--ink); }

/* ---------- Home: segurança (dark) ---------- */
.th-dark { background: linear-gradient(180deg, var(--deep), var(--ink)); color: #d6e3e5; }
.th-dark .th-head h2, .th-dark .th-title { color: #fff; }
.th-dark .th-title a:hover { color: var(--mint); }
.th-dark .th-tag { color: var(--mint); }
.th-dark .th-when, .th-dark .th-excerpt { color: #a9bec2; }
.th-dark .th-more { color: var(--mint); }
.th-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: stretch; }
.th-split-side { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.th-split-side .th-side { padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.09); }
.th-split-side .th-side:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- Home: columns (equal height) ---------- */
.th-cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; align-items: stretch; }
.th-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.th-col { display: flex; flex-direction: column; min-width: 0; }
.th-stack { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.th-cols2 .th-stack { justify-content: space-between; }
.th-cols2 .th-card { margin-bottom: 4px; }
.th-cols2 .th-card .th-title { font-size: 20px; }
.th-sec-line { border-top: 1px solid var(--line); }
.th-sec-line .th-stack { gap: 0; }
.th-sec-line .th-card { padding-bottom: 14px; }

.th-soft { background: var(--soft); }
.th-cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.th-mini { background: #fff; border-radius: var(--r); padding: 20px 22px 8px; border: 1px solid var(--line); }
.th-mini-h { font: 800 14px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--mint-dk); margin-bottom: 6px; }
.th-mini .th-line:first-of-type { border-top: 0; }
.th-mini .th-line .th-title { font-size: 15px; }
.th-all { text-align: center; padding-top: 44px; padding-bottom: 60px; }

/* ---------- Single ---------- */
.th-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.th-crumbs a { color: var(--mint-dk); }
.th-crumbs p { margin: 0; }
.th-crumbs .separator { margin: 0 6px; }
.th-art-head { padding-top: 34px; padding-bottom: 8px; }
.th-art-head > * { max-width: 900px; }
.th-tag-pill { background: var(--mint-lt); color: var(--ink); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.th-art-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.th-art-dek { font-size: 19.5px; line-height: 1.5; color: var(--body); margin: 14px 0 0; }
.th-art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.th-art-meta strong { color: var(--text); }
.th-art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 24px; padding-bottom: 52px; }
.th-art-main { min-width: 0; max-width: 780px; }
.th-art-hero { margin: 0 0 28px; }
.th-art-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.th-art-hero figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.th-art-side { min-width: 0; }
.th-side-box { position: sticky; top: 92px; background: var(--soft); border-radius: var(--r); padding: 22px; }
body.admin-bar .th-side-box { top: 124px; }
.th-side-box .th-radar-h { color: var(--mint-dk); margin-bottom: 14px; }

.th-prose { font-size: 18px; line-height: 1.75; color: var(--body); overflow-wrap: break-word; }
.th-prose > *:first-child { margin-top: 0; }
.th-prose p { margin: 0 0 1.15em; }
.th-prose h2 { font-size: 26px; font-weight: 700; margin: 1.6em 0 .55em; scroll-margin-top: 90px; }
.th-prose h3 { font-size: 21px; font-weight: 700; margin: 1.4em 0 .5em; }
.th-prose h4 { font-size: 18px; font-weight: 700; margin: 1.3em 0 .4em; }
.th-prose a { color: var(--mint-dk); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.th-prose a:hover { color: var(--ink); }
.th-prose ul, .th-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.th-prose li { margin-bottom: .45em; }
.th-prose li::marker { color: var(--mint-dk); }
.th-prose blockquote { margin: 1.5em 0; padding: 18px 22px; background: var(--soft); border-left: 4px solid var(--mint); border-radius: 0 10px 10px 0; }
.th-prose blockquote p:last-child { margin-bottom: 0; }
.th-prose figure { margin: 1.6em 0; max-width: 100%; }
.th-prose img { border-radius: 10px; height: auto; }
.th-prose figcaption, .th-prose .wp-caption-text { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.th-prose .wp-caption { max-width: 100% !important; }
.th-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; display: block; overflow-x: auto; }
.th-prose th, .th-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.th-prose th { background: var(--ink); color: #fff; font-family: var(--head); font-size: 14px; }
.th-prose tr:nth-child(even) td { background: var(--soft); }
.th-prose code { font-size: .9em; background: var(--soft); padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.th-prose pre { background: var(--deep); color: #e4eeef; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: 14.5px; }
.th-prose pre code { background: none; padding: 0; }
.th-prose iframe, .th-prose video { max-width: 100%; }
.th-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.th-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.th-prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.th-prose .aligncenter { margin-left: auto; margin-right: auto; }

.th-toc { margin: 1.4em 0 1.8em; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.th-toc summary { cursor: pointer; padding: 14px 20px; font: 700 14px var(--head); color: var(--ink); }
.th-toc ol { margin: 0; padding: 0 20px 16px 42px; font-size: 15.5px; line-height: 1.5; }
.th-toc li { margin-bottom: 6px; }
.th-toc a { text-decoration: none; color: var(--body); }
.th-toc a:hover { color: var(--mint-dk); text-decoration: underline; }

.th-accordion { margin: 1.5em 0; }
.th-accordion h3 { margin-bottom: 10px; }
.th-acc { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.th-acc summary { cursor: pointer; padding: 14px 18px; font: 700 16px var(--head); color: var(--text); }
.th-acc[open] summary { border-bottom: 1px solid var(--line); }
.th-acc > div { padding: 14px 18px 2px; font-size: 17px; }

.th-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.th-share span { font: 700 13px var(--head); color: var(--muted); margin-right: 4px; }
.th-share a, .th-share button { font: 700 13px var(--head); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.th-share a:hover, .th-share button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.th-art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.th-art-tags a { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--soft); color: var(--ink); }

/* ---------- Archive / pages ---------- */
.th-arch-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 30px 0 30px; }
.th-arch-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.th-arch-head p { margin: 10px 0 0; max-width: 760px; font-size: 17px; }
.th-eyebrow { display: block; font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--mint-dk); margin-bottom: 8px; }
.th-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.th-chips a { font: 700 13.5px var(--head); padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.th-chips a:hover, .th-chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.th-search-inline { margin-top: 18px; max-width: 640px; }
.th-search-inline .th-searchform { margin: 0; }
.th-arch { padding-top: 36px; padding-bottom: 56px; }
.th-arch-lead { grid-column: 1 / -1; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.th-arch-lead .th-lead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.th-arch-lead .th-lead .th-thumb { margin: 0; }
.th-empty { font-size: 18px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 44px; }
.nav-links .page-numbers { min-width: 42px; padding: 9px 13px; text-align: center; border-radius: 999px; border: 1px solid var(--line); font: 700 14px var(--head); color: var(--text); }
.nav-links .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.nav-links a.page-numbers:hover { border-color: var(--mint); color: var(--mint-dk); }
.nav-links .dots { border: 0; }

.th-prose-page { max-width: 820px; padding-top: 36px; padding-bottom: 60px; }
.th-prose-page h1 { display: none; }
.th-prose-page .th-card, .th-prose-page .th-box { padding: 22px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); margin: 16px 0; }
.th-prose-page .th-button, .th-prose-page .th-btn { display: inline-block; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; text-decoration: none; font: 700 14.5px var(--head); margin: 6px 10px 6px 0; }
.th-prose-page .th-button:hover, .th-prose-page .th-btn:hover { background: var(--mint); color: var(--ink); }
.wpcf7 form p { margin: 0 0 12px; }
.wpcf7 label { font-weight: 700; color: var(--text); }
.wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]), .wpcf7 textarea { width: 100%; margin-top: 4px; font: 400 16px var(--sans); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
.wpcf7 textarea { min-height: 140px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--mint); outline-offset: 0; }
.wpcf7 input[type=submit] { border: 0; border-radius: 999px; background: var(--ink); color: #fff; padding: 12px 28px; font: 700 15px var(--head); cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: var(--mint); color: var(--ink); }

/* ---------- 404 ---------- */
.th-404 { background: var(--ink); color: #cfe0e2; padding: 64px 0 56px; }
.th-404-code { display: block; font: 800 80px/1 var(--head); color: var(--mint); }
.th-404 h1 { color: #fff; font-size: 40px; font-weight: 800; margin: 10px 0 10px; }
.th-404 p { max-width: 560px; margin: 0; }
.th-404 .th-chips a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }

/* ---------- Footer ---------- */
.th-footer { background: var(--deep); color: #a9bec2; padding-top: 52px; font-size: 15px; }
.th-ft-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 36px; }
.th-logo-ft img { width: 150px; margin-bottom: 14px; }
.th-ft-brand p { margin: 0 0 12px; max-width: 320px; }
.th-ft-mail { color: var(--mint); font-weight: 700; }
.th-ft-mail:hover { color: #fff; }
.th-ft-h { font: 800 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.th-ft-list { list-style: none; margin: 0; padding: 0; }
.th-ft-list li { margin-bottom: 8px; }
.th-ft-list a { color: #d0dee0; }
.th-ft-list a:hover { color: var(--mint); }
.th-ft-base { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; padding-bottom: 24px; font-size: 13px; color: #7f9499; }
.th-ft-base p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.th-nav-list a { padding: 8px 9px; font-size: 13.5px; }
	.th-top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.th-top-radar { grid-column: 1 / -1; }
	.th-radar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
	.th-radar li:nth-child(-n+3) { border-top: 0; }
	.th-now-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 6px; padding: 8px 0; }
}
@media (max-width: 1020px) {
	.th-nav { display: none; }
	.th-burger { display: flex; }
	.th-header-in { justify-content: space-between; gap: 12px; }
	.th-logo { margin-right: auto; }
	.th-grid4, .th-hub-grid, .th-cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.th-cols3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.th-art-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.th-art-main { max-width: none; }
	.th-art-side { margin-top: 36px; }
	.th-side-box { position: static; }
	.th-ft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.th-ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
	body.admin-bar .th-header { top: 0; }
}
@media (max-width: 760px) {
	:root { --gut: 16px; }
	body { font-size: 16px; }
	.th-header-in { min-height: 60px; }
	.th-logo img { width: 132px; }
	.th-now-in { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
	.th-now-list { grid-template-columns: minmax(0, 1fr); padding: 0; width: 100%; }
	.th-now-list li:nth-child(n+3) { display: none; }
	.th-top { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 22px; padding-bottom: 32px; }
	.th-top-mid { flex-direction: column; }
	.th-top-mid .th-thumb { flex: none; aspect-ratio: 16 / 9; }
	.th-radar { display: flex; }
	.th-radar li:nth-child(-n+3) { border-top: 1px solid rgba(255,255,255,.09); }
	.th-radar li:first-child { border-top: 0; }
	.th-sec { padding-top: 34px; padding-bottom: 34px; }
	.th-head h2 { font-size: 19px; }
	.th-grid4, .th-grid3, .th-cols2, .th-cols3, .th-cols4, .th-hub-grid { grid-template-columns: minmax(0, 1fr); }
	.th-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.th-hub-grid a { padding: 14px 16px; }
	.th-hub-grid strong { font-size: 15.5px; }
	.th-cols2 { gap: 34px; }
	.th-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.th-side { grid-template-columns: 84px minmax(0, 1fr); }
	.th-arch-lead .th-lead { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.th-arch-lead .th-lead .th-thumb { margin-bottom: 14px; }
	.th-art-dek { font-size: 17.5px; }
	.th-prose { font-size: 17px; }
	.th-prose h2 { font-size: 23px; }
	.th-prose .alignleft, .th-prose .alignright { float: none; margin: 1em 0; max-width: 100%; }
	.th-ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
	.th-searchform button { padding: 0 16px; }
}
