/*!
 * Savour Blog – front-end styles
 * Everything is scoped under .sb so Uncode styles elsewhere are untouched.
 * Override tokens in your child theme: savour-blog/savour-blog.css
 */

.sb {
	--sb-gold: #93692d;
	--sb-gold-dark: #7a5623;
	--sb-gold-soft: #f6f0e7;
	--sb-text: #111;
	--sb-muted: #5f5a53;
	--sb-line: #e8e2d9;
	--sb-bg: #fff;
	--sb-bg-alt: #faf7f2;
	--sb-dark: #000;
	--sb-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--sb-sans: Avenir, "Avenir Next", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
	--sb-radius: 8px;
	--sb-pill: 170px;
	--sb-wrap: 1180px;
	--sb-narrow: 760px;
	--sb-read: 720px;
	--sb-gutter: clamp(16px, 4vw, 32px);
	--sb-header-offset: 120px;

	background: var(--sb-bg);
	color: var(--sb-text);
	font-family: var(--sb-sans);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

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

.sb a { color: inherit; text-decoration: none; transition: color .2s ease; }
.sb a:focus-visible,
.sb button:focus-visible,
.sb input:focus-visible,
.sb summary:focus-visible { outline: 2px solid var(--sb-gold); outline-offset: 3px; }

.sb h1, .sb h2, .sb h3, .sb h4 {
	font-family: var(--sb-serif);
	font-weight: 600;
	color: var(--sb-text);
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.15;
	margin: 0;
}

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

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

.sb-icon { display: inline-block; vertical-align: middle; flex: none; }

.sb-img,
.sb img.sb-img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.sb-card__media .sb-img,
.sb-featured__media .sb-img,
.sb-product__media img {
	position: absolute;
	inset: 0;
	/* Beat inline sizes some themes/scripts (e.g. adaptive images) write on <img>. */
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
}
.sb-product__media { position: relative; }
.sb-img--placeholder { background: linear-gradient(135deg, var(--sb-gold-soft), #efe5d6); }

/* ---------- Buttons, chips, meta ---------- */

.sb .sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 28px;
	border: 1px solid var(--sb-gold);
	border-radius: var(--sb-pill);
	background: var(--sb-gold);
	color: #fff;
	font-family: var(--sb-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .02em;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.sb .sb-btn:hover { background: var(--sb-gold-dark); border-color: var(--sb-gold-dark); color: #fff; }
.sb .sb-btn:active { transform: translateY(1px); }
.sb .sb-btn .sb-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.sb .sb-btn:hover .sb-icon { transform: translateX(3px); }
.sb .sb-btn--outline { background: transparent; color: var(--sb-gold); }
.sb .sb-btn--outline:hover { background: var(--sb-gold); color: #fff; }
.sb .sb-btn--light { background: transparent; border-color: #fff; color: #fff; }
.sb .sb-btn--light:hover { background: #fff; border-color: #fff; color: var(--sb-text); }
.sb .sb-btn--small { min-height: 40px; padding: 8px 20px; font-size: 14px; }

.sb .sb-chip {
	display: inline-block;
	padding: 5px 14px;
	border-radius: var(--sb-pill);
	background: var(--sb-gold-soft);
	color: var(--sb-gold-dark);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.sb .sb-chip:hover { background: var(--sb-gold); color: #fff; }
.sb .sb-chip--overlay {
	position: absolute;
	top: 14px; left: 14px;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.sb .sb-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0;
	color: var(--sb-muted);
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: .04em;
}

.sb .sb-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--sb-gold);
	font-weight: 600;
	font-size: 15px;
}
.sb .sb-link:hover { color: var(--sb-gold-dark); }
.sb .sb-link .sb-icon { width: 16px; height: 16px; }

.sb-eyebrow {
	margin: 0 0 10px;
	color: var(--sb-gold);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

/* ---------- Breadcrumbs ---------- */

.sb-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 1.5;
	color: var(--sb-muted);
}
.sb-breadcrumbs li { margin: 0; }
.sb-breadcrumbs li + li::before { content: "/"; margin-right: 4px; color: var(--sb-line); }
.sb-breadcrumbs a:hover { color: var(--sb-gold); }
.sb-breadcrumbs [aria-current] {
	color: var(--sb-text);
	display: inline-block;
	max-width: 32ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

/* ---------- Archive hero ---------- */

.sb-hero {
	padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 56px);
	text-align: center;
	background: linear-gradient(180deg, var(--sb-bg-alt) 0%, var(--sb-bg) 100%);
}
.sb .sb-hero__title {
	font-size: clamp(38px, 6vw, 64px);
	font-weight: 500;
	line-height: 1.05;
}
.sb-hero__intro {
	max-width: 560px;
	margin: 18px auto 0;
	color: var(--sb-muted);
	font-size: 17px;
}

.sb-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}
.sb .sb-pill {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 20px;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-pill);
	background: #fff;
	color: var(--sb-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .06em;
	text-transform: uppercase;
	transition: all .2s ease;
}
.sb .sb-pill:hover { border-color: var(--sb-gold); color: var(--sb-gold); }
.sb .sb-pill.is-active { background: var(--sb-gold); border-color: var(--sb-gold); color: #fff; }

.sb-search {
	position: relative;
	max-width: 440px;
	margin: 20px auto 0;
}
.sb .sb-search input[type="search"] {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 60px 0 24px;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-pill);
	background: #fff;
	color: var(--sb-text);
	font-family: var(--sb-sans);
	font-size: 15px;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.sb .sb-search input[type="search"]:focus { border-color: var(--sb-gold); outline: none; box-shadow: 0 0 0 3px rgba(147, 105, 45, .15); }
.sb form.sb-search button {
	position: absolute;
	background: var(--sb-gold) !important;
	color: #fff !important;
	top: 5px; right: 5px;
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--sb-gold);
	color: #fff;
	cursor: pointer;
}
.sb form.sb-search button:hover,
.sb form.sb-search button:focus { background: var(--sb-gold-dark) !important; }

/* ---------- Featured card ---------- */

.sb-featured {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin: 0 0 clamp(40px, 6vw, 72px);
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	overflow: hidden;
	background: #fff;
}
.sb-featured__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--sb-bg-alt);
}
.sb-featured__media .sb-img { position: absolute; inset: 0; }
.sb-featured__media .sb-img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sb-featured:hover .sb-featured__media .sb-img { transform: scale(1.04); }
.sb-featured__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
	padding: clamp(24px, 4vw, 56px);
}
.sb-featured__label {
	margin: 0;
	color: var(--sb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.sb .sb-featured__title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; }
.sb .sb-featured__title a:hover { color: var(--sb-gold); }
.sb-featured__excerpt { margin: 0; color: var(--sb-muted); font-size: 16px; }
.sb-featured .sb-btn { margin-top: 8px; }

@media (min-width: 800px) {
	.sb-featured { grid-template-columns: 1.15fr 1fr; }
	.sb-featured__media { aspect-ratio: auto; min-height: 440px; }
}

/* ---------- Grid & cards ---------- */

.sb-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 32px);
}
@media (min-width: 700px) { .sb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sb-grid { grid-template-columns: repeat(3, 1fr); } }

.sb-card { display: flex; flex-direction: column; margin: 0; }
.sb-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--sb-radius);
	overflow: hidden;
	background: var(--sb-bg-alt);
}
.sb-card__media > .sb-card__link { display: block; height: 100%; }
.sb-card__media .sb-img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sb-card:hover .sb-card__media .sb-img { transform: scale(1.06); }
.sb-card__body { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
.sb .sb-card__title { font-size: clamp(24px, 2.2vw, 28px); font-weight: 600; line-height: 1.2; }
.sb .sb-card__title a {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .3s ease, color .2s ease;
}
.sb .sb-card:hover .sb-card__title a { color: var(--sb-gold); background-size: 100% 1px; }
.sb-card__excerpt {
	margin: 0;
	color: var(--sb-muted);
	font-size: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- Pagination ---------- */

.sb-pagination { margin: clamp(48px, 6vw, 72px) 0 0; }
.sb-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sb-pagination li { margin: 0; }
.sb .sb-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-pill);
	color: var(--sb-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	transition: all .2s ease;
}
.sb .sb-pagination a.page-numbers:hover { border-color: var(--sb-gold); color: var(--sb-gold); }
.sb .sb-pagination .page-numbers.current { background: var(--sb-gold); border-color: var(--sb-gold); color: #fff; }
.sb .sb-pagination .page-numbers.dots { border-color: transparent; min-width: 24px; padding: 0; }

/* ---------- Empty ---------- */

.sb-empty {
	max-width: 560px;
	margin: 0 auto;
	padding: 56px 0 24px;
	text-align: center;
	color: var(--sb-muted);
}
.sb .sb-empty__title { margin-bottom: 12px; font-size: clamp(28px, 4vw, 38px); }
.sb-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

.sb-archive > .sb-container { padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(56px, 8vw, 96px); }

/* ---------- Single: reading progress ---------- */

.sb-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100000;
	height: 3px;
	pointer-events: none;
	background: transparent;
}
.admin-bar .sb-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .sb-progress { top: 46px; } }
.sb-progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--sb-gold), #c8a96a);
	transform: scaleX(0);
	transform-origin: 0 50%;
	will-change: transform;
}

