/* ==========================================================================
   Nukilan – front-end styles
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--brand-red: #E5241D;
	--brand-orange: #FF5B1F;
	--brand-blue: #1F6FEB;
	--brand-indigo: #3E3FC2;
	--brand-grad: linear-gradient(135deg, var(--brand-blue), var(--brand-indigo) 45%, var(--brand-red) 55%, var(--brand-orange));

	--bg: #FFFFFF;
	--surface: #F5F6F8;
	--surface-2: #ECEEF2;
	--ink: #0C0E13;
	--ink-2: #3B414D;
	--muted: #6B7280;
	--line: #E4E6EB;
	--kicker: #D41F19;
	--link: #1F6FEB;
	--shadow: 0 1px 2px rgba(12,14,19,.04), 0 8px 24px rgba(12,14,19,.06);
	--img-ph: linear-gradient(135deg, #E8EBF2, #DADFE8);

	--font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 14px;
	--radius-sm: 10px;
	--maxw: 1280px;
	color-scheme: light;
}
:root[data-theme="dark"] {
	--bg: #0B0D12;
	--surface: #13161D;
	--surface-2: #1B1F28;
	--ink: #EEF0F4;
	--ink-2: #B8BEC9;
	--muted: #8A919E;
	--line: #232834;
	--kicker: #FF5A4F;
	--link: #6EA8FF;
	--shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
	--img-ph: linear-gradient(135deg, #1A1E27, #232835);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: var(--font-body); font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	transition: background-color .3s ease, color .3s ease;
	overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.nk-icon { width: 20px; height: 20px; flex-shrink: 0; }

.kicker { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); }
a.kicker:hover { text-decoration: underline; }
.meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

.img { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--img-ph); display: block; }
.img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
article:hover .img img, a.img:hover img, .id-item:hover .img img { transform: scale(1.04); }
.img-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--img-ph); }
.img-ph svg { width: 56px; height: auto; opacity: .7; }

h3 a, h2 a, .row__title a { transition: color .2s; }
h3 a:hover, h2 a:hover { color: var(--link); }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar .left { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.topbar .weather { display: inline-flex; align-items: center; gap: 6px; }
.topbar .weather .nk-icon { width: 16px; height: 16px; }
.topbar .right { display: flex; gap: 14px; align-items: center; }
.topbar-link { font-weight: 600; color: var(--ink); }
.social { display: flex; gap: 4px; }
.social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); transition: background .2s, color .2s; }
.social a:hover { background: var(--surface); color: var(--ink); }
.social .nk-icon { width: 15px; height: 15px; }

/* ---------- Masthead ---------- */
.masthead .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 26px; padding-bottom: 22px; gap: 16px; }
.mh-left { display: flex; gap: 8px; align-items: center; }
.mh-right { display: flex; gap: 12px; align-items: center; justify-content: flex-end; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); transition: background .2s; flex-shrink: 0; }
.icon-btn:hover { background: var(--surface); }
.search-pill { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 14px; border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 14px; min-width: 220px; border: 1px solid transparent; transition: border-color .2s; }
.search-pill:hover { border-color: var(--line); }
.search-pill .nk-icon { width: 18px; height: 18px; }
.search-pill kbd { margin-left: auto; font-family: var(--font-body); font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; background: var(--bg); }

.logo { margin: 0; line-height: 0; text-align: center; }
.logo a { display: inline-block; }
.logo img { height: 52px; width: auto; margin: 0 auto; }
.logo-dark { display: none !important; }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
.tagline { margin-top: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; font-weight: 500; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: 14px; white-space: nowrap; border: 0; cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--bg); transition: opacity .2s, transform .15s; }
.btn-primary:hover { opacity: .9; color: var(--bg); }
.btn-primary:active { transform: translateY(1px); }

