/*
Theme Name: TechUpdatesWorld
Theme URI: https://techupdatesworld.com/
Author: TechUpdatesWorld
Author URI: https://techupdatesworld.com/
Description: A modern tech-news magazine theme built for techupdatesworld.com. Four editorial sections (Tech, Business, How To, AI Tools), a light/dark toggle, readable heading anchors and a server-side table of contents, a complete guest-post service page with its own pitch inbox, WhatsApp contact throughout, author profiles with bios, newsletter capture and built-in JSON-LD. No advertising slots.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techupdatesworld
Tags: news, blog, magazine, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready, block-styles, wide-blocks
*/

/* =========================================================================
   1. Design tokens
   ====================================================================== */

:root {
	--brand: #0D9488;
	--brand-2: #14B8A6;
	--brand-3: #0B7C72;
	--brand-soft: #E6F5F2;
	--accent: #F97316;
	--accent-2: #FB923C;
	--accent-soft: #FFF1E6;
	--whats: #25D366;
	--whats-ink: #128C7E;

	--ink: #0C1F1D;
	--ink-2: #1B3733;
	--muted: #5C7370;
	--muted-2: #7C9490;

	--bg: #FFFFFF;
	--bg-2: #F4F8F7;
	--bg-3: #E9F1EF;
	--surface: #FFFFFF;
	--surface-2: #FAFCFB;
	--line: #DCE8E5;
	--line-2: #EDF3F2;
	--dark-plate: #0A1615;

	--accent-current: var(--brand);

	--sh-1: 0 1px 2px rgba(12, 31, 29, .05);
	--sh-2: 0 4px 16px -6px rgba(12, 31, 29, .12);
	--sh-3: 0 18px 44px -20px rgba(12, 31, 29, .28);

	--r-sm: 8px;
	--r: 12px;
	--r-lg: 18px;
	--r-xl: 26px;

	--font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--tuw-sticky: 122px;
	--wrap: 1240px;
	--wrap-wide: 1440px;
	--gap: 28px;
	--nav-h: 68px;
}

:root[data-scheme="dark"] {
	--brand: #2DD4BF;
	--brand-2: #5EEAD4;
	--brand-3: #14B8A6;
	--brand-soft: #10302C;
	--accent: #FB923C;
	--accent-2: #FDBA74;
	--accent-soft: #33200F;

	--ink: #E9F3F1;
	--ink-2: #C6DAD6;
	--muted: #94AFAA;
	--muted-2: #7A9490;

	--bg: #0A1615;
	--bg-2: #0F1F1D;
	--bg-3: #142825;
	--surface: #101F1E;
	--surface-2: #142523;
	--line: #22403B;
	--line-2: #1A302D;
	--dark-plate: #060F0E;

	--sh-1: 0 1px 2px rgba(0, 0, 0, .4);
	--sh-2: 0 4px 16px -6px rgba(0, 0, 0, .6);
	--sh-3: 0 18px 44px -20px rgba(0, 0, 0, .8);
}

/* =========================================================================
   2. Reset & base
   ====================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.018em;
	color: var(--ink);
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.05rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .55vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15em; }

a { color: var(--brand-3); text-decoration: none; }
a:hover, a:focus { color: var(--accent); }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

:where(svg.tuw-i) { width: 1.15em; height: 1.15em; flex: none; }
:where(svg[viewBox="0 0 24 24"]) { width: 20px; height: 20px; flex: none; }

button { font: inherit; color: inherit; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection { background: var(--brand); color: #fff; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--surface); clip: auto; clip-path: none; color: var(--brand-3);
	display: block; font-size: .95rem; font-weight: 700; height: auto; left: 8px;
	padding: 14px 22px; top: 8px; width: auto; z-index: 100000;
	border-radius: var(--r); box-shadow: var(--sh-3);
}

.tuw-skip { position: absolute; left: -9999px; }
.tuw-skip:focus {
	left: 12px; top: 12px; z-index: 100000; background: var(--brand); color: #fff;
	padding: 12px 20px; border-radius: var(--r); font-weight: 700;
}

/* =========================================================================
   3. Layout primitives
   ====================================================================== */

.tuw-container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.tuw-container--wide { max-width: var(--wrap-wide); }
.tuw-container--narrow { max-width: 820px; }

.tuw-section { padding-block: clamp(34px, 4vw, 56px); }
.tuw-section--tight { padding-block: clamp(24px, 3vw, 38px); }
.tuw-section--plate { background: var(--bg-2); }

.tuw-shell { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: clamp(28px, 3.4vw, 52px); align-items: start; }
.tuw-shell--full { grid-template-columns: minmax(0, 1fr); }

.tuw-grid { display: grid; gap: var(--gap); }
.tuw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tuw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tuw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tuw-stack > * + * { margin-top: 22px; }

/* =========================================================================
   4. Buttons, chips, pills
   ====================================================================== */

.tuw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--font-head); font-weight: 700; font-size: .94rem; letter-spacing: -.01em;
	cursor: pointer; text-decoration: none; line-height: 1.2;
	transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.tuw-btn:hover { transform: translateY(-1px); }
.tuw-btn:active { transform: translateY(0); }

