/* ==========================================================================
   SundusGuide theme styles
   ========================================================================== */

@font-face {
	font-family: "Sora";
	src: url("../fonts/sora-latin.woff2") format("woff2");
	font-weight: 500 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Sans";
	src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
	font-weight: 400 600;
	font-style: normal;
	font-display: swap;
}

:root {
	--sg-ink: #0B1B33;
	--sg-ink-2: #22345A;
	--sg-teal: #0F766E;
	--sg-teal-dark: #0B5F58;
	--sg-teal-soft: #CCFBF1;
	--sg-teal-tint: #F0FDFA;
	--sg-teal-light: #5EEAD4;
	--sg-amber: #F59E0B;
	--sg-amber-dark: #D98A04;
	--sg-mist: #F7F8FA;
	--sg-mist-2: #F1F4F8;
	--sg-line: #E3E7EE;
	--sg-line-2: #B6C0CF;
	--sg-slate: #4B5565;
	--sg-text: #2A3445;
	--sg-on-dark: #C9D3E3;
	--sg-red: #B42318;
	--sg-white: #FFFFFF;

	--sg-font-head: "Sora", ui-sans-serif, system-ui, sans-serif;
	--sg-font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--sg-radius: 16px;
	--sg-radius-sm: 10px;
	--sg-max: 1200px;
	--sg-narrow: 800px;
	--sg-gutter: 24px;
	--sg-header-h: 72px;
}

/* --- Base ---------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sg-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	background: var(--sg-white);
	color: var(--sg-ink);
	font-family: var(--sg-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
svg { flex: none; }

a { color: var(--sg-teal); text-underline-offset: 3px; }
a:hover { color: var(--sg-ink); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sg-font-head);
	color: var(--sg-ink);
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 .5em;
}

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--sg-amber); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	position: fixed !important;
	top: 12px; left: 12px;
	z-index: 1000;
	width: auto; height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--sg-ink);
	color: var(--sg-white);
	border-radius: var(--sg-radius-sm);
	white-space: normal;
}

.sg-container {
	width: 100%;
	max-width: calc(var(--sg-max) + var(--sg-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--sg-gutter);
}
.sg-container--narrow { max-width: calc(var(--sg-narrow) + var(--sg-gutter) * 2); }

@media (max-width: 600px) {
	:root { --sg-gutter: 16px; }
	body { font-size: 16px; }
}

/* --- Buttons, chips, badges --------------------------------------------- */

.sg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 12px 20px;
	border: 0;
	border-radius: var(--sg-radius-sm);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.sg-btn--teal { background: var(--sg-teal); color: var(--sg-white); }
.sg-btn--teal:hover { background: var(--sg-teal-dark); color: var(--sg-white); }
.sg-btn--amber { background: var(--sg-amber); color: var(--sg-ink); font-weight: 700; }
.sg-btn--amber:hover { background: var(--sg-amber-dark); color: var(--sg-ink); }
.sg-btn--ghost { background: transparent; color: var(--sg-ink); border: 1px solid var(--sg-line); }

.sg-chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid var(--sg-line);
	border-radius: 999px;
	background: var(--sg-white);
	color: var(--sg-ink);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.sg-chip:hover { border-color: var(--sg-teal); color: var(--sg-teal); }
.sg-chip--dark { background: transparent; border-color: #33456A; color: var(--sg-white); }
.sg-chip--dark:hover { border-color: var(--sg-teal-light); color: var(--sg-teal-light); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.sg-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 8px;
	background: var(--sg-ink);
	color: var(--sg-white);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}
.sg-badge span[aria-hidden] { color: var(--sg-amber); }
.sg-badge--light { background: #FEF3C7; color: var(--sg-ink); }
.sg-badge--light span[aria-hidden] { color: var(--sg-amber-dark); }

.sg-kicker {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--sg-teal);
	text-decoration: none;
}
a.sg-kicker:hover { color: var(--sg-ink); }

.sg-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none;
}
.sg-link-arrow:hover { text-decoration: underline; }

.sg-eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sg-teal-light);
}

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

.sg-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--sg-line);
	backdrop-filter: saturate(1.4) blur(8px);
}
.admin-bar .sg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sg-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sg-header { top: 0; } }

.sg-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--sg-header-h);
}

.sg-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.custom-logo-link img { max-height: 44px; width: auto; }
.sg-wordmark { font-family: var(--sg-font-head); font-size: 24px; letter-spacing: -0.03em; line-height: 1; }
.sg-wordmark__a { font-weight: 700; color: var(--sg-ink); }
.sg-wordmark__b { font-weight: 500; color: var(--sg-teal); }
.sg-logo--footer .sg-wordmark { font-size: 22px; }
.sg-logo--footer .sg-wordmark__a { color: var(--sg-white); }
.sg-logo--footer .sg-wordmark__b { color: var(--sg-teal-light); }

.sg-nav { margin-left: auto; }
.sg-nav__list,
.sg-nav ul { list-style: none; margin: 0; padding: 0; }
.sg-nav__list { display: flex; align-items: center; gap: 4px; }
.sg-nav__list > li { position: relative; }
.sg-nav a {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--sg-ink);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
.sg-nav a:hover,
.sg-nav .current-menu-item > a,
.sg-nav .current-menu-ancestor > a { color: var(--sg-teal); }
.sg-nav .menu-item-has-children > a::after {
	content: "";
	width: 7px; height: 7px;
	margin: -3px 0 0 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
.sg-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	padding: 8px;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(11, 27, 51, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.sg-nav li:hover > .sub-menu,
.sg-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sg-nav .sub-menu a { padding: 10px 12px; }
.sg-nav .sub-menu a:hover { background: var(--sg-mist); }

.sg-header__actions { display: flex; align-items: center; gap: 8px; }
.sg-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-sm);
	background: var(--sg-white);
	color: var(--sg-ink);
	cursor: pointer;
}
.sg-iconbtn:hover { border-color: var(--sg-teal); color: var(--sg-teal); }
.sg-nav-toggle { display: none; }

