/* ==========================================================================
   WebTechPulse — main stylesheet
   Electric blue + pulse coral · light / dark · 2026 bento magazine
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--brand: #1D4ED8;
	--brand-2: #3B82F6;
	--brand-3: #172063;
	--brand-soft: #E8EEFF;
	--coral: #F0513F;
	--coral-2: #FF7A6B;
	--coral-soft: #FFECE9;
	--wa: #1FAF55;
	--wa-dark: #128C4A;

	--bg: #F5F7FC;
	--surface: #FFFFFF;
	--surface-2: #F0F3FA;
	--ink: #0B1437;
	--text: #26314F;
	--muted: #5B6785;
	--line: #E2E7F1;
	--line-2: #D3DAE8;
	--shadow-sm: 0 1px 2px rgba(11, 20, 55, .06), 0 1px 1px rgba(11, 20, 55, .04);
	--shadow: 0 10px 30px -12px rgba(11, 20, 55, .18), 0 2px 6px rgba(11, 20, 55, .05);
	--shadow-lg: 0 30px 60px -20px rgba(11, 20, 55, .35);
	--glass: rgba(255, 255, 255, .78);
	--focus: 0 0 0 3px rgba(59, 130, 246, .45);

	--dark-band: #0B1437;
	--dark-band-2: #111C49;

	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--r-pill: 999px;

	--font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;

	--wrap: 1240px;
	--gutter: 16px;
	--header-h: 68px;
	color-scheme: light;
}

:root[data-theme="dark"] {
	--brand: #5B8CFF;
	--brand-2: #7AA2FF;
	--brand-soft: rgba(91, 140, 255, .14);
	--coral: #FF7A6B;
	--coral-soft: rgba(255, 122, 107, .14);

	--bg: #070B1F;
	--surface: #0E1531;
	--surface-2: #141D40;
	--ink: #F2F5FF;
	--text: #D3DAF0;
	--muted: #95A2C6;
	--line: #1F2A52;
	--line-2: #2A3766;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
	--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
	--glass: rgba(9, 14, 38, .78);
	--dark-band: #0C1332;
	--dark-band-2: #121B45;
	color-scheme: dark;
}

@media (min-width: 720px) {
	:root { --gutter: 24px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1rem/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--coral); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.22; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code, kbd, pre { font-family: var(--font-mono); }
[hidden] { display: none !important; }

/* Grid/flex children must be allowed to shrink (inputs otherwise force overflow). */
:where(.wtp-layout, .wtp-grid, .wtp-bento, .wtp-split, .wtp-footer__grid, .wtp-header__in, .wtp-toolgrid, .wtp-contact, .wtp-gpcols, .wtp-pitch, .wtp-gphero__grid, .wtp-tool__grid, .wtp-form__row, .wtp-gpband, .wtp-plans, .wtp-card__body, .wtp-row, .wtp-mini, .wtp-newsletter, .wtp-layout__main, .wtp-sidebar) > * { min-width: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000; top: 8px; left: 8px;
	padding: 10px 16px; background: var(--surface); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow);
}

.wtp-only-dark { display: none !important; }
:root[data-theme="dark"] .wtp-only-dark { display: inline-flex !important; }
:root[data-theme="dark"] img.wtp-only-dark { display: block !important; }
:root[data-theme="dark"] .wtp-only-light { display: none !important; }

.wtp-i { flex: none; vertical-align: middle; }
.wtp-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wtp-wrap--narrow { max-width: calc(780px + 2 * var(--gutter)); }
.wtp-main { display: block; min-height: 50vh; }

.wtp-eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	font: 600 .75rem/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase;
	color: var(--brand); margin: 0 0 .6rem;
}
.wtp-live {
	width: 8px; height: 8px; border-radius: 50%; background: var(--coral); display: inline-block; position: relative; flex: none;
}
.wtp-live::after {
	content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--coral); opacity: .6;
	animation: wtp-ping 1.8s ease-out infinite;
}
@keyframes wtp-ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Buttons ---------- */
.wtp-btn {
	--bh: 44px;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: var(--bh); padding: 0 18px; border-radius: var(--r-pill);
	font: 600 .9375rem/1 var(--font-head); letter-spacing: -.005em; white-space: nowrap;
	border: 1px solid transparent; background: var(--surface-2); color: var(--ink);
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
	text-decoration: none;
}
.wtp-btn:hover { transform: translateY(-1px); color: var(--ink); }
.wtp-btn:active { transform: translateY(0); }
.wtp-btn--sm { --bh: 36px; padding: 0 14px; font-size: .8125rem; }
.wtp-btn--lg { --bh: 52px; padding: 0 24px; font-size: 1rem; }
.wtp-btn--primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 8px 20px -8px rgba(29, 78, 216, .7); }
.wtp-btn--primary:hover { color: #fff; box-shadow: 0 12px 24px -8px rgba(29, 78, 216, .8); }
.wtp-btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.wtp-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.wtp-btn--light { background: #fff; color: #0B1437; }
.wtp-btn--light:hover { color: #0B1437; }
.wtp-btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 175, 85, .8); }
.wtp-btn--wa:hover { background: var(--wa-dark); color: #fff; }
.wtp-btn--wa-soft { background: rgba(31, 175, 85, .1); color: var(--wa-dark); border-color: rgba(31, 175, 85, .25); }
:root[data-theme="dark"] .wtp-btn--wa-soft { color: #4ADE80; }
.wtp-btn--wa-soft:hover { background: var(--wa); color: #fff; }

.wtp-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 40px; min-width: 40px; padding: 0 10px; border-radius: var(--r-pill);
	border: 1px solid var(--line); background: var(--surface); color: var(--ink);
	transition: border-color .15s, color .15s, background .15s;
}
.wtp-iconbtn:hover { border-color: var(--brand); color: var(--brand); }
.wtp-kbd {
	font: 600 .6875rem/1 var(--font-body); padding: 4px 6px; border-radius: 6px;
	background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}

.wtp-pill {
	display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
	border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface);
	font: 600 .8125rem/1 var(--font-body); color: var(--ink);
}
.wtp-pill:hover { border-color: var(--brand); color: var(--brand); }
.wtp-pill.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }

.wtp-more {
	display: inline-flex; align-items: center; gap: 6px;
	font: 600 .875rem/1 var(--font-head); color: var(--brand);
}
.wtp-more:hover { gap: 9px; }

/* ---------- Chips ---------- */
.wtp-chip {
	--c: var(--brand);
	display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
	padding: 4px 10px 4px 8px; border-radius: var(--r-pill);
	font: 600 .75rem/1.2 var(--font-body); letter-spacing: .01em;
	color: var(--c); background: color-mix(in srgb, var(--c) 11%, transparent);
	position: relative; z-index: 2;
}
.wtp-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtp-chip:hover { color: #fff; background: var(--c); }
:root[data-theme="dark"] .wtp-chip { color: color-mix(in srgb, var(--c) 55%, #fff); background: color-mix(in srgb, var(--c) 22%, transparent); }
.wtp-chip--solid, :root[data-theme="dark"] .wtp-chip--solid { background: var(--c); color: #fff; }
.wtp-chip--solid:hover { filter: brightness(1.1); color: #fff; }

.wtp-badge { font: 700 .625rem/1 var(--font-body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; border-radius: 6px; vertical-align: 2px; margin-left: 4px; }
.wtp-badge--ai { background: linear-gradient(135deg, #7C3AED, #3B82F6); color: #fff; }
.wtp-badge--new { background: var(--coral); color: #fff; }

/* ---------- Progress, announce ---------- */
.wtp-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.wtp-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand-2), var(--coral)); }
body:not(.wtp-article) .wtp-progress { display: none; }

.wtp-announce { background: linear-gradient(90deg, #0B1437, #1D3A9E 55%, #0B1437); color: #fff; font-size: .8125rem; }
.wtp-announce__in { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; position: relative; padding-right: 44px; }
.wtp-announce a, .wtp-announce span { color: #fff; font-weight: 500; }
.wtp-announce a:hover { color: var(--coral-2); }
.wtp-announce__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral-2); flex: none; box-shadow: 0 0 0 4px rgba(255, 122, 107, .25); }
.wtp-announce__close { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); background: none; border: 0; color: rgba(255, 255, 255, .7); padding: 6px; display: inline-flex; border-radius: 50%; }
.wtp-announce__close:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.wtp-announce.is-hidden { display: none; }

/* ---------- Header ---------- */
.wtp-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--glass);
	-webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .wtp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wtp-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wtp-header { top: 0; } }
.wtp-header__in { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.wtp-brand { margin: 0; flex: none; font-size: 1rem; line-height: 1; }
.wtp-brand a { display: flex; align-items: center; }
.wtp-brand__img { height: 44px; width: auto; }
.wtp-brand--footer .wtp-brand__img { height: 52px; }
.wtp-brand--drawer .wtp-brand__img { height: 38px; }

.wtp-nav { flex: 1 1 auto; min-width: 0; overflow-x: clip; }
.wtp-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.wtp-nav__list > li { position: relative; flex: none; display: flex; align-items: center; }
.wtp-nav__list > li > a {
	display: inline-flex; align-items: center; height: 40px; padding: 0 11px; border-radius: var(--r-pill);
	font: 600 .875rem/1 var(--font-head); color: var(--ink); white-space: nowrap; letter-spacing: -.01em;
}
.wtp-nav__list > li > a:hover, .wtp-nav__list > li.current-menu-item > a, .wtp-nav__list > li.current-menu-ancestor > a, .wtp-nav__list > li.current-category-ancestor > a { background: var(--brand-soft); color: var(--brand); }
.wtp-nav__list > li.menu-item-has-children > a { padding-right: 4px; }
.wtp-sub-toggle { background: none; border: 0; color: var(--muted); padding: 4px; margin-right: 4px; display: inline-flex; border-radius: 6px; }
.wtp-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 50;
}
.wtp-nav .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.wtp-nav__list > li:hover > .sub-menu, .wtp-nav__list > li:focus-within > .sub-menu, .wtp-nav__list > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.wtp-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: var(--r-sm); color: var(--text); font-weight: 500; font-size: .9063rem; white-space: nowrap; }
.wtp-nav .sub-menu a:hover { background: var(--surface-2); color: var(--brand); }
.wtp-nav__list > li.wtp-nav-more > .sub-menu { left: auto; right: 0; }
.wtp-nav__list > li.wtp-nav-more > a { cursor: pointer; }
.wtp-nav-more .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; background: none; }
.wtp-nav-more .sub-menu .wtp-sub-toggle { display: none; }
.wtp-nav-more .sub-menu > li.menu-item-has-children > a { font-weight: 700; color: var(--ink); }
@media (max-width: 1399px) { .wtp-search-open .wtp-kbd { display: none; } }

.wtp-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.wtp-burger { display: none; }

@media (max-width: 1199px) {
	.wtp-nav { display: none; }
	.wtp-burger { display: inline-flex; }
}
@media (max-width: 720px) {
	:root { --header-h: 60px; }
	.wtp-brand--header .wtp-brand__img { height: 36px; }
	.wtp-search-open .wtp-kbd { display: none; }
	.wtp-header__cta { display: none; }
	.wtp-header__in { gap: 10px; }
	.wtp-header__actions { gap: 6px; }
}
@media (max-width: 380px) {
	.wtp-brand--header .wtp-brand__img { height: 30px; }
	.wtp-iconbtn { min-width: 36px; height: 36px; padding: 0 8px; }
}

/* ---------- Ticker ---------- */
.wtp-ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.wtp-ticker__in { display: flex; align-items: center; gap: 14px; height: 44px; }
.wtp-ticker__label {
	display: inline-flex; align-items: center; gap: 8px; flex: none;
	font: 700 .75rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--coral);
	padding-right: 14px; border-right: 1px solid var(--line);
}
.wtp-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); }
.wtp-ticker__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; width: max-content; animation: wtp-marquee 60s linear infinite; }
.wtp-ticker__track:hover .wtp-ticker__list, .wtp-ticker__track:focus-within .wtp-ticker__list { animation-play-state: paused; }
.wtp-ticker__list li { white-space: nowrap; font-size: .875rem; font-weight: 500; position: relative; }
.wtp-ticker__list li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); transform: translateY(-50%); }
.wtp-ticker__list a { color: var(--text); }
.wtp-ticker__list a:hover { color: var(--brand); }
@keyframes wtp-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wtp-ticker__list { animation: none; } }

