/* Affiliate editorial review — scoped to guide singles + Recommended guides list */

.sg-affiliate-mobile-sticky {
	display: none;
}

@media (max-width: 767px) {
	.sg-affiliate-mobile-sticky.is-visible {
		position: fixed;
		z-index: 90;
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 64px;
		padding: 10px 10px 10px 14px;
		border: 1px solid var(--color-border, #d8d4cc);
		border-radius: var(--radius-md, 10px);
		background: var(--color-surface, #f7f5f1);
		box-shadow: 0 8px 24px rgba(28, 27, 25, 0.16);
		box-sizing: border-box;
	}

	.sg-affiliate-mobile-sticky__copy {
		min-width: 0;
		flex: 1 1 auto;
	}

	.sg-affiliate-mobile-sticky__disclosure,
	.sg-affiliate-mobile-sticky__name {
		display: block;
	}

	.sg-affiliate-mobile-sticky__disclosure {
		font-size: 0.7rem;
		line-height: 1.2;
		color: var(--color-text-muted, #5c5c5c);
	}

	.sg-affiliate-mobile-sticky__name {
		overflow: hidden;
		font-weight: 600;
		line-height: 1.25;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.sg-affiliate-mobile-sticky__action,
	.sg-affiliate-mobile-sticky__action .sg-aff-cta-wrap {
		margin: 0;
	}

	.sg-affiliate-mobile-sticky__action .sg-aff-cta {
		min-height: 40px;
		padding: 9px 12px;
		white-space: nowrap;
	}

	.sg-affiliate-mobile-sticky__close {
		width: 36px;
		height: 36px;
		flex: 0 0 36px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: var(--color-text-muted, #5c5c5c);
		font-size: 1.25rem;
		line-height: 1;
		cursor: pointer;
	}

	.sg-affiliate-mobile-sticky__close:focus-visible {
		outline: 2px solid var(--color-accent, #5b6652);
		outline-offset: 2px;
	}

	.sg-mobile-sticky-visible .single-post__entry {
		padding-bottom: 6.5rem;
	}
}

.sg-aff-disclosure {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-left: 3px solid var(--color-accent, #5b6652);
	background: rgba(91, 102, 82, 0.06);
	border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0;
}

.sg-aff-disclosure__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--color-text-muted, #5c5c5c);
}

.sg-aff-disclosure__more {
	margin: 0.4rem 0 0;
	font-size: 0.875rem;
}

.sg-aff-disclosure__more a {
	color: var(--color-accent, #5b6652);
}

.sg-aff-cta-wrap {
	margin: 1.25rem 0 1.5rem;
}

.sg-aff-cta-wrap .sg-aff-cta,
a.button.sg-aff-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	max-width: 100%;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm, 8px);
	background-color: var(--color-accent-hover, #4b5644);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sg-aff-cta-wrap .sg-aff-cta:hover,
.sg-aff-cta-wrap .sg-aff-cta:focus-visible,
a.button.sg-aff-cta:hover,
a.button.sg-aff-cta:focus-visible {
	background-color: #3a4335;
	color: #fff;
	text-decoration: none;
}

.sg-aff-cta-wrap .sg-aff-cta:active,
a.button.sg-aff-cta:active {
	background-color: #323a2e;
	color: #fff;
}

.sg-aff-cta-wrap .sg-aff-cta:focus-visible,
a.button.sg-aff-cta:focus-visible {
	outline: 2px solid #3a4335;
	outline-offset: 3px;
}

.sg-aff-cta--disabled,
.button.sg-aff-cta--disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
	text-decoration: none;
}

.single-post__entry .sg-aff-verdict {
	margin: 1.75rem 0;
	padding: 1.15rem 1.2rem;
	border: 1px solid var(--color-border, #d8d4cc);
	border-radius: var(--radius-md, 10px);
	background: var(--color-surface, #f7f5f1);
}

.single-post__entry .sg-aff-verdict > p:last-child {
	margin-bottom: 0;
}

.single-post__entry .sg-aff-faq {
	margin-top: 2rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--color-border, #d8d4cc);
}

.single-post__entry .sg-aff-faq__item {
	margin: 0 0 1.15rem;
	padding-bottom: 1.15rem;
	border-bottom: 1px solid var(--color-border, #d8d4cc);
}

.single-post__entry .sg-aff-faq__item:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.single-post__entry .sg-aff-faq__item h3 {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
}

.single-post__entry .sg-aff-faq__item p {
	margin: 0;
}

.single-post__entry .sg-aff-alt-list {
	margin: 0.75rem 0 1.25rem;
	padding-left: 1.2rem;
}

.single-post__entry .sg-aff-alt-list li {
	margin-bottom: 0.45rem;
}

.sg-recommended-page .sg-rec-guides {
	margin-top: clamp(2rem, 5vw, 3rem);
	padding-top: clamp(1.5rem, 4vw, 2.25rem);
	border-top: 1px solid var(--color-border, #d8d4cc);
}

.sg-recommended-page .sg-rec-guides__head {
	max-width: 40rem;
	margin-bottom: var(--space-md, 1.25rem);
}

.sg-recommended-page .sg-rec-guides__heading {
	margin: 0 0 0.5rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	letter-spacing: -0.02em;
}

.sg-recommended-page .sg-rec-guides__lead {
	margin: 0;
}

.sg-recommended-page .sg-rec-guides__aff-note {
	margin: 0 0 1.15rem;
	max-width: 42rem;
	font-size: 0.9rem;
	line-height: 1.5;
}

.sg-recommended-page .sg-rec-guides__aff-note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.sg-recommended-page .sg-rec-guides__aff-note a:hover,
.sg-recommended-page .sg-rec-guides__aff-note a:focus-visible {
	color: var(--color-accent, #5b6652);
}

.sg-recommended-page .sg-rec-guides__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

@media (min-width: 720px) {
	.sg-recommended-page .sg-rec-guides__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

.sg-recommended-page .sg-rec-guide {
	height: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 0;
	border: 1px solid var(--color-border, #d8d4cc);
	border-radius: var(--radius-md, 10px);
	background: var(--color-surface, #f7f5f1);
	overflow: hidden;
}

.sg-recommended-page .sg-rec-guide__media {
	display: block;
	aspect-ratio: 1200 / 630;
	overflow: hidden;
	background: rgba(222, 214, 200, 0.28);
	line-height: 0;
	outline-offset: 2px;
}

.sg-recommended-page .sg-rec-guide__media:focus-visible {
	outline: 2px solid currentColor;
}

.sg-recommended-page .sg-rec-guide__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
}

.sg-recommended-page .sg-rec-guide__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	padding: 1.15rem 1.2rem;
}

.sg-recommended-page .sg-rec-guide__topline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem 0.75rem;
	margin: 0 0 0.45rem;
}

.sg-recommended-page .sg-rec-guide__eyebrow {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-accent, #5b6652);
}

.sg-recommended-page .sg-rec-guide__badge {
	display: inline-block;
	margin: 0;
	padding: 0.12rem 0.45rem;
	border: 1px solid rgba(91, 102, 82, 0.28);
	border-radius: 999px;
	background: transparent;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-text-muted, #6b675f);
}

.sg-recommended-page .sg-rec-guide__title {
	margin: 0 0 0.45rem;
	font-size: 1.125rem;
	line-height: 1.3;
}

.sg-recommended-page .sg-rec-guide__title a {
	color: inherit;
	text-decoration: none;
}

.sg-recommended-page .sg-rec-guide__title a:hover,
.sg-recommended-page .sg-rec-guide__title a:focus-visible {
	color: var(--color-accent, #5b6652);
}

.sg-recommended-page .sg-rec-guide__excerpt {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
}

.sg-recommended-page .sg-rec-guide__link {
	margin-top: auto;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-accent, #5b6652);
	text-decoration: none;
}

.sg-recommended-page .sg-rec-guide__link:hover,
.sg-recommended-page .sg-rec-guide__link:focus-visible {
	text-decoration: underline;
}

@media (max-width: 719px) {
	.sg-aff-cta-wrap .sg-aff-cta,
	a.button.sg-aff-cta {
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sg-recommended-page .sg-rec-guide,
	.sg-aff-disclosure,
	.sg-aff-review .sg-aff-cta,
	.sg-aff-review a.button.sg-aff-cta {
		transition: none;
	}
}

/* Guide column width: ~736px desktop, scoped to affiliate guides only */
.single-post:has(.sg-aff-review) .single-post__header-inner,
.single-post:has(.sg-aff-review) .single-post__entry {
	max-width: 46rem;
}

/* Featured Image: visual gap under header separator, affiliate guides only */
.single-post:has(.sg-aff-review) .single-post__thumbnail {
	padding-top: 22px;
}

.single-post:has(.sg-aff-review) .single-post__figure {
	max-width: 46rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.single-post:has(.sg-aff-review) .single-post__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

@media (max-width: 767px) {
	.single-post:has(.sg-aff-review) .single-post__thumbnail {
		padding-top: 15px;
	}
}

/* -------------------------------------------------------------------------- */
/* Shared guide components (scoped)                                           */
/* -------------------------------------------------------------------------- */

.sg-aff-review {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: normal;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-section {
	margin: 0 0 1.75rem;
	padding: 0;
	min-width: 0;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-section > h2:first-child {
	margin-top: 0;
}

.sg-aff-review > .sg-guide-section + .sg-guide-section {
	margin-top: 2rem;
	padding-top: 0.25rem;
}

.sg-aff-review h2 {
	letter-spacing: -0.02em;
	line-height: 1.25;
}

/* Quick take */
.sg-aff-review .sg-aff-verdict,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-quick-take {
	margin: 0 0 1.5rem;
	padding: 1.2rem 1.25rem;
	border: 1px solid rgba(216, 212, 204, 0.95);
	border-radius: var(--radius-md, 10px);
	background:
		linear-gradient(165deg, rgba(255, 253, 252, 0.92) 0%, rgba(247, 245, 241, 0.96) 48%, rgba(246, 241, 232, 0.9) 100%);
	box-shadow: none;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-quick-take > p:last-child,
.sg-aff-review .sg-aff-verdict > p:last-child {
	margin-bottom: 0;
}

/* Grids / cards */
.sg-aff-review .sg-aff-pricing,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-grid--pricing,
.sg-aff-review .sg-aff-compare,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-grid--compare {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.85rem;
	margin: 1rem 0 1.35rem;
	padding: 0;
	min-width: 0;
}

@media (min-width: 720px) {
	.sg-aff-review .sg-aff-pricing,
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-grid--pricing,
	.sg-aff-review .sg-aff-compare,
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-grid--compare {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
	}
}

.sg-aff-review .sg-aff-pricing__tier,
.sg-aff-review .sg-aff-compare__card,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-card {
	margin: 0;
	min-width: 0;
	height: 100%;
	padding: 1rem 1.05rem;
	border: 1px solid var(--color-border, #d8d4cc);
	border-radius: var(--radius-md, 10px);
	background: #fffdfc;
	overflow-wrap: anywhere;
}

.sg-aff-review .sg-aff-pricing__tier,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-grid--pricing .sg-guide-card {
	background: linear-gradient(180deg, #fffdfc 0%, #f7f5f1 100%);
}

.sg-aff-review .sg-aff-pricing__name {
	margin: 0 0 0.3rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-accent, #5b6652);
}

.sg-aff-review .sg-aff-pricing__price {
	margin: 0 0 0.4rem;
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--color-text, #1f1f1b);
}

.sg-aff-review .sg-aff-pricing__detail {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--color-text-muted, #5c5c5c);
}

.sg-aff-review .sg-aff-compare__title {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	line-height: 1.3;
}

.sg-aff-review .sg-aff-compare__card p,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-grid--compare .sg-guide-card p {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.5;
}

/* Notices / caution */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice {
	margin: 1rem 0 1.25rem;
	padding: 0.9rem 1rem 0.9rem 1.05rem;
	border: 1px solid rgba(216, 212, 204, 0.9);
	border-left: 3px solid var(--color-accent, #5b6652);
	border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0;
	background: rgba(246, 241, 232, 0.55);
	min-width: 0;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice > p {
	margin: 0;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice > p + p {
	margin-top: 0.65rem;
}

/* Sources */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-sources {
	margin: 2rem 0 1.5rem;
	padding: 1.15rem 1.2rem;
	border: 1px solid var(--color-border, #d8d4cc);
	border-radius: var(--radius-md, 10px);
	background: rgba(255, 253, 252, 0.8);
	min-width: 0;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-sources > h2 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: 1.15rem;
}

.sg-aff-review .sg-aff-sources,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-sources__list {
	margin: 0.35rem 0 0.85rem;
	padding-left: 1.15rem;
}

.sg-aff-review .sg-aff-sources li,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-sources__list li {
	margin-bottom: 0.4rem;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-sources > p:last-child {
	margin-bottom: 0;
}

/* FAQ visual separation (shortcode output) */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-faq {
	margin: 1.75rem 0 0.5rem;
	min-width: 0;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-faq .sg-aff-faq,
.single-post__entry .sg-aff-review .sg-aff-faq {
	margin-top: 0;
	padding: 0.25rem 0 0;
	border-top: 0;
}

.sg-aff-review .sg-aff-faq__item {
	margin: 0;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(216, 212, 204, 0.95);
}

.sg-aff-review .sg-aff-faq__item:first-child {
	padding-top: 0.35rem;
}

.sg-aff-review .sg-aff-faq__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.sg-aff-review .sg-aff-faq__item h3 {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.sg-aff-review .sg-aff-faq__item p {
	margin: 0;
	color: var(--color-text-muted, #5c5c5c);
	line-height: 1.55;
}

/* Banner (unused on these guides; keep safe) */
.sg-aff-banner {
	margin: 1.25rem 0 1.5rem;
	max-width: 100%;
	overflow: hidden;
}

.sg-aff-banner__link {
	display: block;
	max-width: 100%;
	line-height: 0;
	border-radius: 0;
	outline-offset: 3px;
}

.sg-aff-banner__link:focus-visible {
	outline: 2px solid currentColor;
}

.sg-aff-banner__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

/* ========================================================================== */
/* Visual v2 — icons, feature grid, checklist, flow, notice types, accents   */
/* ========================================================================== */

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-heading-icon,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-card__icon {
	display: inline-block;
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	vertical-align: -0.2em;
	background-color: var(--color-accent, #5b6652);
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-heading-icon {
	margin-right: 0.45rem;
	width: 1.35rem;
	height: 1.35rem;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-card__icon {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	margin: 0 0 0.55rem;
	opacity: 0.92;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-quick-take > .sg-guide-card__icon {
	margin-bottom: 0.65rem;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-faq > .sg-guide-heading-icon {
	display: block;
	margin: 0 0 0.75rem;
	width: 1.5rem;
	height: 1.5rem;
}

/* Icon masks (local inline SVG, olive via mask) */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--bolt {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h8l-1 8 10-12h-8l1-8z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h8l-1 8 10-12h-8l1-8z'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--transcript {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8M8 17h6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8M8 17h6'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--doc {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--price {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41 11 3H4v7l9.59 9.59a2 2 0 0 0 2.82 0l4.18-4.18a2 2 0 0 0 0-2.82z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41 11 3H4v7l9.59 9.59a2 2 0 0 0 2.82 0l4.18-4.18a2 2 0 0 0 0-2.82z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--compare {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='18' rx='1'/%3E%3Crect x='14' y='3' width='7' height='12' rx='1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='18' rx='1'/%3E%3Crect x='14' y='3' width='7' height='12' rx='1'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--caution {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.3 3.9-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.7-3.1l-8-14a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.3 3.9-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.7-3.1l-8-14a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--verify {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--question {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.1 9a3 3 0 1 1 4.4 2.6c-.8.5-1.5 1-1.5 2v.2'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.1 9a3 3 0 1 1 4.4 2.6c-.8.5-1.5 1-1.5 2v.2'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--server {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='7' rx='1'/%3E%3Crect x='3' y='14' width='18' height='7' rx='1'/%3E%3Cpath d='M7 7h.01M7 18h.01'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='7' rx='1'/%3E%3Crect x='3' y='14' width='18' height='7' rx='1'/%3E%3Cpath d='M7 7h.01M7 18h.01'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--sliders {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M2 14h4M10 8h4M18 16h4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M2 14h4M10 8h4M18 16h4'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--backup {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--shield {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8.5 8 9.5 4.5-1 8-4.5 8-9.5V6l-8-3z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8.5 8 9.5 4.5-1 8-4.5 8-9.5V6l-8-3z'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--check {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--cpu {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3Crect x='9' y='9' width='6' height='6'/%3E%3Cpath d='M9 2v3M15 2v3M9 19v3M15 19v3M2 9h3M2 15h3M19 9h3M19 15h3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3Crect x='9' y='9' width='6' height='6'/%3E%3Cpath d='M9 2v3M15 2v3M9 19v3M15 19v3M2 9h3M2 15h3M19 9h3M19 15h3'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--memory {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='10' rx='2'/%3E%3Cpath d='M7 7V5M11 7V5M15 7V5M7 19v-2M11 19v-2M15 19v-2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='10' rx='2'/%3E%3Cpath d='M7 7V5M11 7V5M15 7V5M7 19v-2M11 19v-2M15 19v-2'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--storage {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='6' rx='8' ry='3'/%3E%3Cpath d='M4 6v6c0 1.7 3.6 3 8 3s8-1.3 8-3V6'/%3E%3Cpath d='M4 12v6c0 1.7 3.6 3 8 3s8-1.3 8-3v-6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='6' rx='8' ry='3'/%3E%3Cpath d='M4 6v6c0 1.7 3.6 3 8 3s8-1.3 8-3V6'/%3E%3Cpath d='M4 12v6c0 1.7 3.6 3 8 3s8-1.3 8-3v-6'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--bandwidth {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h4l3-8 4 16 3-8h6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h4l3-8 4 16 3-8h6'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon--info {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v5h1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v5h1'/%3E%3C/svg%3E");
}

/* Feature grid */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-feature-grid {
	list-style: none;
	margin: 1rem 0 1.35rem;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
}
@media (min-width: 640px) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 960px) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-feature-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-feature-card {
	margin: 0;
	min-width: 0;
	padding: 0.95rem 1rem;
	border: 1px solid var(--color-border, #d8d4cc);
	border-radius: var(--radius-md, 10px);
	background: linear-gradient(180deg, #fffdfc 0%, #f7f5f1 100%);
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	overflow-wrap: anywhere;
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-feature-card .sg-guide-icon {
	margin: 0;
}

/* Checklist */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-checklist {
	list-style: none;
	margin: 1rem 0 1.35rem;
	padding: 0.35rem 0.85rem;
	border: 1px solid rgba(216, 212, 204, 0.95);
	border-radius: var(--radius-md, 10px);
	background: rgba(246, 241, 232, 0.45);
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-checklist__item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	padding: 0.7rem 0;
	border-bottom: 1px solid rgba(216, 212, 204, 0.85);
	min-width: 0;
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-checklist__item:last-child {
	border-bottom: 0;
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-checklist__item .sg-guide-icon {
	margin-top: 0.15rem;
	background-color: var(--color-accent, #5b6652);
}

/* Flow / CSS infographic */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-flow {
	list-style: none;
	margin: 1rem 0 1.4rem;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.65rem;
	counter-reset: sg-flow;
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-flow__item {
	position: relative;
	counter-increment: sg-flow;
	margin: 0;
	min-width: 0;
	padding: 0.9rem 1rem 0.9rem 2.75rem;
	border: 1px solid var(--color-border, #d8d4cc);
	border-radius: var(--radius-md, 10px);
	background: #fffdfc;
	overflow-wrap: anywhere;
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-flow__item::before {
	content: counter(sg-flow);
	position: absolute;
	left: 0.75rem;
	top: 0.95rem;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 999px;
	background: rgba(91, 102, 82, 0.12);
	color: var(--color-accent, #5b6652);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.4rem;
	text-align: center;
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-flow__item .sg-guide-icon {
	display: none;
}
@media (min-width: 720px) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-flow {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem 1rem;
	}
	/* Odd last item: span both columns; keep text measure ~ one column */
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-flow__item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		padding-inline-end: max(1rem, calc(50% + 0.5rem));
	}
}

/* Notice types */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice {
	position: relative;
	padding-left: 2.5rem;
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice::before {
	content: "";
	position: absolute;
	left: 0.95rem;
	top: 1rem;
	width: 1.15rem;
	height: 1.15rem;
	background-color: var(--color-accent, #5b6652);
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v5h1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v5h1'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--info {
	border-left-color: #6b7564;
	background: rgba(246, 241, 232, 0.55);
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--caution {
	border-left-color: #8a7a4b;
	background: rgba(246, 241, 232, 0.72);
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--caution::before {
	background-color: #8a7a4b;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.3 3.9-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.7-3.1l-8-14a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.3 3.9-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.7-3.1l-8-14a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--security {
	border-left-color: #5b6652;
	background: rgba(91, 102, 82, 0.08);
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--security::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8.5 8 9.5 4.5-1 8-4.5 8-9.5V6l-8-3z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8.5 8 9.5 4.5-1 8-4.5 8-9.5V6l-8-3z'/%3E%3C/svg%3E");
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--verification {
	border-left-color: #5b6652;
	background: rgba(255, 253, 252, 0.9);
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--verification::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
}


/* Dark editorial notice variant */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--dark {
  background: var(--color-text);
  color: var(--color-surface);
  border-color: var(--color-text);
  border-left-color: var(--color-accent);
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--dark > p,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--dark > p strong {
  color: var(--color-surface);
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--dark a {
  color: var(--color-surface);
  text-decoration-color: var(--color-surface);
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-notice--dark::before {
  background-color: var(--color-surface);
}

/* Section accents */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-section--accent {
	padding: 1.1rem 1.15rem 1.15rem;
	border: 1px solid rgba(216, 212, 204, 0.9);
	border-radius: var(--radius-md, 10px);
	background:
		linear-gradient(180deg, rgba(255, 253, 252, 0.55) 0%, rgba(246, 241, 232, 0.35) 100%);
	border-top: 3px solid rgba(91, 102, 82, 0.35);
}

/* Stronger cards */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-card {
	box-shadow: 0 1px 0 rgba(31, 31, 27, 0.03);
}
@media (hover: hover) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-card {
		transition: border-color 0.15s ease, background-color 0.15s ease;
	}
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-card:hover {
		border-color: rgba(91, 102, 82, 0.35);
		background-color: #fffdfc;
	}
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-card:hover,
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-feature-card:hover {
		cursor: default;
	}
}

/* Sources verification emphasis */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-sources {
	position: relative;
	padding-top: 1.35rem;
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-sources > h2 .sg-guide-heading-icon,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-sources .sg-guide-heading-icon {
	vertical-align: -0.25em;
}

/* CTA soft gradient within palette */
.sg-aff-review .sg-aff-cta-wrap .sg-aff-cta,
.sg-aff-review a.button.sg-aff-cta {
	background-image: linear-gradient(180deg, #55614c 0%, #4b5644 100%);
	background-color: #4b5644;
}
.sg-aff-review .sg-aff-cta-wrap .sg-aff-cta:hover,
.sg-aff-review .sg-aff-cta-wrap .sg-aff-cta:focus-visible,
.sg-aff-review a.button.sg-aff-cta:hover,
.sg-aff-review a.button.sg-aff-cta:focus-visible {
	background-image: linear-gradient(180deg, #46523e 0%, #3a4335 100%);
	background-color: #3a4335;
}

/* Icon-grid (Notta compare — not a sequential flow) */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon-grid .sg-guide-card,
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon-grid .sg-aff-compare__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-icon-grid .sg-guide-card__icon {
	margin-bottom: 0.45rem;
}

/* FAQ: one question icon on the section heading only (no per-item "?") */
.sg-aff-review .sg-aff-faq > h2::before,
.sg-aff-review #sg-aff-faq-heading::before {
	content: "";
	display: inline-block;
	width: 1.35rem;
	height: 1.35rem;
	margin-right: 0.45rem;
	vertical-align: -0.25em;
	background-color: var(--color-accent, #5b6652);
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.1 9a3 3 0 1 1 4.4 2.6c-.8.5-1.5 1-1.5 2v.2'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.1 9a3 3 0 1 1 4.4 2.6c-.8.5-1.5 1-1.5 2v.2'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

/* Flow connectors (desktop) */
@media (min-width: 720px) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-flow__item:nth-child(odd):not(:last-child)::after {
		content: "";
		position: absolute;
		top: 50%;
		right: -0.55rem;
		width: 0.55rem;
		height: 2px;
		background: rgba(91, 102, 82, 0.28);
		transform: translateY(-50%);
		pointer-events: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-card {
		transition: none;
	}
}

/* ========================================================================== */
/* Affiliate CTA trust blocks (compact / card / final)                         */
/* ========================================================================== */

.sg-aff-review .sg-aff-cta-block {
	margin: 1.35rem 0 1.55rem;
	min-width: 0;
	box-sizing: border-box;
}

.sg-aff-review .sg-aff-cta-block__eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.6875rem;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-muted, #5c5c5c);
}

.sg-aff-review .sg-aff-cta-block__copy {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--color-text, #2f2f2b);
	max-width: 42rem;
}

.sg-aff-review .sg-aff-cta-block__note {
	margin: 0.55rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--color-text-muted, #5c5c5c);
}

.sg-aff-review .sg-aff-cta-block__action {
	min-width: 0;
}

.sg-aff-review .sg-aff-cta-block .sg-aff-cta,
.sg-aff-review .sg-aff-cta-wrap .sg-aff-cta,
.sg-aff-review a.button.sg-aff-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	box-sizing: border-box;
	min-height: 46px;
	max-width: 100%;
	padding: 0.8rem 1.2rem;
	font-size: 0.96875rem;
	font-weight: 650;
	background-color: #4a5442;
	background-image: linear-gradient(180deg, #55614c 0%, #4a5442 100%);
	color: #fff;
	border: 1px solid transparent;
	border-radius: var(--radius-sm, 8px);
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.15s ease, background-image 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.sg-aff-review .sg-aff-cta__label {
	min-width: 0;
}

.sg-aff-review .sg-aff-cta__icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	opacity: 0.92;
}

.sg-aff-review .sg-aff-cta__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

@media (hover: hover) {
	.sg-aff-review .sg-aff-cta-block .sg-aff-cta:hover,
	.sg-aff-review .sg-aff-cta-wrap .sg-aff-cta:hover,
	.sg-aff-review a.button.sg-aff-cta:hover {
		background-color: #3a4335;
		background-image: linear-gradient(180deg, #46523e 0%, #3a4335 100%);
		color: #fff;
		transform: translateY(-1px);
		text-decoration: none;
	}
}

.sg-aff-review .sg-aff-cta-block .sg-aff-cta:focus-visible,
.sg-aff-review .sg-aff-cta-wrap .sg-aff-cta:focus-visible,
.sg-aff-review a.button.sg-aff-cta:focus-visible {
	outline: 2px solid #3a4335;
	outline-offset: 3px;
	background-color: #3a4335;
	background-image: linear-gradient(180deg, #46523e 0%, #3a4335 100%);
	color: #fff;
}

.sg-aff-review .sg-aff-cta-block .sg-aff-cta:active,
.sg-aff-review .sg-aff-cta-wrap .sg-aff-cta:active {
	transform: none;
	background-color: #323a2e;
	background-image: none;
}

/* Compact */
.sg-aff-review .sg-aff-cta-block--compact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.9rem;
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(216, 212, 204, 0.95);
	border-radius: var(--radius-md, 10px);
	background: rgba(246, 241, 232, 0.55);
}

.sg-aff-review .sg-aff-cta-block--compact .sg-aff-cta-block__eyebrow {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.sg-aff-review .sg-aff-cta-block--compact .sg-aff-cta-block__action {
	flex: 0 1 auto;
}

.sg-aff-review .sg-aff-cta-block--compact .sg-aff-cta-block__note {
	flex: 1 1 100%;
	margin: 0;
}

/* Card */
.sg-aff-review .sg-aff-cta-block--card {
	padding: 1.05rem 1.15rem 1.1rem;
	border: 1px solid rgba(216, 212, 204, 0.95);
	border-radius: var(--radius-md, 10px);
	background:
		linear-gradient(135deg, rgba(255, 253, 252, 0.98) 0%, rgba(246, 241, 232, 0.88) 55%, rgba(91, 102, 82, 0.08) 100%);
	box-shadow: 0 1px 0 rgba(31, 31, 27, 0.03);
}

.sg-aff-review .sg-aff-cta-block--card .sg-aff-cta-block__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	min-width: 0;
}

@media (min-width: 720px) {
	.sg-aff-review .sg-aff-cta-block--card .sg-aff-cta-block__body {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 1rem 1.25rem;
		align-items: center;
	}
}

/* Final */
.sg-aff-review .sg-aff-cta-block--final {
	padding: 1.2rem 1.2rem 1.15rem;
	border: 1px solid rgba(91, 102, 82, 0.28);
	border-top: 3px solid rgba(91, 102, 82, 0.45);
	border-radius: var(--radius-md, 10px);
	background:
		linear-gradient(160deg, rgba(255, 253, 252, 0.75) 0%, rgba(246, 241, 232, 0.92) 40%, rgba(91, 102, 82, 0.14) 100%);
}

.sg-aff-review .sg-aff-cta-block--final .sg-aff-cta-block__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.9rem;
	min-width: 0;
}

@media (min-width: 720px) {
	.sg-aff-review .sg-aff-cta-block--final .sg-aff-cta-block__body {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 1rem 1.35rem;
		align-items: center;
	}
}

.sg-aff-review .sg-aff-cta-block--final .sg-aff-cta {
	min-height: 48px;
	padding-inline: 1.35rem;
	background-color: #44503c;
	background-image: linear-gradient(180deg, #4f5c46 0%, #44503c 100%);
}

/* Mobile: full-width buttons in structured blocks */
@media (max-width: 719px) {
	.sg-aff-review .sg-aff-cta-block--compact {
		flex-direction: column;
		align-items: stretch;
	}

	.sg-aff-review .sg-aff-cta-block .sg-aff-cta,
	.sg-aff-review .sg-aff-cta-block--compact .sg-aff-cta,
	.sg-aff-review .sg-aff-cta-block--card .sg-aff-cta,
	.sg-aff-review .sg-aff-cta-block--final .sg-aff-cta {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sg-aff-review .sg-aff-cta-block .sg-aff-cta,
	.sg-aff-review .sg-aff-cta-wrap .sg-aff-cta,
	.sg-aff-review a.button.sg-aff-cta {
		transition: none;
	}

	.sg-aff-review .sg-aff-cta-block .sg-aff-cta:hover,
	.sg-aff-review .sg-aff-cta-wrap .sg-aff-cta:hover,
	.sg-aff-review a.button.sg-aff-cta:hover {
		transform: none;
	}
}


/* ========================================================================== */
/* Editorial guide extras (shared Visual v2; non-affiliate)                    */
/* ========================================================================== */

.sg-editorial-guide {
	min-width: 0;
	max-width: 100%;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-example-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin: 1rem 0 1.35rem;
}

@media (min-width: 720px) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-example-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem 1rem;
	}
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-example {
	min-width: 0;
	margin: 0;
	padding: 0.85rem 1rem;
	border: 1px solid var(--color-border, #d8d4cc);
	border-radius: var(--radius-md, 10px);
	background: #fffdfc;
	overflow-wrap: anywhere;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-example__label {
	display: inline-block;
	margin: 0 0 0.45rem;
	font-size: 0.6875rem;
	font-weight: 650;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--color-text-muted, #5c5c5c);
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-example p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-example--weak {
	background: rgba(246, 241, 232, 0.45);
	border-left: 3px solid rgba(138, 122, 75, 0.55);
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-example--useful {
	background: rgba(91, 102, 82, 0.06);
	border-left: 3px solid rgba(91, 102, 82, 0.45);
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-template {
	margin: 1rem 0 1.25rem;
	padding: 1.05rem 1.15rem;
	border: 1px solid rgba(216, 212, 204, 0.95);
	border-radius: var(--radius-md, 10px);
	background:
		linear-gradient(180deg, rgba(255, 253, 252, 0.95) 0%, rgba(246, 241, 232, 0.55) 100%);
	min-width: 0;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-template__title {
	margin: 0 0 0.65rem;
	font-size: 0.9375rem;
	color: var(--color-text, #2f2f2b);
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-template__list {
	margin: 0;
	padding-left: 1.15rem;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-template__list li {
	margin: 0 0 0.45rem;
	min-width: 0;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-template__list li:last-child {
	margin-bottom: 0;
}


/* Editorial hotfix: 2x2 decision cards + compact mistakes + template example */
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-feature-grid--2 {
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-feature-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 960px) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-feature-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-mistakes {
	list-style: none;
	margin: 1rem 0 1.35rem;
	padding: 0.35rem 0.85rem;
	border: 1px solid rgba(216, 212, 204, 0.95);
	border-radius: var(--radius-md, 10px);
	background: rgba(246, 241, 232, 0.4);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	min-width: 0;
}
@media (min-width: 720px) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-mistakes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 1rem;
		padding: 0.55rem 1rem;
	}
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-mistakes__item {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(216, 212, 204, 0.75);
	min-width: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-mistakes__item:last-child {
	border-bottom: 0;
}
@media (min-width: 720px) {
	:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-mistakes__item:nth-last-child(2):nth-child(odd) {
		border-bottom: 0;
	}
}
:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-mistakes__item .sg-guide-icon {
	margin-top: 0.15rem;
	flex: 0 0 auto;
}

:is(.sg-aff-review, .sg-editorial-guide) .sg-guide-template--example {
	margin-top: 0.85rem;
	background: rgba(91, 102, 82, 0.06);
	border-color: rgba(91, 102, 82, 0.22);
}

/* Editorial post 177: compact inventory list (no card wall) */
.sg-editorial-guide .sg-guide-inventory {
	list-style: none;
	margin: 1rem 0 1.35rem;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	min-width: 0;
}
@media (min-width: 640px) {
	.sg-editorial-guide .sg-guide-inventory {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.25rem;
	}
}
.sg-editorial-guide .sg-guide-inventory__item {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(216, 212, 204, 0.75);
	min-width: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
	background: transparent;
}
.sg-editorial-guide .sg-guide-inventory__item:last-child {
	border-bottom: 0;
}
@media (min-width: 640px) {
	.sg-editorial-guide .sg-guide-inventory__item:nth-last-child(2):nth-child(odd) {
		border-bottom: 0;
	}
}
.sg-editorial-guide .sg-guide-inventory__item .sg-guide-icon {
	margin-top: 0.15rem;
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
}
.sg-editorial-guide .sg-guide-inventory__text {
	min-width: 0;
}

/* Editorial post 177 only: center last odd flow card (do not change affiliate odd-card hotfix) */
@media (min-width: 720px) {
	.sg-editorial-guide .sg-guide-flow--center-last > .sg-guide-flow__item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: 100%;
		max-width: calc((100% - 1rem) / 2);
		padding-inline-end: 1rem;
	}
}


/* Editorial inline images + FI gap (posts 172/177) */
.single-post:has(.sg-editorial-guide) .single-post__thumbnail {
	padding-top: 22px;
}
.single-post:has(.sg-editorial-guide) .single-post__figure {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.single-post:has(.sg-editorial-guide) .single-post__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}
@media (max-width: 767px) {
	.single-post:has(.sg-editorial-guide) .single-post__thumbnail {
		padding-top: 15px;
	}
}

.sg-editorial-guide .sg-editorial-inline-image {
	margin-block: 1.35rem 1.55rem;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	border-radius: var(--radius-md, 14px);
	border: 1px solid var(--color-border, #d8d4cc);
	box-shadow: 0 1px 2px rgba(40, 36, 30, 0.06);
	background-color: var(--color-surface, #f6f1e8);
}
.sg-editorial-guide .sg-editorial-inline-image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

/* Digital operations hub: HTML/CSS ops loop infographic */
.sg-editorial-guide .sg-guide-ops-flow {
	margin: 1.15rem 0 1.45rem;
	padding: 0.95rem 1rem;
	border: 1px solid rgba(216, 212, 204, 0.95);
	border-radius: var(--radius-md, 10px);
	background:
		linear-gradient(180deg, rgba(255, 253, 252, 0.7) 0%, rgba(246, 241, 232, 0.42) 100%);
	min-width: 0;
}
.sg-editorial-guide .sg-guide-ops-flow__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 0.45rem 0.35rem;
	min-width: 0;
}
.sg-editorial-guide .sg-guide-ops-flow__item {
	position: relative;
	margin: 0;
	min-width: 0;
	flex: 1 1 6.5rem;
	max-width: 9.5rem;
}
.sg-editorial-guide .sg-guide-ops-flow__item:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -0.28rem;
	top: 50%;
	width: 0.45rem;
	height: 0.45rem;
	border-top: 2px solid rgba(91, 102, 82, 0.45);
	border-right: 2px solid rgba(91, 102, 82, 0.45);
	transform: translateY(-50%) rotate(45deg);
	pointer-events: none;
}
.sg-editorial-guide .sg-guide-ops-flow__label {
	display: block;
	padding: 0.7rem 0.65rem;
	text-align: center;
	font-size: 0.875rem;
	font-weight: 650;
	letter-spacing: 0.01em;
	line-height: 1.25;
	color: var(--color-text, #2c2924);
	background: #fffdfc;
	border: 1px solid rgba(216, 212, 204, 0.95);
	border-radius: 8px;
	overflow-wrap: anywhere;
}
@media (max-width: 639px) {
	.sg-editorial-guide .sg-guide-ops-flow__item {
		flex: 1 1 calc(50% - 0.45rem);
		max-width: none;
	}
	.sg-editorial-guide .sg-guide-ops-flow__item:nth-child(2n)::after {
		display: none;
	}
	.sg-editorial-guide .sg-guide-ops-flow__item:last-child {
		flex-basis: 100%;
	}
}

/* Proton Pass draft: editorial image split */
.single-post__entry .sg-protonpass-guide .sg-protonpass-inline-image {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin: 2rem 0;
	padding: 0;
}

.single-post__entry .sg-protonpass-guide .sg-protonpass-inline-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-md, 0.75rem);
}

.single-post__entry .sg-protonpass-guide .sg-protonpass-inline-image figcaption {
	margin: 0;
	color: var(--color-muted, #6f716a);
	font-size: 0.875rem;
}

@media (min-width: 760px) {
	.single-post__entry .sg-protonpass-guide .sg-protonpass-inline-image {
		grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.8fr);
		align-items: center;
		gap: 1.5rem;
	}
}