/* ---------- Theme switch ---------- */
.theme-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.switch { position: relative; width: 64px; height: 34px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); transition: background .3s ease; flex-shrink: 0; padding: 0; }
.switch .ico { position: absolute; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.switch .ico.sun { left: 9px; }
.switch .ico.moon { right: 9px; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); display: grid; place-items: center; transition: transform .35s cubic-bezier(.4,1.4,.5,1), background .3s; }
.switch .knob .nk-icon { width: 15px; height: 15px; }
.switch .k-sun { color: var(--brand-orange); }
.switch .k-moon { color: #9DB8FF; display: none; }
:root[data-theme="dark"] .switch { background: #1E2533; }
:root[data-theme="dark"] .switch .knob { transform: translateX(30px); background: #0B0D12; box-shadow: 0 0 0 1px #2B3242, 0 2px 8px rgba(0,0,0,.5); }
:root[data-theme="dark"] .switch .k-sun { display: none; }
:root[data-theme="dark"] .switch .k-moon { display: block; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 0; } }
.nav .wrap { display: flex; align-items: center; justify-content: center; height: 52px; position: relative; }
.nav-mini-logo { position: absolute; left: 24px; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; pointer-events: none; margin: 0; line-height: 0; }
.nav-mini-logo img { height: 24px; width: auto; }
.nav.stuck .nav-mini-logo { opacity: 1; transform: none; pointer-events: auto; }
.nav-mini-actions { position: absolute; right: 24px; display: flex; gap: 8px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.nav.stuck .nav-mini-actions { opacity: 1; pointer-events: auto; }
.nav-mini-actions .icon-btn { width: 36px; height: 36px; border-radius: 10px; }
.nav-mini-actions .nk-icon { width: 18px; height: 18px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: calc(100% - 300px); }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a { display: block; padding: 8px 14px; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; position: relative; }
.nav-list a:hover { background: var(--surface); color: var(--ink); }
.nav-list .current-menu-item > a, .nav-list .current-category-ancestor > a, .nav-list .current-post-ancestor > a { color: var(--ink); }
.nav-list .current-menu-item > a::after, .nav-list .current-post-ancestor > a::after, .nav-list .current-category-ancestor > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -9px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand-grad); }

/* ---------- Ticker ---------- */
.ticker { border-bottom: 1px solid var(--line); }
.ticker .wrap { display: flex; align-items: center; gap: 16px; height: 48px; }
.ticker-label { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--brand-red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: nk-pulse 1.6s infinite; }
@keyframes nk-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.ticker-track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-items { display: flex; gap: 40px; width: max-content; animation: nk-marquee 60s linear infinite; }
.ticker-track:hover .ticker-items, .ticker-track:focus-within .ticker-items { animation-play-state: paused; }
.ticker-items a { font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.ticker-items a:hover { color: var(--ink); }
.ticker-items time { font-size: 12px; font-weight: 600; color: var(--kicker); font-variant-numeric: tabular-nums; }
@keyframes nk-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-items { animation: none; } .live-dot { animation: none; } * { scroll-behavior: auto !important; } }

/* ---------- Section heads ---------- */
section { padding: 48px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; border-radius: 3px; background: var(--brand-grad); }
.sec-head h2 { font-size: 26px; font-weight: 800; }
.sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.more { font-family: var(--font-head); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); white-space: nowrap; }
.more .nk-icon { width: 16px; height: 16px; transition: transform .2s; }
.more:hover { color: var(--ink); }
.more:hover .nk-icon { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { padding-top: 32px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, .95fr); gap: 32px; }
.lead .img { aspect-ratio: 16 / 10; }
.lead .badge { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(12,14,19,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.lead .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-orange); }
.lead .body { padding-top: 20px; }
.lead__title { font-size: clamp(26px, 3.1vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin: 10px 0 12px; text-wrap: balance; }
.lead .dek { margin: 0 0 14px; font-size: 17px; color: var(--ink-2); line-height: 1.6; max-width: 62ch; }

.stack { display: flex; flex-direction: column; gap: 24px; }
.card-v .img { aspect-ratio: 16 / 10; }
.card-v h3 { font-size: 19px; font-weight: 700; margin: 8px 0; line-height: 1.3; text-wrap: pretty; }
.card-v .body { padding-top: 14px; }
.stack .card-v + .card-v { padding-top: 24px; border-top: 1px solid var(--line); }

.popular { background: var(--surface); border-radius: var(--radius); padding: 22px 22px 8px; align-self: start; }
.popular h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.popular h2 .nk-icon { color: var(--brand-red); }
.popular ol { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.popular li { counter-increment: pop; display: grid; grid-template-columns: 40px 1fr; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); }
.popular li:first-child { border-top: 0; }
.popular li::before { content: counter(pop); font-family: var(--font-head); font-weight: 800; font-size: 30px; line-height: 1; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.popular h3 { font-size: 15.5px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.popular .meta { font-size: 12px; }

/* ---------- Feed + sidebar ---------- */
.sec-latest { padding-top: 8px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
.tabs { display: flex; gap: 6px; padding: 4px; background: var(--surface); border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.tabs button { padding: 6px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); font-family: var(--font-head); white-space: nowrap; }
.tabs button.on { background: var(--bg); color: var(--ink); box-shadow: var(--shadow); }
.feed { display: flex; flex-direction: column; transition: opacity .2s; }
.feed.is-loading { opacity: .45; pointer-events: none; }
.row { display: grid; grid-template-columns: 1fr 240px; gap: 28px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.feed > .row:first-child { border-top: 0; padding-top: 4px; }
.row__title { font-size: 21px; font-weight: 700; line-height: 1.3; margin: 8px 0 10px; text-wrap: pretty; }
.row__excerpt { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row__img { aspect-ratio: 3 / 2; border-radius: var(--radius-sm); }
.load-more { margin-top: 16px; width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 14px; transition: background .2s; }
.load-more:hover { background: var(--surface); }
.load-more[disabled] { opacity: .6; cursor: default; }

.side { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.side-sticky { position: sticky; top: 76px; }
.admin-bar .side-sticky { top: 108px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.widget-title, .side-box h4 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.side-box ul { margin: 0; padding-left: 18px; }
.side-box li { margin-bottom: 8px; }
.pop-list { list-style: none; margin: 0; padding: 0 !important; counter-reset: pl; }
.pop-list li { counter-increment: pl; display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); margin: 0 !important; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.pop-list li:first-child { border-top: 0; padding-top: 0; }
.pop-list li::before { content: counter(pl); font-weight: 800; font-size: 20px; line-height: 1; color: var(--kicker); }
.pop-list a:hover { color: var(--link); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics a { padding: 7px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.topics a:hover { background: var(--ink); color: var(--bg); }
.topics a::before { content: "#"; color: var(--kicker); margin-right: 2px; }

.newsletter { position: relative; overflow: hidden; border-radius: var(--radius); padding: 24px; color: #fff; background: #0E1220; isolation: isolate; }
.newsletter::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,91,31,.55), transparent 65%); z-index: -1; }
.newsletter::after { content: ""; position: absolute; inset: auto auto -50% -30%; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(31,111,235,.55), transparent 65%); z-index: -1; }
.newsletter h4 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.newsletter p { margin: 0 0 16px; font-size: 14px; color: rgba(255,255,255,.75); }
.newsletter .nl-msg { padding: 8px 12px; border-radius: 8px; background: rgba(15,157,122,.25); color: #fff; }
.newsletter .nl-msg.is-error { background: rgba(229,36,29,.3); }
.newsletter form { display: flex; flex-direction: column; gap: 10px; }
.newsletter input[type="email"] { height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; padding: 0 14px; font: inherit; font-size: 14px; }
.newsletter input::placeholder { color: rgba(255,255,255,.55); }
.newsletter button { height: 44px; border-radius: 10px; background: #fff; color: #0C0E13; font-family: var(--font-head); font-weight: 800; font-size: 14px; }

/* ---------- In-Depth ---------- */
.indepth { background: #0B0D12; color: #EEF0F4; padding: 64px 0; position: relative; overflow: hidden; }
:root[data-theme="dark"] .indepth { background: #10131A; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.indepth::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-grad); }
.indepth .sec-head { border-color: #232834; }
.indepth .sec-head p, .indepth .meta { color: #8A919E; }
.indepth .more { color: #B8BEC9; }
.indepth .more:hover { color: #fff; }
.indepth .kicker { color: #FF8A5B; }
.id-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; }
.id-feature { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; background: #1A1E27; color: #fff; }
.id-feature > img, .id-feature > .img-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.id-feature:hover > img { transform: scale(1.04); }
.id-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,18,0) 15%, rgba(11,13,18,.7) 50%, rgba(11,13,18,.96) 100%); }
.id-feature .body { position: relative; z-index: 1; padding: 32px; }
.id-feature h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; margin: 10px 0 12px; max-width: 22ch; }
.id-feature p { margin: 0 0 14px; color: #C8CDD6; max-width: 56ch; }
.read-time { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 600; color: #fff; }
.read-time .nk-icon { width: 14px; height: 14px; }
.id-item { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid #232834; align-items: center; }
.id-item:first-child { border-top: 0; padding-top: 0; }
.id-item .img { aspect-ratio: 1; border-radius: 12px; background: #1A1E27; }
.id-item h4 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 6px 0 8px; }
.id-item:hover h4, .id-text-only:hover h4 { color: #9DC1FF; }
.id-text-only { display: block; padding: 20px 0; border-top: 1px solid #232834; }
.id-text-only h4 { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 6px 0 0; }

/* ---------- Opini ---------- */
.op-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.op-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, transform .2s, box-shadow .2s; background: var(--bg); }
.op-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.op-card .q { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: .6; height: 22px; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.op-card h3 { font-size: 18px; font-weight: 700; line-height: 1.35; flex: 1; text-wrap: pretty; }
.author { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #fff; flex-shrink: 0; }
.author strong { display: block; font-size: 14px; font-family: var(--font-head); }
.author span span { font-size: 12.5px; color: var(--muted); }

/* ---------- Category columns ---------- */
.sec-cats { padding-top: 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cat-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.cat-title h3 { font-size: 20px; font-weight: 800; }
.cat-col .card-v .img { aspect-ratio: 16 / 9; }
.cat-col .card-v h3 { font-size: 18px; }
.cat-col ul { list-style: none; margin: 16px 0 0; padding: 0; }
.cat-col li { padding: 14px 0; border-top: 1px solid var(--line); }
.cat-col li a { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; line-height: 1.4; display: block; }
.cat-col li a:hover { color: var(--link); }

/* ---------- Single article ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.admin-bar .progress { top: 32px; }
.progress span { display: block; height: 100%; width: 0; background: var(--brand-grad); transition: width .1s linear; }
.single-wrap { --maxw: 1300px; max-width: var(--maxw); display: grid; grid-template-columns: minmax(0, 900px) 300px; gap: 40px; justify-content: space-between; padding-top: 28px; }
.article { min-width: 0; }
.crumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: var(--ink); }
.entry-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin: 10px 0 14px; text-wrap: balance; }
.entry-dek { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 0 0 20px; max-width: 760px; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.entry-author { display: flex; gap: 12px; align-items: center; }
.entry-author strong { font-family: var(--font-head); font-size: 15px; display: block; }
.share { display: flex; gap: 6px; }
.share-btn { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; position: relative; }
.share-btn .nk-icon { width: 17px; height: 17px; }
.share-btn:hover { color: #fff; border-color: transparent; }
.share-whatsapp:hover { background: #25D366; } .share-facebook:hover { background: #1877F2; } .share-x:hover { background: #000; } .share-telegram:hover { background: #229ED9; } .share-copy:hover { background: var(--ink); color: var(--bg); }
.share-copy.is-copied::after { content: attr(data-msg); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); }
.entry-figure { margin: 0 0 28px; }
.entry-figure img { width: 100%; max-width: 900px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--img-ph); }
.entry-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

.entry-content { font-size: 18px; line-height: 1.8; color: var(--ink); max-width: 760px; overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2 { font-size: 26px; font-weight: 800; margin: 1.8em 0 .6em; }
.entry-content h3 { font-size: 21px; font-weight: 700; margin: 1.6em 0 .5em; }
.entry-content h4 { font-size: 18px; font-weight: 700; margin: 1.4em 0 .5em; }
.entry-content a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid; border-image: var(--brand-grad) 1; font-size: 20px; font-style: italic; color: var(--ink-2); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figcaption, .entry-content .wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.entry-content th { background: var(--surface); }
.entry-content pre { background: var(--surface); padding: 16px; border-radius: 10px; overflow-x: auto; font-size: 14px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content iframe, .entry-content embed, .entry-content video { width: 100%; border-radius: var(--radius-sm); }
.entry-content .wp-block-embed__wrapper iframe { aspect-ratio: 16 / 9; height: auto; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.aligncenter { margin-left: auto; margin-right: auto; }
.page-links { font-weight: 600; display: flex; gap: 8px; }

/* Related articles embedded in the content: always 3 in one row */
.entry-content .rel-in { margin: 1.8em 0; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 16px; line-height: 1.4; clear: both; }
.entry-content .rel-in__label { margin: 0 0 12px; font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--kicker); display: flex; align-items: center; gap: 8px; }
.entry-content .rel-in__label::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--brand-grad); }
.entry-content .rel-in__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.entry-content .rel-in__item { margin: 0; min-width: 0; }
.entry-content .rel-in__link { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); height: 100%; }
.entry-content .rel-in__thumb { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--img-ph); }
.entry-content .rel-in__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s; }
.entry-content .rel-in__link:hover img { transform: scale(1.05); }
.entry-content .rel-in__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.entry-content .rel-in__cat { font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kicker); }
.entry-content .rel-in__title { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.entry-content .rel-in__link:hover .rel-in__title { color: var(--link); }

.entry-footer { max-width: 760px; margin-top: 32px; display: grid; gap: 24px; }
.entry-tags a::before { content: "#"; }
.share-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); font-family: var(--font-head); font-weight: 700; }
.author-box { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.author-box h3 { font-size: 19px; margin: 4px 0 6px; }
.author-box p { margin: 0; color: var(--ink-2); font-size: 15px; }
.single-side { padding-top: 4px; }

.related-end { padding-top: 56px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rel-grid .card-v h3 { font-size: 17px; }

.single-comments { padding-top: 0; }
.comments { max-width: 760px; padding: 24px 0 8px; }
.comments-title, .comment-reply-title { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list ol { list-style: none; padding-left: 24px; }
.comment-body { padding: 18px 0; border-top: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.comment-content p { margin: 0 0 8px; }
.reply a { font-size: 13px; font-weight: 700; color: var(--link); }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px; padding: 10px 14px; font: inherit; }
.comment-form textarea { min-height: 140px; }
.comment-form p { margin: 0 0 14px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; color: var(--ink-2); }
.comment-form .comment-form-cookies-consent input { margin-top: 5px; }
.comment-notes { font-size: 13px; color: var(--muted); }

/* ---------- Archive / search / pages ---------- */
.archive-head { padding: 36px 0 28px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), transparent); }
.archive-head h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 8px; }
.archive-head p { margin: 0; color: var(--ink-2); max-width: 70ch; }
.archive-head .search-form { margin-top: 18px; max-width: 560px; }
.archive-body { padding-top: 32px; padding-bottom: 32px; }
.lead--archive { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.lead--archive .img { aspect-ratio: 16 / 9; }
.pagination { margin-top: 28px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pagination a:hover { background: var(--surface); }
.empty { padding: 40px 0; text-align: center; }
.empty h2 { margin-bottom: 8px; }
.empty .search-form { max-width: 520px; margin: 18px auto 0; }
.page-wrap { max-width: 860px; padding-top: 28px; padding-bottom: 32px; }
.article--page .entry-content { max-width: none; }
.e404 { text-align: center; padding: 72px 0 24px; }
.e404__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(90px, 16vw, 160px); line-height: 1; margin: 0; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.e404 h1 { font-size: 30px; margin: 8px 0; }
.e404 p { color: var(--ink-2); }
.e404 .search-form { max-width: 520px; margin: 20px auto; }

/* ---------- Search form ---------- */
.search-form { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.search-form .nk-icon { color: var(--muted); width: 18px; height: 18px; }
.search-field { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; outline: 0; }
.search-field::-webkit-search-cancel-button { display: none; }
.search-submit { height: 40px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.search-form:focus-within { border-color: var(--brand-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 20%, transparent); }

/* ---------- Drawer & search overlay ---------- */
.drawer, .search-overlay { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden], .search-overlay[hidden] { display: none; }
.drawer__backdrop, .search-overlay__backdrop { position: absolute; inset: 0; background: rgba(5,7,12,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: nk-fade .2s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: var(--bg); padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; animation: nk-slide .28s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer-logo { margin: 0; line-height: 0; }
.drawer-logo img { height: 30px; width: auto; }
.drawer__label { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.drawer__menu { list-style: none; margin: 0; padding: 0; }
.drawer__menu li { border-bottom: 1px solid var(--line); }
.drawer__menu a { display: block; padding: 12px 4px; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.drawer__menu a:hover, .drawer__menu .current-menu-item > a, .drawer__menu .current-cat > a { color: var(--kicker); }
.drawer__menu .sub-menu, .drawer__menu .children { list-style: none; padding-left: 14px; }
.drawer__menu .sub-menu a, .drawer__menu .children a { font-size: 15px; font-weight: 600; }
.drawer__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; }
.search-overlay__box { position: relative; max-width: 720px; margin: 12vh auto 0; padding: 24px; background: var(--bg); border-radius: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 16px 12px; align-items: center; animation: nk-pop .22s cubic-bezier(.2,.8,.2,1); width: calc(100% - 32px); }
.search-overlay__box .drawer__label, .search-overlay__box .topics { grid-column: 1 / -1; }
.search-overlay__box .search-field { font-size: 18px; }
@keyframes nk-fade { from { opacity: 0; } }
@keyframes nk-slide { from { transform: translateX(-100%); } }
@keyframes nk-pop { from { transform: translateY(-10px); opacity: 0; } }
body.nk-locked { overflow: hidden; }

/* ---------- Ads ---------- */
.nk-ad { text-align: center; margin: 0 auto; }
.nk-ad__label { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.nk-ad__inner { display: flex; justify-content: center; }
.nk-ad__inner img { max-width: 100%; height: auto; border-radius: 6px; }
.nk-ad__inner > * { max-width: 100%; }
.nk-ad--wide { padding-top: 20px; padding-bottom: 20px; }
.nk-ad--header { padding-top: 16px; padding-bottom: 0; }
.nk-ad--content, .nk-ad--inline { margin: 28px 0; max-width: 760px; }
.nk-ad--feed { padding: 20px 0; border-top: 1px solid var(--line); }
.nk-ad--widget, .nk-ad--sidebar_top, .nk-ad--sidebar_bottom { margin: 0; }
.nk-ad--sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
.nk-ad--sticky .nk-ad__label { display: none; }
.nk-ad--sticky .nk-ad__inner img { max-height: 90px; width: auto; }
.nk-ad__close { position: absolute; top: -28px; right: 8px; width: 28px; height: 28px; border-radius: 8px 8px 0 0; background: var(--bg); border: 1px solid var(--line); border-bottom: 0; font-size: 18px; line-height: 1; color: var(--muted); }
body.has-sticky-ad { padding-bottom: 76px; }
body.has-sticky-ad .to-top { bottom: 118px; }
@media (max-width: 767px) { .nk-ad--only-desktop { display: none !important; } }
@media (min-width: 768px) { .nk-ad--only-mobile { display: none !important; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Footer ---------- */
.site-footer { background: #0B0D12; color: #B8BEC9; padding: 64px 0 28px; margin-top: 32px; }
:root[data-theme="dark"] .site-footer { background: #07080C; border-top: 1px solid var(--line); }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #232834; }
.f-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.f-brand p { font-size: 14px; max-width: 38ch; margin: 0 0 18px; color: #8A919E; }
.site-footer h5 { font-family: var(--font-head); color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 16px; letter-spacing: .02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.site-footer ul a:hover, .f-bottom a:hover { color: #fff; }
.site-footer .social { gap: 8px; }
.site-footer .social a { color: #8A919E; border: 1px solid #232834; width: 36px; height: 36px; border-radius: 10px; }
.site-footer .social a:hover { background: #1B1F28; color: #fff; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; color: #6B7280; flex-wrap: wrap; }
.f-bottom nav, .f-bottom-menu { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; grid-auto-flow: column; }

/* ---------- WordPress core ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wp-caption { max-width: 100%; }
.bypostauthor > .comment-body .fn::after { content: " ✓"; color: var(--brand-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	.single-wrap { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1100px) {
	.hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
	.popular { grid-column: 1 / -1; }
	.popular ol { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
	.popular li:nth-child(2) { border-top: 0; }
	.split { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
	.op-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.search-pill { min-width: 0; }
	.search-pill span, .search-pill kbd { display: none; }
	.theme-switch .lbl { display: none; }
	.nav-list { max-width: none; }
	.nav.stuck .nav-list { max-width: calc(100% - 300px); }
}
@media (max-width: 960px) {
	.single-wrap { grid-template-columns: 1fr; }
	.single-side { display: none; }
	.entry-content, .entry-footer, .comments, .nk-ad--content, .nk-ad--inline, .entry-dek { max-width: none; }
}
@media (max-width: 860px) {
	.theme-switch .lbl { display: none; }
	.masthead .btn-primary { display: none; }
	.hero-grid { grid-template-columns: 1fr; }
	.split { grid-template-columns: 1fr; }
	.id-grid { grid-template-columns: 1fr; }
	.id-feature { min-height: 420px; }
	.cat-grid { grid-template-columns: 1fr; gap: 36px; }
	.f-grid { grid-template-columns: 1fr 1fr; }
	.f-brand { grid-column: 1 / -1; }
	.nav .wrap { justify-content: flex-start; }
	.nav-mini-logo, .nav-mini-actions { display: none; }
	.nav.stuck .nav-list { max-width: none; }
	.side-sticky { position: static; }
}
@media (max-width: 600px) {
	.wrap { padding: 0 16px; }
	.topbar .hide-sm { display: none; }
	.masthead .wrap { padding-top: 16px; padding-bottom: 14px; gap: 8px; }
	.logo img { height: 32px; }
	.tagline { display: none; }
	.icon-btn { width: 40px; height: 40px; }
	.mh-left .search-pill { display: none; }
	.switch { width: 56px; height: 30px; }
	.switch .knob { width: 22px; height: 22px; }
	:root[data-theme="dark"] .switch .knob { transform: translateX(26px); }
	.switch .ico { width: 13px; height: 13px; }
	section { padding: 36px 0; }
	.sec-head { flex-wrap: wrap; }
	.sec-head h2 { font-size: 22px; }
	.popular ol { grid-template-columns: 1fr; }
	.popular li:nth-child(2) { border-top: 1px solid var(--line); }
	.row { grid-template-columns: 1fr 112px; gap: 16px; padding: 18px 0; }
	.row__title { font-size: 17px; margin: 6px 0 8px; }
	.row__excerpt { display: none; }
	.row__img { aspect-ratio: 1; }
	.op-grid { grid-template-columns: 1fr; }
	.id-item { grid-template-columns: 96px 1fr; }
	.id-feature .body { padding: 22px; }
	.f-grid { grid-template-columns: 1fr; }
	.tabs { width: 100%; }
	.rel-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.rel-grid .card-v h3 { font-size: 15px; }
	.entry-title { font-size: 28px; }
	.entry-dek { font-size: 17px; }
	.entry-content { font-size: 17px; line-height: 1.75; }
	.entry-meta { gap: 12px; }
	.entry-figure { margin-left: -16px; margin-right: -16px; }
	.entry-figure img { border-radius: 0; }
	.entry-figure figcaption { padding: 0 16px; }
	/* Related row stays on ONE line on phones: compact cards. */
	.entry-content .rel-in { padding: 12px; margin-left: -4px; margin-right: -4px; }
	.entry-content .rel-in__list { gap: 8px; }
	.entry-content .rel-in__thumb { border-radius: 8px; }
	.entry-content .rel-in__cat { display: none; }
	.entry-content .rel-in__title { font-size: 12.5px; line-height: 1.3; -webkit-line-clamp: 4; }
	.author-box { flex-direction: column; }
	.search-overlay__box { margin-top: 8vh; padding: 16px; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; max-width: 100%; }
}
@media print {
	.topbar, .masthead .mh-left, .masthead .mh-right, .nav, .ticker, .side, .share, .share-row, .nk-ad, .site-footer, .related-end, .comments, .to-top, .progress, .rel-in { display: none !important; }
	body { background: #fff; color: #000; }
	.single-wrap { display: block; }
}

/* ---------- Core block widgets in sidebars ---------- */
.side .widget h2, .side .wp-block-heading { font-size: 16px; font-weight: 800; margin: 0 0 14px; }
.side .wp-block-search__label { display: block; font-family: var(--font-head); font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.side .wp-block-search__inside-wrapper { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.side .wp-block-search__input { flex: 1; min-width: 0; height: 38px; border: 0; background: transparent; color: var(--ink); padding: 0 8px; font: inherit; outline: 0; }
.side .wp-block-search__button { height: 38px; padding: 0 14px; margin: 0; border-radius: 9px; border: 0; background: var(--ink); color: var(--bg); font-family: var(--font-head); font-weight: 700; font-size: 13px; }
.side .wp-block-latest-posts, .side .wp-block-latest-comments, .side .wp-block-archives, .side .wp-block-categories { list-style: none; padding: 0 !important; margin: 0; }
.side .wp-block-latest-posts li, .side .wp-block-archives li, .side .wp-block-categories li, .side .wp-block-latest-comments li { padding: 10px 0; border-top: 1px solid var(--line); margin: 0 !important; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.side .wp-block-latest-posts li:first-child, .side .wp-block-archives li:first-child, .side .wp-block-categories li:first-child, .side .wp-block-latest-comments li:first-child { border-top: 0; padding-top: 0; }
.side .wp-block-latest-posts a:hover, .side .wp-block-archives a:hover, .side .wp-block-categories a:hover { color: var(--link); }
.side .wp-block-group, .side .widget_block > .wp-block-group { margin: 0; }
.side .widget_block { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side .no-comments, .side .wp-block-latest-comments__comment-excerpt p { font-size: 14px; color: var(--muted); margin: 0; }