.sg-searchbar { border-top: 1px solid var(--sg-line); background: var(--sg-mist); padding: 16px 0; }
.sg-searchbar .sg-searchform { max-width: 720px; margin-inline: auto; }

@media (max-width: 960px) {
	.sg-nav-toggle { display: inline-flex; }
	.sg-header__actions { margin-left: auto; }
	.sg-header__cta { display: none; }
	.sg-nav {
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		display: none;
		max-height: calc(100vh - var(--sg-header-h));
		overflow-y: auto;
		margin: 0;
		padding: 8px var(--sg-gutter) 20px;
		background: var(--sg-white);
		border-bottom: 1px solid var(--sg-line);
		box-shadow: 0 16px 32px rgba(11, 27, 51, .1);
	}
	.sg-nav.is-open { display: block; }
	.sg-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.sg-nav__list > li { border-bottom: 1px solid var(--sg-line); }
	.sg-nav a { padding: 12px 4px; font-size: 16px; }
	.sg-nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 8px 12px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.sg-nav .menu-item-has-children > a::after { display: none; }
}

/* --- Search form --------------------------------------------------------- */

.sg-searchform { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.sg-searchform__input {
	flex: 1 1 260px;
	min-width: 0;
	height: 52px;
	padding: 0 18px;
	border: 1px solid var(--sg-line);
	border-radius: 12px;
	background: var(--sg-white);
	color: var(--sg-ink);
	font-size: 16px;
}
.sg-searchform__input::placeholder { color: #6B7586; }
.sg-searchform__btn { height: 52px; padding: 0 24px; font-size: 16px; }

/* --- Hero (homepage) ----------------------------------------------------- */

.sg-hero { background: var(--sg-ink); color: var(--sg-white); }
.sg-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
	padding-block: 72px 80px;
}
.sg-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sg-hero__title {
	margin: 0;
	color: var(--sg-white);
	font-size: clamp(34px, 5vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.03em;
}
.sg-hero__lead { margin: 0; max-width: 560px; color: var(--sg-on-dark); font-size: 19px; }
.sg-hero .sg-searchform { max-width: 580px; }
.sg-hero .sg-searchform__input { border-color: transparent; }
.sg-hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--sg-on-dark); }

.sg-pick {
	flex: 1 1 360px;
	min-width: 0;
	max-width: 480px;
	overflow: hidden;
	background: var(--sg-white);
	color: var(--sg-ink);
	border-radius: 18px;
}
.sg-pick__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sg-mist-2); }
.sg-pick__media img,
.sg-pick__media .sg-card__ph { width: 100%; height: 100%; object-fit: cover; }
.sg-pick__flag {
	position: absolute;
	top: 14px; left: 14px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--sg-ink);
	color: var(--sg-white);
	font-size: 12px;
	font-weight: 600;
}
.sg-pick__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.sg-pick__score { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.sg-pick__title { margin: 0; font-size: 22px; line-height: 1.25; }
.sg-pick__title a { color: var(--sg-ink); text-decoration: none; }
.sg-pick__title a:hover { color: var(--sg-teal); }
.sg-pick__best { margin: 0; color: var(--sg-slate); font-size: 15px; }

@media (max-width: 600px) {
	.sg-hero__inner { padding-block: 40px 44px; gap: 32px; }
	.sg-hero__lead { font-size: 17px; }
}

/* --- Sections ------------------------------------------------------------ */

.sg-section { padding-block: 48px; }
.sg-section + .sg-section { padding-top: 16px; }
.sg-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
}
.sg-section__head h2 { margin: 0; font-size: clamp(24px, 3vw, 30px); }
.sg-section__head .sg-h3 { font-size: 22px; }
.sg-section__sub { margin: 6px 0 0; color: var(--sg-slate); }

/* --- Category tiles ------------------------------------------------------ */

.sg-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.sg-cat {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	border: 1px solid var(--sg-line);
	border-radius: 14px;
	background: var(--sg-white);
	color: var(--sg-ink);
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease;
}
.sg-cat:hover { border-color: var(--sg-teal); color: var(--sg-ink); transform: translateY(-2px); }
.sg-cat .sg-icon { color: var(--sg-teal); }
.sg-cat__name { font-weight: 600; font-size: 16px; line-height: 1.3; }
.sg-cat__count { font-size: 13px; color: var(--sg-slate); }

/* --- Cards --------------------------------------------------------------- */

.sg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.sg-grid__full { grid-column: 1 / -1; }

.sg-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius);
	background: var(--sg-white);
	transition: box-shadow .15s ease;
}
.sg-card:hover { box-shadow: 0 10px 30px rgba(11, 27, 51, .08); }
.sg-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sg-mist-2); }
.sg-card__img { width: 100%; height: 100%; object-fit: cover; }
.sg-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.sg-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sg-card__title { margin: 0; font-size: 19px; line-height: 1.3; }
.sg-card__title a { color: var(--sg-ink); text-decoration: none; }
.sg-card__title a:hover { color: var(--sg-teal); }
.sg-card__excerpt { margin: 0; color: var(--sg-slate); font-size: 15px; line-height: 1.55; }
.sg-card__meta { margin-top: auto; padding-top: 6px; color: var(--sg-slate); font-size: 13px; }

