/* =============================================================
   Smart Toilet Seat Review Magazine — design system
   Loaded after the parent theme's CSS; everything here is scoped
   to body.stsm or stsm-* classes.
   ============================================================= */

:root {
	--navy: #17324D;
	--charcoal: #263746;
	--teal: #287F83;
	--teal-dark: #1F6A6D;
	--aqua: #EAF5F4;
	--off: #F8FAFB;
	--white: #FFFFFF;
	--text: #394650;
	--muted: #66737E; /* #75828D darkened slightly for AA contrast on white */
	--line: #DDE5EA;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(23, 50, 77, .06), 0 4px 16px rgba(23, 50, 77, .06);
	--shadow-hover: 0 2px 4px rgba(23, 50, 77, .08), 0 12px 28px rgba(23, 50, 77, .12);
	--font-head: 'Manrope', 'Inter', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--wrap: 1200px;

	/* Re-point the parent theme's tokens so its tools and shortcodes match. */
	--sts-primary: #287F83;
	--sts-accent: #287F83;
	--sts-navy: #17324D;
	--sts-teal: #287F83;
	--sts-text: #394650;
	--sts-muted: #66737E;
	--sts-mist: #F8FAFB;
	--sts-border: #DDE5EA;
	--sts-radius: 12px;
	--sts-grad-aqua: linear-gradient(0deg, #287F83, #287F83);
	--sts-grad-teal: linear-gradient(0deg, #287F83, #287F83);
	--sts-grad-hero: linear-gradient(0deg, #17324D, #17324D);
	--sts-grad-luxe: linear-gradient(0deg, #17324D, #17324D);
	--sts-font-sans: var(--font-body);
	--sts-font-display: var(--font-head);
	--sts-font-grotesk: var(--font-head);
}

/* ---------- Base ---------- */
/* The parent sets overflow-x:hidden on html/body, which breaks position:sticky. */
html { overflow-x: clip !important; }
body.stsm { overflow-x: clip !important; }
body.stsm {
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
}
body.stsm h1, body.stsm h2, body.stsm h3, body.stsm h4 {
	font-family: var(--font-head);
	color: var(--navy);
	letter-spacing: -0.015em;
	line-height: 1.2;
	font-weight: 800;
}
body.stsm a { color: var(--teal); }
body.stsm a:hover { color: var(--navy); }
body.stsm :focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
body.stsm .sts-bg-fx { display: none; }

.stsm-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.stsm-wrap--article { max-width: 800px; }
.stsm-wrap--wide { max-width: 1200px; }
@media (min-width: 640px) { .stsm-wrap { padding: 0 24px; } }

.stsm-main { display: block; min-height: 50vh; }

/* ---------- Buttons ---------- */
.stsm-btn,
body.stsm .sts-btn--primary {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--teal); color: #fff !important;
	font: 600 15px/1.2 var(--font-body);
	padding: 12px 20px; border-radius: var(--radius-sm); border: 2px solid var(--teal);
	text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease;
	box-shadow: none; transform: none;
}
.stsm-btn:hover, body.stsm .sts-btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: none; box-shadow: none; }
.stsm-btn--lg { padding: 14px 24px; font-size: 16px; }
.stsm-btn--small { padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.stsm-btn--block { width: 100%; }
.stsm-btn--ghost { background: transparent; color: var(--navy) !important; border-color: var(--navy); }
.stsm-btn--ghost:hover { background: var(--navy); color: #fff !important; border-color: var(--navy); }
.stsm-btn--amazon { background: var(--navy); border-color: var(--navy); }
.stsm-btn--amazon:hover { background: var(--charcoal); border-color: var(--charcoal); }
body.stsm .sts-btn--amazon { background: var(--navy); color: #fff; box-shadow: none; }
body.stsm .sts-btn--amazon:hover { background: var(--charcoal); color: #fff; transform: none; }

.stsm-kicker {
	display: inline-block; font: 700 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
	color: var(--teal) !important; text-decoration: none; margin-bottom: 10px;
}
.stsm-eyebrow { font: 600 13px/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.stsm-badge {
	display: inline-block; background: var(--aqua); color: var(--teal-dark); font: 600 11px/1 var(--font-body);
	padding: 5px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; letter-spacing: .02em;
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Header ---------- */
/* The parent forces 100vw full-bleed on these ids; undo it (100vw includes the scrollbar). */
body.stsm #sts-header,
body.stsm #sts-main,
body.stsm #sts-footer,
body.stsm #sts-mobile-nav {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
body.stsm #sts-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
@media (min-width: 960px) {
	body.stsm #sts-header { position: sticky; top: 0; }
	body.stsm.admin-bar #sts-header { top: 32px; }
}
.stsm-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.stsm-header__brand { flex-shrink: 0; }
.stsm-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.stsm-logo__mark { flex-shrink: 0; }
.stsm-logo__text { display: flex; flex-direction: column; }
.stsm-logo__name { font: 800 18px/1.1 var(--font-head); color: var(--navy); letter-spacing: -0.02em; }
.stsm-logo__name em { font-style: normal; color: var(--teal); }
.stsm-logo__tag { font: 500 11px/1.3 var(--font-body); color: var(--muted); margin-top: 3px; }
@media (max-width: 400px) { .stsm-logo__tag { display: none; } .stsm-logo__name { font-size: 16px; } }

.stsm-nav { display: none; margin-left: auto; }
@media (min-width: 1080px) { .stsm-nav { display: block; } }
.stsm-menu { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.stsm-menu > li { position: relative; }
.stsm-menu a {
	display: block; padding: 10px 12px; font: 600 14.5px/1.2 var(--font-body); color: var(--charcoal) !important;
	text-decoration: none; border-radius: 6px;
}
.stsm-menu a:hover, .stsm-menu .current-menu-item > a, .stsm-menu .current-category-ancestor > a { color: var(--teal) !important; background: var(--aqua); }
.stsm-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 240px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-hover);
	opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.stsm-menu li:hover > .sub-menu, .stsm-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.stsm-menu .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 1px; }

.stsm-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
@media (min-width: 1080px) { .stsm-header__actions { margin-left: 8px; } .stsm-burger { display: none !important; } }
.stsm-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); color: var(--navy); cursor: pointer;
}
.stsm-icon-btn:hover { background: var(--aqua); }

.stsm-searchbar { border-top: 1px solid var(--line); background: var(--off); padding: 14px 0; }
body.stsm .sts-searchform__inner { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: none; overflow: hidden; }
body.stsm .sts-searchform__submit { background: var(--teal); }

.stsm-mobile-nav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-hover); position: relative; z-index: 40; }
.stsm-mobile-nav[hidden] { display: none; }
.stsm-mobile-menu { list-style: none; margin: 0; padding: 8px 16px 16px; }
.stsm-mobile-menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font: 600 16px/1.3 var(--font-body); color: var(--navy) !important; text-decoration: none; }
.stsm-mobile-menu .sub-menu { list-style: none; padding: 0 0 0 16px; margin: 0; }
.stsm-mobile-menu .sub-menu a { font-weight: 500; font-size: 15px; color: var(--text) !important; }
@media (min-width: 1080px) { .stsm-mobile-nav { display: none !important; } }

/* ---------- Sections ---------- */
.stsm-section { padding: 56px 0; }
@media (min-width: 900px) { .stsm-section { padding: 80px 0; } }
.stsm-section--tint { background: var(--off); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stsm-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.stsm-section__title { font-size: clamp(24px, 3vw, 30px) !important; margin: 0; flex: 1 1 420px; }
.stsm-section__dek { flex-basis: 100%; margin: 0; color: var(--muted); max-width: 720px; font-size: 16px; }
.stsm-section__link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.stsm-subhead { font-size: 22px !important; margin: 48px 0 16px; }

/* ---------- Hero ---------- */
.stsm-hero { background: linear-gradient(180deg, var(--aqua) 0%, var(--off) 100%); border-bottom: 1px solid var(--line); padding: 40px 0 48px; }
.stsm-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
	.stsm-hero { padding: 64px 0 72px; }
	.stsm-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}
.stsm-hero__title { font-size: clamp(32px, 4.6vw, 46px) !important; margin: 0 0 18px; letter-spacing: -0.025em; }
.stsm-hero__lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--text); max-width: 560px; margin: 0 0 28px; }
.stsm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
@media (max-width: 480px) { .stsm-hero__actions .stsm-btn { width: 100%; } }
.stsm-hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.stsm-hero__trust li { position: relative; padding-left: 20px; }
.stsm-hero__trust li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.stsm-hero__media { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-hover); aspect-ratio: 16 / 11; background: var(--line); }
.stsm-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Category cards ---------- */
.stsm-cat-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .stsm-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .stsm-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.stsm-cat-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease;
}
.stsm-cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.stsm-cat-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--aqua); }
.stsm-cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.stsm-cat-card:hover .stsm-cat-card__media img { transform: scale(1.04); }
.stsm-cat-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.stsm-cat-card__title { font: 800 19px/1.25 var(--font-head); color: var(--navy); }
.stsm-cat-card__desc { font-size: 15px; color: var(--text); line-height: 1.5; }
.stsm-cat-card__go { font-weight: 600; font-size: 14px; color: var(--teal); margin-top: 4px; }

