/*
Theme Name: SoloBiz Pro
Theme URI: https://solobizsoftware.com
Author: Solo Biz Soft
Description: A high-conversion publishing theme for software reviews, comparisons and money-making guides. Dark mode, affiliate link manager, ad slots, sponsored posts, trending posts, tools directory. No page builder, no jQuery, no external fonts.
Version: 2.0.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solobiz
*/

/* ==========================================================================
   1. Design tokens (light + dark)
   ========================================================================== */
:root {
	--brand: #5b5bf0;
	--brand-600: #4a4ae0;
	--brand-700: #3b3bc4;
	--brand-soft: rgba(91, 91, 240, .10);
	--brand-line: rgba(91, 91, 240, .28);
	--violet: #a855f7;
	--pink: #ec4899;
	--cyan: #22d3ee;
	--grad: linear-gradient(120deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);

	--bg: #ffffff;
	--surface: #f6f7fb;
	--surface-2: #eceef7;
	--card: #ffffff;
	--ink: #0b1020;
	--text: #394058;
	--muted: #667089;
	--line: #e4e7f1;
	--hero-bg: #0a0d1f;

	--good: #047857;
	--good-bg: #ecfdf5;
	--good-line: #a7f3d0;
	--bad: #b91c1c;
	--bad-bg: #fef2f2;
	--bad-line: #fecaca;
	--star: #f59e0b;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(11, 16, 32, .06);
	--shadow: 0 18px 40px -18px rgba(11, 16, 32, .28);
	--container: 1240px;
	--measure: 720px;
	--header-h: 68px;
	--font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="dark"] {
	--brand: #8b8bff;
	--brand-600: #a1a1ff;
	--brand-700: #b9b9ff;
	--brand-soft: rgba(139, 139, 255, .14);
	--brand-line: rgba(139, 139, 255, .35);
	--bg: #0a0d1a;
	--surface: #0f1326;
	--surface-2: #161b36;
	--card: #11162c;
	--ink: #f3f5ff;
	--text: #b8bfd8;
	--muted: #8992ae;
	--line: #232a47;
	--hero-bg: #060814;
	--good: #34d399;
	--good-bg: rgba(16, 185, 129, .10);
	--good-line: rgba(52, 211, 153, .30);
	--bad: #f87171;
	--bad-bg: rgba(239, 68, 68, .10);
	--bad-line: rgba(248, 113, 113, .30);
	--shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7;
	color: var(--text); background: var(--bg);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 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; word-wrap: normal;
}
.screen-reader-text:focus, .skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; background: var(--card); color: var(--ink);
	padding: 12px 18px; z-index: 1000; left: 12px; top: 12px; border-radius: 8px; box-shadow: var(--shadow);
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ==========================================================================
   2. Buttons, chips, forms
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px;
	border-radius: 12px; border: 1px solid transparent; font: 650 15px/1 var(--font); text-decoration: none;
	cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(99, 102, 241, .9); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(139, 92, 246, 1); filter: brightness(1.06); }