.sg-card__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%; height: 100%;
	padding: 16px;
	font-family: var(--sg-font-head);
	font-weight: 700;
	font-size: clamp(22px, 3vw, 32px);
	text-align: center;
	line-height: 1.1;
}
.sg-tint--teal { background: #CCFBF1; color: #134E4A; }
.sg-tint--indigo { background: #E0E7FF; color: #3730A3; }
.sg-tint--violet { background: #EDE9FE; color: #4C1D95; }
.sg-tint--green { background: #DCFCE7; color: #14532D; }
.sg-tint--amber { background: #FEF3C7; color: #78350F; }
.sg-tint--rose { background: #FCE7F3; color: #831843; }

/* Compact rows */
.sg-rows { display: flex; flex-direction: column; gap: 12px; }
.sg-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--sg-line);
	border-radius: 14px;
	background: var(--sg-white);
	color: var(--sg-ink);
	text-decoration: none;
}
.sg-row:hover { border-color: var(--sg-teal); color: var(--sg-ink); }
.sg-row__text { flex: 1; font-weight: 600; line-height: 1.35; }
.sg-row__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px; height: 44px;
	border-radius: 12px;
}
.sg-row__icon--vs { background: var(--sg-amber); color: var(--sg-ink); font-family: var(--sg-font-head); font-weight: 700; font-size: 13px; }
.sg-row__icon--guide { background: var(--sg-teal-soft); color: var(--sg-teal); }
.sg-row__thumb { flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; }
.sg-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sg-rows--compact .sg-row { padding: 10px 12px; font-size: 15px; }

.sg-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.sg-cols__col .sg-section__head { margin-bottom: 16px; }

/* --- Tables -------------------------------------------------------------- */

.sg-table-wrap { overflow-x: auto; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-white); }
.sg-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.sg-table th { padding: 14px 20px; background: var(--sg-mist-2); text-align: left; font-weight: 600; }
.sg-table td { padding: 16px 20px; border-top: 1px solid var(--sg-line); vertical-align: middle; }
.sg-table__muted { color: var(--sg-slate); }
.sg-table__end { text-align: right; white-space: nowrap; }
.sg-table__end a { font-weight: 600; }

/* --- Method + newsletter ------------------------------------------------- */

.sg-method { padding: 40px; border: 1px solid var(--sg-line); border-radius: 20px; background: var(--sg-white); }
.sg-method__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sg-method__steps li { display: flex; flex-direction: column; gap: 8px; }
.sg-method__steps strong { font-size: 17px; }
.sg-method__steps span:last-child { color: var(--sg-slate); font-size: 15px; line-height: 1.55; }
.sg-method__num { font-family: var(--sg-font-head); font-weight: 700; font-size: 28px; color: var(--sg-teal); }

.sg-newsletter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 44px 40px;
	border-radius: 20px;
	background: var(--sg-teal);
	color: var(--sg-white);
}
.sg-newsletter__text { flex: 1 1 360px; }
.sg-newsletter__text h2 { margin: 0 0 6px; color: var(--sg-white); font-size: 28px; }
.sg-newsletter__text p { margin: 0; color: #D5F5EF; }
.sg-newsletter__form { flex: 1 1 360px; }
.sg-newsletter__form input[type="email"],
.sg-newsletter__form input[type="text"] {
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border: 0;
	border-radius: 12px;
	color: var(--sg-ink);
}
.sg-newsletter__form button,
.sg-newsletter__form input[type="submit"] {
	min-height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: 12px;
	background: var(--sg-ink);
	color: var(--sg-white);
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 600px) {
	.sg-method, .sg-newsletter { padding: 28px 20px; }
}

/* --- Page head (articles, pages, archives) ------------------------------ */

.sg-pagehead { background: var(--sg-mist); border-bottom: 1px solid var(--sg-line); }
.sg-pagehead__inner { display: flex; flex-direction: column; gap: 14px; padding-block: 32px 36px; }
.sg-pagehead__title { max-width: 900px; margin: 0; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; }
.sg-pagehead__lead { max-width: 760px; margin: 0; color: var(--sg-slate); font-size: 18px; }
.sg-pagehead__search { max-width: 640px; }
.sg-pagehead__author { display: flex; align-items: center; gap: 20px; }
.sg-pagehead__author img { border-radius: 50%; }

.sg-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--sg-slate); }
.sg-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sg-line-2); }
.sg-crumbs a { color: var(--sg-teal); text-decoration: none; }
.sg-crumbs a:hover { text-decoration: underline; }
.sg-crumbs [aria-current] { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--sg-slate); font-size: 15px; }
.sg-meta a { font-weight: 600; text-decoration: none; }
.sg-meta__avatar { border-radius: 50%; }
.sg-meta__sep { color: var(--sg-line-2); }

.sg-disclosure {
	display: flex;
	gap: 8px;
	max-width: 900px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-sm);
	background: var(--sg-white);
	color: var(--sg-slate);
	font-size: 13px;
	line-height: 1.5;
}
.sg-disclosure .sg-icon { margin-top: 2px; color: var(--sg-teal); }

/* --- Article layout ------------------------------------------------------ */