.tuw-btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(13, 148, 136, .9); }
.tuw-btn--primary:hover { background: var(--brand-3); color: #fff; }
:root[data-scheme="dark"] .tuw-btn--primary { color: #04211E; }
:root[data-scheme="dark"] .tuw-btn--primary:hover { color: #04211E; }

.tuw-btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(249, 115, 22, .9); }
.tuw-btn--accent:hover { background: #EA6A0C; color: #fff; }

.tuw-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.tuw-btn--ghost:hover { border-color: var(--brand); color: var(--brand-3); background: var(--brand-soft); }

.tuw-btn--solid { background: var(--ink); color: var(--bg); }
.tuw-btn--solid:hover { background: var(--brand-3); color: #fff; }

.tuw-btn--whats { background: var(--whats); color: #05261A; }
.tuw-btn--whats:hover { background: #1FBE5A; color: #05261A; }

.tuw-btn--lg { padding: 14px 26px; font-size: 1rem; }
.tuw-btn--sm { padding: 8px 15px; font-size: .84rem; }
.tuw-btn--block { display: flex; width: 100%; }

.tuw-chip {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--font-head); font-weight: 700; font-size: .74rem;
	letter-spacing: .06em; text-transform: uppercase;
	color: var(--chip, var(--brand)); background: color-mix(in srgb, var(--chip, var(--brand)) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--chip, var(--brand)) 26%, transparent);
	padding: 5px 11px; border-radius: 999px; line-height: 1;
	transition: background-color .16s ease, color .16s ease;
}
.tuw-chip:hover { background: var(--chip, var(--brand)); color: #fff; }
:root[data-scheme="dark"] .tuw-chip:hover { color: #04211E; }
.tuw-chip--sm { font-size: .68rem; padding: 4px 9px; }
.tuw-chip svg { width: 13px; height: 13px; }

.tuw-tagpill {
	display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600;
	padding: 4px 10px; border-radius: 999px; background: var(--bg-3); color: var(--muted);
}

.tuw-eyebrow {
	font-family: var(--font-head); font-weight: 700; font-size: .78rem;
	letter-spacing: .14em; text-transform: uppercase; color: var(--brand-3);
	margin: 0 0 10px;
}

/* =========================================================================
   5. Placeholders, notes, ads
   ====================================================================== */

.tuw-ph {
	display: grid; place-items: center; width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
	color: var(--muted-2);
}
.tuw-ph svg { width: 28px; height: 28px; opacity: .55; }
.tuw-ph--mini svg { width: 18px; height: 18px; }

.tuw-note {
	display: flex; align-items: flex-start; gap: 10px;
	padding: 13px 16px; border-radius: var(--r); font-size: .95rem; font-weight: 600;
	margin: 0 0 18px;
}
.tuw-note svg { margin-top: 2px; }
.tuw-note--ok { background: var(--brand-soft); color: var(--brand-3); }
.tuw-note--bad { background: #FEECEC; color: #B42318; }
:root[data-scheme="dark"] .tuw-note--bad { background: #3A1717; color: #FDA29B; }
:root[data-scheme="dark"] .tuw-note--ok { color: var(--brand-2); }

.tuw-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }

/* =========================================================================
   6. Top bar
   ====================================================================== */

.tuw-topbar {
	background: var(--dark-plate);
	color: #B8CFCB;
	font-size: .82rem;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.tuw-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.tuw-topbar__left, .tuw-topbar__right { display: flex; align-items: center; gap: 16px; min-width: 0; }
.tuw-topbar__date { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: #8FB0AB; }
.tuw-topbar a { color: #CFE3E0; }
.tuw-topbar a:hover { color: var(--brand-2); }

.tuw-topbar__menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 16px; }
.tuw-topbar__menu a { font-weight: 600; white-space: nowrap; }

.tuw-topbar__wa {
	display: inline-flex; align-items: center; gap: 7px; font-weight: 700;
	color: #7CE8A9 !important; white-space: nowrap;
}
.tuw-topbar__wa:hover { color: #fff !important; }

.tuw-socials { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.tuw-socials a {
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	transition: background-color .16s ease, color .16s ease;
}
.tuw-socials a:hover { background: rgba(255, 255, 255, .1); }

.tuw-schemebtn {
	display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
	border-radius: 50%; border: 1px solid var(--line); background: transparent;
	color: inherit; cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.tuw-schemebtn:hover { border-color: var(--brand); color: var(--brand); }
.tuw-topbar .tuw-schemebtn { border-color: rgba(255, 255, 255, .16); color: #CFE3E0; }
.tuw-topbar .tuw-schemebtn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.tuw-schemebtn__moon { display: none; }
:root[data-scheme="dark"] .tuw-schemebtn__sun { display: none; }
:root[data-scheme="dark"] .tuw-schemebtn__moon { display: block; }

/* =========================================================================
   7. Header & navigation
   ====================================================================== */

.tuw-header {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	z-index: 60;
}
.tuw-header.is-sticky { position: sticky; top: 0; }
.admin-bar .tuw-header.is-sticky { top: 32px; }

.tuw-header__in {
	display: flex; align-items: center; gap: 22px;
	min-height: var(--nav-h);
}

.tuw-brand { display: flex; align-items: center; flex: none; }
.tuw-brand a, .tuw-brand .custom-logo-link { display: inline-flex; align-items: center; }
.tuw-brand img, .tuw-brand svg { height: 42px; width: auto; max-width: 260px; }
.tuw-brand .tuw-logo--dark { display: none; }
:root[data-scheme="dark"] .tuw-brand .tuw-logo--light { display: none; }
:root[data-scheme="dark"] .tuw-brand .tuw-logo--dark { display: block; }
.tuw-brand__text { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.03em; }

.tuw-nav { flex: 1 1 auto; min-width: 0; }
.tuw-menu {
	display: flex; align-items: center; gap: 4px;
	list-style: none; margin: 0; padding: 0;
}
.tuw-menu > li { position: relative; }
.tuw-menu > li > a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 9px 13px; border-radius: 999px;
	font-family: var(--font-head); font-weight: 600; font-size: .95rem;
	color: var(--ink-2); white-space: nowrap;
	transition: background-color .16s ease, color .16s ease;
}
.tuw-menu > li > a:hover,
.tuw-menu > li.current-menu-item > a,
.tuw-menu > li.current-menu-parent > a,
.tuw-menu > li.current-menu-ancestor > a {
	background: var(--brand-soft); color: var(--brand-3);
}
.tuw-menu .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
	min-width: 220px; margin: 0; padding: 8px; list-style: none;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--r-lg); box-shadow: var(--sh-3);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.tuw-menu li:hover > .sub-menu,
.tuw-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tuw-menu .sub-menu a {
	display: block; padding: 9px 12px; border-radius: var(--r-sm);
	font-size: .92rem; font-weight: 600; color: var(--ink-2);
}
.tuw-menu .sub-menu a:hover { background: var(--bg-2); color: var(--brand-3); }
.tuw-menu .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; margin-left: 2px;
	border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.tuw-header__tools { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }

.tuw-iconbtn {
	display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
	border-radius: 50%; border: 1px solid var(--line); background: transparent;
	color: var(--ink); cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.tuw-iconbtn:hover { background: var(--bg-2); border-color: var(--brand); color: var(--brand-3); }
.tuw-burger { display: none; }

/* Topic rail */
.tuw-rail { border-top: 1px solid var(--line-2); background: var(--surface-2); }
.tuw-rail__in { display: flex; align-items: center; gap: 10px; padding-block: 9px; overflow-x: auto; scrollbar-width: none; }
.tuw-rail__in::-webkit-scrollbar { display: none; }
.tuw-rail__label {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	font-family: var(--font-head); font-weight: 800; font-size: .72rem;
	letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.tuw-rail__items { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tuw-rail__items a {
	display: inline-flex; align-items: center; white-space: nowrap;
	padding: 5px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600;
	color: var(--muted); background: var(--bg-2); border: 1px solid var(--line-2);
}
.tuw-rail__items a:hover { color: var(--brand-3); border-color: var(--brand); background: var(--brand-soft); }

/* Drawers */
.tuw-scrim {
	position: fixed; inset: 0; background: rgba(6, 22, 20, .55); backdrop-filter: blur(2px);
	opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s; z-index: 90;
}
body.tuw-open .tuw-scrim { opacity: 1; visibility: visible; }

.tuw-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
	background: var(--surface); z-index: 95; box-shadow: var(--sh-3);
	transform: translateX(102%); transition: transform .26s cubic-bezier(.3, .8, .4, 1);
	display: flex; flex-direction: column; overflow-y: auto;
}
.tuw-drawer.is-open { transform: translateX(0); }
.tuw-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.tuw-drawer__body { padding: 18px; }
.tuw-drawer__menu { list-style: none; margin: 0 0 22px; padding: 0; }
.tuw-drawer__menu li { border-bottom: 1px solid var(--line-2); }
.tuw-drawer__menu a { display: block; padding: 12px 2px; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.tuw-drawer__menu a:hover { color: var(--brand-3); }
.tuw-drawer__menu .sub-menu { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; }
.tuw-drawer__menu .sub-menu a { font-size: .92rem; font-weight: 500; color: var(--muted); padding: 9px 2px; }
.tuw-drawer__cta { display: grid; gap: 10px; margin-bottom: 20px; }
.tuw-drawer__socials { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tuw-drawer__socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-2); color: var(--ink-2); }
.tuw-drawer__socials a:hover { background: var(--brand); color: #fff; }

.tuw-searchdrawer {
	position: fixed; top: 0; left: 0; right: 0; z-index: 96;
	background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--sh-3);
	transform: translateY(-110%); transition: transform .26s cubic-bezier(.3, .8, .4, 1);
	padding: 26px 0;
}
.tuw-searchdrawer.is-open { transform: translateY(0); }
.admin-bar .tuw-searchdrawer { top: 32px; }
.tuw-searchdrawer__in { display: flex; align-items: center; gap: 14px; }
.tuw-searchdrawer form { flex: 1 1 auto; }
.tuw-searchdrawer .tuw-searchform input[type="search"] { font-size: 1.15rem; padding: 14px 18px; }
.tuw-searchdrawer__hint { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }

.tuw-searchform { display: flex; gap: 8px; }
.tuw-searchform input[type="search"] {
	flex: 1 1 auto; min-width: 0; padding: 11px 15px; border-radius: 999px;
	border: 1.5px solid var(--line); background: var(--bg-2); color: var(--ink); font: inherit;
}
.tuw-searchform input[type="search"]:focus { border-color: var(--brand); outline: none; background: var(--surface); }
.tuw-searchform button { flex: none; }

/* Reading progress */
.tuw-progress {
	position: fixed; top: 0; left: 0; height: 3px; width: 0;
	background: linear-gradient(90deg, var(--brand), var(--accent));
	z-index: 99; transition: width .1s linear;
}
.admin-bar .tuw-progress { top: 32px; }

/* =========================================================================
   8. Cards
   ====================================================================== */

.tuw-card {
	display: flex; flex-direction: column; min-width: 0;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--r-lg); overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tuw-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: color-mix(in srgb, var(--accent-current, var(--brand)) 40%, var(--line)); }

.tuw-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.tuw-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tuw-card:hover .tuw-card__media img { transform: scale(1.04); }

.tuw-card__rank {
	position: absolute; left: 12px; top: 12px; z-index: 2;
	display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px;
	border-radius: 10px; background: var(--accent); color: #fff;
	font-family: var(--font-head); font-weight: 800; font-size: 1rem;
}

.tuw-card__body { display: flex; flex-direction: column; gap: 9px; padding: 18px; flex: 1 1 auto; }
.tuw-card__title { margin: 0; font-size: 1.14rem; line-height: 1.32; }
.tuw-card__title a { color: var(--ink); background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .28s ease, color .16s ease; }
.tuw-card__title a:hover { color: var(--accent); background-size: 100% 2px; }
.tuw-card__excerpt { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.tuw-card .tuw-meta { margin-top: auto; }

.tuw-card--wide { flex-direction: row; align-items: stretch; }
.tuw-card--wide .tuw-card__media { flex: 0 0 46%; aspect-ratio: auto; }
.tuw-card--wide .tuw-card__body { padding: 22px; gap: 11px; justify-content: center; }
.tuw-card--wide .tuw-card__title { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }

.tuw-card--list { flex-direction: row; align-items: stretch; border: 0; border-radius: 0; border-bottom: 1px solid var(--line-2); background: transparent; }
.tuw-card--list:hover { transform: none; box-shadow: none; border-color: var(--line-2); }
.tuw-card--list .tuw-card__media { flex: 0 0 132px; aspect-ratio: 4 / 3; border-radius: var(--r); }
.tuw-card--list .tuw-card__body { padding: 0 0 0 16px; gap: 7px; }
.tuw-card--list .tuw-card__title { font-size: 1.02rem; }
.tuw-card--list:last-child { border-bottom: 0; }

.tuw-card--mini { flex-direction: row; border: 0; background: transparent; border-radius: 0; }
.tuw-card--mini:hover { transform: none; box-shadow: none; }
.tuw-card--mini .tuw-card__media { flex: 0 0 84px; aspect-ratio: 1; border-radius: var(--r); }
.tuw-card--mini .tuw-card__body { padding: 0 0 0 13px; gap: 5px; }
.tuw-card--mini .tuw-card__title { font-size: .96rem; }

.tuw-card--nothumb .tuw-card__media { display: none; }
.tuw-card--list.tuw-card--nothumb .tuw-card__body,
.tuw-card--mini.tuw-card--nothumb .tuw-card__body { padding-left: 0; }

/* Overlay card (hero + section spotlights) */
.tuw-ocard {
	position: relative; display: flex; align-items: flex-end; min-height: 320px;
	border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
	background: linear-gradient(135deg, var(--brand-3), var(--dark-plate));
}
.tuw-ocard__img { position: absolute; inset: 0; z-index: 0; }
.tuw-ocard__img img, .tuw-ocard__img .tuw-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tuw-ocard:hover .tuw-ocard__img img { transform: scale(1.045); }
.tuw-ocard::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(6, 22, 20, .06) 0%, rgba(6, 22, 20, .58) 52%, rgba(6, 22, 20, .92) 100%);
}
.tuw-ocard__body { position: relative; z-index: 2; padding: clamp(20px, 2.4vw, 34px); color: #fff; width: 100%; }
.tuw-ocard__body .tuw-chip { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.tuw-ocard__body .tuw-chip:hover { background: var(--chip, var(--brand)); border-color: transparent; color: #fff; }
.tuw-ocard__title { margin: 12px 0 10px; color: #fff; font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.35rem); line-height: 1.14; }
.tuw-ocard__title a { color: #fff; }
.tuw-ocard__title a:hover { color: var(--accent-2); }
.tuw-ocard__excerpt { margin: 0 0 12px; color: rgba(255, 255, 255, .82); font-size: 1rem; max-width: 62ch; }
.tuw-ocard .tuw-meta { color: rgba(255, 255, 255, .74); }
.tuw-ocard .tuw-meta a { color: #fff; }
.tuw-ocard--sm { min-height: 210px; border-radius: var(--r-lg); }
.tuw-ocard--sm .tuw-ocard__title { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); margin-bottom: 6px; }

/* Meta line */
.tuw-meta {
	display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
	font-size: .84rem; color: var(--muted);
}
.tuw-meta a { color: var(--ink-2); font-weight: 700; }
.tuw-meta a:hover { color: var(--accent); }
.tuw-meta__author { display: inline-flex; align-items: center; gap: 8px; }
.tuw-meta__author img, .tuw-meta__author .tuw-avatar { border-radius: 50%; }
.tuw-meta__read { display: inline-flex; align-items: center; gap: 5px; }
.tuw-meta__date + .tuw-meta__read::before,
.tuw-meta__author + .tuw-meta__date::before {
	content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%;
	background: var(--muted-2); margin-right: 12px; vertical-align: middle;
}

.tuw-avatar {
	display: inline-grid; place-items: center; border-radius: 50%;
	background: var(--av, var(--brand)); color: #fff;
	font-family: var(--font-head); font-weight: 800; letter-spacing: .02em;
	line-height: 1; overflow: hidden;
}

/* =========================================================================
   9. Homepage blocks
   ====================================================================== */

.tuw-blockhead {
	display: flex; align-items: center; justify-content: space-between; gap: 18px;
	margin: 0 0 22px; padding-bottom: 12px; border-bottom: 2px solid var(--line);
	position: relative;
}
.tuw-blockhead::after {
	content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px;
	background: var(--accent-current, var(--brand));
}
.tuw-blockhead h2 {
	display: flex; align-items: center; gap: 10px; margin: 0;
	font-size: clamp(1.2rem, 1.05rem + .55vw, 1.5rem); letter-spacing: -.02em;
}
.tuw-blockhead__icon {
	display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
	background: color-mix(in srgb, var(--accent-current, var(--brand)) 14%, transparent);
	color: var(--accent-current, var(--brand));
}
.tuw-blockhead__more {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--muted);
}
.tuw-blockhead__more:hover { color: var(--accent); }

/* Split hero */
.tuw-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; }
.tuw-hero__lead .tuw-ocard { min-height: 100%; }
.tuw-hero__side { display: grid; gap: 22px; align-content: stretch; }

/* Numbered top stories */
.tuw-toplist { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 4px 30px; list-style: none; margin: 0; padding: 0; counter-reset: tuw; }
.tuw-toplist li {
	display: flex; gap: 14px; align-items: flex-start; padding: 14px 0;
	border-bottom: 1px solid var(--line-2);
}
.tuw-toplist li::before {
	counter-increment: tuw; content: counter(tuw, decimal-leading-zero);
	font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
	color: color-mix(in srgb, var(--accent) 65%, transparent); line-height: 1.3; flex: none;
}
.tuw-toplist h3 { margin: 0 0 4px; font-size: 1rem; line-height: 1.36; }
.tuw-toplist h3 a { color: var(--ink); }
.tuw-toplist h3 a:hover { color: var(--accent); }
.tuw-toplist .tuw-meta { font-size: .78rem; }

/* Section band (AI Tools spotlight) */
.tuw-band { background: var(--dark-plate); color: #DCEAE8; position: relative; overflow: hidden; }
.tuw-band::before {
	content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -180px;
	border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .32), transparent 66%);
}
.tuw-band > * { position: relative; }
.tuw-band .tuw-blockhead { border-bottom-color: rgba(255, 255, 255, .14); }
.tuw-band .tuw-blockhead h2 { color: #fff; }
.tuw-band .tuw-blockhead__more { color: #A9C3BF; }
.tuw-band .tuw-blockhead__more:hover { color: var(--accent-2); }
.tuw-band .tuw-card { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .1); }
.tuw-band .tuw-card__title a { color: #fff; }
.tuw-band .tuw-card__excerpt { color: #9FBAB6; }
.tuw-band .tuw-meta { color: #8FAAA6; }
.tuw-band .tuw-meta a { color: #DCEAE8; }
.tuw-band .tuw-card:hover { border-color: rgba(255, 255, 255, .22); }

/* Section teaser rows */
.tuw-secblock + .tuw-secblock { margin-top: clamp(34px, 4vw, 52px); }
.tuw-secblock__split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.tuw-secblock__list { display: flex; flex-direction: column; gap: 16px; }

/* Newsletter band */
.tuw-newsband { background: linear-gradient(120deg, var(--brand-3), var(--brand)); color: #fff; }
:root[data-scheme="dark"] .tuw-newsband { background: linear-gradient(120deg, #0B3A36, #10504A); }

/* =========================================================================
   10. Sidebar & widgets
   ====================================================================== */

.tuw-sidebar { position: sticky; top: calc(var(--nav-h) + 22px); display: grid; gap: 26px; }
.admin-bar .tuw-sidebar { top: calc(var(--nav-h) + 54px); }

.tuw-widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.tuw-widget--news, .tuw-widget--wa, .tuw-widget--cta { padding: 0; border: 0; background: transparent; }
.tuw-widget__title {
	display: flex; align-items: center; gap: 8px; margin: 0 0 15px;
	font-size: 1rem; letter-spacing: -.01em;
	padding-bottom: 11px; border-bottom: 1px solid var(--line-2);
}
.tuw-widget__title svg { color: var(--accent); }
.tuw-widget ul { list-style: none; margin: 0; padding: 0; }
.tuw-widget li { padding: 7px 0; }
.tuw-widget a { color: var(--ink-2); font-weight: 600; font-size: .94rem; }
.tuw-widget a:hover { color: var(--accent); }
.tuw-widget select, .tuw-widget input[type="text"], .tuw-widget input[type="search"] { width: 100%; }

.tuw-mostread { display: grid; gap: 14px; counter-reset: mr; }
.tuw-mostread__item { display: flex; gap: 12px; align-items: center; padding: 0; }
.tuw-mostread__n {
	font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
	color: var(--accent-current, var(--accent)); flex: none; width: 18px;
}
.tuw-mostread__thumb { flex: none; width: 58px; height: 58px; border-radius: 10px; overflow: hidden; background: var(--bg-3); }
.tuw-mostread__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tuw-mostread__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tuw-mostread__body a { font-size: .92rem; line-height: 1.36; font-weight: 700; color: var(--ink); }
.tuw-mostread__body a:hover { color: var(--accent); }
.tuw-mostread__date { font-size: .76rem; color: var(--muted-2); }

.tuw-seclist li { padding: 0; }
.tuw-seclist a {
	display: flex; align-items: center; gap: 11px; padding: 10px 12px;
	border-radius: var(--r); background: var(--bg-2); margin-bottom: 8px;
	transition: background-color .16s ease, transform .16s ease;
}
.tuw-seclist a:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); transform: translateX(2px); }
.tuw-seclist__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); flex: none; }
.tuw-seclist__name { flex: 1 1 auto; font-weight: 700; color: var(--ink); }
.tuw-seclist__count { font-size: .78rem; color: var(--muted-2); font-weight: 700; }

.tuw-tagcloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tuw-tagcloud a {
	display: inline-flex; padding: 6px 11px; border-radius: 999px;
	background: var(--bg-2); border: 1px solid var(--line-2);
	font-size: .82rem; font-weight: 600; color: var(--muted);
}
.tuw-tagcloud a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.tuw-wacard, .tuw-gpcard {
	border-radius: var(--r-lg); padding: 22px; text-align: center;
	border: 1px solid var(--line);
}
.tuw-wacard { background: linear-gradient(160deg, #0E4F3D, #0A2E26); color: #DCF3E9; border-color: transparent; }
.tuw-wacard h2 { color: #fff; font-size: 1.1rem; margin: 12px 0 8px; }
.tuw-wacard p { font-size: .9rem; color: #A9CFC2; margin-bottom: 16px; }
.tuw-wacard__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: rgba(37, 211, 102, .18); color: #4ADE80; }

.tuw-gpcard { background: var(--bg-2); }
.tuw-gpcard h2 { font-size: 1.1rem; margin: 12px 0 8px; }
.tuw-gpcard p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.tuw-gpcard__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }

/* Newsletter */
.tuw-news { border-radius: var(--r-lg); padding: 24px; background: var(--bg-2); border: 1px solid var(--line); }
.tuw-news__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-3); margin-bottom: 12px; }
.tuw-news__title { font-size: 1.12rem; margin: 0 0 8px; }
.tuw-news__blurb { font-size: .92rem; color: var(--muted); margin: 0 0 16px; }
.tuw-news__form { display: grid; gap: 10px; }
.tuw-news__form input[type="email"] {
	width: 100%; padding: 12px 16px; border-radius: 999px; font: inherit;
	border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
}
.tuw-news__form input[type="email"]:focus { border-color: var(--brand); outline: none; }
.tuw-news__form .tuw-btn { width: 100%; }
.tuw-news__fine { margin: 10px 0 0; font-size: .76rem; color: var(--muted-2); }

.tuw-news--wide {
	background: transparent; border: 0; padding: 0;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
	gap: 32px; align-items: center;
}
.tuw-news--wide .tuw-news__text { text-align: left; }
.tuw-news--wide .tuw-news__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.tuw-news--wide .tuw-news__title { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); color: #fff; }
.tuw-news--wide .tuw-news__blurb { color: rgba(255, 255, 255, .84); font-size: 1rem; margin: 0; }
.tuw-news--wide .tuw-news__form { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.tuw-news--wide .tuw-news__form .tuw-btn { width: auto; }
.tuw-news--wide .tuw-news__fine { color: rgba(255, 255, 255, .7); grid-column: 1 / -1; }
.tuw-news--wide .tuw-note { grid-column: 1 / -1; }

/* =========================================================================
   11. Footer
   ====================================================================== */

.tuw-footer { background: var(--dark-plate); color: #A9C3BF; margin-top: clamp(40px, 5vw, 72px); }
.tuw-footer a { color: #CFE3E0; }
.tuw-footer a:hover { color: var(--brand-2); }
.tuw-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: clamp(38px, 4.5vw, 60px); }
.tuw-footer__brand img, .tuw-footer__brand svg { height: 52px; width: auto; margin-bottom: 16px; }
.tuw-footer__about { font-size: .92rem; line-height: 1.7; margin: 0 0 18px; max-width: 46ch; }
.tuw-foot__title { color: #fff; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.tuw-footer ul { list-style: none; margin: 0; padding: 0; }
.tuw-footer li { padding: 5px 0; font-size: .93rem; }
.tuw-footer .tuw-socials { margin-top: 6px; }
.tuw-footer .tuw-socials a { background: rgba(255, 255, 255, .07); width: 36px; height: 36px; }
.tuw-footer .tuw-socials a:hover { background: var(--brand); color: #04211E; }
.tuw-footer__contact li { display: flex; align-items: flex-start; gap: 9px; }
.tuw-footer__contact svg { margin-top: 3px; color: var(--brand-2); }
.tuw-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: .86rem;
}
.tuw-footer__menu { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.tuw-footer__menu li { padding: 0; }

/* =========================================================================
   12. Page heads, breadcrumbs, pagination
   ====================================================================== */

.tuw-crumbs { margin: 0 0 14px; font-size: .82rem; }
.tuw-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tuw-crumbs li { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.tuw-crumbs a { color: var(--muted); font-weight: 600; }
.tuw-crumbs a:hover { color: var(--accent); }
.tuw-crumbs [aria-current="page"] { color: var(--ink-2); font-weight: 700; }
.tuw-crumbs__sep { color: var(--muted-2); display: inline-flex; }
.tuw-crumbs__sep svg { width: 13px; height: 13px; }

.tuw-pagehead { padding-block: clamp(26px, 3.4vw, 48px); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.tuw-pagehead__in { max-width: 780px; }
.tuw-pagehead h1 { margin: 6px 0 12px; }
.tuw-pagehead p { color: var(--muted); font-size: 1.03rem; margin: 0; max-width: 68ch; }
.tuw-pagehead--section { position: relative; overflow: hidden; }
.tuw-pagehead--section::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, color-mix(in srgb, var(--accent-current, var(--brand)) 13%, transparent), transparent 58%);
}
.tuw-pagehead--section > * { position: relative; }
.tuw-pagehead__icon {
	display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
	background: color-mix(in srgb, var(--accent-current, var(--brand)) 16%, transparent);
	color: var(--accent-current, var(--brand)); margin-bottom: 12px;
}
.tuw-pagehead__count { font-size: .84rem; color: var(--muted-2); margin-top: 10px; display: block; }

.tuw-pagehead--dark { background: var(--dark-plate); border-bottom: 0; color: #B8CFCB; }
.tuw-pagehead--dark h1 { color: #fff; }
.tuw-pagehead--dark p { color: #A9C3BF; }
.tuw-pagehead--dark .tuw-crumbs,
.tuw-pagehead--dark .tuw-crumbs a { color: #90ADA8; }
.tuw-pagehead--dark .tuw-crumbs [aria-current="page"] { color: #DCEAE8; }
.tuw-pagehead--dark .tuw-eyebrow { color: var(--brand-2); }

.tuw-pagination { margin-top: 42px; }
.tuw-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; list-style: none; margin: 0; padding: 0; }
.tuw-pagination a, .tuw-pagination span {
	display: inline-flex; align-items: center; gap: 6px; min-width: 42px; height: 42px;
	padding: 0 14px; justify-content: center; border-radius: 999px;
	border: 1px solid var(--line); background: var(--surface);
	font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink-2);
}
.tuw-pagination a:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-3); }
.tuw-pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
:root[data-scheme="dark"] .tuw-pagination .current { color: #04211E; }
.tuw-pagination .dots { border-color: transparent; background: transparent; }

/* =========================================================================
   13. Single post
   ====================================================================== */

.tuw-single__head { padding-block: clamp(24px, 3vw, 40px) clamp(18px, 2vw, 26px); }
.tuw-single__head h1 { margin: 14px 0 14px; max-width: 20ch; max-width: min(20ch, 100%); }
.tuw-single__standfirst { font-size: 1.13rem; line-height: 1.6; color: var(--muted); max-width: 66ch; margin: 0 0 18px; }
.tuw-single__byline { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.tuw-single__byline .tuw-meta { font-size: .9rem; }
.tuw-single__byline .tuw-meta__author img,
.tuw-single__byline .tuw-meta__author .tuw-avatar { width: 38px; height: 38px; }

.tuw-figure { margin: 0 0 clamp(22px, 2.6vw, 34px); border-radius: var(--r-xl); overflow: hidden; background: var(--bg-3); }
.tuw-figure img { width: 100%; }
.tuw-figure figcaption { padding: 10px 14px; font-size: .82rem; color: var(--muted); background: var(--bg-2); }

.tuw-article { position: relative; }
.tuw-article__rail { position: absolute; left: -78px; top: 0; height: 100%; }
.tuw-article__inner { min-width: 0; }

/* Long-form typography */
.tuw-content { font-size: 1.06rem; line-height: 1.78; color: var(--ink-2); }
.tuw-content > * + * { margin-top: 1.15em; }
.tuw-content h2 { margin-top: 1.9em; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.72rem); }
.tuw-content h3 { margin-top: 1.6em; font-size: clamp(1.14rem, 1.05rem + .4vw, 1.32rem); }
.tuw-content h4 { margin-top: 1.4em; }
.tuw-content p { margin: 0; }
.tuw-content a { color: var(--brand-3); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.tuw-content a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.tuw-content ul, .tuw-content ol { padding-left: 1.35em; margin: 0; }
.tuw-content li + li { margin-top: .5em; }
.tuw-content li::marker { color: var(--brand); font-weight: 700; }
.tuw-content img, .tuw-content figure img { border-radius: var(--r-lg); }
.tuw-content figure { margin: 0; }
.tuw-content figcaption { font-size: .84rem; color: var(--muted-2); text-align: center; margin-top: 8px; }
.tuw-content blockquote {
	margin: 0; padding: 20px 24px; border-left: 4px solid var(--accent);
	background: var(--bg-2); border-radius: 0 var(--r-lg) var(--r-lg) 0;
	font-size: 1.1rem; font-style: normal; color: var(--ink);
}
.tuw-content blockquote p:last-child { margin-bottom: 0; }
.tuw-content blockquote cite { display: block; margin-top: 10px; font-size: .88rem; color: var(--muted); font-style: normal; }
.tuw-content pre {
	background: var(--dark-plate); color: #CFE3E0; padding: 18px 20px;
	border-radius: var(--r-lg); overflow-x: auto; font-size: .9rem; line-height: 1.6;
}
.tuw-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.tuw-content :not(pre) > code { background: var(--bg-3); padding: 2px 6px; border-radius: 6px; color: var(--brand-3); }
.tuw-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tuw-content table th, .tuw-content table td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.tuw-content table th { background: var(--bg-2); font-family: var(--font-head); }
.tuw-content .wp-block-table { overflow-x: auto; }
.tuw-content .alignwide { width: min(1080px, 100vw - 40px); margin-inline: calc(50% - min(540px, 50vw - 20px)); max-width: none; }
.tuw-content .alignfull { width: 100vw; margin-inline: calc(50% - 50vw); max-width: none; }
.tuw-content .alignleft { float: left; margin: .3em 1.6em 1.2em 0; }
.tuw-content .alignright { float: right; margin: .3em 0 1.2em 1.6em; }
.tuw-content .aligncenter { margin-inline: auto; }
.tuw-content .wp-caption { max-width: 100%; }

/* Heading anchors */
.tuw-h-anchor { scroll-margin-top: 92px; position: relative; }
.admin-bar .tuw-h-anchor { scroll-margin-top: 124px; }
.tuw-anchor {
	display: inline-flex; align-items: center; margin-left: .4em; vertical-align: middle;
	color: var(--muted-2); opacity: 0; transition: opacity .16s ease, color .16s ease;
	text-decoration: none !important;
}
.tuw-anchor svg { width: 16px; height: 16px; }
.tuw-h-anchor:hover .tuw-anchor, .tuw-anchor:focus { opacity: 1; }
.tuw-anchor:hover { color: var(--accent); }

/* Table of contents */
.tuw-toc {
	margin: 2em 0; padding: 20px 22px; border-radius: var(--r-lg);
	background: var(--bg-2); border: 1px solid var(--line);
	border-left: 4px solid var(--brand);
}
.tuw-toc__head { display: flex; align-items: center; gap: 10px; }
.tuw-toc__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-3); flex: none; }
.tuw-toc__title { margin: 0; font-size: 1rem; flex: 1 1 auto; letter-spacing: -.01em; }
.tuw-toc__toggle {
	flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
	border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 8px;
}
.tuw-toc__toggle:hover { background: var(--bg-3); color: var(--ink); }
.tuw-toc__toggle svg { transition: transform .2s ease; }
.tuw-toc__toggle[aria-expanded="false"] svg { transform: rotate(-90deg); }
.tuw-toc__list { margin: 14px 0 0; padding: 0 0 0 1.3em; counter-reset: toc; }
.tuw-toc__list[hidden] { display: none; }
.tuw-toc__list li { margin: 0; padding: 4px 0; }
.tuw-toc__list > li { list-style: none; counter-increment: toc; position: relative; }
.tuw-toc__list > li::before {
	content: counter(toc) "."; position: absolute; left: -1.3em; top: 4px;
	font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: var(--brand);
}
.tuw-toc a { color: var(--ink-2); font-weight: 600; font-size: .95rem; line-height: 1.45; }
.tuw-toc a:hover { color: var(--accent); }
.tuw-toc a.is-current { color: var(--accent); }
.tuw-toc__sub { list-style: none; margin: 4px 0 2px; padding: 0 0 0 2px; }
.tuw-toc__sub li { padding: 3px 0 3px 14px; border-left: 2px solid var(--line); }
.tuw-toc__sub a { font-size: .89rem; font-weight: 500; color: var(--muted); }

/* Share */
.tuw-share { display: flex; align-items: center; gap: 12px; }
.tuw-share__label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.tuw-share ul { display: flex; gap: 7px; list-style: none; margin: 0; padding: 0; }
.tuw-share__btn {
	display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
	border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
	color: var(--ink-2); cursor: pointer;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.tuw-share__btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.tuw-share__btn--twitter:hover { background: #000; }
.tuw-share__btn--facebook:hover { background: #1877F2; }
.tuw-share__btn--linkedin:hover { background: #0A66C2; }
.tuw-share__btn--telegram:hover { background: #229ED9; }
.tuw-share__btn--whatsapp:hover { background: var(--whats); color: #05261A; }
.tuw-share__btn--copy:hover { background: var(--accent); }
.tuw-share__btn.is-copied { background: var(--brand); border-color: transparent; color: #fff; }

.tuw-share--rail { flex-direction: column; gap: 10px; position: sticky; top: calc(var(--nav-h) + 24px); }
.admin-bar .tuw-share--rail { top: calc(var(--nav-h) + 56px); }
.tuw-share--rail ul { flex-direction: column; }
.tuw-share--rail .tuw-share__label { flex-direction: column; gap: 3px; font-size: .64rem; }
.tuw-share--rail .tuw-share__label span { writing-mode: vertical-rl; }

.tuw-single__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.tuw-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.tuw-tags__label { font-size: .8rem; color: var(--muted-2); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tuw-tags a { display: inline-flex; padding: 5px 11px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: .82rem; font-weight: 600; color: var(--muted); }
.tuw-tags a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.tuw-disclosure {
	display: flex; align-items: flex-start; gap: 10px; margin: 0 0 22px;
	padding: 13px 16px; border-radius: var(--r); background: var(--accent-soft);
	color: #9A4A0B; font-size: .9rem; font-weight: 600;
}
:root[data-scheme="dark"] .tuw-disclosure { color: var(--accent-2); }
.tuw-disclosure svg { flex: none; margin-top: 2px; }

/* Author box */
.tuw-authorbox {
	display: flex; gap: 22px; margin-top: 36px; padding: 26px;
	border-radius: var(--r-xl); background: var(--bg-2); border: 1px solid var(--line);
}
.tuw-authorbox__avatar { flex: none; }
.tuw-authorbox__avatar img, .tuw-authorbox__avatar .tuw-avatar { width: 88px; height: 88px; border-radius: 50%; }
.tuw-authorbox__eyebrow { margin: 0 0 4px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.tuw-authorbox__name { margin: 0 0 3px; font-size: 1.22rem; }
.tuw-authorbox__name a { color: var(--ink); }
.tuw-authorbox__name a:hover { color: var(--accent); }
.tuw-authorbox__role { margin: 0 0 10px; font-size: .88rem; color: var(--brand-3); font-weight: 700; }
.tuw-authorbox__bio { margin: 0 0 14px; font-size: .96rem; color: var(--muted); line-height: 1.65; }
.tuw-authorbox__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tuw-authorbox__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tuw-authorbox__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .87rem; }

/* Author cards */
.tuw-authorgrid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap); }
.tuw-authorcard { display: flex; flex-direction: column; gap: 13px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.tuw-authorcard:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.tuw-authorcard__top { display: flex; align-items: center; gap: 14px; }
.tuw-authorcard__top img, .tuw-authorcard__top .tuw-avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.tuw-authorcard__name { margin: 0 0 2px; font-size: 1.08rem; }
.tuw-authorcard__name a { color: var(--ink); }
.tuw-authorcard__name a:hover { color: var(--accent); }
.tuw-authorcard__role { margin: 0; font-size: .82rem; color: var(--brand-3); font-weight: 700; }
.tuw-authorcard__bio { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.62; flex: 1 1 auto; }
.tuw-authorcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tuw-authorcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid var(--line-2); font-size: .83rem; color: var(--muted-2); }
.tuw-authorcard__foot a { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-family: var(--font-head); }

/* Author archive header */
.tuw-authorhead { background: var(--dark-plate); color: #B8CFCB; padding-block: clamp(30px, 4vw, 52px); }
.tuw-authorhead__in { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.tuw-authorhead img, .tuw-authorhead .tuw-avatar { width: 104px; height: 104px; border-radius: 50%; flex: none; border: 3px solid rgba(255, 255, 255, .14); }
.tuw-authorhead__body { flex: 1 1 340px; min-width: 0; }
.tuw-authorhead h1 { color: #fff; margin: 4px 0 6px; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.tuw-authorhead__role { color: var(--brand-2); font-weight: 700; margin: 0 0 12px; }
.tuw-authorhead__bio { color: #A9C3BF; margin: 0 0 16px; max-width: 68ch; font-size: 1rem; }
.tuw-authorhead__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .87rem; color: #90ADA8; }
.tuw-authorhead__facts span { display: inline-flex; align-items: center; gap: 7px; }
.tuw-authorhead__facts svg { color: var(--brand-2); }
.tuw-authorhead__links { display: flex; gap: 8px; margin-top: 16px; }
.tuw-authorhead__links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #CFE3E0; }
.tuw-authorhead__links a:hover { background: var(--brand); color: #04211E; }

/* =========================================================================
   14. Forms & comments
   ====================================================================== */

.tuw-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.tuw-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tuw-field--wide { grid-column: 1 / -1; }
.tuw-field label { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink-2); }
.tuw-req { color: var(--accent); margin-left: 2px; }

input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="tel"], input[type="number"], input[type="password"], textarea, select {
	width: 100%; padding: 11px 14px; border-radius: var(--r);
	border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
	font: inherit; font-size: .96rem;
	transition: border-color .16s ease, box-shadow .16s ease;
}
input:focus, textarea:focus, select:focus {
	outline: none; border-color: var(--brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
textarea { resize: vertical; min-height: 120px; }

.tuw-form__foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tuw-form__fine { margin: 14px 0 0; font-size: .82rem; color: var(--muted-2); }

.tuw-comments { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.tuw-comments .comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.tuw-comments .comment-list ol.children { list-style: none; padding-left: 26px; }
.tuw-comments .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.tuw-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.tuw-comments .comment-author img, .tuw-comments .comment-author .tuw-avatar { border-radius: 50%; }
.tuw-comments .comment-meta { font-size: .8rem; color: var(--muted-2); margin: 4px 0 10px; }
.tuw-comments .reply a { font-size: .84rem; font-weight: 700; }
.tuw-comments .comment-respond { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.tuw-comments .comment-form p { margin-bottom: 14px; }
.tuw-comments .comment-form label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .88rem; margin-bottom: 5px; }
.tuw-comments .form-submit input[type="submit"] {
	display: inline-flex; padding: 12px 24px; border-radius: 999px; border: 0;
	background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; cursor: pointer;
}
.tuw-comments .form-submit input[type="submit"]:hover { background: var(--brand-3); }

/* =========================================================================
   15. Guest post page
   ====================================================================== */

.tuw-gp__hero { background: var(--dark-plate); color: #B8CFCB; padding-block: clamp(40px, 5vw, 72px); position: relative; overflow: hidden; }
.tuw-gp__hero::before {
	content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%;
	background: radial-gradient(circle, rgba(13, 148, 136, .35), transparent 66%);
}
.tuw-gp__hero::after {
	content: ""; position: absolute; width: 380px; height: 380px; left: -140px; bottom: -220px; border-radius: 50%;
	background: radial-gradient(circle, rgba(249, 115, 22, .22), transparent 66%);
}
.tuw-gp__hero > * { position: relative; }
.tuw-gp__hero h1 { color: #fff; margin: 10px 0 16px; max-width: 18ch; }
.tuw-gp__lede { font-size: 1.1rem; color: #A9C3BF; max-width: 62ch; margin: 0 0 26px; }
.tuw-gp__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.tuw-gp__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 760px; }
.tuw-gp__stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 16px 18px; }
.tuw-gp__stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; color: #fff; line-height: 1.1; }
.tuw-gp__stat span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #8FB0AB; }

.tuw-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tuw-topic { display: flex; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.tuw-topic__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none; background: color-mix(in srgb, var(--accent-current, var(--brand)) 14%, transparent); color: var(--accent-current, var(--brand)); }
.tuw-topic h3 { margin: 0 0 5px; font-size: 1.02rem; }
.tuw-topic p { margin: 0; font-size: .9rem; color: var(--muted); }

.tuw-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tuw-tier { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); position: relative; }
.tuw-tier--featured { border-color: var(--brand); box-shadow: var(--sh-3); }
.tuw-tier__flag { position: absolute; top: -12px; left: 26px; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tuw-tier h3 { margin: 0; font-size: 1.15rem; }
.tuw-tier__price { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--brand-3); line-height: 1; }
.tuw-tier p { margin: 0; color: var(--muted); font-size: .94rem; flex: 1 1 auto; }

.tuw-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tuw-rules__col { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.tuw-rules__col h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: 1.05rem; }
.tuw-rules__col h3 svg { width: 22px; height: 22px; flex: none; }
.tuw-rules__col--yes h3 { color: var(--brand-3); }
.tuw-rules__col--no h3 { color: #B42318; }
:root[data-scheme="dark"] .tuw-rules__col--no h3 { color: #FDA29B; }
.tuw-rules__col ul { list-style: none; margin: 0; padding: 0; }
.tuw-rules__col li { display: flex; gap: 10px; padding: 7px 0; font-size: .95rem; color: var(--ink-2); }
.tuw-rules__col li svg { flex: none; margin-top: 4px; width: 16px; height: 16px; }
.tuw-rules__col--yes li svg { color: var(--brand); }
.tuw-rules__col--no li svg { color: #E04B3C; }

.tuw-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.tuw-step { padding: 22px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line-2); position: relative; }
.tuw-step::before {
	counter-increment: step; content: counter(step);
	display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
	background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 12px;
}
:root[data-scheme="dark"] .tuw-step::before { color: #04211E; }
.tuw-step h3 { margin: 0 0 6px; font-size: 1rem; }
.tuw-step p { margin: 0; font-size: .9rem; color: var(--muted); }

.tuw-faq { display: grid; gap: 10px; }
.tuw-faq details { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.tuw-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 16px 20px; cursor: pointer; list-style: none;
	font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink);
}
.tuw-faq summary::-webkit-details-marker { display: none; }
.tuw-faq summary::after {
	content: ""; width: 9px; height: 9px; flex: none;
	border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
	transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px;
}
.tuw-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.tuw-faq details[open] summary { color: var(--brand-3); }
.tuw-faq__a { padding: 0 20px 18px; color: var(--muted); font-size: .96rem; }
.tuw-faq__a p:last-child { margin-bottom: 0; }

/* =========================================================================
   16. Empty states, 404, floating controls
   ====================================================================== */

.tuw-empty { text-align: center; padding: clamp(40px, 6vw, 80px) 20px; }
.tuw-empty__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--bg-2); color: var(--muted-2); margin-bottom: 18px; }
.tuw-empty h2 { margin: 0 0 10px; }
.tuw-empty p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.tuw-empty form { max-width: 440px; margin: 22px auto 0; }
.tuw-empty__sections { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }

.tuw-404 { text-align: center; padding: clamp(46px, 7vw, 96px) 20px; }
.tuw-404__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4.5rem, 3rem + 8vw, 9rem); line-height: 1; letter-spacing: -.05em; background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.tuw-wa {
	position: fixed; right: 18px; bottom: 18px; z-index: 80;
	display: inline-flex; align-items: center; gap: 0;
	height: 58px; padding: 0 6px 0 0; border-radius: 999px;
	background: var(--whats); color: #05261A;
	box-shadow: 0 14px 34px -12px rgba(18, 140, 126, .8);
	overflow: hidden; max-width: 58px;
	transition: max-width .32s cubic-bezier(.3, .8, .4, 1), box-shadow .2s ease;
}
.tuw-wa:hover, .tuw-wa:focus-visible { max-width: 320px; color: #05261A; }
.tuw-wa__icon { display: grid; place-items: center; width: 58px; height: 58px; flex: none; position: relative; z-index: 2; }
.tuw-wa__text { display: flex; flex-direction: column; padding-right: 20px; white-space: nowrap; line-height: 1.25; }
.tuw-wa__text strong { font-family: var(--font-head); font-weight: 800; font-size: .92rem; }
.tuw-wa__text span { font-size: .8rem; opacity: .85; }
.tuw-wa__halo {
	position: absolute; left: 0; top: 0; width: 58px; height: 58px; border-radius: 50%;
	background: var(--whats); animation: tuw-pulse 2.4s ease-out infinite; z-index: 1;
}
@keyframes tuw-pulse {
	0% { transform: scale(1); opacity: .55; }
	70% { transform: scale(1.65); opacity: 0; }
	100% { transform: scale(1.65); opacity: 0; }
}

.tuw-top {
	position: fixed; right: 20px; bottom: 88px; z-index: 79;
	display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
	border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
	cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px);
	box-shadow: var(--sh-2); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.tuw-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.tuw-top:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* =========================================================================
   17. Block editor odds and ends
   ====================================================================== */

.wp-block-image { margin: 0; }
.wp-block-separator { border-top: 1px solid var(--line); }
.wp-block-button__link { border-radius: 999px; background: var(--brand); font-family: var(--font-head); font-weight: 700; }
.has-tuw-teal-color { color: var(--brand) !important; }
.has-tuw-orange-color { color: var(--accent) !important; }
.has-tuw-teal-background-color { background-color: var(--brand) !important; }
.has-tuw-orange-background-color { background-color: var(--accent) !important; }
.has-tuw-mist-background-color { background-color: var(--bg-2) !important; }
.has-tuw-ink-background-color { background-color: var(--ink) !important; }
.has-tuw-ink-color { color: var(--ink) !important; }
.has-tuw-muted-color { color: var(--muted) !important; }
.has-tuw-white-color { color: #fff !important; }
.widget_block ul, .wp-block-page-list, .widget_categories ul, .widget_archive ul, .widget_recent_entries ul, .widget_meta ul, .widget_pages ul, .widget_nav_menu ul { list-style: none; margin: 0; padding: 0; }
.widget_block h2, .widget_block h3 { font-size: 1rem; margin-bottom: 12px; padding-bottom: 11px; border-bottom: 1px solid var(--line-2); }
.tuw-widget .wp-block-search__inside-wrapper { gap: 8px; }
.tuw-widget .wp-block-search__button { border-radius: 999px; background: var(--brand); color: #fff; border: 0; padding: 10px 18px; font-weight: 700; }

/* =========================================================================
   18. Responsive
   ====================================================================== */

@media (max-width: 1180px) {
	.tuw-article__rail { display: none; }
	.tuw-gp__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
	:root { --gap: 22px; }
	.tuw-shell { grid-template-columns: minmax(0, 1fr); }
	.tuw-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tuw-sidebar .tuw-widget--cta, .tuw-sidebar .tuw-widget--news { grid-column: 1 / -1; }
	.tuw-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tuw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tuw-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
	.tuw-nav { display: none; }
	.tuw-burger { display: grid; }
	.tuw-header__in { gap: 12px; }
	.tuw-hero { grid-template-columns: minmax(0, 1fr); }
	.tuw-hero__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tuw-secblock__split { grid-template-columns: minmax(0, 1fr); }
	.tuw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tuw-tiers { grid-template-columns: minmax(0, 1fr); }
	.tuw-news--wide { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.tuw-authorgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.tuw-topbar__left .tuw-topbar__menu { display: none; }
	.tuw-grid--3, .tuw-grid--2 { grid-template-columns: minmax(0, 1fr); }
	.tuw-hero__side { grid-template-columns: minmax(0, 1fr); }
	.tuw-card--wide { flex-direction: column; }
	.tuw-card--wide .tuw-card__media { flex: none; aspect-ratio: 16 / 9; }
	.tuw-sidebar { grid-template-columns: minmax(0, 1fr); }
	.tuw-authorbox { flex-direction: column; gap: 16px; }
	.tuw-authorgrid { grid-template-columns: minmax(0, 1fr); }
	.tuw-rules, .tuw-topics { grid-template-columns: minmax(0, 1fr); }
	.tuw-form__grid { grid-template-columns: minmax(0, 1fr); }
	.tuw-footer__top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.tuw-single__foot { flex-direction: column; align-items: flex-start; }
	.tuw-postnav { grid-template-columns: minmax(0, 1fr) !important; }
	.tuw-h-anchor { scroll-margin-top: 76px; }
	.admin-bar .tuw-h-anchor { scroll-margin-top: 122px; }
	.tuw-content .alignleft, .tuw-content .alignright { float: none; margin-inline: 0; }
}

@media (max-width: 700px) {
	.tuw-header__cta { display: none; }
	.tuw-steps { grid-template-columns: minmax(0, 1fr); }
	.tuw-gp__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tuw-wa { right: 12px; bottom: 12px; }
	.tuw-top { right: 14px; bottom: 82px; }
}

@media (max-width: 520px) {
	.tuw-brand img, .tuw-brand svg { height: 34px; max-width: 178px; }
	.tuw-toplist { grid-template-columns: minmax(0, 1fr); }
	.tuw-card--list .tuw-card__media { flex: 0 0 100px; }
	.tuw-share--row { flex-direction: column; align-items: flex-start; gap: 8px; }
	.tuw-toc { padding: 16px; }
}

/* Post navigation */
.tuw-postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.tuw-postnav__link { display: flex; flex-direction: column; gap: 7px; padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .18s ease, transform .18s ease; }
.tuw-postnav__link:hover { border-color: var(--brand); transform: translateY(-2px); }
.tuw-postnav__link--next { text-align: right; }
.tuw-postnav__dir { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted-2); }
.tuw-postnav__link--next .tuw-postnav__dir { justify-content: flex-end; }
.tuw-postnav__title { font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.35; color: var(--ink); }
.tuw-postnav__link:hover .tuw-postnav__title { color: var(--brand-3); }
.tuw-postnav__link:only-child { grid-column: 1 / -1; }

.tuw-related { margin-top: 44px; }

.tuw-drawer__caret {
	position: absolute; right: 0; top: 6px; width: 34px; height: 34px; padding: 0;
	border: 0; background: transparent; cursor: pointer; color: var(--muted);
}
.tuw-drawer__caret::after {
	content: ""; position: absolute; left: 12px; top: 12px; width: 8px; height: 8px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); transition: transform .2s ease;
}
.tuw-drawer__caret[aria-expanded="true"]::after { transform: rotate(-135deg); top: 15px; }
.tuw-drawer__menu li { position: relative; }

.tuw-footer__col .tuw-fwidget + .tuw-fwidget { margin-top: 26px; }

/* -------------------------------------------------------------------------
   19. Corrections found during visual testing
   ---------------------------------------------------------------------- */

/* The table of contents is injected inside .tuw-content, so it inherits the
   long-form link and heading rules. Opt it back out. */
.tuw-content .tuw-toc { margin-top: 2em; }
.tuw-content .tuw-toc a { text-decoration: none; }
.tuw-content .tuw-toc a:hover { text-decoration: underline; text-decoration-color: currentColor; }
.tuw-content .tuw-toc__title { margin: 0; font-size: 1rem; }
.tuw-content .tuw-toc__head { margin: 0; }
.tuw-content .tuw-toc__list { margin-top: 14px; }
.tuw-content .tuw-toc > * + * { margin-top: 0; }

/* Sections already carry their own padding; a margin here reads as a gap after
   a full-bleed band. */
.tuw-footer { margin-top: 0; }

/* Separator dots belong to the element before them, so a wrapped meta line
   never starts with a stray dot. */
.tuw-meta__date + .tuw-meta__read::before,
.tuw-meta__author + .tuw-meta__date::before { content: none; }
.tuw-meta__author:has(+ .tuw-meta__date)::after,
.tuw-meta__date:has(+ .tuw-meta__read)::after {
	content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%;
	background: var(--muted-2); margin-left: 12px; vertical-align: middle;
}

/* Wide newsletter: keep the fine print with the form rather than opening a
   third grid row. */
.tuw-news--wide { align-items: start; }
.tuw-news--wide .tuw-news__form { align-self: center; }
.tuw-news--wide .tuw-news__fine { grid-column: 2; margin-top: -4px; }
@media (max-width: 940px) {
	.tuw-news--wide .tuw-news__fine { grid-column: 1; }
}

/* Keep the dark AI band distinct from the page in dark mode. */
:root[data-scheme="dark"] .tuw-band { background: #071312; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 -1px 0 rgba(255, 255, 255, .05); }

/* Anchors and sticky rails clear the measured header height (theme.js keeps
   --tuw-sticky current; the token above is the no-JS fallback). */
.tuw-h-anchor,
:root .tuw-h-anchor { scroll-margin-top: calc(var(--tuw-sticky) + 16px); }
.admin-bar .tuw-h-anchor { scroll-margin-top: calc(var(--tuw-sticky) + 16px); }
@media (max-width: 760px) {
	.tuw-h-anchor { scroll-margin-top: calc(var(--tuw-sticky) + 12px); }
	.admin-bar .tuw-h-anchor { scroll-margin-top: calc(var(--tuw-sticky) + 12px); }
}
.tuw-sidebar,
.admin-bar .tuw-sidebar { top: calc(var(--tuw-sticky) + 22px); }
.tuw-share--rail,
.admin-bar .tuw-share--rail { top: calc(var(--tuw-sticky) + 24px); }