/* ---------- Single: header & hero ---------- */

.sb-single__header {
	padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
	text-align: center;
	background: linear-gradient(180deg, var(--sb-bg-alt) 0%, var(--sb-bg) 100%);
}
.sb-single__header .sb-breadcrumbs ol { margin-bottom: clamp(20px, 3vw, 32px); }

.sb-kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
	margin-bottom: 20px;
}
.sb-kicker__time {
	position: relative;
	padding-left: 14px;
	color: var(--sb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.sb-kicker__time::before {
	content: "";
	position: absolute;
	left: 0; top: 50%;
	width: 4px; height: 4px;
	margin-top: -2px;
	border-radius: 50%;
	background: var(--sb-gold);
}

.sb .sb-single__title {
	margin: 0 auto;
	max-width: 22ch;
	font-size: clamp(38px, 5.6vw, 66px);
	font-weight: 500;
	line-height: 1.06;
	letter-spacing: -.005em;
	text-wrap: balance;
}
.sb-single__dek {
	max-width: 600px;
	margin: 22px auto 0;
	color: var(--sb-muted);
	font-family: var(--sb-serif);
	font-size: clamp(20px, 2.2vw, 24px);
	font-style: italic;
	line-height: 1.45;
	text-wrap: pretty;
}

.sb-byline {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	padding: 8px 20px 8px 8px;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-pill);
	background: #fff;
	text-align: left;
}
.sb-byline:not(:has(img)) { padding-left: 20px; }
.sb .sb-byline__avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.sb-byline__text { display: flex; flex-direction: column; line-height: 1.35; }
.sb-byline__name { font-size: 14px; color: var(--sb-muted); }
.sb-byline__name a { color: var(--sb-text); font-weight: 700; }
.sb-byline__name a:hover { color: var(--sb-gold); }
.sb-byline__date { font-size: 13px; color: var(--sb-muted); }

.sb-single__hero { margin: 0 auto clamp(40px, 6vw, 72px); }
.sb .sb-single__hero .sb-img {
	width: 100% !important;
	height: auto !important;
	max-height: 560px;
	aspect-ratio: 16 / 8;
	object-fit: cover;
	border-radius: calc(var(--sb-radius) * 1.5);
	box-shadow: 0 30px 60px -30px rgba(60, 40, 10, .35);
}
@media (max-width: 700px) {
	.sb .sb-single__hero .sb-img { aspect-ratio: 4 / 3; }
}
.sb-single__hero figcaption { margin-top: 12px; color: var(--sb-muted); font-size: 13px; text-align: center; }

/* ---------- Single: layout with rail (TOC + share) ---------- */

.sb-single__layout { display: block; }
.sb-single__main { max-width: var(--sb-read); margin-inline: auto; min-width: 0; }

.sb-rail { margin: 0 auto 32px; max-width: var(--sb-read); }
.sb-rail .sb-share--rail { display: none; }

@media (min-width: 1100px) {
	.sb-single__layout.has-rail {
		display: grid;
		grid-template-columns: 230px minmax(0, var(--sb-read)) 230px;
		justify-content: center;
		gap: 56px;
	}
	.sb-single__layout.has-rail .sb-single__main { margin: 0; }
	.sb-rail { margin: 0; max-width: none; }
	.sb-rail__inner {
		position: sticky;
		top: var(--sb-header-offset);
		display: flex;
		flex-direction: column;
		gap: 28px;
	}
	.sb-rail .sb-share--rail { display: flex; }
	.sb-toc > summary { pointer-events: none; }
	.sb-toc > summary::after { display: none; }
}

.sb-toc {
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	background: var(--sb-bg-alt);
	padding: 0;
}
.sb-toc > summary {
	position: relative;
	display: block;
	padding: 16px 44px 12px 20px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--sb-gold-dark);
	cursor: pointer;
	list-style: none;
}
.sb-toc > summary::-webkit-details-marker { display: none; }
.sb-toc > summary::after {
	content: "";
	position: absolute;
	right: 20px; top: 50%;
	width: 8px; height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s ease;
}
.sb-toc[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.sb-toc ol {
	margin: 0;
	padding: 0 20px 16px;
	list-style: none;
	counter-reset: sb-toc;
}
.sb-toc li { margin: 0; counter-increment: sb-toc; }
.sb .sb-toc a {
	display: flex;
	gap: 10px;
	padding: 7px 0;
	border-top: 1px solid var(--sb-line);
	color: var(--sb-muted);
	font-size: 14px;
	line-height: 1.45;
}
.sb-toc li:first-child a { border-top: 0; }
.sb-toc a::before {
	content: counter(sb-toc, decimal-leading-zero);
	flex: none;
	min-width: 20px;
	padding-top: 1px;
	color: var(--sb-gold);
	font-size: 12px;
	font-weight: 700;
}
.sb .sb-toc a:hover,
.sb .sb-toc a.is-active { color: var(--sb-text); }
.sb .sb-toc a.is-active { font-weight: 700; }
.sb .sb-toc a.is-active::before { color: var(--sb-gold-dark); }

/* ---------- Single: content typography ---------- */

.sb-content { font-size: 17px; line-height: 1.75; color: #222; }
.sb-content > *:first-child { margin-top: 0; }
.sb-content p,
.sb-content ul,
.sb-content ol,
.sb-content blockquote,
.sb-content figure,
.sb-content table { margin: 0 0 1.4em; }
.sb .sb-content h2 {
	margin: 2em 0 .6em;
	font-size: clamp(28px, 3.2vw, 36px);
	scroll-margin-top: var(--sb-header-offset);
}
.sb .sb-content h3 {
	margin: 1.6em 0 .5em;
	font-size: clamp(22px, 2.4vw, 27px);
	scroll-margin-top: var(--sb-header-offset);
}
.sb .sb-content h4 { margin: 1.4em 0 .4em; font-family: var(--sb-sans); font-size: 17px; font-weight: 700; }
.sb-content a { color: var(--sb-gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sb-content a:hover { color: var(--sb-gold-dark); }
.sb-content strong { color: var(--sb-text); }

/* Editor formatting is shown exactly as written.
 * Inline styles (e.g. Word / Google Docs paste) still win because nothing here is !important. */
.sb .sb-content { font-weight: 400; font-synthesis: weight style; }
.sb .sb-content p,
.sb .sb-content li,
.sb .sb-content td { font-weight: inherit; }
.sb .sb-content b,
.sb .sb-content strong,
.sb .sb-content th { font-weight: 700; }
.sb .sb-content b *,
.sb .sb-content strong * { font-weight: inherit; }
.sb .sb-content em,
.sb .sb-content i,
.sb .sb-content cite,
.sb .sb-content dfn { font-style: italic; }
.sb .sb-content u,
.sb .sb-content ins { text-decoration: underline; text-underline-offset: 3px; }
.sb .sb-content s,
.sb .sb-content del,
.sb .sb-content strike { text-decoration: line-through; }
.sb .sb-content sup,
.sb .sb-content sub { font-size: .75em; line-height: 0; position: relative; vertical-align: baseline; }
.sb .sb-content sup { top: -.5em; }
.sb .sb-content sub { bottom: -.25em; }
.sb .sb-content mark { padding: 0 .2em; background: var(--sb-gold-soft); color: inherit; }
.sb .sb-content code,
.sb .sb-content kbd { padding: .1em .35em; border-radius: 4px; background: var(--sb-bg-alt); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }
.sb .sb-content pre { overflow-x: auto; padding: 16px 18px; border-radius: var(--sb-radius); background: var(--sb-bg-alt); font-size: 14px; }
.sb .sb-content pre code { padding: 0; background: none; }
.sb .sb-content .has-text-align-center,
.sb .sb-content [style*="text-align: center"],
.sb .sb-content .aligncenter { text-align: center; }
.sb .sb-content .has-text-align-right { text-align: right; }
.sb .sb-content .aligncenter { display: block; margin-inline: auto; }
.sb .sb-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.sb .sb-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.sb .sb-content p:empty { display: none; }
.sb-content ul,
.sb-content ol { padding-left: 1.3em; }
.sb-content li { margin: 0 0 .5em; }
.sb-content ul li::marker { color: var(--sb-gold); }
.sb-content ol li::marker { color: var(--sb-gold); font-weight: 700; }
.sb-content blockquote {
	position: relative;
	padding: 8px 0 8px 28px;
	border-left: 3px solid var(--sb-gold);
	font-family: var(--sb-serif);
	font-size: clamp(22px, 2.4vw, 26px);
	font-style: italic;
	line-height: 1.4;
	color: var(--sb-text);
	background: none;
}
.sb-content blockquote::before,
.sb-content blockquote::after { content: none; display: none; }
.sb .sb-content blockquote p { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; letter-spacing: 0; }
.sb-content blockquote p:last-child { margin-bottom: 0; }
.sb-content blockquote cite { display: block; margin-top: 8px; font-family: var(--sb-sans); font-size: 14px; font-style: normal; color: var(--sb-muted); }
.sb-content img { max-width: 100%; height: auto; border-radius: var(--sb-radius); }
.sb-content figure { max-width: 100%; }
.sb-content figcaption,
.sb-content .wp-caption-text { margin-top: 8px; font-size: 13px; color: var(--sb-muted); text-align: center; }
.sb-content .alignwide,
.sb-content .alignfull { margin-inline: 0; max-width: 100%; }
.sb-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sb-content th,
.sb-content td { padding: 10px 12px; border-bottom: 1px solid var(--sb-line); text-align: left; }
.sb-content th { font-weight: 700; background: var(--sb-bg-alt); }
.sb-content hr { margin: 2.4em auto; width: 80px; border: 0; border-top: 1px solid var(--sb-gold); }
.sb-content iframe,
.sb-content video { max-width: 100%; border-radius: var(--sb-radius); }

/* WPBakery rows inside post content: keep them in the reading column. */
.sb-content .vc_row { margin-left: 0 !important; margin-right: 0 !important; }
.sb-content .vc_column_container > .vc_column-inner { padding-left: 0; padding-right: 0; }

.sb-page-links { margin: 24px 0; font-weight: 600; }

.sb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.sb-tags li { margin: 0; }
.sb-tags a { display: inline-block; padding: 4px 12px; border: 1px solid var(--sb-line); border-radius: var(--sb-pill); font-size: 13px; color: var(--sb-muted); }
.sb-tags a:hover { border-color: var(--sb-gold); color: var(--sb-gold); }

/* ---------- Share ---------- */

.sb-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}
.sb-share__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sb-muted); }
.sb-share ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sb-share li { margin: 0; }
.sb-share--end {
	flex-direction: column;
	justify-content: center;
	margin: 48px 0 0;
	padding: 28px 20px;
	border-radius: var(--sb-radius);
	background: var(--sb-bg-alt);
	text-align: center;
}
.sb-share--end .sb-share__label { font-family: var(--sb-serif); font-size: 22px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--sb-text); }
.sb-share--rail { flex-direction: column; align-items: flex-start; padding-left: 4px; }
.sb-share--rail ul { gap: 6px; }
.sb-share--rail .sb-share__btn { width: 40px !important; height: 40px !important; }
.sb a.sb-share__btn,
.sb button.sb-share__btn {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--sb-line);
	border-radius: 50%;
	background: #fff !important;
	color: var(--sb-text) !important;
	box-shadow: none;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.sb a.sb-share__btn:hover,