.sg-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 48px;
	padding-block: 40px 64px;
}
.sg-article { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.sg-sidebar { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sg-sidebar__sticky { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1040px) {
	.sg-sidebar { max-width: 340px; }
	.sg-sidebar__sticky { position: sticky; top: calc(var(--sg-header-h) + 24px); }
	.admin-bar .sg-sidebar__sticky { top: calc(var(--sg-header-h) + 56px); }
}

.sg-box { padding: 22px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-white); }
.sg-box__title { margin: 0 0 12px; font-family: var(--sg-font-head); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

.sg-article__hero { margin: 0; overflow: hidden; border-radius: 18px; }
.sg-article__hero img { width: 100%; }

/* TOC */
.sg-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.sg-toc li { counter-increment: toc; }
.sg-toc a {
	display: flex;
	gap: 10px;
	padding: 7px 0;
	color: var(--sg-slate);
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
}
.sg-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--sg-line-2); font-variant-numeric: tabular-nums; font-size: 13px; padding-top: 1px; }
.sg-toc a:hover, .sg-toc a.is-active { color: var(--sg-teal); }
.sg-toc a.is-active::before { color: var(--sg-teal); }
.sg-toc--inline { display: none; border: 1px solid var(--sg-line); border-radius: 14px; padding: 4px 18px; }
.sg-toc--inline summary,
.sg-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.sg-toc--inline summary::-webkit-details-marker,
.sg-faq summary::-webkit-details-marker { display: none; }
details[open] > summary .sg-icon--chevron { transform: rotate(180deg); }
.sg-toc--inline ol { padding-bottom: 12px; }
@media (max-width: 1039px) {
	.sg-toc--inline { display: block; }
	.sg-toc--sidebar { display: none; }
}

/* Verdict */
.sg-verdict { overflow: hidden; border: 2px solid var(--sg-ink); border-radius: 18px; }
.sg-verdict__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 26px;
	background: var(--sg-ink);
	color: var(--sg-white);
}
.sg-verdict__score-wrap { display: flex; align-items: center; gap: 18px; min-width: 0; }
.sg-verdict__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 78px; height: 78px;
	border-radius: 16px;
	background: var(--sg-amber);
	color: var(--sg-ink);
	line-height: 1;
}
.sg-verdict__num { font-family: var(--sg-font-head); font-weight: 700; font-size: 30px; }
.sg-verdict__out { margin-top: 4px; font-size: 12px; font-weight: 600; }
.sg-verdict__label { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-teal-light); }
.sg-verdict__text { margin: 0; font-family: var(--sg-font-head); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--sg-white); }
.sg-verdict__best { margin: 6px 0 0; font-size: 14px; color: var(--sg-on-dark); }
.sg-verdict__best strong { color: var(--sg-white); }
.sg-verdict__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sg-verdict__price { font-size: 13px; color: var(--sg-on-dark); }
.sg-verdict__body {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	padding: 24px 26px;
	font-size: 15px;
	line-height: 1.5;
}
.sg-verdict__h { margin: 0 0 10px; font-family: var(--sg-font-body); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.sg-verdict__h--pro { color: var(--sg-teal); }
.sg-verdict__h--con { color: var(--sg-red); }

.sg-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sg-list li { display: flex; gap: 8px; }
.sg-list .sg-icon { margin-top: 2px; }
.sg-list--pro .sg-icon { color: var(--sg-teal); }
.sg-list--con .sg-icon { color: var(--sg-red); }

.sg-bars { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sg-bars__row { display: flex; justify-content: space-between; font-size: 14px; }
.sg-bars__track { display: block; height: 6px; margin-top: 4px; border-radius: 999px; background: var(--sg-line); }
.sg-bars__fill { display: block; height: 6px; border-radius: 999px; background: var(--sg-teal); }

/* End CTA */
.sg-endcta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px;
	border-radius: var(--sg-radius);
	background: var(--sg-teal-tint);
}
.sg-endcta p { margin: 0; font-family: var(--sg-font-head); font-weight: 600; font-size: 18px; color: var(--sg-ink); }

/* FAQ */
.sg-faq h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 8px; }
.sg-faq__item { border-bottom: 1px solid var(--sg-line); padding: 8px 0; }
.sg-faq__item:first-of-type { border-top: 1px solid var(--sg-line); }
.sg-faq__item p { margin: 4px 0 12px; color: var(--sg-text); }

/* Author */
.sg-author { display: flex; align-items: flex-start; gap: 18px; padding: 24px; border-radius: 18px; background: var(--sg-mist); }
.sg-author__avatar { flex: none; border-radius: 50%; }
.sg-author__body { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.sg-author__name { margin: 0; font-family: var(--sg-font-head); font-weight: 600; font-size: 18px; }
.sg-author__bio { margin: 0; color: var(--sg-text); }

.sg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sg-tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--sg-mist-2); color: var(--sg-slate); font-size: 13px; text-decoration: none; }

/* --- Prose (post + page content) ---------------------------------------- */

.sg-prose { color: var(--sg-text); font-size: 18px; line-height: 1.75; overflow-wrap: break-word; }
.sg-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.sg-prose > *:last-child { margin-bottom: 0; }
.sg-prose h2 { margin-top: 1.8em; margin-bottom: .55em; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; }
.sg-prose h3 { margin-top: 1.5em; margin-bottom: .45em; font-size: 21px; line-height: 1.3; }
.sg-prose h4 { margin-top: 1.4em; font-size: 18px; }
.sg-prose a { color: var(--sg-teal); font-weight: 500; }
.sg-prose strong { color: var(--sg-ink); }
.sg-prose ul, .sg-prose ol { padding-left: 1.3em; }
.sg-prose li { margin-bottom: .45em; }
.sg-prose li::marker { color: var(--sg-teal); }
.sg-prose img { height: auto; border-radius: 12px; }
.sg-prose figure { margin-inline: 0; }
.sg-prose figcaption,
.sg-prose .wp-element-caption { margin-top: 8px; color: var(--sg-slate); font-size: 14px; text-align: center; }
.sg-prose blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--sg-teal);
	color: var(--sg-ink);
	font-size: 20px;
}
.sg-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.sg-prose .wp-block-table { overflow-x: auto; border: 1px solid var(--sg-line); border-radius: 14px; }
.sg-prose .wp-block-table table { min-width: 520px; }
.sg-prose th, .sg-prose td { padding: 12px 16px; border-bottom: 1px solid var(--sg-line); text-align: left; vertical-align: top; }
.sg-prose thead th, .sg-prose th { background: var(--sg-mist-2); font-weight: 600; color: var(--sg-ink); }
.sg-prose tr:last-child td { border-bottom: 0; }
.sg-prose hr { border: 0; border-top: 1px solid var(--sg-line); margin-block: 2em; }
.sg-prose code { padding: 2px 6px; border-radius: 6px; background: var(--sg-mist-2); font-size: .9em; }
.sg-prose .wp-block-button__link { border-radius: var(--sg-radius-sm); background: var(--sg-teal); font-weight: 600; }

