/*
Theme Name: IoT Tech Media
Theme URI: https://iottechmedia.com/
Author: IoT Tech Media
Author URI: https://iottechmedia.com/
Description: A fast, readable magazine theme for iottechmedia.com — IoT, Digital Marketing, Artificial Intelligence and Business & Finance. Includes 40 free calculators and tools, a guest-post sales page with a no-plugin enquiry inbox, guest/sponsored labelling, light and dark mode, and a WhatsApp launcher that never prints the phone number.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iottechmedia
Tags: blog, news, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, dark-mode
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--bg: #F4F7FC;
	--bg-alt: #EAF0FA;
	--surface: #FFFFFF;
	--ink: #0B1630;
	--muted: #51607F;
	--line: #DFE6F2;
	--brand: #2563EB;
	--brand-d: #1D4ED8;
	--brand-t: #1D4ED8;          /* brand colour used as text */
	--btn: #2563EB;
	--btn-d: #1D4ED8;
	--accent: #FF7A1A;
	--ok: #0E7A55;
	--warn: #9A5B00;
	--bad: #B42318;
	--wa: #0B7A68;               /* white text on this is 5.2:1 */
	--wa-d: #08604F;
	--wa-glow: #25D366;
	--shadow: 0 1px 2px rgba(11, 22, 48, .06), 0 8px 24px rgba(11, 22, 48, .06);
	--shadow-lg: 0 2px 4px rgba(11, 22, 48, .08), 0 18px 48px rgba(11, 22, 48, .14);
	--r: 14px;
	--r-sm: 9px;
	--f-head: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--f-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
	--c: var(--brand);
}
:root[data-theme="dark"] {
	--bg: #0A1226;
	--bg-alt: #0D1830;
	--surface: #111C38;
	--ink: #EAF0FF;
	--muted: #A9B8D6;
	--line: #223158;
	--brand: #6B96FF;
	--brand-d: #4F7DF5;
	--brand-t: #8FB0FF;
	--btn: #2F5FE6;
	--btn-d: #2450CC;
	--ok: #4ADE9F;
	--warn: #FBBF24;
	--bad: #FF8A80;
	--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
	--shadow-lg: 0 2px 4px rgba(0, 0, 0, .5), 0 18px 48px rgba(0, 0, 0, .5);
	color-scheme: dark;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html.lock { overflow: hidden; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font: 400 16.5px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--brand-t); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-d); }