.btn--outline { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--light { background: #fff; color: #23238a; }

.chip {
	display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-700);
	font-size: 12.5px; font-weight: 650; line-height: 1.4; text-decoration: none; letter-spacing: .01em;
}
:root[data-theme="dark"] .chip { color: var(--brand); }
.chip:hover { background: var(--brand-line); color: var(--brand-700); }
.chip--lg { font-size: 14px; padding: 8px 16px; }
.chip--sponsor { background: rgba(245, 158, 11, .16); color: #b45309; }
:root[data-theme="dark"] .chip--sponsor { color: #fbbf24; }

.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-600); }

input[type="search"], input[type="text"], input[type="email"], input[type="url"], textarea, select {
	width: 100%; padding: 13px 15px; font: inherit; color: var(--ink); background: var(--card);
	border: 1px solid var(--line); border-radius: 12px;
}
input::placeholder { color: var(--muted); }
input:focus, textarea:focus, select:focus { border-color: var(--brand); outline: 3px solid var(--brand-soft); }
.search-form { display: flex; gap: 10px; max-width: 640px; }
.search-form .search-field { flex: 1; }

/* ==========================================================================
   3. Announcement bar + header
   ========================================================================== */
.announce { background: var(--grad); color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 9px 16px; line-height: 1.4; }
.announce a { color: #fff; text-decoration: underline; }

.site-header {
	position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { flex: none; }
.brand .custom-logo-link { display: block; }
.brand .custom-logo { max-height: 44px; width: auto; }
.brand__link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
	color: #fff; font-weight: 850; font-size: 19px; box-shadow: 0 8px 18px -8px rgba(139, 92, 246, .9);
}
.brand__name { font-family: var(--font-display); font-weight: 850; font-size: 19px; letter-spacing: -0.03em; }

.primary-nav { flex: 1; }
.primary-nav .menu { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; }
.primary-nav a {
	display: block; padding: 8px 11px; border-radius: 10px; text-decoration: none; font-size: 14.5px; font-weight: 560;
	color: var(--text); white-space: nowrap;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { background: var(--surface); color: var(--ink); }
.primary-nav li { position: relative; }
.primary-nav .sub-menu {
	display: none; position: absolute; left: 0; top: 100%; min-width: 250px; list-style: none; background: var(--card);
	border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-cta { margin-left: 6px; }
.icon-btn {
	display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent;
	color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--surface); }
.nav-toggle { display: none; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.header-search { border-top: 1px solid var(--line); background: var(--bg); padding: 16px 0; }
.header-search[hidden] { display: none; }
.header-search .search-form { max-width: none; }

@media (max-width: 1260px) {
	.nav-toggle { display: grid; }
	.header-cta { display: none; }
	.primary-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg);
		border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 16px;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav a { padding: 12px; }
	.primary-nav .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; background: transparent; }
}

/* ==========================================================================
   4. Homepage: hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: #c8cdea; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.hero::before { width: 620px; height: 620px; left: -160px; top: -220px; background: radial-gradient(circle, #6366f1, transparent 65%); animation: drift 16s ease-in-out infinite alternate; }
.hero::after { width: 560px; height: 560px; right: -140px; bottom: -240px; background: radial-gradient(circle, #ec4899, transparent 65%); animation: drift 20s ease-in-out infinite alternate-reverse; }
.hero__grid {
	position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%);
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(70px, 40px, 0) scale(1.15); } }

.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.hero__inner--single { grid-template-columns: minmax(0, 820px); }
.hero__pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; margin-bottom: 22px; border-radius: 999px;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #dfe3ff; font-size: 13.5px; font-weight: 600;
}
.hero__pill i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); letter-spacing: -0.045em; line-height: 1.02; color: #fff; margin-bottom: 22px; font-weight: 850; }
.hero__text { font-size: 1.18rem; color: #b4bbdf; max-width: 56ch; margin-bottom: 30px; }
.hero__search { position: relative; max-width: 560px; margin-bottom: 18px; }
.hero__search input {
	padding: 18px 130px 18px 52px; border-radius: 16px; font-size: 16px; background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .18); color: #fff;
}
.hero__search input::placeholder { color: #98a0cb; }
.hero__search input:focus { background: rgba(255, 255, 255, .13); border-color: #a5b4fc; outline: 0; }
.hero__search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #98a0cb; }
.hero__search .btn { position: absolute; right: 8px; top: 8px; bottom: 8px; padding: 0 20px; }
.hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; font-size: 14px; color: #98a0cb; }
.hero__chips a { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #d6dafc; text-decoration: none; }
.hero__chips a:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
	display: block; text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); position: relative;
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .25s, border-color .25s;
}
.hero-card:hover { transform: translateY(-4px) rotate(-.4deg); border-color: rgba(255, 255, 255, .3); }
.hero-card__label {
	position: absolute; z-index: 2; top: 16px; left: 16px; background: #fff; color: #23238a; font-size: 12px; font-weight: 750;
	padding: 5px 12px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase;
}
.hero-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.hero-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__body { display: block; padding: 22px 24px 26px; }
.hero-card .chip { background: rgba(255, 255, 255, .14); color: #e6e9ff; }
.hero-card__title { display: block; margin: 12px 0 14px; font-size: 1.45rem; font-weight: 750; line-height: 1.22; color: #fff; letter-spacing: -0.03em; font-family: var(--font-display); }
.hero-card__cta { font-weight: 650; font-size: 15px; color: #a5b4fc; }
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; padding-bottom: 56px; } }

/* stats strip */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; padding: 20px 24px; }
.stat { display: flex; align-items: baseline; gap: 9px; color: var(--muted); font-size: 14.5px; }
.stat strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); letter-spacing: -0.03em; }