/* ---------- Article cards ---------- */
.stsm-post-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .stsm-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stsm-post-grid { grid-template-columns: repeat(3, 1fr); } }
.stsm-feature-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .stsm-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
	.stsm-feature-grid { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; }
	.stsm-feature-grid .stsm-card--feature { grid-row: span 2; }
	.stsm-feature-grid .stsm-card:nth-child(4) { grid-column: 2 / span 2; flex-direction: row; }
	.stsm-feature-grid .stsm-card:nth-child(4) .stsm-card__media { flex: 0 0 45%; aspect-ratio: auto; }
}
.stsm-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s ease; }
.stsm-card:hover { box-shadow: var(--shadow-hover); }
.stsm-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--aqua); }
.stsm-card__media img { width: 100%; height: 100%; object-fit: cover; }
.stsm-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--aqua), #d5ebe9); }
.stsm-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.stsm-card__title { font-size: 19px !important; margin: 0 0 8px; line-height: 1.3; }
.stsm-card--feature .stsm-card__title { font-size: clamp(22px, 2.4vw, 27px) !important; }
.stsm-card__title a { color: var(--navy) !important; text-decoration: none; }
.stsm-card__title a:hover { color: var(--teal) !important; }
.stsm-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--text); margin: 0 0 14px; }
.stsm-card__meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.stsm-card__more { font-weight: 600; text-decoration: none; }