.sb button.sb-share__btn:hover,
.sb button.sb-share__btn.is-copied { background: var(--sb-gold) !important; border-color: var(--sb-gold); color: #fff !important; transform: translateY(-2px); }
.sb-share__status { font-size: 13px; color: var(--sb-gold); min-height: 1em; }
.sb-share--rail .sb-share__status:empty { display: none; }

/* ---------- Section heads ---------- */

.sb-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: clamp(24px, 3vw, 36px);
}
.sb .sb-section-title { font-size: clamp(30px, 3.6vw, 42px); font-weight: 500; }

/* ---------- Shop this story ---------- */

.sb-shop {
	margin: clamp(56px, 7vw, 88px) 0 0;
	padding: clamp(48px, 6vw, 72px) 0;
	background: var(--sb-bg-alt);
}
.sb-products {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 1000px) { .sb-products { grid-template-columns: repeat(4, 1fr); } }
.sb-product { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
.sb-product__media {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 6px;
	border-radius: var(--sb-radius);
	overflow: hidden;
	background: #fff;
}
.sb-product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sb-product:hover .sb-product__media img { transform: scale(1.05); }
.sb .sb-product__title { font-size: 21px; font-weight: 600; line-height: 1.25; }
.sb .sb-product__title a:hover { color: var(--sb-gold); }
.sb-product__price { margin: 0 0 6px; font-size: 15px; color: var(--sb-muted); }
.sb-product__price del { opacity: .6; margin-right: 6px; }
.sb-product__price ins { text-decoration: none; color: var(--sb-gold-dark); font-weight: 600; }

/* ---------- Author ---------- */

.sb-author {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin: 40px 0 0;
	padding: 28px 30px;
	border: 1px solid var(--sb-line);
	border-left: 3px solid var(--sb-gold);
	border-radius: var(--sb-radius);
	background: #fff;
}
.sb .sb-author__avatar { width: 88px; height: 88px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px var(--sb-gold-soft); }
.sb-author__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sb-author__label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sb-gold); }
.sb-author__name { margin: 0; font-family: var(--sb-serif); font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--sb-text); }
.sb-author__bio { margin: 4px 0 8px; font-size: 15px; color: var(--sb-muted); }
@media (max-width: 560px) { .sb-author { flex-direction: column; } }

