/* TechyJar theme. Tokens mirror the active Novamira design "TechyJar Clear Blue". */
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("fonts/jakarta-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #EEF4FD;
	--surface: #FFFFFF;
	--ink: #0F1B33;
	--muted: #55657E;
	--line: #DCE5F2;
	--tint: #E3EDFC;
	--accent: #1670BE;
	--accent-ink: #FFFFFF;
	--accent-deep: #0F5594;
	--positive: #13795B;
	--negative: #B42318;
	--footer: #0F1B33;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r-sm: 8px;
	--r-md: 16px;
	--shadow: 0 10px 30px -12px rgba(22, 76, 140, .22);
	--wrap: 1200px;
	--gutter: 20px;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.7 var(--font);
	-webkit-font-smoothing: antialiased;
}
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl) { margin: 0; }
:where(ul, ol) { padding: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.015em; font-weight: 750; color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: var(--r-sm); z-index: 99; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.accent { color: var(--accent); }

.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--r-sm);
	padding: 12px 22px; font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.btn:hover, .wp-block-button__link:hover { background: var(--accent-deep); color: var(--accent-ink); }
.btn:active, .wp-block-button__link:active { transform: translateY(1px); }

input[type="search"], input[type="email"], input[type="text"], textarea {
	font: inherit; color: var(--ink); background: var(--surface);
	border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px; width: 100%;
}
input:focus, textarea:focus { outline: 3px solid rgba(22, 112, 190, .25); border-color: var(--accent); }
::placeholder { color: #7A8AA2; }

/* ---------- header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { width: 134px; height: auto; }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav .menu { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav .menu > li { position: relative; }
.nav .menu a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 15px; border-radius: var(--r-sm); white-space: nowrap; }
.nav .menu a:hover, .nav .current-menu-item > a, .nav .current-menu-ancestor > a { color: var(--accent); background: var(--tint); }
.nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-3px) rotate(45deg); }
.nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; padding: 8px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav .sub-menu .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; opacity: 1; visibility: inherit; transform: none; pointer-events: inherit; }
.nav .sub-menu a { font-weight: 500; }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.nav-search input { width: 190px; padding: 9px 12px; font-size: 15px; background: var(--bg); }
.nav-toggle, .nav-btn { display: none; }

@media (max-width: 1080px) {
	.nav-btn { display: inline-flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; border-radius: var(--r-sm); }
	.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
	.burger::before { position: absolute; top: -7px; }
	.burger::after { position: absolute; top: 7px; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; max-height: calc(100vh - 68px); overflow: auto; }
	.nav-toggle:checked ~ .nav { display: flex; }
	.nav .menu { flex-direction: column; align-items: stretch; }
	.nav .sub-menu { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 14px; min-width: 0; }
	.nav .menu-item-has-children > a::after { display: none; }
	.nav-search input { width: 100%; }
}

/* ---------- footer */
.site-footer { background: var(--footer); color: #B9C5D8; margin-top: 88px; font-size: 15px; }
.site-footer a { color: #DCE5F2; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.foot-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; padding-block: 56px 40px; }
.foot-brand img { width: 130px; margin-bottom: 16px; }
.foot-brand p { margin-bottom: 12px; line-height: 1.6; }
.foot-note { font-size: 13.5px; color: #93A3BB; }
.foot-col h2 { color: #FFFFFF; font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.foot-col ul { list-style: none; display: grid; gap: 9px; }
.foot-bottom { border-top: 1px solid rgba(220, 229, 242, .14); padding-block: 18px; font-size: 13.5px; }
.foot-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom a { margin-left: 16px; }
@media (max-width: 960px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- breadcrumbs, titles */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin-inline: 4px; opacity: .6; }
.page-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
.page-plain, .hub { padding-top: 36px; }

/* ---------- homepage */
.home-hero { padding: 72px 0 40px; text-align: center; }
.home-hero h1 { font-size: clamp(34px, 5vw, 56px); max-width: 880px; margin: 0 auto 18px; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
.lede { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0 auto 30px; }
.hero-search { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; background: var(--surface); padding: 8px; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-search input { border: 0; background: transparent; }
.hero-search input:focus { outline: none; }

.cat-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding-block: 24px 8px; }
.cat {
	display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 18px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
	color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s;
}
.cat svg { color: var(--accent); width: 36px; height: 36px; }
.cat-name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.cat-desc { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.cat:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.cat.is-featured { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cat.is-featured svg, .cat.is-featured .cat-desc { color: #E3EDFC; }
.cat.is-featured:hover { color: var(--accent-ink); }
@media (max-width: 1000px) { .cat-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-strip { grid-template-columns: repeat(2, 1fr); } .cat { padding: 16px 14px; } }

.home-sec { padding-top: 72px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.sec-head h2, .home-sec h2 { font-size: clamp(26px, 3vw, 36px); }
.more { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.more::after { content: " \2192"; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
	display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.card-title { font-weight: 700; font-size: 18px; line-height: 1.3; }
.card-text { color: var(--muted); font-size: 15px; line-height: 1.55; }
.card-meta { color: var(--muted); font-size: 13px; margin-top: auto; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.free-band .free-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 40px; }
.free-copy p { color: var(--muted); margin-top: 12px; }
.free-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.free-list a { display: block; padding: 14px 16px; border-radius: var(--r-sm); background: var(--tint); color: var(--accent-deep); font-weight: 600; text-decoration: none; line-height: 1.35; }
.free-list a:hover { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 860px) { .free-band .free-grid { grid-template-columns: 1fr; padding: 28px 22px; } }
@media (max-width: 520px) { .free-list { grid-template-columns: 1fr; } }

.guide-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guide { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.guide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--tint); }
.guide-title { font-weight: 700; line-height: 1.35; }
.guide:hover .guide-title { color: var(--accent); }
@media (max-width: 960px) { .guide-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .guide-row { grid-template-columns: 1fr; } }

.method { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.method p { color: var(--muted); margin: 14px 0 22px; max-width: 54ch; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); line-height: 1.5; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--accent-deep); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
@media (max-width: 860px) { .method { grid-template-columns: 1fr; gap: 28px; } }

.faq-sec h2 { margin-bottom: 24px; }
.faq { display: grid; gap: 10px; }
.faq details, .prose details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq details[open], .prose details[open] { border-color: var(--accent); }
.faq summary, .prose details > summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker, .prose details > summary::-webkit-details-marker { display: none; }
.faq summary::after, .prose details > summary::after { content: ""; position: absolute; right: 20px; top: 22px; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after, .prose details[open] > summary::after { transform: rotate(-135deg); top: 26px; }
.faq details p, .prose details > :not(summary) { padding: 0 18px 16px; color: var(--muted); }

/* ---------- article */
.art-head { padding-top: 36px; padding-bottom: 8px; }
.art-head h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; margin-bottom: 16px; max-width: 22ch; }
.nav .menu-item-type-custom.current-menu-item > a { background: none; color: var(--ink); }
.art-intro { font-size: 19px; color: var(--muted); max-width: 70ch; margin-bottom: 18px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.art-meta .by a { font-weight: 650; text-decoration: none; }
.art-disclosure { font-size: 13.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; max-width: 760px; line-height: 1.5; }

.art-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 28px; }
.art-body.has-toc { grid-template-columns: minmax(0, 1fr) 300px; }
.art-body.has-toc > .side { grid-column: 2; grid-row: 1; }
.art-body.has-toc > .prose { grid-column: 1; grid-row: 1; }

/* sidebar: sticky stack of cards (contents + top picks) */
.side { position: sticky; top: 88px; align-self: start; display: grid; gap: 16px; }
.admin-bar .side { top: 120px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }

.toc { font-size: 14px; }
.toc summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 6px solid var(--ink); transition: transform .15s; }
.toc:not([open]) summary::after { transform: rotate(180deg); }
.toc[open] summary { border-bottom: 1px solid var(--line); }
.toc ol { list-style: none; max-height: clamp(180px, calc(100vh - 520px), 360px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.toc li + li { border-top: 1px solid var(--line); }
.toc a { display: block; padding: 10px 18px; color: var(--ink); text-decoration: none; line-height: 1.4; border-left: 3px solid transparent; transition: background .15s, color .15s; }
.toc a:hover { background: var(--bg); color: var(--accent); }
.toc a.is-active { background: var(--tint); color: var(--accent-deep); font-weight: 650; border-left-color: var(--accent); }

.top3 h2 { font-size: 16px; text-align: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--tint); letter-spacing: 0; }
.top3 ol { list-style: none; }
.top3 li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 14px 16px; }
.top3 li + li { border-top: 1px solid var(--line); }
.top3 .rank { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--tint); color: var(--accent-deep); }
.top3 li:first-child .rank { background: var(--accent); color: var(--accent-ink); }
.top3-body { display: grid; gap: 3px; min-width: 0; }
.top3-logo { width: auto; max-width: 118px; max-height: 26px; object-fit: contain; object-position: left center; }
.top3-name { font-weight: 700; }
.top3-label { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.top3-price { font-size: 12.5px; font-weight: 650; color: var(--positive); }
.top3-btn { display: inline-flex; align-items: center; padding: 7px 11px; border: 1.5px solid var(--accent); border-radius: var(--r-sm); color: var(--accent); font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.top3-btn::after { content: ""; width: 5px; height: 5px; margin-left: 6px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); }
.top3-btn:hover { background: var(--accent); color: var(--accent-ink); }

@media (max-width: 1000px) {
	.art-body.has-toc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.art-body.has-toc > .side, .art-body.has-toc > .prose { grid-column: 1; grid-row: auto; }
	.side { position: static; grid-template-columns: 1fr; }
	.toc ol { max-height: 60vh; }
}
@media (min-width: 640px) and (max-width: 1000px) {
	.side { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- prose (Gutenberg content) */
.prose { max-width: 820px; min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(25px, 2.6vw, 32px); margin-top: 2.2em; padding: 2px 0 2px 16px; border-left: 5px solid var(--accent); border-radius: 2px; }
.prose h3 { font-size: 21px; margin-top: 1.8em; }
.prose h4 { font-size: 18px; margin-top: 1.5em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { border-left: 4px solid var(--accent); padding: 4px 0 4px 20px; color: var(--ink); font-size: 18px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.prose figure img, .prose .wp-block-image img { border-radius: var(--r-md); border: 1px solid var(--line); }
.prose figcaption, .wp-element-caption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.prose .wp-block-image { margin-block: 1.6em; }
.prose code { background: var(--tint); border-radius: 4px; padding: 1px 6px; font-size: .92em; }
.prose strong { font-weight: 700; }

/* tables */
.prose .wp-block-table { overflow-x: auto; margin-block: 1.6em; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--tint); font-weight: 700; white-space: nowrap; }
.prose .wp-block-table table, .prose .wp-block-table thead, .prose .wp-block-table tfoot { border: 0; }
.prose .wp-block-table th, .prose .wp-block-table td { border-width: 0 0 1px; border-style: solid; border-color: var(--line); }
.prose .wp-block-table figcaption { padding: 10px 16px; margin: 0; border-top: 1px solid var(--line); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody td:first-child { font-weight: 650; }

/* buttons / columns / groups from core blocks */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-columns { display: flex; gap: 20px; flex-wrap: wrap; }
.wp-block-column { flex: 1 1 260px; min-width: 0; }
.wp-block-group.is-style-card, .tj-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }

/* review components (class names set on core blocks) */
.tj-quick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px 0; }
.tj-quick ol { list-style: none; padding: 0; counter-reset: q; }
.tj-quick li { counter-increment: q; position: relative; padding: 13px 20px 13px 64px; border-bottom: 1px solid var(--line); margin: 0 !important; line-height: 1.45; }
.tj-quick li:last-child { border-bottom: 0; }
.tj-quick li a { font-weight: 700; text-decoration: none; }
.tj-quick li::before { content: counter(q); position: absolute; left: 20px; top: 11px; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--accent-deep); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.tj-quick li:first-child::before { background: var(--accent); color: var(--accent-ink); }
.tj-quick li::marker { content: none; }

.tj-product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; margin-top: 1.4em; }
.tj-product > * + * { margin-top: 14px; }
.tj-product h3 { margin-top: 0; }
.tj-facts { list-style: none !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tj-facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; margin: 0 !important; font-size: 15px; line-height: 1.4; }
.tj-facts li::marker { content: none; }

.tj-pros, .tj-cons { list-style: none !important; padding-left: 0 !important; }
.tj-pros li, .tj-cons li { position: relative; padding-left: 28px; }
.tj-pros li::marker, .tj-cons li::marker { content: none; }
.tj-pros li::before, .tj-cons li::before { position: absolute; left: 0; top: .1em; font-weight: 800; }
.tj-pros li::before { content: "\2713"; color: var(--positive); }
.tj-cons li::before { content: "\2715"; color: var(--negative); }
.tj-pc-title-pro { color: var(--positive); }
.tj-pc-title-con { color: var(--negative); }

.tj-verdict { background: var(--tint); border-radius: var(--r-md); padding: 18px 22px; }
.tj-verdict p { margin: 0; }
.tj-note { font-size: 14px; color: var(--muted); }

.wp-block-image.tj-logo img { border: 0; border-radius: 0; max-height: 56px; width: auto; }

/* author box */
.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; margin-top: 3em; }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.author-box .ab-name { color: var(--ink); font-weight: 700; margin-bottom: 4px; font-size: 16px; }

/* misc */
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill-list a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--tint); color: var(--accent-deep); text-decoration: none; font-weight: 600; }
.notfound form { max-width: 480px; margin-top: 18px; }
.search-form { display: flex; gap: 8px; }
.search-form .search-submit { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--r-sm); padding: 0 18px; font: 600 15px var(--font); }
.pager { margin-top: 32px; }
.pager .nav-links { display: flex; gap: 8px; }
.pager .page-numbers { padding: 8px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.pager .current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* editor canvas */
.editor-styles-wrapper { background: var(--surface); }

/* ---------- review components (SafetyDetectives-style) */
.art-head { position: relative; }
.ad-disclosure { position: absolute; right: var(--gutter); top: 40px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .ad-disclosure { position: static; display: inline-block; margin-bottom: 8px; } }

.tj-short { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--positive); border-radius: var(--r-sm); padding: 18px 22px; }
.tj-short > * + * { margin-top: 8px; }
.tj-short h2, .prose .tj-short h2 { font-size: 21px; margin: 0; padding: 0; border: 0; }
.tj-short p { margin: 0; }

.tj-cta { justify-content: center; margin-block: 1.6em !important; }
.tj-cta .wp-block-button__link { padding: 14px 26px; font-size: 16px; }

.tj-summary { display: grid; gap: 12px; }
.tj-summary > * { margin: 0 !important; }
.tj-sum-card { position: relative; display: grid !important; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; }
.tj-sum-card > * { margin: 0 !important; }
.tj-sum-card.is-choice { border: 2px solid var(--positive); }
.tj-sum-card.is-choice::before { content: "Editor's Choice"; position: absolute; top: -11px; right: 14px; background: var(--positive); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tj-sum-logo { display: flex; align-items: center; justify-content: center; min-height: 48px; }
.tj-sum-logo img { max-height: 40px; width: auto; max-width: 140px; border: 0 !important; border-radius: 0 !important; object-fit: contain; }
.tj-sum-logo .wp-block-image { margin: 0 !important; }
.tj-sum-name { font-weight: 800; font-size: 17px; color: var(--ink); text-align: center; }
.tj-sum-text > * { margin: 0 !important; }
.tj-sum-text > * + * { margin-top: 4px !important; }
.tj-sum-title a { font-weight: 700; text-decoration: none; }
.tj-sum-title a:hover { text-decoration: underline; }
.tj-sum-desc { font-size: 15px; color: var(--muted); line-height: 1.5; }
.tj-more { margin-top: 12px !important; }
.tj-more > summary { text-align: center; color: var(--accent) !important; font-style: italic; }
.tj-more[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tj-more .tj-summary { padding: 0 12px 12px; }
@media (max-width: 600px) { .tj-sum-card { grid-template-columns: 1fr; text-align: left; gap: 10px; } .tj-sum-logo { justify-content: flex-start; } }

.tj-spec { display: grid !important; grid-template-columns: 220px minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.tj-spec > * { margin: 0 !important; }
.tj-spec-brand { background: var(--tint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 18px; text-align: center; }
.tj-spec-brand > * { margin: 0 !important; }
.tj-spec-brand img { max-height: 54px; width: auto; max-width: 170px; border: 0 !important; border-radius: 0 !important; }
.tj-spec-brand .wp-block-image { margin: 0 !important; }
.tj-spec-main { padding: 16px 22px 20px; }
.tj-spec-main > * { margin: 0 !important; }
.tj-spec-main > * + * { margin-top: 12px !important; }
.prose .tj-kv { border: 0; border-radius: 0; background: none; margin: 0 !important; }
.prose .tj-kv table { font-size: 14.5px; }
.prose .tj-kv td { padding: 8px 12px; border: 0; }
.prose .tj-kv tr:nth-child(odd) td { background: var(--bg); }
.prose .tj-kv td:first-child { font-weight: 700; width: 46%; border-radius: 6px 0 0 6px; }
.prose .tj-kv td:last-child { border-radius: 0 6px 6px 0; }
.tj-spec .wp-block-buttons { justify-content: center; }
.tj-spec .wp-block-button__link { width: 100%; max-width: 340px; }
.tj-domain { text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 680px) { .tj-spec { grid-template-columns: 1fr; } }

.tj-deal, .top3-deal { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: var(--negative); }
.tj-deal::before, .top3-deal::before { content: ""; width: 9px; height: 9px; background: currentColor; clip-path: polygon(40% 0, 100% 0, 100% 60%, 40% 100%, 0 60%); }
p.tj-deal { margin: 0; font-size: 15px; }
.top3-deal { font-size: 13px; }
