/*
Theme Name: SSG Premium
Theme URI: https://solosaasguide.com
Author: Solo SaaS Guide
Author URI: https://solosaasguide.com
Description: An original, lightweight premium theme for Solo SaaS Guide — honest AI tool and business software reviews for US small businesses, freelancers, and solo creators. Editorial serif display type, a deep ink-navy and teal palette with warm gold accents, card-based layouts, review rating boxes, and pros/cons shortcodes.
Version: 1.3.4
Requires at least: 5.8
Tested up to: 6.6
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: ssg-premium
Tags: custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

/* ============================================================
   SSG Premium v1.3 — main stylesheet (original code)
   Palette: ink navy, deep teal, warm gold accent, paper white
   Type: serif display (Georgia) + system sans for UI/body
   v1.3 evolves v1.1: reading progress + contents box, reveal
   animations, card/review polish, header fixes,
   and the 360px/footer fixes ported from the v1.2 branch.
   v1.3.1: all moving-light effects removed at the owner's
   request (button hover sweep + hero light drift) — buttons
   and the hero keep their static colour/gradient states.
   ============================================================ */

:root {
	--ssg-ink: #0A1F33;
	--ssg-navy: #10293F;
	--ssg-navy-soft: #1B3A56;
	--ssg-teal: #0C7C7C;
	--ssg-teal-bright: #12908C;
	--ssg-teal-dark: #095E5E;
	--ssg-teal-tint: #E7F3F2;
	--ssg-gold: #E8A33D;
	--ssg-gold-soft: #F6C877;
	--ssg-bg: #F6F8FA;
	--ssg-bg-band: #EDF2F5;
	--ssg-card: #FFFFFF;
	--ssg-text: #22384E;
	--ssg-text-soft: #3D566E;
	--ssg-muted: #687E93;
	--ssg-border: #DCE4EA;
	--ssg-border-soft: #E7EDF1;
	--ssg-red: #C0452F;
	--ssg-red-tint: #FBEEEA;
	--ssg-green-tint: #EAF4EC;
	--ssg-radius: 16px;
	--ssg-radius-sm: 11px;
	--ssg-shadow: 0 2px 6px rgba(10, 31, 51, 0.05), 0 10px 30px rgba(10, 31, 51, 0.06);
	--ssg-shadow-lift: 0 6px 14px rgba(10, 31, 51, 0.07), 0 20px 44px rgba(10, 31, 51, 0.13);
	--ssg-gradient: linear-gradient(128deg, #0A1F33 0%, #10334F 52%, #0C6B6B 130%);
	--ssg-gradient-teal: linear-gradient(135deg, #12908C, #0A6666);
	--ssg-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ssg-font-display: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
	--ssg-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

::selection {
	background: var(--ssg-teal);
	color: #fff;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
	overflow-x: clip;
	background: var(--ssg-bg);
	color: var(--ssg-text);
	font-family: var(--ssg-font);
	font-size: 1.0625rem;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ssg-teal-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: color 0.18s ease;
}

a:hover {
	color: var(--ssg-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid rgba(18, 144, 140, 0.55);
	outline-offset: 2px;
	border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--ssg-ink);
	line-height: 1.22;
	margin: 0 0 0.6em;
	font-weight: 700;
	letter-spacing: -0.012em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); }
h3 { font-size: 1.32rem; }

p { margin: 0 0 1.15em; }

/* Accessibility helpers */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ssg-ink);
	color: #fff;
	padding: 0.65rem 1.15rem;
	z-index: 200;
	border-radius: 0 0 10px 0;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Layout ---------- */

.ssg-container {
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 24px;
}

.site-main {
	padding: 0 0 5rem;
}

.content-narrow {
	max-width: 740px;
	margin: 0 auto;
}

/* Pages (About, Contact, landing-style content) get a wide layout;
   single posts keep the narrow reading column above. */
.content-wide {
	max-width: 1060px;
	margin: 0 auto;
}

/* The contact form should not stretch to the full page width. */
.content-wide .wpforms-container {
	max-width: 780px;
}

/* Wide tables (pricing) scroll sideways instead of breaking layout. */
.ssg-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.4rem 0;
}

.ssg-table-scroll table {
	margin: 0;
	min-width: 540px;
}

a.card-more {
	text-decoration: none;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--ssg-border-soft);
	box-shadow: 0 6px 24px rgba(10, 31, 51, 0.05);
	transition: box-shadow 0.25s ease;
}

/* Deeper, more deliberate shadow once the reader starts scrolling */
.site-header.is-scrolled {
	box-shadow: 0 12px 32px rgba(10, 31, 51, 0.14);
}

/* Reading progress bar (single posts, filled by JS) */
.ssg-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 130;
	pointer-events: none;
}

.ssg-progress-bar {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--ssg-teal), var(--ssg-gold));
}

/* Anchored sections must not hide under the sticky header */
section[id],
.ssg-section[id],
.entry-content h2[id] {
	scroll-margin-top: 96px;
}

/* Hairline gold-to-teal rule under the header */
.site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: linear-gradient(90deg, var(--ssg-gold) 0%, var(--ssg-teal) 45%, var(--ssg-ink) 100%);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 90px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