/* ---------- Product cards ---------- */
.stsm-product-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .stsm-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .stsm-product-grid { grid-template-columns: repeat(4, 1fr); } }
.stsm-product {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal);
	border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin: 0 0 4px;
}
.stsm-product__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 12px; }
.stsm-product__bestfor { background: var(--aqua); color: var(--teal-dark); font: 700 12px/1.3 var(--font-body); padding: 6px 10px; border-radius: 999px; }
.stsm-product__type { font-size: 12px; color: var(--muted); align-self: center; }
body.stsm .stsm-product__name { font-size: 20px; margin: 0 0 2px; }
.stsm-product__model { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.stsm-product__summary { font-size: 15px; line-height: 1.55; margin: 0 0 12px; }
.stsm-checklist { list-style: none; margin: 0 0 12px; padding: 0; font-size: 14.5px; line-height: 1.45; }
.stsm-checklist li { position: relative; padding-left: 22px; margin-bottom: 7px; }
.stsm-checklist li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.stsm-product__consider { font-size: 14px; background: var(--off); border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 0 16px; }
.stsm-product__cta { margin-top: auto; }
.stsm-product__cta .stsm-btn { width: 100%; }
.stsm-research-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.stsm-research-note .stsm-badge { margin: 0 4px 4px 0; background: #F1F4F6; color: var(--charcoal); }

/* ---------- Comparison table ---------- */
.stsm-compare { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stsm-compare table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; margin: 0; }
.stsm-compare th, .stsm-compare td { padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.stsm-compare thead th { background: var(--navy); color: #fff; font: 700 13px/1.3 var(--font-body); letter-spacing: .03em; text-transform: uppercase; }
.stsm-compare tbody th { font-weight: 700; color: var(--navy); position: sticky; left: 0; background: #fff; min-width: 180px; }
.stsm-compare tbody tr:last-child th, .stsm-compare tbody tr:last-child td { border-bottom: 0; }
.stsm-compare tbody tr:nth-child(even) td, .stsm-compare tbody tr:nth-child(even) th { background: var(--off); }
.stsm-compare tr.is-highlight td, .stsm-compare tr.is-highlight th { background: var(--aqua); }
.stsm-compare__note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* ---------- Educational cards ---------- */
.stsm-learn-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .stsm-learn-grid { grid-template-columns: repeat(3, 1fr); } }
.stsm-learn {
	display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); text-decoration: none;
	background: var(--navy); color: #DCE6EE !important; transition: background .2s ease;
}
.stsm-learn:hover { background: var(--charcoal); }
.stsm-learn__n { font: 800 14px/1 var(--font-head); color: #8FD0CB; letter-spacing: .08em; }
.stsm-learn__title { font: 800 21px/1.25 var(--font-head); color: #fff; }
.stsm-learn__text { font-size: 15px; line-height: 1.55; }
.stsm-learn__go { margin-top: auto; padding-top: 8px; font-weight: 600; color: #8FD0CB; }

/* ---------- Archive header ---------- */
.stsm-archive-head { background: var(--off); border-bottom: 1px solid var(--line); padding: 32px 0; }
.stsm-archive-head__grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .stsm-archive-head.has-media .stsm-archive-head__grid { grid-template-columns: 1.4fr 1fr; gap: 48px; } .stsm-archive-head { padding: 48px 0; } }
.stsm-archive-head__title { font-size: clamp(30px, 4vw, 42px) !important; margin: 8px 0 12px; }
.stsm-archive-head__desc { font-size: 17px; max-width: 640px; }
.stsm-archive-head__desc p { margin: 0; }
.stsm-archive-head__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.stsm-archive-head__media img { width: 100%; height: 100%; object-fit: cover; }
.stsm-archive-head__search { max-width: 560px; margin-top: 12px; }
.stsm-pagination { margin-top: 40px; }
.stsm-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.stsm-pagination .page-numbers { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.stsm-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.stsm-empty { padding: 32px; background: var(--off); border-radius: var(--radius); text-align: center; }

/* ---------- Breadcrumbs ---------- */
.stsm-crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.stsm-crumbs a { color: var(--muted) !important; text-decoration: none; }
.stsm-crumbs a:hover { color: var(--teal) !important; text-decoration: underline; }
.stsm-crumbs .separator { margin: 0 8px; color: #A9B4BC; }
.stsm-crumbs .last { color: var(--charcoal); }

/* ---------- Article ---------- */
.stsm-article__header { padding: 32px 0 24px; }
@media (min-width: 900px) { .stsm-article__header { padding: 48px 0 28px; } }
.stsm-article__title { font-size: clamp(30px, 4.2vw, 44px) !important; margin: 0 0 16px; letter-spacing: -0.025em; }
.stsm-article__dek { font-size: clamp(18px, 2vw, 20px); line-height: 1.55; color: var(--text); margin: 0 0 22px; }
.stsm-byline { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stsm-byline img { border-radius: 50%; display: block; }
.stsm-byline__author { display: block; font-weight: 600; font-size: 15px; color: var(--navy); }
.stsm-byline__author a { color: var(--navy) !important; text-decoration: none; }
.stsm-byline__meta { display: block; font-size: 13.5px; color: var(--muted); }
.stsm-disclosure-inline { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.stsm-article__hero { margin: 0 auto 8px; }
.stsm-article__hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.stsm-article__hero figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; text-align: right; }

.stsm-article__layout { display: grid; gap: 48px; padding-top: 24px; padding-bottom: 56px; }
@media (min-width: 1080px) { .stsm-article__layout { grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; } }
.stsm-article__main { min-width: 0; max-width: 760px; }
@media (max-width: 1079px) { .stsm-article__main { margin: 0 auto; } .stsm-article__side { max-width: 760px; margin: 0 auto; width: 100%; } }

.stsm-toc { background: var(--off); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 32px; }
.stsm-toc summary { font: 800 16px/1.3 var(--font-head); color: var(--navy); cursor: pointer; }
.stsm-toc ol { margin: 12px 0 0; padding-left: 20px; font-size: 15px; }
.stsm-toc li { margin: 6px 0; }
.stsm-toc a { text-decoration: none; }
.stsm-toc a:hover { text-decoration: underline; }

.stsm-prose { font-size: 18px; line-height: 1.75; color: var(--text); }
.stsm-prose > * { margin-top: 0; margin-bottom: 1.25em; }
.stsm-prose h2 { font-size: clamp(25px, 2.8vw, 30px) !important; margin: 1.9em 0 .6em; scroll-margin-top: 96px; }
.stsm-prose h3 { font-size: clamp(20px, 2.2vw, 23px) !important; margin: 1.6em 0 .5em; scroll-margin-top: 96px; }
.stsm-prose h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.stsm-prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.stsm-prose a.stsm-btn, .stsm-prose a.sts-btn { text-decoration: none; }
.stsm-prose ul, .stsm-prose ol { padding-left: 1.4em; }
.stsm-prose li { margin-bottom: .45em; }
.stsm-prose img { border-radius: var(--radius-sm); height: auto; }
.stsm-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--teal); color: var(--charcoal); font-style: italic; }
.stsm-prose table:not(.stsm-compare table) { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.stsm-prose table:not(.stsm-compare table) th, .stsm-prose table:not(.stsm-compare table) td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.stsm-prose table:not(.stsm-compare table) thead th { background: var(--navy); color: #fff; }
body.stsm .stsm-prose .sts-disclosure { display: none; }

.stsm-authorbox { display: flex; gap: 16px; align-items: flex-start; background: var(--off); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 40px; }
.stsm-authorbox img { border-radius: 50%; flex-shrink: 0; }
.stsm-authorbox p { margin: 0 0 6px; font-size: 15px; }
.stsm-authorbox__name { font: 800 17px/1.3 var(--font-head); color: var(--navy); }
.stsm-authorbox__note { color: var(--muted); font-size: 14px !important; }

/* ---------- Sidebar ---------- */
.stsm-sidebar { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1080px) { .stsm-sidebar { position: sticky; top: 104px; } }
.stsm-widget { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.stsm-widget--accent { background: var(--aqua); border-color: #CFE6E4; }
body.stsm .stsm-widget__title { font-size: 16px; margin: 0 0 12px; }
.stsm-widget p { font-size: 15px; margin: 0 0 14px; }
.stsm-widget__list { list-style: none; margin: 0; padding: 0; }
.stsm-widget__list li { border-top: 1px solid var(--line); }
.stsm-widget__list li:first-child { border-top: 0; }
.stsm-widget__list a { display: block; padding: 10px 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--navy) !important; text-decoration: none; }
.stsm-widget__list a:hover { color: var(--teal) !important; }

/* ---------- Editorial components ---------- */
.stsm-proscons { display: grid; gap: 16px; margin: 1.5em 0; }
@media (min-width: 640px) { .stsm-proscons { grid-template-columns: 1fr 1fr; } }
.stsm-proscons__col { border-radius: var(--radius); padding: 18px 20px; border: 1px solid; }
.stsm-proscons__col h4 { margin: 0 0 10px !important; font-size: 16px; }
.stsm-proscons__col ul { list-style: none; padding: 0 !important; margin: 0; font-size: 16px; }
.stsm-proscons__col li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.stsm-proscons__col--pros { background: #EEF7F2; border-color: #C8E3D3; }
.stsm-proscons__col--pros h4 { color: #1D6B44; }
.stsm-proscons__col--pros li::before { content: "+"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #1D6B44; color: #fff; font: 700 14px/18px var(--font-body); text-align: center; }
.stsm-proscons__col--cons { background: #FBF1EE; border-color: #EBCFC6; }
.stsm-proscons__col--cons h4 { color: #9A3B20; }
.stsm-proscons__col--cons li::before { content: "–"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #9A3B20; color: #fff; font: 700 14px/17px var(--font-body); text-align: center; }

.stsm-specs { margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
body.stsm .stsm-specs__title { margin: 0; padding: 14px 18px; background: var(--navy); color: #fff; font-size: 16px; }
.stsm-specs table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: table !important; }
.stsm-specs th, .stsm-specs td { padding: 11px 18px; border: 0 !important; border-top: 1px solid var(--line) !important; text-align: left; vertical-align: top; }
.stsm-specs th { width: 40%; font-weight: 600; color: var(--charcoal); background: var(--off) !important; }
.stsm-unverified { color: var(--muted); font-style: italic; }

.stsm-verdict { margin: 1.5em 0; padding: 22px 24px; border-radius: var(--radius); background: var(--aqua); border: 1px solid #CFE6E4; }
.stsm-verdict__title { font: 800 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 10px !important; }
.stsm-verdict__body p:last-child { margin-bottom: 0; }
.stsm-verdict__cta { margin-top: 16px; }

.stsm-callout { margin: 1.5em 0; padding: 16px 20px; border-radius: var(--radius-sm); border-left: 4px solid var(--teal); background: var(--off); font-size: 16px; }
.stsm-callout--warning { border-left-color: #B7791F; background: #FDF8EC; }
.stsm-callout--note { border-left-color: var(--navy); }
.stsm-callout__title { font-weight: 700; color: var(--navy); margin: 0 0 6px !important; }
.stsm-callout p:last-child { margin-bottom: 0; }

/* Measuring guide */
.stsm-measure { margin: 1.5em 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stsm-measure svg { width: 100%; height: auto; max-width: 640px; margin: 0 auto; display: block; }
.stsm-measure figcaption { font-size: 16px; margin-top: 12px; }
.stsm-measure__steps { padding-left: 1.3em; }
.stsm-measure__note { font-size: 14.5px; color: var(--muted); margin: 8px 0 0; }

/* Seat finder */
.stsm-finder { margin: 1.5em 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--off); }
.stsm-finder fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.stsm-finder legend { font: 700 16px/1.4 var(--font-head); color: var(--navy); margin-bottom: 10px; padding: 0; }
.stsm-finder label { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: 16px; }
.stsm-finder label:has(input:checked) { border-color: var(--teal); background: var(--aqua); }
.stsm-finder input[type="radio"] { accent-color: var(--teal); width: 18px; height: 18px; margin: 0; }
.stsm-finder__result { margin-top: 20px; padding: 20px; background: #fff; border: 2px solid var(--teal); border-radius: var(--radius); }
.stsm-finder__result h3 { margin: 0 0 8px !important; }
.stsm-finder__label { font: 700 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin: 0 0 8px !important; }
.stsm-finder__error { color: #9A3B20; margin: 0; font-weight: 600; }

/* ---------- Pages & parent tools ---------- */
.stsm-page .stsm-prose { padding: 32px 0 64px; }
.stsm-tool { padding-bottom: 32px; }
body.stsm .stsm-tool .sts-section { padding: 40px 0; }
body.stsm .stsm-tool .sts-section__head { margin-bottom: 32px; }
body.stsm .sts-eyebrow { background: var(--aqua); color: var(--teal-dark); border-color: transparent; }

/* ---------- Footer ---------- */
.stsm-footer { background: var(--navy); color: #C9D6E0; padding: 56px 0 28px; margin-top: 0; }
.stsm-footer a { color: #E4ECF2 !important; text-decoration: none; }
.stsm-footer a:hover { color: #fff !important; text-decoration: underline; }
.stsm-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.stsm-footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .stsm-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .stsm-footer__brand { grid-column: auto; } }
.stsm-footer .stsm-logo__mark rect { fill: var(--teal); }
.stsm-footer .stsm-logo__mark path:last-child { stroke: var(--navy); }
.stsm-footer .stsm-logo__name { color: #fff; }
.stsm-footer .stsm-logo__name em { color: #8FD0CB; }
.stsm-footer .stsm-logo__tag { color: #A9BBC9; }
.stsm-footer__brand p { font-size: 15px; margin: 16px 0 0; max-width: 380px; line-height: 1.6; }
body.stsm .stsm-footer__title { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 4px 0 14px; }
.stsm-footer__list { list-style: none; margin: 0; padding: 0; }
.stsm-footer__list li { margin-bottom: 10px; font-size: 15px; }
.stsm-footer__base { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; font-size: 13.5px; color: #A9BBC9; }
.stsm-footer__base p { margin: 0 0 8px; }
.stsm-footer__disclosure { color: #E4ECF2; }

/* Hide parent chrome that the child theme replaces */
body.stsm .sts-mobile-cta { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	.stsm-cat-card, .stsm-cat-card__media img, .stsm-card, .stsm-menu .sub-menu { transition: none !important; }
	.stsm-cat-card:hover { transform: none; }
}