/* ---------- Drawer ---------- */
.wtp-drawer { position: fixed; inset: 0; z-index: 300; }
.wtp-drawer__scrim { position: absolute; inset: 0; background: rgba(5, 9, 28, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s; }
.wtp-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: var(--surface);
	display: flex; flex-direction: column; gap: 16px; padding: 16px 18px 24px; overflow-y: auto;
	transform: translateX(100%); transition: transform .25s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg);
}
.wtp-drawer.is-open .wtp-drawer__scrim { opacity: 1; }
.wtp-drawer.is-open .wtp-drawer__panel { transform: none; }
.wtp-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.wtp-drawer__search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0 14px; color: var(--muted); min-width: 0; }
.wtp-drawer__search input { flex: 1; min-width: 0; border: 0; background: none; height: 44px; outline: none; }
.wtp-drawer__menu, .wtp-drawer nav > .wtp-nav__list { list-style: none; margin: 0; padding: 0; display: block; }
.wtp-drawer__menu li, .wtp-drawer nav .wtp-nav__list li { border-bottom: 1px solid var(--line); }
.wtp-drawer__menu a, .wtp-drawer nav .wtp-nav__list a { display: block; padding: 13px 4px; font: 600 1rem/1.3 var(--font-head); color: var(--ink); }
.wtp-drawer__menu .sub-menu { list-style: none; margin: 0 0 10px; padding: 0 0 0 12px; }
.wtp-drawer__menu .sub-menu li { border: 0; }
.wtp-drawer__menu .sub-menu a { padding: 8px 4px; font: 500 .9375rem/1.3 var(--font-body); color: var(--text); }
.wtp-drawer__menu .wtp-sub-toggle { display: none; }
.wtp-drawer__cta { display: grid; gap: 10px; margin-top: auto; }
body.wtp-lock { overflow: hidden; }

/* ---------- Search palette ---------- */
.wtp-palette { position: fixed; inset: 0; z-index: 400; display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.wtp-palette__scrim { position: absolute; inset: 0; background: rgba(5, 9, 28, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wtp-palette__box { position: relative; width: min(640px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: wtp-pop .18s ease-out; }
@keyframes wtp-pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.wtp-palette__form { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.wtp-palette__form input { flex: 1; min-width: 0; height: 60px; border: 0; background: none; outline: none; font-size: 1.0625rem; color: var(--ink); }
.wtp-palette__form input::-webkit-search-cancel-button { display: none; }
.wtp-palette__list { list-style: none; margin: 0; padding: 8px; max-height: min(52vh, 420px); overflow-y: auto; }
.wtp-palette__list:empty { display: none; }
.wtp-palette__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); }
.wtp-palette__list a .wtp-pal-type { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); }
.wtp-palette__list a .wtp-pal-t { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtp-palette__list a .wtp-pal-m { flex: none; font-size: .75rem; color: var(--muted); }
.wtp-palette__list a[aria-selected="true"], .wtp-palette__list a:hover { background: var(--brand-soft); }
.wtp-palette__list .wtp-pal-empty { padding: 14px 12px; color: var(--muted); font-size: .9063rem; }
.wtp-palette__quick { padding: 14px 16px 18px; }
.wtp-palette__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-palette__chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink); font-size: .8125rem; font-weight: 500; }
.wtp-palette__chips a:hover { background: var(--brand-soft); color: var(--brand); }
.wtp-palette.has-query .wtp-palette__quick { display: none; }

/* ---------- Ads ---------- */
.wtp-ad { margin: 24px auto; text-align: center; max-width: var(--wrap); padding-inline: var(--gutter); overflow: hidden; }
.wtp-ad__label { display: block; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.wtp-sidebar .wtp-ad, .wtp-article__body .wtp-ad, .wtp-grid .wtp-ad { padding-inline: 0; margin: 0 0 24px; }
.wtp-article__body .wtp-ad { margin: 28px 0; }

/* ---------- Sections & layout ---------- */
.wtp-section { padding: 44px 0; }
.wtp-section--last { padding-bottom: 72px; }
.wtp-section--tint { background: var(--surface-2); }
:root[data-theme="dark"] .wtp-section--tint { background: #0A1029; }
.wtp-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; padding-block: 8px 48px; }
@media (min-width: 1024px) {
	.wtp-layout { grid-template-columns: minmax(0, 1fr) 336px; }
}
.wtp-section .wtp-layout { padding-block: 0; }

.wtp-sechead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.wtp-sechead__title { display: flex; align-items: center; gap: 12px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin: 0; }
.wtp-sechead__title--plain { margin-bottom: 20px; font-size: 1.4rem; }
.wtp-sechead__mark { width: 10px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, var(--brand-2), var(--coral)); flex: none; }
.wtp-sechead__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--c, var(--brand)); flex: none; box-shadow: 0 8px 16px -8px var(--c, var(--brand)); }
.wtp-sechead--center { flex-direction: column; text-align: center; justify-content: center; }
.wtp-sechead--center .wtp-sechead__title { justify-content: center; }
.wtp-sechead__sub { color: var(--muted); max-width: 640px; margin: 4px auto 0; }

.wtp-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) {
	.wtp-grid--2, .wtp-grid--3, .wtp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.wtp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wtp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.wtp-grid__full { grid-column: 1 / -1; }
.wtp-stack { display: grid; gap: 14px; }

/* ---------- Media / images ---------- */
.wtp-img { width: 100%; height: 100%; object-fit: cover; }
.wtp-img--fallback {
	--c: var(--brand);
	display: grid; place-items: center; color: rgba(255, 255, 255, .92);
	background:
		radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .22), transparent 40%),
		radial-gradient(circle at 10% 100%, color-mix(in srgb, var(--coral) 55%, transparent), transparent 55%),
		linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 45%, #0B1437));
}
.wtp-img--fallback .wtp-i { width: 30%; max-width: 64px; height: auto; opacity: .95; }