/* Custom logo lockup (wide, roughly 4:1) — sized by height with
   auto width. v1.3.1: enlarged at the owner's request, and the
   header shows the logo on its own (no text beside it — see
   header.php), so it needs to carry the brand by itself. */
.site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.site-branding .custom-logo {
	height: 66px;
	width: auto;
	max-width: 100%;
}

/* Gradient monogram mark next to the wordmark */
.logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--ssg-gradient-teal);
	color: #fff;
	font-family: var(--ssg-font-display);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 6px 14px rgba(12, 124, 124, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	flex-shrink: 0;
}

.site-title {
	font-size: 1.38rem;
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.022em;
	line-height: 1.15;
}

.site-title a {
	color: var(--ssg-ink);
	text-decoration: none;
}

.site-title a span {
	color: var(--ssg-teal);
}

.site-description {
	margin: 0.1rem 0 0;
	font-size: 0.78rem;
	color: var(--ssg-muted);
	line-height: 1.35;
	letter-spacing: 0.01em;
}

.main-navigation {
	display: flex;
	align-items: center;
	gap: 2.1rem;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 1.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Sub-menus (the Categories dropdown): a panel that stays hidden
   until the parent item is hovered or focused. */
.main-navigation .menu-item-has-children {
	position: relative;
}

.main-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translate(-50%, 6px);
	min-width: 232px;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	background: #fff;
	border: 1px solid var(--ssg-border-soft);
	border-radius: 14px;
	box-shadow: 0 24px 44px rgba(10, 31, 51, 0.14);
	padding: 0.55rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 120;
}

.main-navigation .menu-item-has-children:hover .sub-menu,
.main-navigation .menu-item-has-children:focus-within .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.main-navigation .sub-menu a {
	display: block;
	padding: 0.55rem 0.8rem;
	border-radius: 9px;
	font-size: 0.94rem;
}

.main-navigation .sub-menu a::after {
	display: none;
}

.main-navigation .sub-menu a:hover {
	background: #F7F9FC;
}

.main-navigation a {
	color: var(--ssg-text-soft);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.97rem;
	padding: 0.35rem 0;
	position: relative;
	transition: color 0.22s ease;
}

/* At rest, non-active items show no underline. On hover the gold rule
   sweeps in from the left; the single active item (deduplicated in
   functions.php) keeps a static full underline. */
.main-navigation a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--ssg-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.23s var(--ssg-ease);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
	transform: scaleX(1);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--ssg-ink);
}

.menu-toggle {
	display: none;
	background: var(--ssg-ink);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 0.6rem 1rem;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	min-height: 44px;
}

/* ---------- Buttons ---------- */

.ssg-btn,
.main-navigation .header-cta a,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--ssg-gradient-teal);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.3;
	padding: 0.85rem 1.8rem;
	border: 0;
	border-radius: 11px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(12, 124, 124, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.22);
	transition: transform 0.22s var(--ssg-ease), box-shadow 0.22s var(--ssg-ease), filter 0.22s ease;
}

/* v1.3.1: the light band that swept across primary CTAs on hover
   was removed — the owner found the moving light distracting.
   Buttons keep their colour/translate hover states below. */

.ssg-btn:hover,
.main-navigation .header-cta a:hover,
.wp-block-button__link:hover {
	color: #fff !important;
	filter: brightness(1.07);
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(10, 31, 51, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.main-navigation .header-cta a {
	padding: 0.6rem 1.2rem;
	font-size: 0.92rem;
}

/* The CTA is a filled button — it never carries the gold nav
   underline that .main-navigation a::after draws for plain links. */
.main-navigation .header-cta a::after {
	display: none;
}

.ssg-btn--light {
	background: #fff;
	color: var(--ssg-ink) !important;
	box-shadow: 0 10px 24px rgba(4, 20, 33, 0.30), inset 0 1px 0 #fff;
}

.ssg-btn--light:hover {
	background: #fff;
	color: var(--ssg-teal-dark) !important;
}

.ssg-btn--ghost {
	background: transparent;
	color: #fff !important;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

.ssg-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.10);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}

/* ---------- Hero (front page) ---------- */

.ssg-hero {
	background: var(--ssg-gradient);
	color: #fff;
	position: relative;
	overflow: hidden;
	margin-bottom: 0;
}

/* Faint oversized ring + glow, pure CSS decoration */
.ssg-hero::before {
	content: "";
	position: absolute;
	width: 640px;
	height: 640px;
	border-radius: 50%;
	border: 90px solid rgba(255, 255, 255, 0.045);
	top: -330px;
	right: -140px;
	pointer-events: none;
}

.ssg-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	/* Static glows only. v1.3.1 removed the animated light band
	   that drifted across the hero — no moving light anywhere. */
	background:
		radial-gradient(560px 340px at 88% 18%, rgba(232, 163, 61, 0.14), transparent 65%),
		radial-gradient(700px 480px at 8% 110%, rgba(18, 144, 140, 0.35), transparent 60%);
	pointer-events: none;
}