/* sections */
.section { padding: 76px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 24px 0 76px; }
.section--first { padding-top: 44px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 34px; }
.section__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 6px; font-weight: 800; }
.section__sub { margin: 0; color: var(--muted); }
.link-more { font-weight: 650; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
@media (max-width: 700px) { .section { padding: 52px 0; } .section__head { flex-direction: column; align-items: flex-start; } }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* trending */
.trending { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: t; }
.trending li { counter-increment: t; }
.trending a {
	position: relative; display: block; height: 100%; padding: 46px 18px 18px; background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.trending a::before {
	content: "0" counter(t); position: absolute; top: 12px; left: 16px; font-family: var(--font-display); font-weight: 850;
	font-size: 1.6rem; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.trending a:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); }
.trending__title { display: block; font-weight: 650; line-height: 1.35; color: var(--ink); font-size: 15.5px; }
.trending__cat { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 1100px) { .trending { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trending { grid-template-columns: 1fr; } }

/* category tiles (colour comes from --h, a hue derived from the category) */
.cat-card {
	position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--card);
	border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; overflow: hidden;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cat-card::after {
	content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%;
	background: hsl(var(--h, 245) 85% 60% / .14); transition: transform .3s;
}
.cat-card:hover { border-color: hsl(var(--h, 245) 80% 60%); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card:hover::after { transform: scale(1.5); }
.cat-card__icon {
	position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; color: #fff;
	background: linear-gradient(135deg, hsl(var(--h, 245) 85% 60%), hsl(calc(var(--h, 245) + 40) 85% 48%));
	box-shadow: 0 10px 20px -10px hsl(var(--h, 245) 85% 50%);
}
.cat-card__text { position: relative; z-index: 1; }
.cat-card__name { display: block; font-weight: 750; color: var(--ink); line-height: 1.3; font-size: 1.02rem; }
.cat-card__count { display: block; font-size: 14px; color: var(--muted); }

/* lead story */
.lead-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-bottom: 24px; }
.lead {
	position: relative; display: flex; align-items: flex-end; min-height: 440px; border-radius: 22px; overflow: hidden;
	text-decoration: none; color: #fff; isolation: isolate;
}
.lead__bg { position: absolute; inset: 0; z-index: -2; }
.lead__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lead:hover .lead__bg img { transform: scale(1.04); }
.lead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 8, 20, .92), rgba(6, 8, 20, .35) 55%, transparent); }
.lead__body { padding: 32px; max-width: 640px; }
.lead .chip { background: rgba(255, 255, 255, .18); color: #fff; }
.lead__title { margin: 14px 0 10px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -0.035em; line-height: 1.12; font-weight: 800; }
.lead__meta { margin: 0; font-size: 14px; color: #c9cff0; }
.lead-side { display: grid; gap: 24px; }
.lead-side .card { flex-direction: row; }
.lead-side .card__media { width: 42%; aspect-ratio: auto; flex: none; }
.lead-side .card__excerpt { display: none; }
.lead-side .card__body { padding: 18px 20px; justify-content: center; }
@media (max-width: 960px) { .lead-grid { grid-template-columns: 1fr; } .lead { min-height: 360px; } }
@media (max-width: 560px) { .lead-side .card { flex-direction: column; } .lead-side .card__media { width: 100%; aspect-ratio: 16/9; } }

/* cards */
.card {
	display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--brand-line); }
.card__media { display: block; aspect-ratio: 16 / 9; background: var(--surface); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card__body .chip { align-self: flex-start; margin-bottom: 10px; }
.card__title { font-size: 1.18rem; line-height: 1.3; margin: 0 0 10px; letter-spacing: -0.02em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--brand-600); }
.card__excerpt { font-size: 15px; color: var(--muted); margin: 0 0 16px; flex: 1; line-height: 1.6; }
.card__meta { margin: 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; }

/* generated cover for posts without a featured image */
.cover {
	position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; color: #fff;
	background: linear-gradient(135deg, hsl(var(--h, 245) 80% 52%), hsl(calc(var(--h, 245) + 55) 80% 38%));
}
.cover::before, .cover::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cover::before { width: 60%; aspect-ratio: 1; right: -12%; top: -30%; }
.cover::after { width: 40%; aspect-ratio: 1; left: -10%; bottom: -25%; }
.cover svg { position: relative; z-index: 1; opacity: .95; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.cover__label {
	position: absolute; z-index: 1; left: 14px; bottom: 12px; font-size: 12px; font-weight: 750; letter-spacing: .08em;
	text-transform: uppercase; opacity: .9;
}

/* recommended tools */
.tool-card {
	display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: hsl(var(--h, 245) 80% 60% / .6); }
.tool-card__top { display: flex; align-items: center; gap: 14px; }
.tool-card__mark {
	display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 13px; color: #fff; font-weight: 850; font-size: 20px;
	background: linear-gradient(135deg, hsl(var(--h, 245) 85% 58%), hsl(calc(var(--h, 245) + 45) 85% 44%));
}
.tool-card__name { font-family: var(--font-display); font-weight: 780; color: var(--ink); font-size: 1.1rem; margin: 0; line-height: 1.2; }
.tool-card__group { font-size: 12.5px; color: var(--muted); }
.tool-card__desc { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.tool-card__badge { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--good-bg); color: var(--good); border: 1px solid var(--good-line); }
.tool-card .btn { width: 100%; }

/* promo banner */
.promo {
	display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 36px 40px; border-radius: 22px;
	background: var(--card); border: 1px solid var(--brand-line);
	background-image: radial-gradient(500px 200px at 0 0, var(--brand-soft), transparent);
}
.promo__title { font-size: 1.65rem; margin-bottom: 6px; }
.promo p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; padding: 28px 24px; } }