/* ---------- Prev / next ---------- */

.sb-post-nav {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 32px 0 0;
}
@media (min-width: 640px) { .sb-post-nav { grid-template-columns: 1fr 1fr; } }
.sb-post-nav__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	transition: border-color .2s ease;
}
.sb-post-nav__link:hover { border-color: var(--sb-gold); }
.sb-post-nav__link--next { text-align: right; }
.sb-post-nav__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-gold); }
.sb-post-nav__title { font-family: var(--sb-serif); font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--sb-text); }

/* ---------- Related ---------- */

.sb-related { padding: clamp(56px, 7vw, 96px) 0; }

/* ---------- CTA ---------- */

.sb-cta {
	padding: clamp(56px, 8vw, 104px) 0;
	background: var(--sb-dark);
	color: #fff;
	text-align: center;
}
.sb .sb-cta__title { color: #fff; font-size: clamp(36px, 5vw, 56px); font-weight: 500; }
.sb-cta__text { max-width: 520px; margin: 16px auto 0; color: rgba(255, 255, 255, .78); font-size: 17px; }
.sb-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 0; }

.sb-comments { padding-top: 48px; }

/* ---------- Theme-proofing ----------
 * Some sites add global rules such as `h1:not([class*="fontsize-"]) { color:#fff !important }`
 * for dark theme headers. Keep our headings readable regardless. */