.ssg-hero-layout {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 3.5rem;
	align-items: center;
	padding: 4.8rem 0 5.4rem;
}

.ssg-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	padding: 0.42rem 1rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #DDE9F2;
	margin: 0 0 1.5rem;
}

.ssg-hero-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ssg-gold);
	box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.30);
}

.ssg-hero h1 {
	font-family: var(--ssg-font-display);
	font-weight: 700;
	color: #fff;
	font-size: clamp(2.5rem, 4.6vw, 3.6rem);
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 1.15rem;
}

.ssg-hero h1 .hero-accent {
	color: var(--ssg-gold-soft);
	font-style: italic;
	white-space: nowrap;
}

.ssg-hero-sub {
	font-size: 1.17rem;
	line-height: 1.65;
	color: rgba(226, 238, 246, 0.92);
	max-width: 520px;
	margin: 0 0 2.1rem;
}

.ssg-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-bottom: 2.3rem;
}

.ssg-hero-points {
	list-style: none;
	margin: 0;
	padding: 1.35rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.8rem;
}

.ssg-hero-points li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.94rem;
	font-weight: 600;
	color: #CFE0EC;
}

.ssg-hero-points .point-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(232, 163, 61, 0.22);
	color: var(--ssg-gold-soft);
	font-size: 0.72rem;
	font-weight: 800;
	flex-shrink: 0;
}

/* Right-side layered review panel (decorative composition) */
.ssg-hero-visual {
	position: relative;
	min-height: 340px;
}

.hero-panel {
	position: absolute;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 30px 60px rgba(3, 16, 27, 0.38);
	color: var(--ssg-text);
	padding: 1.35rem 1.5rem;
	text-align: left;
}

.hero-panel--main {
	width: 78%;
	right: 6%;
	top: 6px;
	transform: rotate(1.2deg);
	z-index: 2;
}

.hero-panel--chart {
	width: 56%;
	left: 0;
	bottom: 0;
	transform: rotate(-2deg);
	z-index: 3;
}

.hero-panel .panel-kicker {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ssg-muted);
	margin: 0 0 0.85rem;
}

.hero-panel .panel-row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.62rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ssg-text-soft);
}

.hero-panel .panel-row:last-child { margin-bottom: 0; }

.panel-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	border-radius: 6px;
	background: var(--ssg-teal-tint);
	color: var(--ssg-teal-dark);
	font-size: 0.68rem;
	font-weight: 800;
	flex-shrink: 0;
}

.panel-bar {
	flex: 1;
	height: 7px;
	border-radius: 4px;
	background: #E3EAF0;
	overflow: hidden;
}

.panel-bar i {
	display: block;
	height: 100%;
	border-radius: 4px;
	background: var(--ssg-gradient-teal);
}

.hero-panel .mini-bars {
	display: flex;
	align-items: flex-end;
	gap: 9px;
	height: 82px;
}

.hero-panel .mini-col {
	flex: 1;
	border-radius: 6px 6px 3px 3px;
	background: #B9CCDC;
}

.hero-panel .mini-col--a { background: var(--ssg-teal); }
.hero-panel .mini-col--b { background: var(--ssg-gold); }

/* ---------- Sections & cards ---------- */

.ssg-section {
	padding: 4.3rem 0 0.6rem;
}

.ssg-section--band {
	background: linear-gradient(180deg, var(--ssg-bg-band), var(--ssg-bg));
	border-top: 1px solid var(--ssg-border-soft);
	border-bottom: 1px solid var(--ssg-border-soft);
	margin-top: 4.3rem;
	padding: 3.9rem 0 3.3rem;
}

.ssg-section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 2.6rem;
}

.ssg-section-head h2 {
	font-family: var(--ssg-font-display);
	margin-bottom: 0.5rem;
}

/* Eyebrow with flanking rules */
.ssg-eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.17em;
	font-size: 0.76rem;
	font-weight: 800;
	color: var(--ssg-teal);
	margin: 0 0 0.85rem;
}

.ssg-eyebrow::before,
.ssg-eyebrow::after {
	content: "";
	width: 34px;
	height: 2px;
	border-radius: 2px;
	background: var(--ssg-gold);
	opacity: 0.85;
}

.ssg-section .section-intro,
.ssg-section-head .section-intro {
	color: var(--ssg-muted);
	font-size: 1.05rem;
	margin: 0;
}

.ssg-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

/* Reveal on scroll — JS adds .js-reveal to <body> and .ssg-reveal to
   targets ONLY when IntersectionObserver is available and motion is
   allowed. Without JS (or with reduced motion) nothing is ever hidden. */
.js-reveal .ssg-reveal {
	opacity: 0;
	transform: translateY(18px);
}

.js-reveal .ssg-reveal.is-inview {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.65s var(--ssg-ease), transform 0.65s var(--ssg-ease);
}

.ssg-card {
	background: var(--ssg-card);
	border: 1px solid var(--ssg-border-soft);
	border-radius: var(--ssg-radius);
	box-shadow: var(--ssg-shadow);
	padding: 1.85rem 1.7rem;
	position: relative;
	transition: transform 0.28s var(--ssg-ease), box-shadow 0.28s var(--ssg-ease), border-color 0.28s ease;
}