.vs-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vs-list a {
	display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.vs-list a:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.vs-list__num { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-700); font-weight: 750; font-size: 14px; }
.vs-list__title { flex: 1; font-weight: 650; color: var(--ink); line-height: 1.35; }
.vs-list__go { color: var(--brand-600); font-weight: 700; }
@media (max-width: 760px) { .vs-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   5. Archive header, pagination, breadcrumbs
   ========================================================================== */
.archive-head { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.archive-head::before {
	content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
	background: hsl(var(--h, 245) 85% 60% / .14); filter: blur(10px);
}
.archive-head .container { position: relative; }
.archive-head__row { display: flex; align-items: center; gap: 20px; }
.archive-head__icon {
	display: grid; place-items: center; flex: none; width: 66px; height: 66px; border-radius: 18px; color: #fff;
	background: linear-gradient(135deg, hsl(var(--h, 245) 85% 60%), hsl(calc(var(--h, 245) + 40) 85% 46%));
	box-shadow: 0 14px 28px -12px hsl(var(--h, 245) 85% 50%);
}
.archive-head__title { font-size: clamp(2rem, 4.2vw, 3rem); margin: 0; letter-spacing: -0.04em; font-weight: 850; }
.archive-head__desc { color: var(--muted); max-width: 64ch; margin-top: 8px; }
.archive-head__desc p { margin: 0; }
.archive-head__search { margin-top: 20px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	min-width: 44px; padding: 10px 15px; text-align: center; border: 1px solid var(--line); border-radius: 12px; text-decoration: none;
	color: var(--ink); font-weight: 650; font-size: 15px; background: var(--card);
}
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand-700); }
.pagination .page-numbers.current { background: var(--grad); border-color: transparent; color: #fff; }
.pagination .dots { border: 0; background: transparent; }

.breadcrumbs { margin: 0 0 20px; font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-600); text-decoration: underline; }
.breadcrumbs [aria-current="page"] span { display: inline-block; max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* ==========================================================================
   6. Article
   ========================================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.admin-bar .progress { top: 32px; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .1s linear; }

.article-layout { display: grid; grid-template-columns: minmax(0, var(--measure)) 300px; gap: 64px; justify-content: center; padding-top: 36px; padding-bottom: 72px; }
.article-title { font-size: clamp(2.05rem, 4.6vw, 3.2rem); letter-spacing: -0.045em; line-height: 1.07; margin: 14px 0 18px; font-weight: 850; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14.5px; color: var(--muted); }
.article-meta__author { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.avatar { border-radius: 50%; }
.disclosure {
	margin: 22px 0; padding: 12px 16px; font-size: 14px; line-height: 1.55; color: var(--muted); background: var(--surface);
	border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-sm);
}
.disclosure--sponsored { border-left-color: #f59e0b; }
.article-image { margin: 0 0 28px; }
.article-image img { width: 100%; border-radius: var(--radius); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; }
.share__label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.share a, .share button {
	display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
	color: var(--text); font: 600 13.5px/1 var(--font); text-decoration: none; cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--brand); color: var(--brand-700); }

.toc { font-size: 15px; }
.toc ol { list-style: none; }
.toc a { display: block; padding: 5px 0; color: var(--text); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--brand-700); }
.toc__l3 { padding-left: 14px; font-size: 14px; }
.toc--inline { margin: 0 0 32px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.toc--inline summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.toc--inline ol { margin-top: 10px; }
.toc--side { display: none; }
.toc__title { margin: 0 0 8px; font-size: 12.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc--side a { padding: 6px 0 6px 14px; border-left: 2px solid var(--line); }
.toc--side .toc__l3 a { padding-left: 26px; }
.toc--side a.is-active { border-left-color: var(--brand); color: var(--brand-700); font-weight: 650; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 22px; }
.admin-bar .aside-sticky { top: calc(var(--header-h) + 60px); }
@media (min-width: 1024px) { .toc--side { display: block; } .toc--inline { display: none; } .pickbox--inline { display: none; } }
@media (max-width: 1023px) { .article-layout { grid-template-columns: minmax(0, var(--measure)); gap: 0; } .article-aside { display: none; } }

.entry-content { font-size: 1.07rem; line-height: 1.8; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 1.9rem; margin: 2.2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 20px); font-weight: 800; }
.entry-content h3 { font-size: 1.42rem; margin: 1.9em 0 .5em; scroll-margin-top: calc(var(--header-h) + 20px); }
.entry-content h4 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--brand); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.entry-content blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--brand); font-size: 1.12rem; color: var(--ink); }
.entry-content blockquote p { margin-bottom: .6em; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.entry-content code { padding: 2px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; font-size: .9em; }
.entry-content pre { overflow-x: auto; padding: 18px; background: #0b1020; color: #e2e8f0; border-radius: var(--radius-sm); font-size: 14.5px; line-height: 1.6; }
.entry-content pre code { padding: 0; background: none; border: 0; color: inherit; }
.entry-content a { font-weight: 550; }
.entry-content .btn { text-decoration: none; }

.table-wrap { overflow-x: auto; margin: 1.8em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--surface); color: var(--ink); font-weight: 700; white-space: nowrap; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.entry-content .wp-block-table { margin: 0; }
.entry-content .wp-block-table figcaption { margin-top: 0; padding: 10px; }

/* review components */
.cta-wrap { margin: 1.6em 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cta-wrap .btn--primary { color: #fff; }
.cta-note { font-size: 14px; color: var(--muted); }

.verdict { margin: 2em 0; padding: 24px 26px; background: var(--brand-soft); border: 1px solid var(--brand-line); border-left: 5px solid var(--brand); border-radius: var(--radius); }
.verdict__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 10px; }
.verdict__title { font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
.verdict__rating { display: inline-flex; align-items: center; gap: 10px; }
.verdict__score { font-weight: 800; color: var(--ink); }
.verdict__best { margin: 0 0 8px; font-size: 15px; }
.verdict__body > :last-child { margin-bottom: 0; }
.verdict__cta { margin: 16px 0 0; }
.stars {
	--pct: calc(var(--rating, 0) / 5 * 100%); display: inline-block; font-size: 1.25rem; letter-spacing: 2px; line-height: 1;
	background: linear-gradient(90deg, var(--star) var(--pct), var(--line) var(--pct)); -webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}

.takeaways { margin: 1.8em 0; padding: 22px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.takeaways__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.takeaways ul { margin: 0 !important; padding-left: 1.3em !important; }
.takeaways li:last-child { margin-bottom: 0; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2em 0; }
.proscons__col { padding: 18px 20px; border-radius: var(--radius); border: 1px solid; }
.proscons__col h4 { margin: 0 0 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.proscons__col ul { list-style: none; padding: 0 !important; margin: 0 !important; }
.proscons__col li { position: relative; padding-left: 26px; margin: 0 0 8px; font-size: 15.5px; line-height: 1.5; }
.proscons__col li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.proscons__col--pros { background: var(--good-bg); border-color: var(--good-line); }
.proscons__col--pros h4, .proscons__col--pros li::before { color: var(--good); }
.proscons__col--pros li::before { content: "\2713"; }
.proscons__col--cons { background: var(--bad-bg); border-color: var(--bad-line); }
.proscons__col--cons h4, .proscons__col--cons li::before { color: var(--bad); }
.proscons__col--cons li::before { content: "\2715"; }
@media (max-width: 620px) { .proscons { grid-template-columns: 1fr; } }

/* top picks */
.picks { margin: 2.2em 0; border: 1px solid var(--brand-line); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); }
.picks__title { margin: 0; padding: 14px 22px; background: var(--grad); color: #fff; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 13.5px; }
.picks__list { list-style: none; }
.pick { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 22px; border-bottom: 1px solid var(--line); }
.pick:last-child { border-bottom: 0; }
.pick__rank { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-700); font-family: var(--font-display); font-weight: 850; font-size: 1.15rem; }
.pick:first-child .pick__rank { background: var(--grad); color: #fff; }
.pick__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 4px; }
.pick__name { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.pick__badge { padding: 2px 10px; border-radius: 999px; background: rgba(245, 158, 11, .16); color: #b45309; font-size: 12px; font-weight: 750; }
:root[data-theme="dark"] .pick__badge { color: #fbbf24; }
.pick__best { margin: 6px 0 0; font-size: 14.5px; }
.pick__desc { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.pick__desc p { margin: 0 0 .5em; }
.pick__side { display: grid; justify-items: end; gap: 8px; text-align: right; }
.pick__price { font-size: 13.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) { .pick { grid-template-columns: 40px 1fr; } .pick__side { grid-column: 1 / -1; justify-items: stretch; text-align: left; } .pick__side .btn { width: 100%; } }

/* pick box (sidebar / end of article) */
.pickbox { padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--brand-line); background-image: radial-gradient(240px 120px at 0 0, var(--brand-soft), transparent); }
.pickbox--inline { margin: 36px 0; }
.pickbox p { margin: 0; }
.pickbox__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-600); }
.pickbox__name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.02em; margin: 4px 0 6px !important; }
.pickbox__text { font-size: 15px; color: var(--muted); margin-bottom: 14px !important; line-height: 1.5; }
.pickbox .btn { width: 100%; }
.pickbox__note { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { margin: 2.2em 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--text); }
.faq__a p:last-child { margin-bottom: 0; }

.tags { margin: 36px 0 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--muted); }
.tags a:hover { border-color: var(--brand); color: var(--brand-700); }
.author-box { display: flex; gap: 18px; margin: 40px 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.author-box p { margin: 0; }
.author-box__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: var(--muted); }
.author-box__name { font-weight: 750; font-size: 1.1rem; color: var(--ink); margin: 2px 0 6px !important; }
.author-box__bio { font-size: 15px; color: var(--text); line-height: 1.6; }
.page-article { padding: 44px 0 80px; }
.page-links { margin: 24px 0; font-weight: 600; }

/* sticky mobile CTA */
.sticky-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__text { font-size: 14px; line-height: 1.3; color: var(--ink); font-weight: 650; }
.sticky-cta__text span { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
@media (max-width: 1023px) { .sticky-cta { display: flex; } }

/* ad slots: space is reserved so the page never jumps */
.ad { display: flex; flex-direction: column; align-items: center; margin: 28px auto; text-align: center; overflow: hidden; }
.ad::before { content: "Advertisement"; margin-bottom: 6px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ad--leader { min-height: 120px; margin: 0 auto; padding: 14px 0; }
.ad--content { min-height: 280px; }
.ad--after { min-height: 250px; }
.ad--side { min-height: 600px; margin: 0; }

/* ==========================================================================
   7. Newsletter, comments
   ========================================================================== */
.newsletter {
	position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
	padding: 48px 52px; border-radius: 26px; color: #d9dcff; background: #0a0d1f; isolation: isolate;
}
.newsletter::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, #6366f1, transparent 65%); opacity: .6; }
.newsletter::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, #ec4899, transparent 65%); opacity: .4; }
.newsletter__title { color: #fff; font-size: 1.9rem; margin-bottom: 8px; letter-spacing: -0.035em; }
.newsletter__copy p { margin: 0; font-size: 1.04rem; }
.newsletter--box { grid-template-columns: 1fr; gap: 18px; padding: 30px; margin: 40px 0; border-radius: 20px; }
.newsletter__form form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input[type="email"], .newsletter__form input[type="text"] { flex: 1 1 200px; background: #fff; color: #0b1020; border-color: transparent; }
.newsletter__form input[type="submit"], .newsletter__form button { padding: 13px 24px; border: 0; border-radius: 12px; background: var(--grad); color: #fff; font: 700 15px/1 var(--font); cursor: pointer; }
.newsletter__form label, .newsletter__form p { color: #d9dcff; margin: 0; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; padding: 32px 26px; } }

.comments { margin-top: 48px; }
.comments__title { font-size: 1.4rem; }
.comment-list { list-style: none; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.comment-meta { margin-bottom: 8px; font-size: 14px; }
.comment-author .avatar { float: left; margin-right: 12px; }
.comment-author .fn { font-weight: 700; color: var(--ink); font-style: normal; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 15px; }
.comment-form p { margin-bottom: 14px; }
.comment-form .submit { padding: 13px 24px; border: 0; border-radius: 12px; background: var(--grad); color: #fff; font: 700 15px/1 var(--font); cursor: pointer; }

/* ==========================================================================
   8. Page templates: Advertise & Tools
   ========================================================================== */
.pt-hero { background: var(--hero-bg); color: #b4bbdf; padding: 76px 0 70px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.pt-hero::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: 50%; top: -420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(99, 102, 241, .55), transparent 65%); }
.pt-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.045em; font-weight: 850; }
.pt-hero p { max-width: 60ch; margin: 0 auto 26px; font-size: 1.15rem; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: -44px; position: relative; z-index: 2; }
.stat-card { padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 2.3rem; letter-spacing: -0.04em; color: var(--ink); line-height: 1.1; }
.stat-card span { color: var(--muted); font-size: 14.5px; }
.format-card { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.format-card h3 { font-size: 1.25rem; }
.format-card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.format-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: var(--grad); color: #fff; }
.tools-group { margin-bottom: 56px; }
.tools-group__title { font-size: 1.5rem; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   9. Footer, 404, helpers
   ========================================================================== */
.site-footer { background: #070a18; color: #8f97b8; padding: 72px 0 30px; font-size: 15px; }
.site-footer a { color: #c5cbea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand__link, .site-footer .brand__name { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin: 16px 0 0; max-width: 38ch; line-height: 1.6; }
.footer-col__title { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; margin-top: 52px; padding-top: 24px; border-top: 1px solid #1a2038; font-size: 13.5px; }
.footer-bottom p { margin: 0; }
.footer-note { max-width: 70ch; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-brand { grid-column: 1 / -1; } .site-footer { padding-top: 52px; } }

.not-found { text-align: center; padding-top: 40px; padding-bottom: 40px; }
.not-found .search-form { margin: 24px auto; }
.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 8px 0 28px; }
.alignleft { float: left; margin: .4em 1.4em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 14px; color: var(--muted); text-align: center; }
.gallery { display: grid; gap: 12px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .article-aside, .newsletter, .progress, .ad, .sticky-cta, .announce, .share { display: none !important; } }