/* Content helper boxes (used in articles) */
.sg-prose .sg-note,
.sg-prose .is-style-sg-tip { padding: 18px 22px; border-radius: 14px; background: var(--sg-teal-tint); color: #134E4A; font-size: 16px; }
.sg-prose .sg-procon {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}
.sg-prose .sg-procon > div { padding: 18px 22px; border: 1px solid var(--sg-line); border-radius: 14px; }
.sg-prose .sg-procon h3 { margin-top: 0; font-size: 17px; }

/* Plain pages */
.sg-page { padding-block: 40px 72px; }

/* --- Ads ----------------------------------------------------------------- */

.sg-ad { margin: 8px auto; text-align: center; clear: both; }
.sg-ad__label { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-slate); }
.sg-ad--header { max-width: 970px; margin-block: 24px; }
.sg-ad--sidebar { min-height: 250px; }
.sg-ad--placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 110px;
	padding: 16px;
	border: 1px dashed var(--sg-line-2);
	border-radius: 8px;
	background: var(--sg-mist);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--sg-slate);
}
.sg-ad--placeholder small { text-transform: none; letter-spacing: 0; }
.sg-ad--placeholder.sg-ad--sidebar { min-height: 600px; }
.sg-ad--placeholder.sg-ad--in_article { min-height: 250px; }

/* --- Archive bits -------------------------------------------------------- */

.sg-pagination { margin-top: 40px; }
.sg-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sg-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-sm);
	color: var(--sg-ink);
	font-weight: 600;
	text-decoration: none;
}
.sg-pagination .page-numbers.current { background: var(--sg-ink); border-color: var(--sg-ink); color: var(--sg-white); }
.sg-pagination a.page-numbers:hover { border-color: var(--sg-teal); color: var(--sg-teal); }

.sg-empty { max-width: 640px; margin: 24px auto; text-align: center; }
.sg-empty .sg-searchform { margin-block: 20px; }

.sg-404 { padding-block: 72px; text-align: center; }
.sg-404__code { margin: 0; font-family: var(--sg-font-head); font-weight: 700; font-size: 96px; line-height: 1; color: var(--sg-teal); }
.sg-404 .sg-searchform { max-width: 560px; margin: 24px auto; }
.sg-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin: 0; padding: 0; list-style: none; font-weight: 600; }

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

.sg-comments { padding-top: 8px; }
.sg-comments__list { padding: 0; list-style: none; }
.sg-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--sg-line); }
.sg-comments .children { list-style: none; padding-left: 24px; }
.sg-comments textarea,
.sg-comments input[type="text"],
.sg-comments input[type="email"],
.sg-comments input[type="url"] { width: 100%; padding: 12px 14px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius-sm); }

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

.sg-footer { margin-top: 24px; background: var(--sg-ink); color: var(--sg-on-dark); font-size: 14px; }
.sg-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	padding-block: 56px 32px;
}
.sg-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.sg-footer__brand p { margin: 0; line-height: 1.6; }
.sg-footer__title { margin: 0 0 12px; font-family: var(--sg-font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--sg-white); }
.sg-footer ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sg-footer a { display: inline-block; padding: 4px 0; color: var(--sg-on-dark); text-decoration: none; }
.sg-footer a:hover { color: var(--sg-white); text-decoration: underline; }
.sg-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-block: 20px 32px;
	border-top: 1px solid var(--sg-ink-2);
	font-size: 13px;
}