.ssg-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--ssg-shadow-lift);
	border-color: var(--ssg-border);
}

.ssg-card h3 {
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
	letter-spacing: -0.015em;
}

.ssg-card p {
	margin: 0;
	color: var(--ssg-text-soft);
	font-size: 0.97rem;
	line-height: 1.65;
}

/* Gradient icon tile */
.ssg-card .card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 15px;
	background: var(--ssg-gradient-teal);
	color: #fff;
	box-shadow: 0 8px 16px rgba(12, 124, 124, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.30);
	margin-bottom: 1.05rem;
	transition: transform 0.28s var(--ssg-ease);
}

.ssg-card:hover .card-icon {
	transform: translateY(-3px) rotate(-3deg);
}

.ssg-card .card-icon svg {
	display: block;
}

.ssg-card .card-icon--navy {
	background: linear-gradient(135deg, #1B3A56, #0A1F33);
	box-shadow: 0 8px 16px rgba(10, 31, 51, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ssg-card .card-icon--gold {
	background: linear-gradient(135deg, #EFAE4E, #D98A22);
	box-shadow: 0 8px 16px rgba(217, 138, 34, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Category cards */
.category-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 1.7rem;
	right: 1.7rem;
	height: 3px;
	border-radius: 0 0 4px 4px;
	background: linear-gradient(90deg, var(--ssg-teal), var(--ssg-gold));
	opacity: 0;
	transition: opacity 0.28s ease;
}

.category-card:hover::before {
	opacity: 1;
}

.card-more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--ssg-teal-dark);
}

.card-more .card-arrow {
	transition: transform 0.25s var(--ssg-ease);
}

.ssg-card:hover .card-arrow {
	transform: translateX(4px);
}

/* Post cards (latest reviews / archives) */

.post-card {
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
	height: 100%;
}

.post-card .post-card-thumb {
	display: block;
	overflow: hidden;
	position: relative;
}

/* Soft ink gradient settling into the bottom of the card image */
.post-card .post-card-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 31, 51, 0) 52%, rgba(10, 31, 51, 0.30) 100%);
	pointer-events: none;
}

.post-card .post-card-thumb img {
	display: block;
	width: 100%;
	height: 188px;
	object-fit: cover;
	transition: transform 0.5s var(--ssg-ease);
}

.post-card:hover .post-card-thumb img {
	transform: scale(1.045);
}

.post-card .post-card-body {
	padding: 1.5rem 1.6rem 1.7rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	flex: 1;
}

.post-card h3 {
	font-size: 1.19rem;
	line-height: 1.35;
	margin: 0;
}

.post-card h3 a {
	color: var(--ssg-ink);
	text-decoration: none;
}

.post-card h3 a:hover {
	color: var(--ssg-teal-dark);
}

.post-card .post-card-excerpt {
	color: var(--ssg-text-soft);
	font-size: 0.95rem;
	margin: 0;
	flex: 1;
}

.post-card .read-more {
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	color: var(--ssg-teal-dark);
	margin-top: 0.35rem;
	align-self: flex-start;
	transition: transform 0.25s var(--ssg-ease), color 0.2s ease;
}

.post-card .read-more:hover {
	text-decoration: underline;
}

/* The whole "Read review" line glides a touch as the card is hovered */
.post-card:hover .read-more {
	transform: translateX(4px);
}

.post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.55rem;
	font-size: 0.84rem;
	color: var(--ssg-muted);
	margin: 0;
}

/* Category chip on cards and articles */
.cat-chip {
	display: inline-block;
	background: var(--ssg-teal-tint);
	color: var(--ssg-teal-dark) !important;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-decoration: none !important;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	line-height: 1.2;
	transition: background 0.2s ease, color 0.2s ease;
}

.cat-chip:hover {
	background: var(--ssg-teal);
	color: #fff !important;
}

/* Trust band */

.ssg-trust-band {
	background: var(--ssg-gradient);
	border-radius: 20px;
	padding: 2.6rem 2.8rem;
	color: #fff;
	box-shadow: 0 24px 48px rgba(10, 31, 51, 0.25);
	position: relative;
	overflow: hidden;
}

.ssg-trust-band::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(420px 240px at 95% 0%, rgba(232, 163, 61, 0.16), transparent 65%);
	pointer-events: none;
}

.ssg-trust-band h2 {
	font-family: var(--ssg-font-display);
	color: #fff;
	text-align: center;
	font-size: 1.65rem;
	margin-bottom: 1.9rem;
	position: relative;
	z-index: 1;
}

.trust-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	position: relative;
	z-index: 1;
}

.trust-item {
	text-align: center;
	padding: 0 0.4rem;
}

.trust-item .trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: var(--ssg-gold-soft);
	margin-bottom: 0.7rem;
}

.trust-item h3 {
	color: #fff;
	font-size: 1.02rem;
	margin-bottom: 0.3rem;
}

.trust-item p {
	color: rgba(214, 229, 240, 0.88);
	font-size: 0.92rem;
	margin: 0;
	line-height: 1.6;
}