:root[data-theme="dark"] a:hover { color: #B7CDFF; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.mono { font-family: var(--f-mono); font-feature-settings: 'tnum'; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 800px; margin-inline: auto; }
.mt { margin-top: 28px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ico { flex: none; vertical-align: -.2em; }
[hidden] { display: none !important; }
.progress { position: fixed; z-index: 120; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), #22D3EE); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; transition: opacity .2s; }

/* ==========================================================================
   3. Buttons & forms
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer;
	padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1.1 var(--f-head);
	text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 6px 18px -6px var(--btn); }
.btn-primary:hover { background: var(--btn-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-t); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); color: #fff; }
.btn-sm { padding: 9px 15px; font-size: .86rem; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--bg-alt); border-color: var(--line); }
.fld { margin-bottom: 14px; min-width: 0; }
.fld label { display: block; font: 600 .84rem/1.3 var(--f-head); margin-bottom: 6px; color: var(--ink); }
.inp { position: relative; display: flex; align-items: center; }
input[type=text], input[type=number], input[type=email], input[type=url], input[type=search], select, textarea {
	width: 100%; font: 500 1rem/1.4 var(--f-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line);
	border-radius: var(--r-sm); padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
input[type=number], .itm-tool input[type=text] { font-family: var(--f-mono); }
.inp .u { position: absolute; right: 12px; font: normal 500 .78rem var(--f-body); color: var(--muted); pointer-events: none; }
.inp input[type=number] { padding-right: 76px; }
textarea { resize: vertical; min-height: 90px; }
.fld-check label { display: flex; gap: 10px; align-items: center; font-weight: 500; cursor: pointer; }
.fld-check input { width: 18px; height: 18px; accent-color: var(--brand); }
.rng { width: 100%; margin: 8px 0 0; accent-color: var(--brand); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sform { display: flex; gap: 8px; }

/* ==========================================================================
   4. Header, menus, search, drawer
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 20px rgba(11, 22, 48, .05); }
.hdr { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: block; flex: none; line-height: 0; }
.brand__img { height: 40px; width: auto; max-width: 100%; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.nav { flex: 1; }
.nav .menu, .drawer__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav .menu > li { position: relative; }
.nav .menu a { display: block; white-space: nowrap; padding: 9px 13px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 600 .93rem/1 var(--f-head); }
.nav .menu a:hover, .nav .current-menu-item > a, .nav .current-menu-ancestor > a { background: var(--bg-alt); color: var(--brand-t); }
.nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hdr__act { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.t-sun { display: none; }
:root[data-theme="dark"] .t-sun { display: inline; }
:root[data-theme="dark"] .t-moon { display: none; }
.burger { display: none; }
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__back, .searchbox__back { position: absolute; inset: 0; background: rgba(5, 10, 24, .6); backdrop-filter: blur(3px); }
.drawer__panel { position: absolute; z-index: 1; right: 0; top: 0; bottom: 0; width: min(88vw, 360px); background: var(--surface); padding: 70px 22px 24px; overflow: auto; box-shadow: var(--shadow-lg); }
.drawer__x { position: absolute; right: 14px; top: 14px; }
.drawer__menu { flex-direction: column; gap: 2px; }
.drawer__menu a { display: block; padding: 14px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 600 1.05rem var(--f-head); }
.drawer__menu a:hover { background: var(--bg-alt); }
.drawer__cta { display: grid; gap: 10px; margin-top: 22px; }
.searchbox { position: fixed; inset: 0; z-index: 210; display: grid; place-items: start center; padding-top: 12vh; }
.searchbox__panel { position: relative; z-index: 1; width: min(92vw, 640px); background: var(--surface); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-lg); }
.searchbox__panel form { display: flex; align-items: center; gap: 10px; }
.searchbox__panel input { border: 0; font-size: 1.1rem; padding: 10px 6px; box-shadow: none !important; background: transparent; }
.searchbox__hint { margin: 8px 6px 0; font-size: .8rem; color: var(--muted); }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 500px at 85% -10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%), radial-gradient(700px 400px at 0% 100%, color-mix(in srgb, #22D3EE 16%, transparent), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); opacity: .5; pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 32px; padding-block: 64px 56px; }
.eyebrow { display: inline-block; margin: 0 0 14px; font: 600 .78rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-t); }
.hero h1 { max-width: 17ch; margin-bottom: 16px; }
.hero__sub { font-size: 1.14rem; color: var(--muted); max-width: 54ch; }
.hero__search { display: flex; align-items: center; gap: 8px; max-width: 540px; margin: 24px 0 18px; padding: 7px 7px 7px 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); color: var(--muted); }
.hero__search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.hero__search input { border: 0; background: transparent; box-shadow: none !important; padding: 8px 4px; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; }
.hero__chips a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 600 .86rem var(--f-head); }
.hero__chips a .ico { color: var(--c); }
.hero__chips a:hover { border-color: var(--c); transform: translateY(-1px); }
.stats { display: flex; flex-wrap: wrap; gap: 8px 34px; margin: 0; }
.stats div { min-width: 0; }
.stats dt { font: 700 1.55rem/1.1 var(--f-head); color: var(--ink); }
.stats dd { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.hero__viz { display: grid; place-items: center; color: var(--brand); }
.net { width: 100%; max-width: 440px; }
.net__n circle { fill: var(--surface); stroke: var(--brand); stroke-width: 2.5; }
.net__n .hub { fill: color-mix(in srgb, var(--brand) 14%, var(--surface)); stroke-width: 3; }
.net__n .core { fill: var(--accent); stroke: none; }
.net__p circle { fill: #22D3EE; }
.hero-sm { padding-block: 56px; }
.hero-sm .hero__in { display: none; }
.hero-sm h1 { max-width: 20ch; }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ==========================================================================
   6. Sections, cards, grids
   ========================================================================== */
.sec { padding-block: 52px; }
.sec-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.sec__h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec__h h2 { margin: 0; }
.sec__s { color: var(--muted); margin: 6px 0 0; max-width: 62ch; }
.sec__t { display: flex; align-items: center; gap: 12px; }
.sec__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: color-mix(in srgb, var(--c) 80%, var(--ink)); }
.more { display: inline-flex; align-items: center; gap: 6px; font: 600 .9rem var(--f-head); text-decoration: none; white-space: nowrap; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.card__img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.04); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in srgb, var(--c) 75%, var(--ink)); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 20%, var(--surface)), color-mix(in srgb, var(--c) 6%, var(--surface))); }
.card__b { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; flex: 1; }
.card__t { margin: 0; font-size: 1.06rem; line-height: 1.3; }
.card__t a { color: var(--ink); text-decoration: none; }
.card__t a::after { content: ''; position: absolute; inset: 0; }
.card__t a:hover { color: var(--brand-t); }
.card__x { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.chip { position: relative; z-index: 2; align-self: flex-start; display: inline-block; padding: 4px 10px; border-radius: 999px; font: 600 .72rem/1.3 var(--f-head); letter-spacing: .02em; text-decoration: none; background: color-mix(in srgb, var(--c) 13%, var(--surface)); color: color-mix(in srgb, var(--c) 72%, var(--ink)); }
.chip:hover { background: color-mix(in srgb, var(--c) 22%, var(--surface)); }
.chip-solid { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: auto; padding-top: 6px; font-size: .8rem; color: var(--muted); }
.meta-lg { font-size: .92rem; gap: 6px 20px; margin-top: 14px; }
.meta-lg .meta__a, .meta-lg span { display: inline-flex; align-items: center; gap: 6px; }
.badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font: 700 .68rem/1.3 var(--f-head); letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--bg); }
.badge-sponsored { background: var(--accent); color: #0B1630; }
.badge-inline { position: static; display: inline-block; margin-bottom: 14px; }
.bento { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.bento-solo { grid-template-columns: 1fr; }
.bento__lead .card { height: 100%; }
.card-lead .card__t { font-size: 1.6rem; }
.card-lead .card__x { font-size: 1.02rem; }
.bento__side { display: grid; gap: 16px; align-content: start; }
.card-row { flex-direction: row; align-items: stretch; }
.card-row .card__img { width: 38%; aspect-ratio: auto; min-height: 120px; flex: none; }
.card-row .card__b { padding: 14px 16px; }
.card-row .card__t { font-size: .98rem; }
.empty { padding: 48px 24px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r); color: var(--muted); }
.page-head { padding-block: 40px 8px; }
.page-head h1 { margin-bottom: 10px; }
.page-head__d { color: var(--muted); max-width: 68ch; font-size: 1.08rem; }
.crumbs { margin-bottom: 14px; font-size: .84rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-t); }
.crumbs span { margin-inline: 4px; opacity: .6; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.chips a, .chips button, .chips li > span { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .84rem var(--f-head); text-decoration: none; cursor: pointer; }
.chips a:hover, .chips button:hover { border-color: var(--c, var(--brand)); }
.chips button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pagination { margin-top: 36px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 0; margin: 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--btn); border-color: var(--btn); color: #fff; }
.results { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 820px; }
.result { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.result h2 { font-size: 1.15rem; margin: 6px 0; }
.result p { margin: 0; color: var(--muted); }
.result__k { font: 700 .7rem var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-t); }
.e404 { text-align: center; }
.e404__n { font: 700 clamp(4rem, 14vw, 8rem)/1 var(--f-head); background: linear-gradient(135deg, var(--brand), #22D3EE); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.e404 .sform { max-width: 460px; margin: 20px auto 0; }

/* ==========================================================================
   7. Tools: index cards and the calculator widget
   ========================================================================== */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: .18s; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 50%, var(--line)); color: var(--ink); }
.tool-card__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: color-mix(in srgb, var(--c) 78%, var(--ink)); }
.tool-card__body { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.tool-card__body strong { font: 600 1rem/1.3 var(--f-head); }
.tool-card__body span { font-size: .86rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tool-card__go { position: absolute; right: 16px; top: 18px; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: .18s; }
.tool-card:hover .tool-card__go { opacity: 1; transform: none; color: var(--c); }
.itm-tool { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border-top: 4px solid var(--c); }
.itm-tool__form { padding: 22px; }
.itm-tool__form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.itm-tool__form .fld-wide, .itm-tool__form .fld-check { grid-column: 1 / -1; }
.itm-tool__out { padding: 22px; background: color-mix(in srgb, var(--c) 6%, var(--surface)); border-left: 1px solid var(--line); min-width: 0; }
.itm-tool__bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.res .row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }
.res .row:last-of-type { border-bottom: 0; }
.row__l { color: var(--muted); font-size: .9rem; }
.row__v { text-align: right; font-weight: 600; font-size: .98rem; overflow-wrap: anywhere; }
.row-big { display: block; padding: 4px 0 16px; border-bottom: 2px solid color-mix(in srgb, var(--c) 35%, transparent) !important; margin-bottom: 4px; }
.row-big .row__l { display: block; font: 600 .78rem var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, var(--ink)); margin-bottom: 4px; }
.row-big .row__v { display: block; text-align: left; font: 700 clamp(1.7rem, 4vw, 2.3rem)/1.1 var(--f-mono); color: var(--ink); }
.row-long { display: block; }
.row-long .row__v { display: block; text-align: left; margin-top: 3px; font-weight: 500; word-break: break-word; }
.res .note { margin: 14px 0 0; padding: 11px 13px; font-size: .88rem; line-height: 1.5; border-radius: 10px; background: color-mix(in srgb, var(--c) 9%, var(--surface)); color: var(--ink); }
.res.is-good .note { background: color-mix(in srgb, var(--ok) 13%, var(--surface)); }
.res.is-warn .note { background: color-mix(in srgb, var(--warn) 14%, var(--surface)); }
.res.is-bad .note { background: color-mix(in srgb, var(--bad) 12%, var(--surface)); }
.res .err { margin: 0; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--bad) 11%, var(--surface)); color: var(--bad); font-weight: 600; font-size: .94rem; }
.outtext { margin-bottom: 8px; background: var(--surface); font-size: .9rem; line-height: 1.5; min-height: 54px; }
.viz:not(:empty) { margin-top: 18px; }
.donut { display: flex; align-items: center; gap: 18px; }
.donut__s { width: 118px; flex: none; }
.donut__bg { fill: none; stroke: color-mix(in srgb, var(--ink) 10%, transparent); stroke-width: 15; }
.donut__a { fill: none; stroke-width: 15; }
.donut__a0, .sw0 { stroke: var(--c); background: var(--c); }
.donut__a1, .sw1 { stroke: #F5A524; background: #F5A524; }
.donut__a2, .sw2 { stroke: #94A3B8; background: #94A3B8; }
.donut__l { list-style: none; margin: 0; padding: 0; font-size: .86rem; display: grid; gap: 6px; }
.sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 8px; }
.tbl-wrap { max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-top: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .85rem; }
.tbl caption { text-align: left; padding: 9px 12px; font: 600 .8rem var(--f-head); color: var(--muted); position: sticky; top: 0; background: var(--surface); }
.tbl th, .tbl td { padding: 8px 12px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
.tbl th[scope=row], .tbl thead th:first-child { text-align: left; }
.tbl thead th { position: sticky; top: 30px; background: var(--surface); font: 600 .75rem var(--f-head); color: var(--muted); }
.serp { display: grid; gap: 3px; margin-top: 14px; padding: 14px; background: #fff; border: 1px solid #dfe1e5; border-radius: 10px; }
.serp__u { font-size: .78rem; color: #4d5156; }
.serp__t { font: 400 1.18rem/1.3 Arial, sans-serif; color: #1a0dab; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp__d { font: 400 .86rem/1.5 Arial, sans-serif; color: #4d5156; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.swatch { height: 70px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 14px; }
.fine { font-size: .84rem; color: var(--muted); margin-top: 22px; }

/* ==========================================================================
   8. Single post & prose
   ========================================================================== */
.single__head { padding-block: 36px 8px; max-width: 920px; margin-inline: auto; }
.single__t { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.single__fig { margin: 20px auto 0; max-width: 1000px; }
.single__fig img { width: 100%; border-radius: 18px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-block: 36px 24px; align-items: start; }
.layout__main { min-width: 0; }
.prose { font-size: 1.1rem; line-height: 1.8; color: color-mix(in srgb, var(--ink) 94%, var(--bg)); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.7em; font-size: 1.28rem; }
.prose img, .prose figure { border-radius: 12px; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); font-size: 1.15em; font-style: italic; color: var(--muted); }
.prose pre { overflow: auto; padding: 16px; border-radius: 12px; background: #0B1630; color: #E6EDFF; font: .88rem/1.6 var(--f-mono); }
.prose code { font-family: var(--f-mono); font-size: .9em; background: var(--bg-alt); padding: .15em .4em; border-radius: 6px; }
.prose pre code { background: transparent; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg-alt); }
.prose a { font-weight: 500; }
.alignwide { max-width: 1000px; margin-inline: auto; }
.alignleft { float: left; margin: .3em 1.2em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.toc { margin: 0 0 28px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); border-left: 4px solid var(--c); }
.toc__t { display: block; font: 600 .82rem var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc li.sub { margin-left: 14px; list-style-type: circle; font-size: .94em; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover, .toc a.on { color: var(--brand-t); font-weight: 600; }
.disclose { margin: 0 0 24px; padding: 13px 16px; border-radius: 12px; font-size: .92rem; background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--ink); }
.disclose-sponsored { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags a { padding: 5px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-size: .84rem; text-decoration: none; }
.tags a:hover { color: var(--brand-t); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding-block: 18px; border-block: 1px solid var(--line); }
.share__l { display: inline-flex; align-items: center; gap: 7px; font: 600 .86rem var(--f-head); margin-right: 6px; color: var(--muted); }
.share a, .share button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .82rem var(--f-head); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--brand); color: var(--brand-t); }
.authorbox { display: flex; gap: 16px; align-items: center; margin-top: 28px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.authorbox__av { border-radius: 50%; flex: none; }
.authorbox p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.prevnext > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.prevnext small { display: block; font: 600 .72rem var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.prevnext a { font: 600 .98rem/1.35 var(--f-head); color: var(--ink); text-decoration: none; }
.prevnext .next { text-align: right; }
.comments-wrap { max-width: 800px; padding-bottom: 40px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-meta { font-size: .85rem; color: var(--muted); }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea { margin-bottom: 10px; }
.comment-form .submit { background: var(--btn); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font: 600 .95rem var(--f-head); cursor: pointer; }

/* ==========================================================================
   9. Sidebar & widgets
   ========================================================================== */
.side { position: sticky; top: 92px; display: grid; gap: 20px; }
.widget { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.widget-title { font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.widget a { text-decoration: none; }
.promo { background: linear-gradient(160deg, #0B1630, #15306B); border-color: transparent; color: #E6EDFF; }
.promo .widget-title { color: #9DB4E8; }
.promo p { font-size: .94rem; color: #C9D6F5; }
.promo .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.side-tools a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .94rem; }
.side-tools a:hover { background: var(--bg-alt); color: var(--brand-t); }
.side-tools .ico { color: var(--c, var(--brand)); }

/* ==========================================================================
   10. Guest post pages
   ========================================================================== */
.band { background: linear-gradient(170deg, #0B1630 0%, #102250 60%, #14307A 100%); color: #E6EDFF; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 65%); }
.band__h { position: relative; text-align: center; max-width: 720px; margin: 0 auto 36px; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #7DD3FC; }
.band__h p { color: #C0CFF2; }
.plans { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; backdrop-filter: blur(6px); }
.plan-hot { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.plan-hot h3 { color: var(--ink); }
.plan__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--accent); color: #0B1630; font: 700 .72rem var(--f-head); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.plan__d { margin: 0; font-size: .92rem; opacity: .85; }
.plan__p { font: 700 2.8rem/1 var(--f-head); margin: 10px 0 14px; }
.plan__p sup { font-size: 1.1rem; vertical-align: top; position: relative; top: .3em; margin-right: 2px; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; flex: 1; font-size: .94rem; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li .ico { color: #34D399; margin-top: 3px; }
.plan-hot li .ico { color: var(--ok); }
.plan .btn { width: 100%; margin-top: 8px; }
.plan:not(.plan-hot) .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.plan:not(.plan-hot) .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat__i, .cbox { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.feat__i p, .cbox p { color: var(--muted); font-size: .94rem; margin: 0; }
.feat__ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 14px; background: color-mix(in srgb, var(--brand) 13%, var(--surface)); color: var(--brand-t); }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cbox .btn { margin-top: 16px; }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.topic { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: var(--r); }
.topic h3 { display: flex; align-items: center; gap: 10px; color: color-mix(in srgb, var(--c) 75%, var(--ink)); }
.topic .chips { margin-top: 8px; }
.topic .chips span { padding: 5px 11px; font-size: .8rem; font-weight: 500; cursor: default; }
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.dodont > div { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.dodont h3 { display: flex; align-items: center; gap: 8px; }
.do h3 { color: var(--ok); }
.dont h3 { color: var(--bad); }
.dodont ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.steps li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--btn); color: #fff; font: 700 1rem var(--f-head); margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font: 600 1rem var(--f-head); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand-t); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; color: var(--muted); }
.enq { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.enq__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-size: .95rem; }
.notice.ok { background: color-mix(in srgb, var(--ok) 13%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 40%, var(--line)); }
.notice.bad { background: color-mix(in srgb, var(--bad) 11%, var(--surface)); border: 1px solid color-mix(in srgb, var(--bad) 40%, var(--line)); color: var(--bad); font-weight: 600; }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer { margin-top: 40px; background: #08101F; color: #B7C4E2; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 40px; padding-block: 56px 36px; }
.foot__brand img { height: 38px; width: auto; margin-bottom: 16px; }
.foot__brand p { max-width: 38ch; font-size: .94rem; }
.foot__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.foot__h { font: 600 .8rem var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: #B7C4E2; text-decoration: none; font-size: .94rem; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .btn { color: #fff; }
.social { display: flex !important; flex-wrap: wrap; gap: 8px 16px !important; }
.foot__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 18px; font-size: .86rem; }
.foot__bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ==========================================================================
   12. WhatsApp launcher (right side, highlights guest posts)
   ========================================================================== */
.wa { position: fixed; z-index: 90; right: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa__btn { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 22px 9px 9px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; box-shadow: 0 10px 30px rgba(8, 96, 79, .45), 0 2px 6px rgba(0, 0, 0, .2); transition: transform .18s, background .18s; }
.wa__btn:hover { background: var(--wa-d); color: #fff; transform: translateY(-2px); }
.wa__btn::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-pulse 2.6s ease-out infinite; pointer-events: none; }
.wa__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--wa); flex: none; }
.wa__txt { display: flex; flex-direction: column; line-height: 1.15; }
.wa__txt small { font: 700 .66rem var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: #FFD9B8; }
.wa__txt b { font: 600 .98rem var(--f-head); white-space: nowrap; }
.wa__tip { position: relative; max-width: 270px; padding: 14px 34px 14px 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: .35s; }
.wa__tip.in { opacity: 1; transform: none; }
.wa__tip strong { display: block; font-family: var(--f-head); margin-bottom: 2px; }
.wa__tipx { position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--muted); }
.wa__tipx:hover { background: var(--bg-alt); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.to-top { position: fixed; z-index: 85; right: 24px; bottom: 96px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; }
.to-top:hover { border-color: var(--brand); color: var(--brand-t); }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.tool-grid, .grid4 { grid-template-columns: repeat(2, 1fr); }
	.foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.nav, .hdr__cta { display: none; }
	.burger { display: inline-grid; }
	.hero__in { grid-template-columns: 1fr; padding-block: 44px 40px; }
	.hero__viz { display: none; }
	.layout { grid-template-columns: 1fr; gap: 28px; }
	.side { position: static; }
	.bento { grid-template-columns: 1fr; }
	.grid3 { grid-template-columns: repeat(2, 1fr); }
	.plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
	.plan-hot { transform: none; }
	.feat, .steps { grid-template-columns: repeat(2, 1fr); }
	.topics, .dodont { grid-template-columns: 1fr; }
	.itm-tool__out { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.sec { padding-block: 38px; }
	.wrap { padding-inline: 16px; }
	.grid3, .grid4, .tool-grid, .feat, .steps, .grid2, .prevnext, .foot { grid-template-columns: 1fr; }
	.itm-tool__form .fields { grid-template-columns: 1fr; }
	.sec__h { flex-direction: column; align-items: flex-start; }
	.card-row { flex-direction: column; }
	.card-row .card__img { width: 100%; aspect-ratio: 16 / 9; }
	.hero h1 { font-size: 2.1rem; }
	.hero__search .btn { display: none; }
	.stats { gap: 6px 22px; }
	.single__t { font-size: 1.85rem; }
	.prose { font-size: 1.04rem; }
	.donut { flex-direction: column; align-items: flex-start; }
	.foot__bar .wrap { flex-direction: column; }
	/* WhatsApp: a round icon with a small orange "Guest posts" tag */
	.wa { right: 14px; bottom: 14px; }
	.wa__btn { padding: 7px; }
	.wa__txt b { display: none; }
	.wa__txt small { position: absolute; top: -12px; right: -4px; white-space: nowrap; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #0B1630; font-size: .6rem; letter-spacing: .06em; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
	.wa__tip { max-width: 230px; }
	.to-top { right: 20px; bottom: 86px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.net__p { display: none; }
}
@media print {
	.site-header, .site-footer, .wa, .to-top, .progress, .side, .share, .drawer, .searchbox, .itm-tool__bar { display: none !important; }
	body { background: #fff; color: #000; }
	.prose { font-size: 12pt; }
}