/* ---------- Cards ---------- */
.wtp-card {
	position: relative; display: flex; flex-direction: column; background: var(--surface);
	border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wtp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.wtp-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.wtp-card__media .wtp-img { transition: transform .5s ease; }
.wtp-card:hover .wtp-card__media .wtp-img { transform: scale(1.04); }
.wtp-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; align-items: flex-start; }
.wtp-card__title { font-size: 1.125rem; margin: 0; line-height: 1.3; }
.wtp-card__title a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.wtp-card__title a:hover { color: var(--brand); background-size: 100% 2px; }
.wtp-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wtp-card__excerpt { color: var(--muted); font-size: .9375rem; margin: 0; }
.wtp-card .wtp-meta { margin-top: auto; }
.wtp-card--compact .wtp-card__body { padding: 14px 16px 16px; }
.wtp-card--compact .wtp-card__title { font-size: 1.0313rem; }
.wtp-card--big .wtp-card__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }

.wtp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0; font-size: .8125rem; color: var(--muted); }
.wtp-meta > span, .wtp-meta > time { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.wtp-meta > * + *::before { content: ""; position: absolute; left: -8px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.wtp-meta--light { color: rgba(255, 255, 255, .85); }
.wtp-meta__author .avatar, .wtp-meta__author .wtp-avatar { width: 26px; height: 26px; border-radius: 50%; }

/* Overlay card */
.wtp-overlay { position: relative; height: 100%; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: #0B1437; isolation: isolate; }
.wtp-overlay__media { position: absolute; inset: 0; z-index: -1; }
.wtp-overlay__media .wtp-img { transition: transform .6s ease; }
.wtp-overlay:hover .wtp-overlay__media .wtp-img { transform: scale(1.03); }
.wtp-overlay::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 9, 28, 0) 25%, rgba(5, 9, 28, .55) 55%, rgba(5, 9, 28, .92)); }
.wtp-overlay__body { position: absolute; inset: auto 0 0; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.wtp-overlay__title { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.15; margin: 0; letter-spacing: -.025em; }
.wtp-overlay__title a { color: #fff; }
.wtp-overlay__title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wtp-overlay__excerpt { color: rgba(255, 255, 255, .85); margin: 0; max-width: 60ch; }
.wtp-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wtp-overlay .wtp-chip { z-index: 2; }

/* Row card */
.wtp-row { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: center; }
.wtp-row__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.wtp-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.wtp-row__title { font-size: 1rem; line-height: 1.35; margin: 0; }
.wtp-row__title a { color: var(--ink); }
.wtp-row__title a:hover { color: var(--brand); }
.wtp-row__title a::after { content: ""; position: absolute; inset: 0; }
.wtp-row__excerpt { color: var(--muted); font-size: .9063rem; margin: 0; }
@media (min-width: 600px) { .wtp-row { grid-template-columns: 170px minmax(0, 1fr); gap: 18px; } }

/* Mini card */
.wtp-mini { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; }
.wtp-mini__media { display: block; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; }
.wtp-mini__media .wtp-img--fallback .wtp-i { width: 26px; }
.wtp-mini--num { grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
.wtp-mini__n { font: 800 1.6rem/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--c, var(--brand)); letter-spacing: -.04em; padding-top: 2px; }
.wtp-mini__body { display: flex; flex-direction: column; gap: 4px; }
.wtp-mini__cat { font: 700 .6875rem/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--c, var(--brand)); }
.wtp-mini__title { font-size: .9375rem; line-height: 1.35; margin: 0; }
.wtp-mini__title a { color: var(--ink); }
.wtp-mini__title a:hover { color: var(--brand); }
.wtp-mini__title a::after { content: ""; position: absolute; inset: 0; }
.wtp-mini .wtp-meta { font-size: .75rem; }

/* ---------- Home: hero bento ---------- */
.wtp-hero { padding: 28px 0 12px; position: relative; }
.wtp-hero::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 420px; z-index: -1; pointer-events: none;
	background:
		radial-gradient(600px 260px at 12% 0%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%),
		radial-gradient(520px 240px at 92% 10%, color-mix(in srgb, var(--coral) 12%, transparent), transparent 70%);
}
.wtp-hero__intro { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.wtp-hero__h { font-size: clamp(1.55rem, 1.1rem + 2vw, 2.5rem); margin: 0; letter-spacing: -.03em; max-width: 22ch; }
.wtp-hero__intro .wtp-eyebrow { color: var(--muted); }

.wtp-bento { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.wtp-bento__lead .wtp-overlay { min-height: 420px; }
@media (min-width: 700px) {
	.wtp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wtp-bento__lead { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
	.wtp-bento { grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: auto auto; }
	.wtp-bento__lead { grid-column: 1; grid-row: 1 / span 2; }
	.wtp-bento__lead .wtp-overlay { min-height: 540px; }
	.wtp-bento__side--1 { grid-column: 2; grid-row: 1; }
	.wtp-bento__side--2 { grid-column: 3; grid-row: 1; }
	.wtp-bento__tile.wtp-tile--tools { grid-column: 2; grid-row: 2; }
	.wtp-bento__tile.wtp-tile--guest { grid-column: 3; grid-row: 2; }
}
.wtp-bento__side .wtp-card { height: 100%; }

.wtp-tile { position: relative; border-radius: var(--r-lg); padding: 22px; overflow: hidden; display: flex; flex-direction: column; gap: 6px; isolation: isolate; }
.wtp-tile__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 8px; }
.wtp-tile__title { font-size: 1.25rem; margin: 0 0 8px; }
.wtp-tile--tools { background: linear-gradient(145deg, #1D4ED8, #172063 70%); color: #DCE4FF; }
.wtp-tile--tools::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 107, .45), transparent 65%); z-index: -1; }
.wtp-tile--tools .wtp-tile__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.wtp-tile--tools .wtp-eyebrow { color: #FFB4AA; }
.wtp-tile--tools .wtp-tile__title { color: #fff; }
.wtp-tile__links { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.wtp-tile__links a { display: flex; align-items: center; gap: 8px; color: #fff; font-size: .9063rem; font-weight: 500; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.wtp-tile__links a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.wtp-tile__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: #fff; font: 600 .875rem/1 var(--font-head); }
.wtp-tile__cta:hover { color: #FFB4AA; }
.wtp-tile--guest { background: var(--surface); border: 1px solid var(--line); }
.wtp-tile--guest::after { content: ""; position: absolute; inset: auto -40px -70px auto; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--coral) 20%, transparent), transparent 65%); z-index: -1; }
.wtp-tile--guest .wtp-tile__icon { background: var(--coral-soft); color: var(--coral); }
.wtp-tile--guest .wtp-eyebrow { color: var(--coral); }
.wtp-tile__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* Topics */
.wtp-topics { padding: 18px 0 4px; }
.wtp-topics__list { list-style: none; margin: 0; padding: 2px 0 10px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.wtp-topics__list li { flex: none; scroll-snap-align: start; }
.wtp-topics__list a {
	--c: var(--brand);
	display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 14px;
	border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--ink);
	font: 600 .875rem/1 var(--font-head);
}
.wtp-topics__list a .wtp-i { color: var(--c); }
.wtp-topics__list a em { font-style: normal; font: 600 .75rem/1 var(--font-body); color: var(--muted); background: var(--surface-2); padding: 5px 8px; border-radius: var(--r-pill); }
.wtp-topics__list a:hover { border-color: var(--c); color: var(--c); }

/* Split */
.wtp-split { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .wtp-split { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.wtp-split__list { display: grid; gap: 18px; }
.wtp-catsec .wtp-sechead { border-bottom: 1px solid var(--line); padding-bottom: 14px; position: relative; }
.wtp-catsec .wtp-sechead::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 80px; height: 3px; border-radius: 3px; background: var(--c); }
.wtp-catsec .wtp-more { color: var(--c); }
:root[data-theme="dark"] .wtp-catsec .wtp-more { color: color-mix(in srgb, var(--c) 55%, #fff); }

/* Tools band */
.wtp-band { padding: 60px 0; margin: 20px 0; }
.wtp-band--tools {
	background:
		radial-gradient(700px 300px at 90% 0%, rgba(59, 130, 246, .35), transparent 70%),
		radial-gradient(500px 260px at 0% 100%, rgba(240, 81, 63, .25), transparent 70%),
		linear-gradient(180deg, var(--dark-band), var(--dark-band-2));
	color: #C9D3F0;
}
.wtp-band__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.wtp-band__title { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin: 0; max-width: 24ch; }
.wtp-band .wtp-eyebrow { color: #FFB4AA; }

/* Tool cards */
.wtp-toolgrid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .wtp-toolgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .wtp-toolgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wtp-band .wtp-toolgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) { .wtp-toolgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.wtp-toolgrid--stack { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
.wtp-toolcard {
	--c: var(--brand);
	position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start;
	padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--text);
	transition: transform .18s, border-color .18s, box-shadow .18s;
}
.wtp-toolcard:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: var(--shadow); color: var(--text); }
.wtp-toolcard__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.wtp-toolcard__body { display: flex; flex-direction: column; gap: 4px; }
.wtp-toolcard__name { font: 700 .9688rem/1.3 var(--font-head); color: var(--ink); }
.wtp-toolcard__desc { font-size: .8438rem; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wtp-toolcard__go { color: var(--muted); transition: color .15s, transform .15s; }
.wtp-toolcard:hover .wtp-toolcard__go { color: var(--c); transform: translate(2px, -2px); }
.wtp-toolcard--compact { padding: 12px; gap: 10px; }
.wtp-toolcard--compact .wtp-toolcard__icon { width: 36px; height: 36px; border-radius: 10px; }
.wtp-toolcard--compact .wtp-toolcard__desc { display: none; }
.wtp-toolgrid--dark .wtp-toolcard { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #C9D3F0; }
.wtp-toolgrid--dark .wtp-toolcard:hover { background: rgba(255, 255, 255, .08); border-color: color-mix(in srgb, var(--c) 70%, #fff); }
.wtp-toolgrid--dark .wtp-toolcard__name { color: #fff; }
.wtp-toolgrid--dark .wtp-toolcard__desc { color: #9AA7CC; }
.wtp-toolgrid--dark .wtp-toolcard__icon { background: color-mix(in srgb, var(--c) 28%, transparent); color: color-mix(in srgb, var(--c) 45%, #fff); }
:root[data-theme="dark"] .wtp-toolcard__icon { color: color-mix(in srgb, var(--c) 50%, #fff); background: color-mix(in srgb, var(--c) 22%, transparent); }

/* Guest post band */
.wtp-gpband {
	display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); padding: 30px; border-radius: var(--r-lg);
	background:
		radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--coral) 16%, transparent), transparent 70%),
		radial-gradient(420px 220px at 0% 100%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%),
		var(--surface);
	border: 1px solid var(--line);
}
@media (min-width: 960px) { .wtp-gpband { grid-template-columns: 1.2fr 1fr; padding: 44px; align-items: center; } }
.wtp-gpband__title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.025em; }
.wtp-gpband__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.wtp-gpband__plans { display: grid; gap: 12px; }
.wtp-planmini {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 16px 18px; border-radius: var(--r);
	border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.wtp-planmini:hover { border-color: var(--brand); color: var(--text); }
.wtp-planmini.is-featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.wtp-planmini__name { font: 700 1rem/1.3 var(--font-head); color: var(--ink); }
.wtp-planmini__price { font: 800 1.25rem/1 var(--font-head); color: var(--brand); grid-row: span 2; align-self: center; }
.wtp-planmini__f { font-size: .8438rem; color: var(--muted); }

.wtp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
@media (min-width: 560px) { .wtp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wtp-stats > div { background: var(--surface-2); border-radius: var(--r-sm); padding: 12px 14px; display: flex; flex-direction: column-reverse; gap: 2px; }
.wtp-stats dt { font-size: .75rem; color: var(--muted); }
.wtp-stats dd { margin: 0; font: 800 1.35rem/1.1 var(--font-head); color: var(--ink); letter-spacing: -.02em; }

/* ---------- Sidebar ---------- */
.wtp-sidebar { display: grid; gap: 22px; align-content: start; }
@media (min-width: 1024px) { .wtp-sidebar > :last-child { position: sticky; top: calc(var(--header-h) + 20px); } }
.wtp-widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.wtp-widget__title { display: flex; align-items: center; gap: 8px; font-size: 1.0313rem; margin: 0 0 16px; }
.wtp-widget__title .wtp-i { color: var(--coral); }
.wtp-widget ul:not([class]) { margin: 0; padding-left: 1.1em; }
.wtp-widget .wtp-more { margin-top: 14px; }

.wtp-promo { position: relative; overflow: hidden; background: linear-gradient(150deg, #1D4ED8, #172063 75%); border: 0; color: #D6DEFF; isolation: isolate; }
.wtp-promo__glow { position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 107, .55), transparent 65%); z-index: -1; }
.wtp-promo .wtp-eyebrow { color: #FFB4AA; }
.wtp-promo__title { color: #fff; font-size: 1.1875rem; }
.wtp-promo p { font-size: .9063rem; }
.wtp-promo__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.wtp-toollinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.wtp-toollinks a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .9063rem; }
.wtp-toollinks a span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); flex: none; }
.wtp-toollinks a:hover { background: var(--surface-2); color: var(--brand); }

/* ---------- Newsletter ---------- */
.wtp-newsletter { border-radius: var(--r-lg); padding: 24px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.wtp-newsletter__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; }
.wtp-newsletter__title { font-size: 1.1875rem; margin-bottom: 6px; }
.wtp-newsletter__text p { color: var(--muted); font-size: .9375rem; }
.wtp-newsletter__form { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.wtp-newsletter__form input { flex: 1 1 200px; min-width: 0; height: 48px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); }
.wtp-newsletter__form input:focus { border-color: var(--brand); outline: none; box-shadow: var(--focus); }
.wtp-newsletter__form .wtp-btn { --bh: 48px; }
.wtp-newsletter__fine { font-size: .75rem; color: var(--muted); margin: 10px 0 0; }
.wtp-newsletter--sidebar .wtp-newsletter__form { flex-direction: column; }
.wtp-newsletter--sidebar .wtp-newsletter__form input { flex: none; width: 100%; }
.wtp-newsletter--sidebar { border-radius: var(--r); padding: 20px; }
.wtp-newsletter--wide {
	display: grid; gap: 16px 40px; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 32px;
	background:
		radial-gradient(500px 240px at 100% 100%, color-mix(in srgb, var(--coral) 14%, transparent), transparent 70%),
		radial-gradient(500px 240px at 0% 0%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%),
		var(--surface);
}
@media (min-width: 900px) {
	.wtp-newsletter--wide { grid-template-columns: 1fr 1fr; padding: 44px; }
	.wtp-newsletter--wide .wtp-newsletter__title { font-size: 1.6rem; }
	.wtp-newsletter--wide .wtp-newsletter__fine { grid-column: 2; margin-top: -8px; }
	.wtp-newsletter--wide .wtp-notice { grid-column: 1 / -1; }
}

/* ---------- Notices & forms ---------- */
.wtp-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); margin: 0 0 16px; font-size: .9375rem; }
.wtp-notice p { margin: 0; }
.wtp-notice--ok { background: rgba(31, 175, 85, .12); color: #0E7A3C; border: 1px solid rgba(31, 175, 85, .3); }
.wtp-notice--err { background: rgba(220, 38, 38, .08); color: #B42318; border: 1px solid rgba(220, 38, 38, .25); }
:root[data-theme="dark"] .wtp-notice--ok { color: #6EE7A0; }
:root[data-theme="dark"] .wtp-notice--err { color: #FCA5A5; }
.wtp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.wtp-form { display: grid; gap: 4px; }
.wtp-form p { margin: 0 0 12px; }
.wtp-form label { display: block; font: 600 .875rem/1.3 var(--font-body); color: var(--ink); margin-bottom: 6px; }
.wtp-form input:not([type="checkbox"]):not([type="radio"]), .wtp-form select, .wtp-form textarea,
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea, .wtp-searchform input {
	width: 100%; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.wtp-form textarea { resize: vertical; min-height: 120px; }
.wtp-form input:focus, .wtp-form select:focus, .wtp-form textarea:focus, .comment-form input:focus, .comment-form textarea:focus, .wtp-searchform input:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.wtp-form__row { display: grid; gap: 0 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .wtp-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wtp-form__check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.wtp-form__check input { margin-top: 4px; accent-color: var(--brand); }
.wtp-form__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.wtp-searchform { display: flex; gap: 8px; max-width: 560px; }
.wtp-searchform input { border-radius: var(--r-pill); height: 48px; padding: 0 18px; }
.wtp-searchform .wtp-btn { --bh: 48px; padding: 0 16px; }

/* ---------- Article ---------- */
.wtp-article__head { padding: 26px 0 10px; }
.wtp-crumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .8125rem; color: var(--muted); }
.wtp-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.wtp-crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.wtp-crumbs a { color: var(--muted); }
.wtp-crumbs a:hover { color: var(--brand); }
.wtp-crumbs [aria-current] span { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; display: inline-block; vertical-align: bottom; }
.wtp-article__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.wtp-disc { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--r-pill); font: 600 .75rem/1.2 var(--font-body); background: var(--coral-soft); color: var(--coral); }
.wtp-article__title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.85rem); letter-spacing: -.03em; line-height: 1.12; margin-bottom: 14px; }
.wtp-article__dek { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); margin-bottom: 20px; }
.wtp-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wtp-byline { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.wtp-byline .avatar, .wtp-byline .wtp-avatar { width: 44px; height: 44px; border-radius: 50%; }
.wtp-byline span { display: flex; flex-direction: column; line-height: 1.3; }
.wtp-byline strong { font: 700 .9375rem/1.3 var(--font-head); }
.wtp-byline em { font-style: normal; font-size: .8125rem; color: var(--muted); }
.wtp-article__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8438rem; color: var(--muted); }
.wtp-article__facts li { display: inline-flex; align-items: center; gap: 6px; }
.wtp-article__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 14px; }
.wtp-summarize { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wtp-summarize__label { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--muted); margin-right: 2px; }
.wtp-summarize__label .wtp-i { color: #7C3AED; }
.wtp-article__hero { margin: 18px auto 8px; max-width: 1080px; }
.wtp-article__hero img { border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.wtp-article__hero figcaption { font-size: .8125rem; color: var(--muted); text-align: center; margin-top: 8px; }
.wtp-layout--article { padding-top: 24px; }

.wtp-article__wrap { position: relative; }
@media (min-width: 1280px) {
	.wtp-article__wrap { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 24px; }
}
.wtp-rail { display: none; }
@media (min-width: 1280px) {
	.wtp-rail { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
.wtp-article__body { min-width: 0; max-width: 760px; }

.wtp-takeaways { border-radius: var(--r); padding: 18px 20px; margin: 0 0 24px; background: linear-gradient(135deg, var(--brand-soft), transparent 80%); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.wtp-takeaways__title { display: flex; align-items: center; gap: 8px; font: 700 1rem/1.2 var(--font-head); color: var(--ink); margin-bottom: 10px; }
.wtp-takeaways__title .wtp-i { color: var(--coral); }
.wtp-takeaways ul { margin: 0; padding-left: 1.15em; }
.wtp-takeaways li { margin: 4px 0; }
.wtp-takeaways li::marker { color: var(--brand); }
.wtp-disclosure { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; color: var(--muted); background: var(--surface-2); padding: 10px 14px; border-radius: var(--r-sm); }
.wtp-disclosure .wtp-i { margin-top: 3px; color: var(--coral); }

/* ---------- Prose ---------- */
.wtp-prose { font-size: 1.0625rem; line-height: 1.8; color: var(--text); overflow-wrap: break-word; }
.wtp-prose > :where(*) { margin-block: 0 1.25em; }
.wtp-prose :where(h2) { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); margin: 1.8em 0 .6em; }
.wtp-prose :where(h3) { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); margin: 1.6em 0 .5em; }
.wtp-prose :where(h4) { font-size: 1.1rem; margin: 1.4em 0 .5em; }
.wtp-prose :where(a) { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.wtp-prose :where(a):hover { color: var(--coral); text-decoration-color: currentColor; }
.wtp-prose :where(ul, ol) { padding-left: 1.4em; }
.wtp-prose :where(li) { margin: .35em 0; }
.wtp-prose :where(li)::marker { color: var(--brand); }
.wtp-prose :where(img) { border-radius: var(--r); height: auto; }
.wtp-prose :where(figure) { margin-inline: 0; }
.wtp-prose :where(figcaption) { font-size: .8438rem; color: var(--muted); text-align: center; margin-top: 8px; }
.wtp-prose :where(blockquote) { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--coral); font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.wtp-prose :where(code) { background: var(--surface-2); padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.wtp-prose :where(pre) { background: #0B1437; color: #E1E7FF; padding: 18px; border-radius: var(--r); overflow-x: auto; font-size: .875rem; line-height: 1.6; position: relative; }
.wtp-prose :where(pre code) { background: none; padding: 0; color: inherit; }
.wtp-prose :where(hr) { margin: 2.2em 0; }
.wtp-prose :where(.wp-block-image, .wp-block-embed) { margin-block: 1.8em; }
.wtp-prose .alignwide { margin-inline: calc(-1 * min(80px, 5vw)); }
.wtp-prose .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 50%; }
.wtp-prose .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
.wtp-prose .aligncenter { margin-inline: auto; }
.wtp-copycode { position: absolute; top: 8px; right: 8px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #E1E7FF; font: 600 .75rem/1 var(--font-body); padding: 6px 9px; border-radius: 8px; }
.wtp-table { overflow-x: auto; margin-block: 1.6em; border: 1px solid var(--line); border-radius: var(--r); }
.wtp-table table, .wtp-prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.wtp-prose th, .wtp-prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.wtp-prose thead th { background: var(--surface-2); font-family: var(--font-head); color: var(--ink); }
.wtp-prose tr:last-child td { border-bottom: 0; }
.wtp-prose .wp-block-table { margin: 0; }

.wtp-h-anchor { position: relative; }
.wtp-h-link { margin-left: .35em; font-weight: 400; color: var(--line-2) !important; text-decoration: none !important; opacity: 0; transition: opacity .15s; }
.wtp-h-anchor:hover .wtp-h-link, .wtp-h-link:focus { opacity: 1; color: var(--brand) !important; }

/* TOC */
.wtp-toc { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin: 0 0 2em; overflow: hidden; }
.wtp-toc__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--surface-2); }
.wtp-toc__title { display: flex; align-items: center; gap: 8px; margin: 0 !important; font: 700 1rem/1.2 var(--font-head); color: var(--ink); }
.wtp-toc__title .wtp-i { color: var(--brand); }
.wtp-toc__toggle { border: 0; background: none; color: var(--muted); display: inline-flex; padding: 4px; border-radius: 8px; transition: transform .2s; }
.wtp-toc.is-collapsed .wtp-toc__toggle { transform: rotate(-90deg); }
.wtp-toc.is-collapsed .wtp-toc__list { display: none; }
.wtp-toc__list { counter-reset: toc; list-style: none; margin: 0 !important; padding: 10px 18px 14px !important; font-size: .9375rem; line-height: 1.45; }
.wtp-toc__list > li { counter-increment: toc; margin: 0 !important; padding: 5px 0; }
.wtp-toc__list > li > a::before { content: counter(toc) "."; display: inline-block; min-width: 1.8em; color: var(--brand); font-weight: 700; font-variant-numeric: tabular-nums; }
.wtp-toc__list ol { list-style: none; margin: 4px 0 0 1.8em !important; padding: 0 !important; }
.wtp-toc__list ol li { margin: 0 !important; padding: 3px 0; font-size: .875rem; }
.wtp-toc__list ol li::before { content: "–"; color: var(--muted); margin-right: 6px; }
.wtp-toc__list li::marker { content: none; }
.wtp-toc a { color: var(--text) !important; text-decoration: none !important; }
.wtp-toc a:hover, .wtp-toc a.is-active { color: var(--brand) !important; }
.wtp-toc a.is-active { font-weight: 600; }

/* FAQ */
.wtp-faq { margin: 2.4em 0; }
.wtp-faq__title { font-size: 1.4rem; margin-bottom: 14px; }
.wtp-faq__item { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); margin-bottom: 10px; overflow: hidden; }
.wtp-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font: 600 1rem/1.4 var(--font-head); color: var(--ink); }
.wtp-faq__item summary::-webkit-details-marker { display: none; }
.wtp-faq__item summary .wtp-i { color: var(--brand); transition: transform .2s; flex: none; }
.wtp-faq__item[open] summary .wtp-i { transform: rotate(45deg); }
.wtp-faq__a { padding: 0 18px 14px; color: var(--text); }
.wtp-faq__a p { margin: 0; }

/* Tags / share */
.wtp-tags { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-tags a { display: inline-block; padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text); font-size: .8125rem; font-weight: 500; }
.wtp-tags a:hover { background: var(--brand); color: #fff; }
.wtp-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wtp-share__label { margin: 0; font: 700 .9375rem/1 var(--font-head); color: var(--ink); }
.wtp-share__row { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-share__btn {
	width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line);
	background: var(--surface); color: var(--ink); transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.wtp-share__btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.wtp-share__btn--whatsapp:hover { background: var(--wa); }
.wtp-share__btn--x:hover { background: #000; }
.wtp-share__btn--linkedin:hover { background: #0A66C2; }
.wtp-share__btn--facebook:hover { background: #1877F2; }
.wtp-share__btn--telegram:hover { background: #229ED9; }
.wtp-copy:hover { background: var(--brand); }

/* Author box */
.wtp-authorbox { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin: 26px 0; }
.wtp-authorbox__avatar .avatar, .wtp-authorbox__avatar .wtp-avatar { width: 88px; height: 88px; border-radius: 22px; }
.wtp-authorbox .wtp-eyebrow { margin-bottom: 2px; color: var(--muted); }
.wtp-authorbox__name { font-size: 1.25rem; margin: 0 0 2px; }
.wtp-authorbox__name a { color: var(--ink); }
.wtp-authorbox__role { color: var(--brand); font-weight: 600; font-size: .875rem; margin-bottom: 8px; }
.wtp-authorbox__bio { font-size: .9375rem; color: var(--text); margin-bottom: 10px; }
.wtp-authorbox__covers { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wtp-authorbox__covers li { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); }
.wtp-authorbox__links { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: .875rem; }
.wtp-authorbox__links a { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 520px) {
	.wtp-authorbox { grid-template-columns: minmax(0, 1fr); }
	.wtp-authorbox__avatar .avatar, .wtp-authorbox__avatar .wtp-avatar { width: 64px; height: 64px; border-radius: 18px; }
}

.wtp-avatar--initials {
	display: inline-grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%;
	background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .28), transparent 60%), var(--av, #1D4ED8);
	color: #fff; font: 700 calc(var(--s) * .38)/1 var(--font-head); letter-spacing: -.02em; flex: none; vertical-align: middle;
}

.wtp-cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 20px 22px; border-radius: var(--r); background: linear-gradient(120deg, var(--brand-soft), var(--coral-soft)); margin: 26px 0; }
.wtp-cta-inline p { margin: 0; font-size: .9375rem; }
.wtp-cta-inline__title { font: 700 1.0625rem/1.3 var(--font-head) !important; color: var(--ink); margin-bottom: 2px !important; }
.wtp-cta-inline__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-cta-inline--wide { margin-top: 40px; margin-bottom: 60px; }

.wtp-prevnext { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 26px 0; }
@media (min-width: 640px) { .wtp-prevnext { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wtp-prevnext a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.wtp-prevnext a:hover { border-color: var(--brand); }
.wtp-prevnext span { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wtp-prevnext strong { font: 700 .9688rem/1.35 var(--font-head); color: var(--ink); }
.wtp-prevnext__next { text-align: right; align-items: flex-end; grid-column: -2; }

.wtp-related { background: var(--surface-2); }
:root[data-theme="dark"] .wtp-related { background: #0A1029; }

/* Comments */
.wtp-comments { margin-top: 36px; }
.wtp-comments__title, .comment-reply-title { font-size: 1.35rem; }
.wtp-comments__list, .wtp-comments__list .children { list-style: none; padding: 0; margin: 0; }
.wtp-comments__list .children { padding-left: 24px; border-left: 2px solid var(--line); }
.wtp-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.wtp-comments .comment-author { display: flex; align-items: center; gap: 10px; }
.wtp-comments .comment-author .avatar { border-radius: 50%; }
.wtp-comments .comment-metadata { font-size: .8125rem; margin: 4px 0 8px; }
.wtp-comments .comment-metadata a { color: var(--muted); }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 6px; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* ---------- Page heads ---------- */
.wtp-pagehead { padding: 30px 0 22px; }
.wtp-pagehead__title { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); letter-spacing: -.03em; margin: 0; }
.wtp-pagehead__sub { color: var(--muted); font-size: 1.0625rem; margin: 10px 0 0; max-width: 64ch; }
.wtp-pagehead__search { margin-top: 18px; }
.wtp-page .wtp-prose { padding-bottom: 56px; }
.wtp-page__hero img { border-radius: var(--r-lg); margin-bottom: 24px; }

.wtp-archhead { --c: var(--brand); padding: 30px 0 26px; margin-bottom: 18px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
	background: radial-gradient(600px 220px at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%), var(--surface); }
.wtp-archhead__row { display: flex; align-items: center; gap: 16px; }
.wtp-archhead__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 12px 24px -10px var(--c); flex: none; }
.wtp-archhead .wtp-eyebrow { color: var(--c); margin-bottom: 2px; }
:root[data-theme="dark"] .wtp-archhead .wtp-eyebrow { color: color-mix(in srgb, var(--c) 55%, #fff); }
.wtp-archhead__title { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); margin: 0; letter-spacing: -.03em; }
.wtp-archhead__desc { color: var(--muted); max-width: 70ch; margin-top: 14px; }
.wtp-archhead__desc p { margin: 0; }
.wtp-archhead__count { font-size: .8438rem; font-weight: 600; color: var(--muted); margin: 10px 0 0; }
.wtp-archhead__kids { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-archhead__kids a { padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink); font-size: .8125rem; font-weight: 600; background: var(--surface); }

.wtp-pager { margin: 34px 0 0; }
.wtp-pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.wtp-pager a, .wtp-pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9063rem; }
.wtp-pager a:hover { border-color: var(--brand); color: var(--brand); }
.wtp-pager .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.wtp-pager .dots { border: 0; background: none; }

.wtp-empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); display: grid; justify-items: center; gap: 12px; }
.wtp-empty h2 { margin: 0; }
.wtp-empty .wtp-searchform { width: 100%; }

.wtp-searchtools { margin-bottom: 30px; }
.wtp-searchtools__title { font-size: 1.1rem; }

/* 404 */
.wtp-404 { padding: 60px 0 80px; text-align: center; }
.wtp-404__pulse { width: 240px; color: var(--coral); margin: 0 auto 16px; display: block; stroke-dasharray: 600; animation: wtp-draw 2.4s ease-in-out infinite; }
@keyframes wtp-draw { 0% { stroke-dashoffset: 600; } 60%, 100% { stroke-dashoffset: 0; } }
.wtp-404__title { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem); letter-spacing: -.03em; }
.wtp-404 .wtp-searchform { margin: 20px auto; }
.wtp-404__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.wtp-404__sub { font-size: 1.2rem; text-align: left; }
.wtp-404 .wtp-stack { text-align: left; }

/* Author profile */
.wtp-profile { padding: 30px 0 34px; margin-bottom: 26px; background: radial-gradient(700px 300px at 100% 0%, rgba(240, 81, 63, .28), transparent 70%), linear-gradient(160deg, #0B1437, #172063); color: #C9D3F0; }
.wtp-profile .wtp-crumbs a, .wtp-profile .wtp-crumbs ol { color: #9AA7CC; }
.wtp-profile .wtp-crumbs [aria-current] span { color: #fff; }
.wtp-profile__row { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 720px) { .wtp-profile__row { grid-template-columns: auto minmax(0, 1fr); gap: 32px; } }
.wtp-profile__avatar .avatar, .wtp-profile__avatar .wtp-avatar { width: 132px; height: 132px; border-radius: 34px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .1); }
.wtp-profile .wtp-eyebrow { color: #FFB4AA; }
.wtp-profile__name { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 10px; }
.wtp-profile__bio { max-width: 70ch; }
.wtp-profile__facts { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .875rem; }
.wtp-profile__facts li, .wtp-profile__facts a { display: inline-flex; align-items: center; gap: 6px; color: #DCE4FF; }
.wtp-profile__covers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wtp-profile__covers li { padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); color: #fff; font-size: .8125rem; font-weight: 600; }

/* Team */
.wtp-team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin: 10px 0 30px; }
.wtp-team__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wtp-team__avatar .avatar, .wtp-team__avatar .wtp-avatar { width: 96px; height: 96px; border-radius: 28px; margin-bottom: 10px; }
.wtp-team__card h3 { margin: 0; font-size: 1.2rem; }
.wtp-team__card h3 a { color: var(--ink); }
.wtp-team__role { color: var(--brand); font-weight: 600; font-size: .875rem; margin: 0 0 8px; }
.wtp-team__bio { font-size: .9063rem; color: var(--muted); }
.wtp-team__count { font-size: .8125rem; font-weight: 600; color: var(--ink); background: var(--surface-2); padding: 5px 12px; border-radius: var(--r-pill); margin: auto 0 0; }

/* Contact */
.wtp-contact { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); padding-bottom: 60px; }
@media (min-width: 960px) { .wtp-contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.wtp-contact__main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.wtp-contact__side { display: grid; gap: 16px; align-content: start; }
.wtp-contactcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.wtp-contactcard h2 { font-size: 1.1rem; margin: 10px 0 6px; }
.wtp-contactcard p { color: var(--muted); font-size: .9375rem; margin-bottom: 12px; overflow-wrap: anywhere; }
.wtp-contactcard__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.wtp-contactcard--wa { background: linear-gradient(150deg, rgba(31, 175, 85, .12), var(--surface) 70%); border-color: rgba(31, 175, 85, .3); }
.wtp-contactcard--wa .wtp-contactcard__icon { background: var(--wa); color: #fff; }

/* ---------- Guest post page ---------- */
.wtp-gphero { padding: 30px 0 50px; position: relative; overflow: hidden;
	background:
		radial-gradient(700px 320px at 100% 0%, rgba(240, 81, 63, .3), transparent 70%),
		radial-gradient(700px 320px at 0% 100%, rgba(59, 130, 246, .35), transparent 70%),
		linear-gradient(160deg, #0B1437, #152062);
	color: #C9D3F0; }
.wtp-gphero .wtp-crumbs a, .wtp-gphero .wtp-crumbs ol { color: #9AA7CC; }
.wtp-gphero .wtp-crumbs [aria-current] span { color: #fff; }
.wtp-gphero__grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .wtp-gphero__grid { grid-template-columns: 1.4fr 1fr; } }
.wtp-gphero .wtp-eyebrow { color: #FFB4AA; }
.wtp-gphero__title { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); letter-spacing: -.035em; line-height: 1.08; }
.wtp-gphero__title span { display: block; font-size: .5em; color: #9DB6FF; letter-spacing: -.01em; margin-top: 10px; font-weight: 600; }
.wtp-gphero__lead { font-size: 1.1rem; max-width: 56ch; }
.wtp-gphero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wtp-stats--hero { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin: 0; }
.wtp-stats--hero > div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); padding: 18px; }
.wtp-stats--hero dt { color: #9AA7CC; }
.wtp-stats--hero dd { color: #fff; font-size: 1.7rem; }

.wtp-accept { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.wtp-accept li { --c: var(--brand); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.wtp-accept__icon { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.wtp-accept strong { font: 700 1rem/1.3 var(--font-head); color: var(--ink); }
.wtp-accept em { font-style: normal; font-size: .8438rem; color: var(--muted); }

.wtp-plans { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); max-width: 1100px; margin: 0 auto; }
@media (min-width: 900px) { .wtp-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.wtp-plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.wtp-plan.is-featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .wtp-plan.is-featured { transform: translateY(-10px); } }
.wtp-plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--coral), #FF8A5B); color: #fff; font: 700 .75rem/1 var(--font-head); padding: 7px 12px; border-radius: var(--r-pill); white-space: nowrap; }
.wtp-plan__name { font-size: 1.15rem; margin-bottom: 6px; }
.wtp-plan__price { font: 800 2.4rem/1 var(--font-head); color: var(--ink); letter-spacing: -.04em; margin-bottom: 18px; }
.wtp-plan__features { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.wtp-plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.wtp-plan__features .wtp-i { color: var(--wa); margin-top: 3px; }
.wtp-plan__actions { margin-top: auto; display: grid; gap: 8px; }

.wtp-gpcols { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .wtp-gpcols { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } .wtp-gpcols__side { position: sticky; top: calc(var(--header-h) + 20px); } }
.wtp-dodont { display: grid; gap: 14px; }
.wtp-dodont__col { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.wtp-dodont__col h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.wtp-dodont__col--do h3 .wtp-i { color: var(--wa); }
.wtp-dodont__col--dont h3 .wtp-i { color: #DC2626; }
.wtp-dodont ul { margin: 0; padding-left: 1.1em; font-size: .9375rem; }
.wtp-dodont li { margin: 6px 0; }

.wtp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
@media (min-width: 640px) { .wtp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .wtp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wtp-steps li { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); position: relative; }
.wtp-steps span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 800 1.1rem/1 var(--font-head); color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); margin-bottom: 12px; }
.wtp-steps strong { display: block; font: 700 1.05rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 4px; }
.wtp-steps p { margin: 0; font-size: .9063rem; color: var(--muted); }

.wtp-pitch { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .wtp-pitch { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.wtp-pitch__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.wtp-pitch__mail, .wtp-pitch__tool { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9375rem; }
.wtp-pitch__mail a { overflow-wrap: anywhere; }

/* ---------- Tools hub ---------- */
.wtp-toolshero { padding: 30px 0 30px; position: relative;
	background: radial-gradient(700px 300px at 100% 0%, rgba(124, 58, 237, .16), transparent 70%), radial-gradient(700px 300px at 0% 100%, rgba(59, 130, 246, .16), transparent 70%); }
.wtp-toolshero__title { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); letter-spacing: -.035em; margin-bottom: 8px; }
.wtp-toolshero__lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.wtp-toolshero__filter { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 54px; padding: 0 18px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line-2); color: var(--muted); box-shadow: var(--shadow-sm); margin: 18px 0 14px; }
.wtp-toolshero__filter:focus-within { border-color: var(--brand); box-shadow: var(--focus); }
.wtp-toolshero__filter input { flex: 1; min-width: 0; border: 0; background: none; outline: none; height: 100%; font-size: 1rem; color: var(--ink); }
.wtp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-chipbtn { --c: var(--brand); display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .8438rem/1 var(--font-body); }
.wtp-chipbtn .wtp-i { color: var(--c); }
.wtp-chipbtn:hover { border-color: var(--c); }
.wtp-chipbtn.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.wtp-chipbtn.is-active .wtp-i { color: inherit; }
.wtp-toolshub { padding-bottom: 60px; }
.wtp-toolsgroup { --c: var(--brand); margin-top: 30px; scroll-margin-top: calc(var(--header-h) + 20px); }
.wtp-toolsgroup__title { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.wtp-toolsgroup__title span { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--c); }
.wtp-toolsgroup__title em { font-style: normal; font: 600 .75rem/1 var(--font-body); color: var(--muted); background: var(--surface-2); padding: 5px 9px; border-radius: var(--r-pill); }

/* ---------- Tool page ---------- */
.wtp-toolhead { --c: var(--brand); padding: 26px 0 24px; background: radial-gradient(700px 260px at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); }
.wtp-toolhead__row { display: flex; gap: 18px; align-items: flex-start; }
.wtp-toolhead__icon { width: 64px; height: 64px; border-radius: 20px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #0B1437)); box-shadow: 0 14px 28px -12px var(--c); }
.wtp-toolhead__title { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); letter-spacing: -.03em; margin-bottom: 8px; }
.wtp-toolhead__desc { font-size: 1.0625rem; color: var(--muted); max-width: 70ch; margin-bottom: 12px; }
.wtp-toolhead__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-toolhead__badges li { display: inline-flex; align-items: center; gap: 5px; font: 600 .75rem/1 var(--font-body); padding: 7px 10px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.wtp-toolhead__badges li .wtp-i { color: var(--wa); }
.wtp-toolhead__badges li.is-ai { background: linear-gradient(135deg, #7C3AED, #3B82F6); color: #fff; border: 0; }
.wtp-toolhead__badges li.is-ai .wtp-i { color: #fff; }
.wtp-toolhead__badges a { color: inherit; }
@media (max-width: 560px) { .wtp-toolhead__row { flex-direction: column; } .wtp-toolhead__icon { width: 52px; height: 52px; border-radius: 16px; } }
.wtp-layout--tool { padding-top: 34px; }

.wtp-tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); min-height: 220px; }
@media (min-width: 720px) { .wtp-tool { padding: 30px; } }
.wtp-tool__loading { display: flex; gap: 8px; justify-content: center; padding: 70px 0; }
.wtp-tool__loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); animation: wtp-bounce 1s infinite ease-in-out; }
.wtp-tool__loading span:nth-child(2) { animation-delay: .15s; }
.wtp-tool__loading span:nth-child(3) { animation-delay: .3s; }
@keyframes wtp-bounce { 0%, 80%, 100% { transform: scale(.5); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }

.wtp-tool__grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .wtp-tool__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .wtp-tool__grid--wide { grid-template-columns: minmax(0, 1fr); } }
.wtp-tool__panel { display: grid; gap: 14px; align-content: start; }
.wtp-tool__panel--out { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.wtp-tool__h { font: 700 .8125rem/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.wtp-fields { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .wtp-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wtp-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wtp-field { display: grid; gap: 6px; min-width: 0; }
.wtp-field > span, .wtp-field > label { font: 600 .8438rem/1.3 var(--font-body); color: var(--ink); }
.wtp-field__hint { font-size: .75rem; color: var(--muted); }
.wtp-field input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]), .wtp-field select, .wtp-field textarea {
	width: 100%; min-width: 0; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: .9688rem;
}
.wtp-field textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.wtp-field input:focus, .wtp-field select:focus, .wtp-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.wtp-field input[type="color"] { width: 48px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; padding: 3px; background: var(--surface); }
.wtp-field input[type="range"] { accent-color: var(--brand); width: 100%; }
.wtp-field--color { grid-template-columns: auto minmax(0, 1fr); align-items: end; }
.wtp-field--color > span { grid-column: 1 / -1; }
.wtp-check { display: flex; align-items: center; gap: 8px; font-size: .9063rem; cursor: pointer; }
.wtp-check input { accent-color: var(--brand); width: 17px; height: 17px; }
.wtp-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.wtp-inputgroup { display: flex; min-width: 0; }
.wtp-inputgroup > input { border-radius: 12px 0 0 12px !important; }
.wtp-inputgroup > em { font-style: normal; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-left: 0; border-radius: 0 12px 12px 0; background: var(--surface-2); color: var(--muted); font-size: .875rem; }

.wtp-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.wtp-seg button { border: 0; background: none; padding: 8px 12px; border-radius: 10px; font: 600 .8438rem/1 var(--font-body); color: var(--muted); }
.wtp-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.wtp-tool__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-kpis { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .wtp-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wtp-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.wtp-kpi b { display: block; font: 800 1.35rem/1.15 var(--font-head); color: var(--ink); letter-spacing: -.02em; overflow-wrap: anywhere; }
.wtp-kpi span { font-size: .75rem; color: var(--muted); }
.wtp-kpi--hero { grid-column: 1 / -1; background: linear-gradient(135deg, var(--brand), #172063); border: 0; }
.wtp-kpi--hero b { color: #fff; font-size: 2rem; }
.wtp-kpi--hero span { color: #C9D3F0; }
.wtp-kpi.is-good b { color: #15803D; }
.wtp-kpi.is-bad b { color: #DC2626; }
:root[data-theme="dark"] .wtp-kpi.is-good b { color: #4ADE80; }
:root[data-theme="dark"] .wtp-kpi.is-bad b { color: #F87171; }

.wtp-outlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: out; }
.wtp-outlist li { counter-increment: out; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .9375rem; line-height: 1.5; }
.wtp-outlist li::before { content: counter(out); font: 700 .75rem/1.9 var(--font-head); color: var(--brand); min-width: 1.4em; }
.wtp-outlist li p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.wtp-outlist li small { display: block; color: var(--muted); font-size: .75rem; margin-top: 3px; }
.wtp-outlist li small.is-bad { color: #DC2626; }
.wtp-outlist li small.is-good { color: #15803D; }
.wtp-mini-btn { border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); border-radius: 8px; padding: 5px 8px; display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; }
.wtp-mini-btn:hover { color: var(--brand); border-color: var(--brand); }
.wtp-code { margin: 0; background: #0B1437; color: #E1E7FF; padding: 16px; border-radius: 14px; font: .8438rem/1.6 var(--font-mono); overflow: auto; max-height: 460px; white-space: pre-wrap; overflow-wrap: anywhere; }
.wtp-md { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: .9375rem; line-height: 1.6; max-height: 560px; overflow: auto; }
.wtp-md h1 { font-size: 1.25rem; } .wtp-md h2 { font-size: 1.05rem; margin: 1em 0 .4em; } .wtp-md h3 { font-size: .95rem; margin: .8em 0 .3em; }
.wtp-md ul { padding-left: 1.2em; margin: .3em 0; }
.wtp-note { font-size: .8125rem; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; margin: 0; }
.wtp-note .wtp-i { margin-top: 2px; }
.wtp-meter { height: 10px; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.wtp-meter span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #DC2626, #F59E0B, #16A34A); transition: width .3s; }
.wtp-mtable { width: 100%; border-collapse: collapse; font-size: .875rem; }
.wtp-mtable th, .wtp-mtable td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.wtp-mtable th { font-family: var(--font-head); color: var(--ink); font-size: .8125rem; }
.wtp-mtable td:last-child, .wtp-mtable th:last-child { text-align: right; }
.wtp-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.wtp-pass { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .8125rem; padding: 4px 8px; border-radius: 8px; }
.wtp-pass.is-good { background: rgba(22, 163, 74, .12); color: #15803D; }
.wtp-pass.is-bad { background: rgba(220, 38, 38, .1); color: #DC2626; }
.wtp-contrast-demo { border-radius: 14px; padding: 18px; border: 1px solid var(--line); }
.wtp-contrast-demo p { margin: 0 0 6px; }
.wtp-serp { background: #fff; color: #202124; border-radius: 14px; border: 1px solid #DADCE0; padding: 16px 18px; font-family: Arial, sans-serif; max-width: 640px; }
.wtp-serp__site { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; }
.wtp-serp__fav { width: 26px; height: 26px; border-radius: 50%; background: #F1F3F4; display: grid; place-items: center; flex: none; }
.wtp-serp__name { color: #202124; }
.wtp-serp__url { color: #4D5156; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtp-serp__title { color: #1A0DAB; font-size: 20px; line-height: 26px; margin: 6px 0 3px; overflow-wrap: anywhere; }
.wtp-serp__desc { color: #4D5156; font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }
.wtp-serp--mobile { max-width: 380px; }
.wtp-serp--mobile .wtp-serp__title { font-size: 18px; line-height: 24px; }
.wtp-imgs { display: grid; gap: 10px; }
.wtp-imgrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.wtp-imgrow img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.wtp-imgrow small { color: var(--muted); display: block; }
.wtp-drop { border: 2px dashed var(--line-2); border-radius: var(--r); padding: 28px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s; }
.wtp-drop:hover, .wtp-drop.is-over { border-color: var(--brand); background: var(--brand-soft); }
.wtp-bars { display: grid; gap: 6px; }
.wtp-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: .8438rem; }
.wtp-bar i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.wtp-bar i b { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--coral)); border-radius: 6px; }
.wtp-err { color: #DC2626; font-weight: 600; font-size: .875rem; }
.wtp-tag-ai { display: inline-flex; align-items: center; gap: 5px; font: 600 .75rem/1 var(--font-body); padding: 5px 9px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); }
.wtp-tag-ai.is-live { background: linear-gradient(135deg, #7C3AED, #3B82F6); color: #fff; }

/* ---------- Footer ---------- */
.wtp-footer { background: #070B1F; color: #A9B4D0; padding: 56px 0 0; margin-top: 20px; position: relative; overflow: hidden; }
.wtp-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--brand-2), var(--coral), var(--brand-2)); }
.wtp-footer a { color: #C9D3F0; }
.wtp-footer a:hover { color: #fff; }
.wtp-footer__grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .wtp-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wtp-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .wtp-footer__grid { grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr; } .wtp-footer__brand { grid-column: auto; } }
.wtp-footer__brand p { font-size: .9375rem; max-width: 44ch; margin: 16px 0; }
.wtp-footer__title { color: #fff; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.wtp-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9375rem; }
.wtp-footer__all { color: var(--coral-2) !important; font-weight: 600; }
.wtp-footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.wtp-footer__mail { display: inline-flex; align-items: center; gap: 8px; font-size: .9063rem; overflow-wrap: anywhere; }
.wtp-footer__gp { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.wtp-footer__gp .wtp-i { color: var(--coral-2); }
.wtp-footer__gp span { display: flex; flex-direction: column; }
.wtp-footer__gp strong { color: #fff; font-family: var(--font-head); font-size: .9375rem; }
.wtp-footer__gp em { font-style: normal; font-size: .8125rem; color: #95A2C6; }
.wtp-social { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; }
.wtp-social a:hover { background: var(--brand); }
.wtp-footer__extra { margin-top: 36px; }
.wtp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-top: 44px; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8438rem; }
.wtp-footer__bottom p { margin: 0; }
.wtp-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Floating: WhatsApp, back-to-top, toast ---------- */
.wtp-wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 150; height: 58px; min-width: 58px; padding: 0 15px;
	display: inline-flex; align-items: center; gap: 0; border-radius: var(--r-pill);
	background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .75), 0 0 0 0 rgba(31, 175, 85, .5);
	animation: wtp-wa-pulse 2.6s infinite; transition: gap .25s, padding .25s, background .2s;
}
.wtp-wa-float:hover, .wtp-wa-float:focus-visible { color: #fff; background: var(--wa-dark); gap: 10px; padding-right: 20px; }
.wtp-wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font: 700 .9375rem/1 var(--font-head); transition: max-width .3s ease; }
.wtp-wa-float:hover .wtp-wa-float__label, .wtp-wa-float:focus-visible .wtp-wa-float__label { max-width: 220px; }
@keyframes wtp-wa-pulse { 0% { box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .75), 0 0 0 0 rgba(31, 175, 85, .45); } 70% { box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .75), 0 0 0 16px rgba(31, 175, 85, 0); } 100% { box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .75), 0 0 0 0 rgba(31, 175, 85, 0); } }
@media (prefers-reduced-motion: reduce) { .wtp-wa-float { animation: none; } }
.wtp-wa-inline { font-weight: 600; color: var(--wa-dark) !important; }

.wtp-totop { position: fixed; right: 26px; bottom: 90px; z-index: 140; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.wtp-totop.is-on { opacity: 1; visibility: visible; transform: none; }
.wtp-totop:hover { color: var(--brand); border-color: var(--brand); }
.wtp-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 500; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: .875rem; box-shadow: var(--shadow-lg); }

/* ---------- Misc WP ---------- */
.wp-caption, .gallery-caption { font-size: .8438rem; color: var(--muted); }
.sticky, .bypostauthor { display: block; }
.wtp-pagelinks { margin: 20px 0; font-weight: 600; }
.wtp-pagelinks a, .wtp-pagelinks > span { margin-left: 6px; }
.wtp-widget select, .wtp-widget input[type="search"] { max-width: 100%; }
.wtp-widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.wtp-widget .wp-block-search__input { min-width: 0; flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); }

/* ---------- View transitions ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Print ---------- */
@media print {
	.wtp-header, .wtp-footer, .wtp-sidebar, .wtp-wa-float, .wtp-totop, .wtp-share, .wtp-rail, .wtp-announce, .wtp-ticker, .wtp-ad, .wtp-related, .wtp-cta-inline, .wtp-article__tools, .wtp-comments, .wtp-prevnext { display: none !important; }
	body { background: #fff; color: #000; }
	.wtp-layout { display: block; }
}
.wtp-out { display: grid; gap: 14px; align-content: start; min-width: 0; }
@media (max-width: 600px) { .wtp-wa-float { height: 52px; min-width: 52px; padding: 0 12px; right: 14px; bottom: 14px; } .wtp-wa-float .wtp-i { width: 26px; height: 26px; } .wtp-totop { right: 20px; bottom: 78px; } }