/* ---------- Articles ---------- */

.entry-header {
	margin: 3rem 0 1.5rem;
}

.entry-header .cat-chip {
	margin-bottom: 1rem;
}

.entry-title {
	font-family: var(--ssg-font-display);
	font-size: clamp(2.05rem, 4.4vw, 2.85rem);
	line-height: 1.16;
	letter-spacing: -0.008em;
	margin-bottom: 0.75rem;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.8rem;
	color: var(--ssg-muted);
	font-size: 0.92rem;
	margin: 0;
	padding-bottom: 1.4rem;
	border-bottom: 1px solid var(--ssg-border);
}

.entry-meta a {
	color: var(--ssg-muted);
}

.entry-meta .meta-sep {
	color: var(--ssg-gold);
	font-weight: 800;
}

/* "In this review" contents box — built by JS from the article's H2s.
   Absent entirely when JS is off or the article has fewer than 2 H2s. */
.ssg-toc {
	background: #fff;
	border: 1px solid var(--ssg-border-soft);
	border-left: 4px solid var(--ssg-gold);
	border-radius: 14px;
	box-shadow: var(--ssg-shadow);
	padding: 1.25rem 1.55rem 1.35rem;
	margin: 0 0 2.1rem;
}

.ssg-toc-title {
	font-family: var(--ssg-font-display);
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--ssg-ink);
	margin: 0 0 0.55rem;
}

.ssg-toc ol {
	margin: 0;
	padding-left: 1.25rem;
}

.ssg-toc li {
	margin: 0.32rem 0;
}

.ssg-toc li::marker {
	color: var(--ssg-gold);
	font-weight: 700;
}

.ssg-toc a {
	color: var(--ssg-text-soft);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.97rem;
}

.ssg-toc a:hover {
	color: var(--ssg-teal-dark);
	text-decoration: underline;
}

.post-thumbnail {
	margin: 0 0 2.2rem;
}

.post-thumbnail img {
	border-radius: var(--ssg-radius);
	box-shadow: var(--ssg-shadow-lift);
	width: 100%;
}

.entry-content {
	font-size: 1.09rem;
	line-height: 1.8;
	color: var(--ssg-text);
	overflow-wrap: break-word;
}

/* Inline links keep their underline; on hover a soft gold wash sweeps
   in behind the text. Buttons and chips are excluded on purpose. */
.entry-content a:not(.ssg-btn):not(.cat-chip) {
	background-image: linear-gradient(rgba(246, 200, 119, 0.55), rgba(246, 200, 119, 0.55));
	background-repeat: no-repeat;
	background-size: 0% 38%;
	background-position: 0 96%;
	transition: background-size 0.3s var(--ssg-ease), color 0.18s ease;
}

.entry-content a:not(.ssg-btn):not(.cat-chip):hover {
	background-size: 100% 38%;
}

/* Lead paragraph */
.entry-content > p:first-of-type {
	font-size: 1.19rem;
	line-height: 1.72;
	color: var(--ssg-text-soft);
}

.entry-content h2 {
	font-family: var(--ssg-font-display);
	margin-top: 2.1em;
	padding-bottom: 0.35em;
	position: relative;
}

.entry-content h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 52px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--ssg-teal), var(--ssg-gold));
}

.entry-content h3 { margin-top: 1.7em; }

.entry-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.8rem 0;
	background: #fff;
	border: 1px solid var(--ssg-border-soft);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--ssg-shadow);
	font-size: 0.97rem;
}

.entry-content th {
	background: var(--ssg-ink);
	color: #fff;
	text-align: left;
	padding: 0.8rem 1.05rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.entry-content td {
	padding: 0.75rem 1.05rem;
	border-bottom: 1px solid var(--ssg-border-soft);
	color: var(--ssg-text-soft);
}

.entry-content tr:last-child td { border-bottom: 0; }

.entry-content tr:nth-child(even) td {
	background: #F9FBFC;
}

.entry-content tbody tr {
	transition: background 0.18s ease;
}

.entry-content tbody tr:hover td {
	background: #EFF6F5;
}

.entry-content blockquote {
	margin: 2rem 0;
	padding: 1.3rem 1.6rem 1.3rem 3.4rem;
	background: var(--ssg-teal-tint);
	border-left: 4px solid var(--ssg-teal);
	border-radius: 0 14px 14px 0;
	color: var(--ssg-text);
	font-family: var(--ssg-font-display);
	font-size: 1.13rem;
	font-style: italic;
	line-height: 1.65;
	position: relative;
}

.entry-content blockquote::before {
	content: "\201C";
	position: absolute;
	top: 0.55rem;
	left: 1.05rem;
	font-family: var(--ssg-font-display);
	font-size: 2.7rem;
	font-style: normal;
	line-height: 1;
	color: var(--ssg-gold);
	opacity: 0.55;
}

.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.25em;
	padding-left: 1.35em;
}

.entry-content li { margin-bottom: 0.4em; }
.entry-content li::marker { color: var(--ssg-teal); font-weight: 700; }