html body .sb h1, html body .sb h2, html body .sb h3,
html body .sb h4, html body .sb h5, html body .sb h6,
html body .sb h1 a, html body .sb h2 a, html body .sb h3 a, html body .sb h4 a { color: var(--sb-text) !important; }
html body .sb h1, html body .sb h2, html body .sb h3 { font-family: var(--sb-serif) !important; }
html body .sb .sb-card__title a:hover,
html body .sb .sb-featured__title a:hover,
html body .sb .sb-product__title a:hover,
html body .sb .sb-post-nav__title:hover { color: var(--sb-gold) !important; }
html body .sb .sb-cta h2 { color: #fff !important; }
html body .sb .sb-single__title,
html body .sb .sb-hero__title {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	-webkit-text-fill-color: currentColor !important;
}

/* ---------- Content extras ---------- */

.sb .sb-content h2 { position: relative; padding-top: 18px; }
.sb .sb-content h2::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 40px; height: 2px;
	background: var(--sb-gold);
}
.sb-content.has-dropcap .sb-first-p::first-letter {
	float: left;
	margin: 6px 12px 0 0;
	color: var(--sb-gold);
	font-family: var(--sb-serif);
	font-size: 4.4em;
	font-weight: 600;
	line-height: .8;
}
.sb-content.has-dropcap .sb-first-p { font-size: 1.08em; }
.sb-content .sb-first-p::after { content: ""; display: table; clear: both; }
.sb-content img { box-shadow: 0 16px 40px -24px rgba(60, 40, 10, .35); }
.sb-content ::selection,
.sb-single__title::selection { background: var(--sb-gold-soft); color: var(--sb-text); }