/* Header and footer keep their colours even on Elementor pages (Site Settings can style h2 and a) */
.sg-header .sg-nav a { color: var(--sg-ink); font-family: var(--sg-font-body); }
.sg-header .sg-nav a:hover,
.sg-header .sg-nav .current-menu-item > a,
.sg-header .sg-nav .current-menu-ancestor > a { color: var(--sg-teal); }
.sg-header .sg-nav .sg-menu-cta > a,
.sg-header .sg-nav .sg-menu-cta > a:hover { color: var(--sg-white); }
.sg-header .sg-logo,
.sg-footer .sg-logo { text-decoration: none; }
.sg-footer .sg-footer__title { color: var(--sg-white); font-family: var(--sg-font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.sg-footer.sg-footer a { color: var(--sg-on-dark); font-family: var(--sg-font-body); }
.sg-footer.sg-footer a:hover { color: var(--sg-white); }
.sg-footer.sg-footer .sg-social__link { color: var(--sg-white); }
.sg-footer p, .sg-footer span { font-family: var(--sg-font-body); }

/* --- Elementor ----------------------------------------------------------- */

.sg-elementor-content,
.sg-fullwidth { min-height: 40vh; }
.sg-elementor-page .sg-site-content { overflow-x: clip; }

/* --- WordPress core classes --------------------------------------------- */

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { }

/* ==========================================================================
   Designed pages (About, Contact, How we review, policies…)
   ========================================================================== */

/* Page hero */
.sg-phero { position: relative; overflow: hidden; background: var(--sg-ink); color: var(--sg-white); }
.sg-phero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; padding-block: 44px 52px; }
.sg-phero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sg-phero__title { margin: 0; color: var(--sg-white); font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
.sg-phero__lead { margin: 0; max-width: 600px; color: var(--sg-on-dark); font-size: 19px; line-height: 1.6; }
.sg-phero__meta { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--sg-teal-light); font-size: 14px; font-weight: 500; }
.sg-phero .sg-crumbs ol { color: var(--sg-on-dark); }
.sg-phero .sg-crumbs a { color: var(--sg-teal-light); }
.sg-phero .sg-crumbs li + li::before { color: #4A5C7E; }
.sg-phero__art { flex: 0 1 440px; min-width: 0; margin-left: auto; }
.sg-illus { display: block; width: 100%; height: auto; }
.sg-phero--legal .sg-phero__inner { padding-block: 36px 40px; }
.sg-phero--legal .sg-phero__art { flex-basis: 300px; }
@media (max-width: 760px) {
	.sg-phero__art { flex-basis: 100%; max-width: 340px; margin: 0 auto; }
	.sg-phero--legal .sg-phero__art { display: none; }
	.sg-phero__lead { font-size: 17px; }
}

/* Wide designed content */
.sg-page--designed { padding-block: 56px 72px; }
.sg-prose--wide { max-width: none; }
.sg-prose--wide > p,
.sg-prose--wide > ul,
.sg-prose--wide > ol,
.sg-prose--wide > h2,
.sg-prose--wide > h3,
.sg-prose--wide > .wp-block-table { max-width: 820px; }
.sg-prose--wide > .wp-block-group,
.sg-prose--wide > .wp-block-columns,
.sg-prose--wide > .wp-block-media-text { margin-top: 56px; margin-bottom: 56px; }
.sg-prose--wide > *:first-child { margin-top: 0; }

.sg-prose .sg-intro { max-width: 860px; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.55; color: var(--sg-ink); }
.sg-prose .sg-eyebrow-dark { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sg-teal); }
.sg-prose .sg-section-head { max-width: 760px; margin-bottom: 24px; }
.sg-prose .sg-section-head h2 { margin-top: 0; }
.sg-prose .sg-section-head p { margin-bottom: 0; color: var(--sg-slate); }

/* Stat strip */
.sg-prose .wp-block-columns.sg-stats { gap: 0; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-white); overflow: hidden; }
.sg-prose .sg-stats > .wp-block-column { padding: 26px 28px; border-left: 1px solid var(--sg-line); }
.sg-prose .sg-stats > .wp-block-column:first-child { border-left: 0; }
.sg-prose .sg-stats p { margin: 0; }
.sg-prose .sg-stats .sg-stat__num { font-family: var(--sg-font-head); font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; color: var(--sg-teal); }
.sg-prose .sg-stats .sg-stat__label { margin-top: 6px; font-size: 15px; color: var(--sg-slate); line-height: 1.45; }
@media (max-width: 781px) {
	.sg-prose .sg-stats > .wp-block-column { border-left: 0; border-top: 1px solid var(--sg-line); }
	.sg-prose .sg-stats > .wp-block-column:first-child { border-top: 0; }
}

/* Feature cards with icons */
.sg-prose .wp-block-columns.sg-cards { gap: 20px; }
.sg-prose .sg-cards > .wp-block-column {
	padding: 26px 24px 24px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius);
	background: var(--sg-white);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.sg-prose .sg-cards > .wp-block-column:hover { border-color: #9FD9D1; box-shadow: 0 10px 28px rgba(11, 27, 51, .07); }
.sg-prose .sg-cards h3 { margin: 14px 0 8px; font-size: 19px; }
.sg-prose .sg-cards p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sg-text); }
.sg-prose .sg-cards p + p { margin-top: 10px; }