.entry-content hr {
	border: 0;
	height: 1px;
	background: var(--ssg-border);
	margin: 2.4rem auto;
	width: 62%;
}

.entry-content img {
	border-radius: 12px;
}

.alignwide { max-width: 1220px; }
.alignfull { width: 100%; }

figure { margin: 1.6rem 0; }
figcaption {
	font-size: 0.88rem;
	color: var(--ssg-muted);
	text-align: center;
	margin-top: 0.55rem;
}

.page-links {
	margin: 1.6rem 0;
	font-weight: 600;
}

/* Prev / next + related */

.post-navigation {
	margin: 3.2rem 0 0;
	padding-top: 1.8rem;
	border-top: 1px solid var(--ssg-border);
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.post-navigation a {
	display: inline-block;
	background: #fff;
	border: 1px solid var(--ssg-border-soft);
	border-radius: var(--ssg-radius-sm);
	box-shadow: var(--ssg-shadow);
	padding: 0.8rem 1.2rem;
	font-weight: 700;
	font-size: 0.94rem;
	text-decoration: none;
	color: var(--ssg-ink);
	transition: transform 0.22s var(--ssg-ease), box-shadow 0.22s var(--ssg-ease);
}

.post-navigation a:hover {
	transform: translateY(-3px);
	box-shadow: var(--ssg-shadow-lift);
	color: var(--ssg-teal-dark);
}

.related-posts {
	margin-top: 3.6rem;
}

.related-posts > h2 {
	font-family: var(--ssg-font-display);
	font-size: 1.55rem;
	margin-bottom: 1.3rem;
}

/* Pagination */

.pagination,
.posts-navigation {
	margin: 2.8rem 0 0;
	text-align: center;
}

.page-numbers {
	display: inline-block;
	padding: 0.5rem 0.95rem;
	margin: 0 0.18rem;
	background: #fff;
	border: 1px solid var(--ssg-border-soft);
	border-radius: 10px;
	text-decoration: none;
	color: var(--ssg-text-soft);
	font-weight: 700;
	min-width: 44px;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ssg-ease);
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--ssg-ink);
	border-color: var(--ssg-ink);
	color: #fff;
	transform: translateY(-2px);
}

/* ---------- Review box + pros/cons shortcodes ---------- */

.ssg-review-box {
	display: grid;
	grid-template-columns: 190px 1fr;
	gap: 2rem;
	align-items: center;
	background: linear-gradient(180deg, #FFFFFF, #FBFCFD);
	border: 1px solid var(--ssg-border);
	border-radius: 20px;
	box-shadow: var(--ssg-shadow-lift);
	padding: 2rem 2.2rem;
	margin: 2.2rem 0;
	position: relative;
	overflow: hidden;
}

/* Full gradient top border: teal melting into gold and back */
.ssg-review-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--ssg-teal) 0%, var(--ssg-gold) 52%, var(--ssg-teal) 108%);
}

.ssg-review-side {
	text-align: center;
	border-right: 1px solid var(--ssg-border-soft);
	padding-right: 2rem;
}

.ssg-review-score-ring {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	background: #fff;
	border: 5px solid var(--ssg-teal);
	box-shadow:
		0 10px 24px rgba(12, 124, 124, 0.22),
		inset 0 0 0 5px var(--ssg-teal-tint),
		0 0 0 11px rgba(18, 144, 140, 0.07),
		0 0 38px rgba(232, 163, 61, 0.28);
	line-height: 1;
}

.ssg-review-score-ring .score-num {
	font-family: var(--ssg-font-display);
	font-size: 2.4rem;
	font-weight: 700;
	color: var(--ssg-ink);
	line-height: 1;
}

.ssg-review-score-ring .score-den {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--ssg-muted);
	margin-top: 0.3rem;
}

.ssg-review-main { text-align: left; }

.ssg-review-box .ssg-review-product {
	font-family: var(--ssg-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--ssg-ink);
	margin: 0 0 0.35rem;
}

.ssg-review-box .ssg-review-stars {
	font-size: 1.45rem;
	letter-spacing: 0.18em;
	color: var(--ssg-gold);
	line-height: 1.25;
}

.ssg-review-box .ssg-review-stars .star-empty {
	color: #DFE6EC;
}

.ssg-review-box .ssg-review-verdict {
	color: var(--ssg-text-soft);
	font-size: 1.04rem;
	line-height: 1.65;
	margin: 0.45rem 0 1.25rem;
	max-width: 480px;
}

.ssg-review-main .ssg-btn { margin-top: 0.1rem; }

/* Fallback layout when the box has no score (no side column) */
.ssg-review-box--simple {
	grid-template-columns: 1fr;
	text-align: center;
}

.ssg-review-box--simple .ssg-review-main { text-align: center; }
.ssg-review-box--simple .ssg-review-verdict { margin-left: auto; margin-right: auto; }

.ssg-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin: 2.2rem 0;
}

.ssg-pros,
.ssg-cons {
	border-radius: var(--ssg-radius);
	box-shadow: var(--ssg-shadow);
	padding: 1.5rem 1.6rem;
	border: 1px solid var(--ssg-border-soft);
	position: relative;
	overflow: hidden;
	transition: transform 0.28s var(--ssg-ease), box-shadow 0.28s var(--ssg-ease);
}