.sb-single__main > .sb-post-nav { margin-top: 24px; }

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

.sb-comments-wrap {
	padding: clamp(48px, 6vw, 80px) 0;
	border-top: 1px solid var(--sb-line);
	background: var(--sb-bg-alt);
}
.sb-comment-list,
.sb-comment-list .children { margin: 0; padding: 0; list-style: none; }
.sb-comment-list .children { margin-left: clamp(20px, 5vw, 56px); }
.sb-comment { margin: 0 0 16px; }
.sb-comment__body {
	display: flex;
	gap: 16px;
	padding: 22px 24px;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	background: #fff;
}
.sb .sb-comment__avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.sb-comment__main { flex: 1; min-width: 0; }
.sb-comment__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.sb-comment__author { font-weight: 700; color: var(--sb-text); }
.sb-comment__date { font-size: 13px; color: var(--sb-muted); }
.sb-comment__pending { margin: 0 0 8px; font-size: 13px; color: var(--sb-gold-dark); }
.sb-comment__text { font-size: 15px; color: #333; }
.sb-comment__text p { margin: 0 0 .8em; }
.sb-comment__actions { display: flex; gap: 16px; font-size: 13px; font-weight: 700; }
.sb-comment__actions a { color: var(--sb-gold); }
.sb-comment__actions a:hover { color: var(--sb-gold-dark); }
.sb-comments__closed { color: var(--sb-muted); }

.sb-respond { margin-top: 32px; padding: clamp(24px, 4vw, 36px); border-radius: var(--sb-radius); background: #fff; border: 1px solid var(--sb-line); }
.sb .sb-respond__title { margin: 0 0 8px; font-size: 28px; }
.sb-respond__title small { display: block; margin-top: 6px; font-family: var(--sb-sans); font-size: 13px; }
.sb-respond__title small a { color: var(--sb-gold); }
.sb-comment-form { display: grid; grid-template-columns: 1fr; gap: 0 20px; }
@media (min-width: 640px) {
	.sb-comment-form { grid-template-columns: 1fr 1fr; }
	.sb-comment-form > .comment-notes,
	.sb-comment-form > .logged-in-as,
	.sb-comment-form > .comment-form-comment,
	.sb-comment-form > .comment-form-url,
	.sb-comment-form > .comment-form-cookies-consent,
	.sb-comment-form > .form-submit { grid-column: 1 / -1; }
}
.sb-comment-form p { margin: 0 0 16px; font-size: 14px; color: var(--sb-muted); }
.sb-comment-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--sb-text); }
.sb .sb-comment-form input[type="text"],
.sb .sb-comment-form input[type="email"],
.sb .sb-comment-form input[type="url"],
.sb .sb-comment-form textarea {
	width: 100%;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--sb-line);
	border-radius: 10px;
	background: #fff;
	color: var(--sb-text);
	font-family: var(--sb-sans);
	font-size: 15px;
	box-shadow: none;
}
.sb .sb-comment-form input:focus,
.sb .sb-comment-form textarea:focus { border-color: var(--sb-gold); outline: none; box-shadow: 0 0 0 3px rgba(147, 105, 45, .15); }
.sb-comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.sb-comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; color: var(--sb-muted); }
.sb .sb-comment-form .sb-btn { cursor: pointer; background: var(--sb-gold) !important; color: #fff !important; border-color: var(--sb-gold) !important; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.sb *,
	.sb *::before,
	.sb *::after { transition: none !important; animation: none !important; }
	.sb-card:hover .sb-card__media .sb-img,
	.sb-featured:hover .sb-featured__media .sb-img,
	.sb-product:hover .sb-product__media img { transform: none; }
}

html:has(.sb-single) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.sb-single) { scroll-behavior: auto; } }