[class*="sg-ico-"]::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background-color: var(--sg-teal-soft);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px 24px;
}
.sg-ico-search::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }
.sg-ico-scale::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M5 21h14M6 7h12M6 7l-3 7a3 3 0 0 0 6 0zM18 7l-3 7a3 3 0 0 0 6 0z'/%3E%3C/svg%3E"); }
.sg-ico-refresh::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.7-4.3L4 9M4 4v5h5M4 13a8 8 0 0 0 14.7 4.3L20 15M20 20v-5h-5'/%3E%3C/svg%3E"); }
.sg-ico-coin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9.5c-.5-1-1.6-1.5-3-1.5-1.7 0-3 .9-3 2s1.3 1.7 3 2 3 .9 3 2-1.3 2-3 2c-1.4 0-2.5-.5-3-1.5M12 6v2M12 16v2'/%3E%3C/svg%3E"); }
.sg-ico-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.sg-ico-user::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.sg-ico-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.sg-ico-clock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.sg-ico-edit::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1L19 8l-3-3L5 16z'/%3E%3Cpath d='M14 7l3 3'/%3E%3C/svg%3E"); }
.sg-ico-link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
.sg-ico-chart::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M15 7h6v6'/%3E%3C/svg%3E"); }
.sg-ico-star::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.6 6.1.8-4.5 4.2 1.1 6.1L12 16.8 6.6 19.7l1.1-6.1L3.2 9.4l6.1-.8z'/%3E%3C/svg%3E"); }
.sg-ico-bot::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='8' width='16' height='11' rx='3'/%3E%3Cpath d='M12 4v4M9 13h.01M15 13h.01M2 13v2M22 13v2'/%3E%3C/svg%3E"); }
.sg-ico-megaphone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11v3a1 1 0 0 0 1 1h3l6 4V6L7 10H4a1 1 0 0 0-1 1zM17 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E"); }
.sg-ico-x::before { background-color: #FEE4E2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.sg-ico-check::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

/* Numbered steps */
.sg-prose--wide { counter-reset: sgstep; }
.sg-prose .wp-block-columns.sg-steps { gap: 20px; }
.sg-prose .sg-steps > .wp-block-column { counter-increment: sgstep; padding: 26px 24px; border-radius: var(--sg-radius); background: var(--sg-mist); border: 1px solid var(--sg-line); }
.sg-prose .sg-steps > .wp-block-column::before { content: counter(sgstep, decimal-leading-zero); display: block; font-family: var(--sg-font-head); font-weight: 700; font-size: 30px; color: var(--sg-teal); line-height: 1; }
.sg-prose .sg-steps h3 { margin: 12px 0 8px; font-size: 19px; }
.sg-prose .sg-steps p { margin: 0; font-size: 16px; line-height: 1.6; }

/* Image + text (columns with an image) */
.sg-prose .wp-block-columns.sg-split { gap: 56px; }
.sg-prose .sg-split h2 { margin-top: 0; }
.sg-prose .sg-shot { margin: 0; }
.sg-prose .sg-shot img { width: 100%; border-radius: 22px; box-shadow: 0 24px 56px rgba(11, 27, 51, .16); }
@media (max-width: 781px) {
	.sg-prose .wp-block-columns.sg-split { gap: 28px; }
}

/* Two side-by-side panels */
.sg-prose .wp-block-columns.sg-panel-cols { gap: 20px; }
.sg-prose .sg-panel-cols > .wp-block-column { padding: 30px 32px; border-radius: 20px; background: var(--sg-mist); border: 1px solid var(--sg-line); }
.sg-prose .sg-panel-cols h3 { margin-top: 0; }
.sg-prose .sg-panel-cols ul { margin-bottom: 0; }

/* Soft panel */
.sg-prose .sg-panel { padding: 36px 40px; border-radius: 20px; background: var(--sg-mist); border: 1px solid var(--sg-line); }
.sg-prose .sg-panel > *:first-child { margin-top: 0; }
.sg-prose .sg-panel > *:last-child { margin-bottom: 0; }
.sg-prose .sg-panel--teal { background: var(--sg-teal-tint); border-color: #B7EBE3; }

/* Call-to-action band */
.sg-prose .sg-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding: 40px 44px;
	border-radius: 20px;
	background: var(--sg-ink);
	color: var(--sg-on-dark);
}
.sg-prose .sg-cta h2 { margin: 0 0 6px; color: var(--sg-white); font-size: clamp(24px, 2.8vw, 30px); }
.sg-prose .sg-cta p { margin: 0; color: var(--sg-on-dark); }
.sg-prose .sg-cta .sg-cta__text { flex: 1 1 380px; }
.sg-prose .sg-cta .wp-block-buttons { margin: 0; }
.sg-prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: var(--sg-radius-sm); background: var(--sg-teal); color: var(--sg-white); font-size: 16px; font-weight: 600; text-decoration: none; }
.sg-prose .wp-block-button__link:hover { background: var(--sg-teal-dark); color: var(--sg-white); }
.sg-prose .sg-cta .wp-block-button__link { background: var(--sg-amber); color: var(--sg-ink); font-weight: 700; }
.sg-prose .sg-cta .wp-block-button__link:hover { background: var(--sg-amber-dark); color: var(--sg-ink); }
.sg-prose .sg-cta .is-style-outline .wp-block-button__link { background: transparent; border: 2px solid #33456A; color: var(--sg-white); }
.sg-prose .sg-cta .is-style-outline .wp-block-button__link:hover { border-color: var(--sg-teal-light); color: var(--sg-teal-light); }
@media (max-width: 600px) {
	.sg-prose .sg-cta, .sg-prose .sg-panel { padding: 28px 22px; }
}

/* Tick and cross lists */
.sg-prose .sg-ticks,
.sg-prose .sg-crosses { list-style: none; padding-left: 0; }
.sg-prose .sg-ticks li,
.sg-prose .sg-crosses li { position: relative; padding-left: 34px; }
.sg-prose .sg-ticks li::before,
.sg-prose .sg-crosses li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 13px; }
.sg-prose .sg-ticks li::before { background-color: var(--sg-teal-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.sg-prose .sg-crosses li::before { background-color: #FEE4E2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }

/* Score scale (How we review) */
.sg-prose .wp-block-columns.sg-scale { gap: 12px; }
.sg-prose .sg-scale > .wp-block-column { padding: 20px; border-radius: 14px; border: 1px solid var(--sg-line); background: var(--sg-white); }
.sg-prose .sg-scale p { margin: 0; font-size: 15px; line-height: 1.5; }
.sg-prose .sg-scale .sg-scale__score { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 8px; background: var(--sg-ink); color: var(--sg-white); font-family: var(--sg-font-head); font-weight: 700; font-size: 15px; }
.sg-prose .sg-scale > .wp-block-column:nth-child(1) .sg-scale__score { background: var(--sg-teal); }
.sg-prose .sg-scale > .wp-block-column:nth-child(2) .sg-scale__score { background: #2F8F86; }
.sg-prose .sg-scale > .wp-block-column:nth-child(3) .sg-scale__score { background: var(--sg-amber); color: var(--sg-ink); }
.sg-prose .sg-scale > .wp-block-column:nth-child(4) .sg-scale__score { background: var(--sg-red); }

/* Classic themes wrap group content in .wp-block-group__inner-container */
.sg-prose .wp-block-group > .wp-block-group__inner-container > *:first-child { margin-top: 0; }
.sg-prose .wp-block-group > .wp-block-group__inner-container > *:last-child { margin-bottom: 0; }
.sg-prose .sg-cta > .wp-block-group__inner-container { display: contents; }
.sg-prose .sg-section-head > .wp-block-group__inner-container > p:last-child { color: var(--sg-slate); }
.sg-prose .sg-info > .wp-block-group > .wp-block-group__inner-container { grid-column: 2; }
.sg-prose .sg-info > .wp-block-group > .wp-block-group__inner-container > * { margin: 0; }
.sg-prose .sg-info > .wp-block-group > .wp-block-group__inner-container > * + * { margin-top: 4px; }

/* Legal layout */
.sg-legal { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; padding-block: 48px 72px; }
.sg-legal__side { flex: 1 1 260px; max-width: 300px; min-width: 0; }
.sg-legal__sticky { display: flex; flex-direction: column; gap: 20px; }
.sg-legal__body { flex: 999 1 560px; min-width: 0; max-width: 820px; }
.sg-legal__help p { margin: 0 0 14px; font-size: 15px; color: var(--sg-slate); }
.sg-legal .sg-toc--sidebar { display: block; }
.sg-legal__body h2 { padding-top: 8px; font-size: clamp(22px, 2.6vw, 26px); }
@media (min-width: 1040px) {
	.sg-legal__sticky { position: sticky; top: calc(var(--sg-header-h) + 24px); }
	.admin-bar .sg-legal__sticky { top: calc(var(--sg-header-h) + 56px); }
}
@media (max-width: 900px) {
	.sg-legal__side { max-width: none; order: 2; }
	.sg-legal .sg-toc--sidebar { display: none; }
}

/* Contact page */
.sg-prose .wp-block-columns.sg-contact { gap: 32px; align-items: flex-start; }
.sg-prose .sg-contact > .wp-block-column:first-child { padding: 32px; border: 1px solid var(--sg-line); border-radius: 20px; background: var(--sg-white); box-shadow: 0 18px 44px rgba(11, 27, 51, .07); }
.sg-prose .sg-contact > .wp-block-column:first-child h2 { margin-top: 0; }
.sg-prose .sg-info { display: flex; flex-direction: column; gap: 16px; }
.sg-prose .sg-info > .wp-block-group { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; align-items: start; padding: 22px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-white); }
.sg-prose .sg-info > .wp-block-group::before { grid-row: span 4; }
.sg-prose .sg-info > .wp-block-group > * { grid-column: 2; margin: 0; }
.sg-prose .sg-info h3 { margin: 2px 0 2px; font-size: 17px; }
.sg-prose .sg-info p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--sg-text); }
@media (max-width: 600px) {
	.sg-prose .sg-contact > .wp-block-column:first-child { padding: 22px; }
}

/* Contact form */
.sg-form-wrap { scroll-margin-top: calc(var(--sg-header-h) + 24px); }
.sg-form { display: flex; flex-direction: column; gap: 18px; }
.sg-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.sg-form .sg-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.sg-form label { font-size: 15px; font-weight: 600; color: var(--sg-ink); }
.sg-form label span { color: var(--sg-red); }
.sg-form input[type="text"],
.sg-form input[type="email"],
.sg-form select,
.sg-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--sg-line-2);
	border-radius: var(--sg-radius-sm);
	background: var(--sg-white);
	font-size: 16px;
	color: var(--sg-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.sg-form textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.sg-form input:focus,
.sg-form select:focus,
.sg-form textarea:focus { outline: none; border-color: var(--sg-teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, .18); }
.sg-form .sg-field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.sg-form .sg-field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sg-teal); flex: none; }
.sg-form .sg-field--check label { font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--sg-slate); }
.sg-form__submit { align-self: flex-start; min-height: 52px; padding-inline: 26px; font-size: 16px; }
.sg-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sg-form-notice { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; padding: 16px 18px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.sg-form-notice--ok { background: var(--sg-teal-tint); color: #134E4A; border: 1px solid #B7EBE3; }
.sg-form-notice--ok .sg-icon { color: var(--sg-teal); }
.sg-form-notice--err { background: #FEF3F2; color: var(--sg-red); border: 1px solid #FECDCA; }

/* Footer social icons */
.sg-social-wrap { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.sg-social__label { margin: 0; color: var(--sg-white); font-size: 14px; font-weight: 600; }
.sg-footer ul.sg-social { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.sg-footer .sg-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 12px;
	background: #16294A;
	color: var(--sg-white);
	transition: background-color .15s ease, transform .15s ease;
}
.sg-footer .sg-social__link:hover { background: var(--sg-teal); color: var(--sg-white); text-decoration: none; transform: translateY(-2px); }

/* Header: a menu item with the CSS class "sg-menu-cta" shows as a button */
.sg-nav .sg-menu-cta > a { margin-left: 8px; padding-inline: 18px; background: var(--sg-teal); color: var(--sg-white); font-weight: 600; border-radius: var(--sg-radius-sm); }
.sg-nav .sg-menu-cta > a:hover,
.sg-nav .sg-menu-cta.current-menu-item > a { background: var(--sg-teal-dark); color: var(--sg-white); }
@media (max-width: 960px) {
	.sg-nav .sg-menu-cta { border-bottom: 0; padding-top: 12px; }
	.sg-nav .sg-menu-cta > a { justify-content: center; margin-left: 0; }
}

@media print {
	.sg-header, .sg-footer, .sg-sidebar, .sg-ad, .sg-toc, .sg-endcta { display: none !important; }
	.sg-layout { display: block; }
}