/* Slim gradient accent along the top of each pros/cons card */
.ssg-pros::before,
.ssg-cons::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
}

.ssg-pros::before { background: linear-gradient(90deg, var(--ssg-teal), rgba(12, 124, 124, 0)); }
.ssg-cons::before { background: linear-gradient(90deg, var(--ssg-red), rgba(192, 69, 47, 0)); }

.ssg-pros:hover,
.ssg-cons:hover {
	transform: translateY(-3px);
	box-shadow: var(--ssg-shadow-lift);
}

.ssg-pros { background: var(--ssg-green-tint); }
.ssg-cons { background: var(--ssg-red-tint); }

.ssg-pros h3,
.ssg-cons h3 {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 1.08rem;
	margin-bottom: 0.85rem;
}

.ssg-pros h3::before,
.ssg-cons h3::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 800;
	flex-shrink: 0;
}

.ssg-pros h3::before { content: "✓"; background: var(--ssg-teal); }
.ssg-cons h3::before { content: "✗"; background: var(--ssg-red); }

.ssg-pros ul,
.ssg-cons ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ssg-pros li,
.ssg-cons li {
	padding: 0.34rem 0 0.34rem 1.65rem;
	position: relative;
	color: var(--ssg-text-soft);
	font-size: 0.99rem;
}

.ssg-pros li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--ssg-teal-dark);
	font-weight: 800;
}

.ssg-cons li::before {
	content: "✗";
	position: absolute;
	left: 0;
	color: var(--ssg-red);
	font-weight: 800;
}

/* ---------- Comments ---------- */

.comments-area {
	margin-top: 3.6rem;
	background: #fff;
	border: 1px solid var(--ssg-border-soft);
	border-radius: var(--ssg-radius);
	box-shadow: var(--ssg-shadow);
	padding: 2.1rem;
}

.comments-area h2,
.comments-area h3 {
	font-family: var(--ssg-font-display);
}

.comment-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.comment-list .comment {
	padding: 1.05rem 0;
	border-bottom: 1px solid var(--ssg-border-soft);
}

.comment-author { font-weight: 700; color: var(--ssg-ink); }
.comment-metadata { font-size: 0.82rem; color: var(--ssg-muted); }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-form input[type="search"] {
	width: 100%;
	padding: 0.75rem 0.95rem;
	border: 1px solid var(--ssg-border);
	border-radius: 10px;
	font: inherit;
	background: #fff;
	color: var(--ssg-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus,
.search-form input:focus {
	border-color: var(--ssg-teal);
	outline: none;
	box-shadow: 0 0 0 3px rgba(18, 144, 140, 0.22);
}

.comment-form .submit,
.search-form .search-submit {
	background: var(--ssg-gradient-teal);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 0.75rem 1.6rem;
	font-weight: 700;
	cursor: pointer;
	min-height: 46px;
	box-shadow: 0 6px 16px rgba(12, 124, 124, 0.28);
	transition: filter 0.2s ease, transform 0.2s var(--ssg-ease);
}

.comment-form .submit:hover,
.search-form .search-submit:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--ssg-ink);
	color: #B9CCDC;
	margin-top: 5rem;
	position: relative;
}

.site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--ssg-gold) 0%, var(--ssg-teal) 48%, var(--ssg-gold) 105%);
}

.footer-columns {
	display: grid;
	grid-template-columns: 1.5fr 0.9fr 1fr 1.1fr;
	gap: 2.6rem;
	padding: 4.3rem 0 2.8rem;
}

/* Used when the Categories column is hidden (no post categories yet) */
.footer-columns--three {
	grid-template-columns: 1.6fr 1fr 1.2fr;
}

.footer-brand-row {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1.05rem;
}

/* Slightly larger brand block in the richer footer */
.footer-brand-row .logo-mark {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	font-size: 1.5rem;
}

.footer-col-brand p {
	max-width: 36ch;
}

.site-footer .footer-brand {
	color: #fff;
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
}

.site-footer .footer-brand span { color: var(--ssg-teal-bright); }

/* The footer shows the same logo as the header, on a white pill so
   the dark wordmark stays readable on the dark footer. */
.footer-logo-pill {
	display: inline-flex;
	align-items: center;
	background: #fff;
	border-radius: 14px;
	padding: 10px 18px;
	line-height: 0;
}

.footer-logo-img {
	height: 50px;
	width: auto;
	max-width: 100%;
}

.site-footer h3 {
	color: #fff;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.site-footer p {
	font-size: 0.94rem;
	line-height: 1.65;
	margin: 0 0 0.8rem;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer li { margin-bottom: 0.5rem; }

.site-footer a {
	color: #B9CCDC;
	text-decoration: none;
	font-size: 0.94rem;
	transition: color 0.18s ease;
}

.site-footer a:hover {
	color: var(--ssg-gold-soft);
}

.footer-contact-email {
	font-weight: 700;
	color: #fff !important;
	word-break: break-all;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 1.25rem 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	font-size: 0.87rem;
	color: #87A0B5;
}

/* ---------- Search / 404 / page headers ---------- */

.page-header {
	margin: 3rem 0 2rem;
}

.page-header h1 {
	font-family: var(--ssg-font-display);
}

.page-header .section-intro {
	color: var(--ssg-muted);
	font-size: 1.05rem;
	max-width: 600px;
}

.search-form { display: flex; gap: 0.6rem; max-width: 520px; }
.search-form label { flex: 1; }

.error-404 { text-align: center; padding: 3.5rem 0; }
.error-404 h1 { font-family: var(--ssg-font-display); }
.error-404 .search-form { margin: 1.6rem auto 0; }

.empty-state {
	background: #fff;
	border: 1.5px dashed var(--ssg-border);
	border-radius: var(--ssg-radius);
	padding: 2.6rem 2.2rem;
	text-align: center;
	color: var(--ssg-muted);
	grid-column: 1 / -1;
}

.empty-state p { margin: 0; font-size: 1.02rem; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.ssg-hero-layout {
		grid-template-columns: 1fr;
		gap: 2.8rem;
		padding: 3.8rem 0 4.4rem;
	}

	.ssg-hero-sub { max-width: 620px; }

	.ssg-hero-visual {
		min-height: 0;
		height: 300px;
		max-width: 520px;
	}

	.hero-panel--main { width: 76%; }
	.hero-panel--chart { width: 54%; }

	.main-navigation { gap: 1.2rem; }
	.main-navigation ul { gap: 1.05rem; }
	.site-branding .custom-logo { height: 58px; }

	.footer-columns { grid-template-columns: 1fr 1fr; }
	.footer-columns--three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.ssg-card-grid { grid-template-columns: repeat(2, 1fr); }
	.trust-items { grid-template-columns: 1fr; gap: 1.6rem; }
	.ssg-review-box { grid-template-columns: 1fr; text-align: center; }
	.ssg-review-side { border-right: 0; border-bottom: 1px solid var(--ssg-border-soft); padding: 0 0 1.4rem; }
	.ssg-review-main { text-align: center; }
	.ssg-review-box .ssg-review-verdict { margin-left: auto; margin-right: auto; }
}

@media (max-width: 680px) {
	.menu-toggle { display: inline-block; }

	.main-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--ssg-border-soft);
		box-shadow: 0 24px 40px rgba(10, 31, 51, 0.16);
		padding: 1.1rem 24px 1.4rem;
		flex-direction: column;
		align-items: stretch;
		gap: 0.8rem;
	}

	.main-navigation.is-open { display: flex; }

	.main-navigation ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0.2rem;
	}

	.main-navigation a {
		display: block;
		padding: 0.65rem 0;
	}

	.main-navigation a::after { display: none; }
	.main-navigation .header-cta a { text-align: center; justify-content: center; }

	.site-description { display: none; }
	.header-inner { min-height: 64px; }

	/* Logo steps down on phones but stays proportional, and the
	   width cap guarantees the menu toggle never overflows 360px. */
	.site-branding .custom-logo { height: auto; max-height: 48px; max-width: 62vw; }

	/* Sub-menus sit open and indented inside the mobile menu panel. */
	.main-navigation .sub-menu {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		border: 0;
		border-radius: 0;
		padding: 0 0 0.3rem 1rem;
		min-width: 0;
		background: transparent;
	}

	.main-navigation .sub-menu a { padding: 0.45rem 0; font-size: 0.95rem; }

	.ssg-container { padding: 0 18px; }
	.entry-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
	.content-wide .wpforms-container { max-width: 100%; }
	.site-footer { margin-top: 3.4rem; }

	.ssg-hero-layout { padding: 3rem 0 3.6rem; gap: 2.2rem; }
	.ssg-hero h1 { font-size: clamp(2.05rem, 10.5vw, 2.5rem); }
	.ssg-hero h1 .hero-accent { white-space: normal; }
	.ssg-hero-visual { display: none; }
	.ssg-hero-points { gap: 0.5rem 1.1rem; }
	.ssg-hero-actions .ssg-btn { flex: 1; justify-content: center; }

	.ssg-section { padding-top: 3.2rem; }
	.ssg-section--band { margin-top: 3.2rem; padding: 3rem 0 2.6rem; }

	.ssg-card-grid { grid-template-columns: 1fr; }
	.ssg-pros-cons { grid-template-columns: 1fr; }
	.footer-columns { grid-template-columns: 1fr; gap: 2rem; padding: 2.8rem 0 2rem; }
	.footer-bottom { justify-content: center; text-align: center; }

	.ssg-trust-band { padding: 2.1rem 1.5rem; }

	.post-card .post-card-thumb img { height: 200px; }
	.post-navigation .nav-links { flex-direction: column; }
	.entry-header { margin-top: 2.2rem; }
	.comments-area { padding: 1.5rem; }
	.ssg-review-box { padding: 1.6rem 1.25rem; }

	/* Wide tables scroll inside their own box instead of the page */
	.entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	/* Reveal states must never hide content for reduced-motion users */
	.js-reveal .ssg-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}
