/*
Theme Name: Sri Bruhathi Traders
Theme URI: https://sribruhathitraders.com/
Author: Sri Bruhathi Traders
Author URI: https://sribruhathitraders.com/
Description: Premium, responsive B2B WordPress theme for Sri Bruhathi Traders — an Indian exporter and global procurement partner. Includes a customizable homepage (hero, value props, product categories, certifications, process, CTA), product/about/contact page templates, full blog support and Customizer controls.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sri-bruhathi
Tags: business, portfolio, blog, one-column, two-columns, custom-logo, custom-menu, custom-colors, custom-background, custom-header, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, right-sidebar
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--sb-background: #ffffff;
	--sb-foreground: #231716;
	--sb-primary: #ed5350;
	--sb-primary-foreground: #ffffff;
	--sb-secondary: #f8f4f3;
	--sb-muted: #f5f0f0;
	--sb-muted-foreground: #6e5f5d;
	--sb-accent: #ffe7e4;
	--sb-border: #e8e3e3;
	--sb-card: #ffffff;

	--sb-gradient-hero: linear-gradient(135deg, rgba(237, 83, 80, 0.9), rgba(204, 39, 46, 0.8));
	--sb-gradient-gold: linear-gradient(135deg, #ff6557, #de3a46);
	--sb-shadow-elegant: 0 20px 50px -20px rgba(237, 83, 80, 0.3);
	--sb-shadow-soft: 0 8px 24px -12px rgba(64, 35, 32, 0.15);

	--sb-radius: 0.5rem;
	--sb-font-display: "Fraunces", ui-serif, Georgia, serif;
	--sb-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--sb-header-height: 5rem;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	border-color: var(--sb-border);
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--sb-background);
	color: var(--sb-foreground);
	font-family: var(--sb-font-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
	font-family: var(--sb-font-display);
	letter-spacing: -0.02em;
	font-weight: 500;
	line-height: 1.15;
	margin: 0;
}

h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0; }

a {
	color: var(--sb-primary);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover { opacity: 0.85; }

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

:focus-visible {
	outline: 2px solid var(--sb-primary);
	outline-offset: 3px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute !important;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	background: var(--sb-primary);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 12px 0;
}

.skip-link:focus {
	left: 0;
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.sb-container {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

@media (min-width: 768px) {
	.sb-container { padding-inline: 2.5rem; }
}

.sb-section {
	padding-block: 5rem;
}

@media (min-width: 768px) {
	.sb-section { padding-block: 7rem; }
}

.sb-section--muted { background: rgba(248, 244, 243, 0.5); }

.sb-grid { display: grid; gap: 1.5rem; }

@media (min-width: 640px) {
	.sb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.sb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 640px) and (max-width: 1023px) {
	.sb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sb-split {
	display: grid;
	gap: 3rem;
}

@media (min-width: 768px) {
	.sb-split {
		grid-template-columns: 1fr 2fr;
		gap: 4rem;
	}
}

.sb-muted { color: var(--sb-muted-foreground); }
.sb-lead { font-size: 1.125rem; color: var(--sb-muted-foreground); }

/* ==========================================================================
   4. Buttons & eyebrow
   ========================================================================== */
.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 999px;
	padding: 0.75rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.sb-btn:hover { transform: translateY(-2px); }

.sb-btn--primary {
	background: var(--sb-primary);
	color: var(--sb-primary-foreground);
	box-shadow: var(--sb-shadow-soft);
}

.sb-btn--gold {
	background: var(--sb-gradient-gold);
	color: #fff;
	box-shadow: var(--sb-shadow-soft);
}

.sb-btn--outline {
	border-color: rgba(35, 23, 22, 0.2);
	background: transparent;
	color: var(--sb-foreground);
}

.sb-btn--outline:hover {
	background: var(--sb-foreground);
	color: var(--sb-background);
}

.sb-btn--onDark {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
	background: transparent;
}

.sb-btn--onDark:hover {
	background: #fff;
	color: var(--sb-primary);
}

.sb-arrow {
	width: 1rem;
	height: 1rem;
	flex: none;
}

.sb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--sb-muted-foreground);
}

.sb-eyebrow::before {
	content: "";
	display: block;
	height: 1px;
	width: 2rem;
	background: var(--sb-primary);
}

.sb-eyebrow--light { color: rgba(255, 255, 255, 0.7); }
.sb-eyebrow--light::before { background: #fff; }

/* ==========================================================================
   5. Header / navigation
   ========================================================================== */
.sb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(232, 227, 227, 0.6);
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.sb-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: var(--sb-header-height);
}

.sb-brand { display: flex; align-items: center; min-width: 0; }
.sb-brand img,
.sb-brand .custom-logo {
	height: 2.25rem;
	width: auto;
	object-fit: contain;
}

@media (min-width: 640px) {
	.sb-brand img,
	.sb-brand .custom-logo { height: 2.75rem; }
}

.sb-brand__text {
	font-family: var(--sb-font-display);
	font-size: 1.125rem;
	color: var(--sb-foreground);
	display: flex;
	flex-direction: column;
}

.sb-brand__tagline {
	font-family: var(--sb-font-sans);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--sb-muted-foreground);
}

.sb-nav__list {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sb-nav__list a {
	font-size: 0.875rem;
	color: rgba(35, 23, 22, 0.7);
}

.sb-nav__list a:hover,
.sb-nav__list .current-menu-item > a,
.sb-nav__list .current_page_item > a {
	color: var(--sb-foreground);
	font-weight: 500;
	opacity: 1;
}

/* Dropdowns */
.sb-nav__list li { position: relative; }

.sb-nav__list .sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 13rem;
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	background: #fff;
	border: 1px solid var(--sb-border);
	border-radius: 0.75rem;
	box-shadow: var(--sb-shadow-soft);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.2s ease;
	z-index: 60;
}

.sb-nav__list li:hover > .sub-menu,
.sb-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sb-nav__list .sub-menu a {
	display: block;
	padding: 0.5rem 0.75rem;
	border-radius: 0.5rem;
}

.sb-nav__list .sub-menu a:hover { background: var(--sb-secondary); }

.sb-header__cta { display: none; }

.sb-menu-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.55rem;
	border: 1px solid var(--sb-border);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
}

.sb-menu-toggle span[aria-hidden] {
	display: block;
	height: 2px;
	background: var(--sb-foreground);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.sb-menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.sb-menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.sb-menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
	.sb-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--sb-background);
		border-top: 1px solid var(--sb-border);
		padding: 0.5rem 1.5rem 1.25rem;
	}

	.sb-nav.is-open { display: block; }

	.sb-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.sb-nav__list > li > a {
		display: block;
		padding: 0.75rem 0;
		font-size: 0.9rem;
	}

	.sb-nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 1rem;
	}
}

@media (min-width: 900px) {
	.sb-menu-toggle { display: none; }
	.sb-nav { display: block !important; }
	.sb-header__cta { display: inline-flex; }
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.sb-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
}

.sb-hero__bg {
	position: absolute;
	inset: 0;
}

.sb-hero__bg img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.sb-hero__overlay {
	position: absolute;
	inset: 0;
	background: var(--sb-gradient-hero);
}

.sb-hero__inner {
	position: relative;
	padding-block: 6rem;
}

@media (min-width: 768px) {
	.sb-hero__inner { padding-block: 10rem; }
}

.sb-hero h1 {
	margin-top: 1.5rem;
	max-width: 48rem;
	line-height: 1.05;
	color: #fff;
}

.sb-hero h1 em {
	font-style: italic;
	color: #fff;
}

.sb-hero__text {
	margin-top: 1.5rem;
	max-width: 36rem;
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.0625rem;
}

.sb-hero__actions {
	margin-top: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sb-stats {
	margin-top: 4rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	max-width: 48rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 2rem;
}

@media (min-width: 768px) {
	.sb-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.sb-stats strong {
	display: block;
	font-family: var(--sb-font-display);
	font-weight: 500;
	font-size: 1.875rem;
	color: #fff;
}

@media (min-width: 768px) {
	.sb-stats strong { font-size: 2.25rem; }
}

.sb-stats span {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   7. Cards & sections
   ========================================================================== */
.sb-section__head { max-width: 42rem; }
.sb-section__head h1,
.sb-section__head h2 { margin-top: 1rem; }
.sb-section__head p { margin-top: 1rem; color: var(--sb-muted-foreground); }

.sb-head-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.sb-head-row { flex-direction: row; align-items: flex-end; }
}

.sb-card {
	border: 1px solid var(--sb-border);
	background: var(--sb-card);
	border-radius: 1rem;
	padding: 1.5rem;
	box-shadow: var(--sb-shadow-soft);
	transition: transform 0.25s ease;
}

.sb-card:hover { transform: translateY(-4px); }
.sb-card h3 { margin-top: 1rem; }
.sb-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--sb-muted-foreground); }

.sb-icon {
	display: grid;
	place-items: center;
	height: 2.75rem;
	width: 2.75rem;
	border-radius: 999px;
	background: rgba(237, 83, 80, 0.15);
	color: var(--sb-primary);
}

.sb-icon svg { width: 1.25rem; height: 1.25rem; }

/* Category cards */
.sb-cat {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid var(--sb-border);
	background: var(--sb-card);
	color: inherit;
}

.sb-cat__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.sb-cat__media img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.sb-cat:hover .sb-cat__media img { transform: scale(1.05); }

.sb-cat__num {
	position: absolute;
	left: 1rem;
	top: 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	padding: 0.25rem 0.75rem;
	font-family: var(--sb-font-display);
	font-size: 0.75rem;
	color: var(--sb-foreground);
}

.sb-cat__body { padding: 1.5rem; }
.sb-cat__body h3 { font-size: 1.25rem; }
.sb-cat__body p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--sb-muted-foreground); }

.sb-link {
	margin-top: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--sb-primary);
}

.sb-cat:hover .sb-link .sb-arrow { transform: translateX(4px); }
.sb-link .sb-arrow { transition: transform 0.2s ease; }

/* Certifications */
.sb-cert {
	display: flex;
	gap: 1.25rem;
	border: 1px solid var(--sb-border);
	background: var(--sb-card);
	border-radius: 1rem;
	padding: 1.5rem;
	box-shadow: var(--sb-shadow-soft);
}

.sb-cert img {
	height: 4rem;
	width: 4rem;
	flex: none;
	object-fit: contain;
}

.sb-cert h3 { font-size: 1.125rem; }
.sb-cert p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--sb-muted-foreground); }

/* Process */
.sb-step__num {
	font-family: var(--sb-font-display);
	font-size: 3rem;
	line-height: 1;
	color: rgba(237, 83, 80, 0.6);
}

.sb-step h3 { margin-top: 1rem; font-size: 1.25rem; }
.sb-step p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--sb-muted-foreground); }

/* CTA panel */
.sb-cta {
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
	background: var(--sb-primary);
	color: #fff;
	padding: 4rem 2rem;
	box-shadow: var(--sb-shadow-elegant);
}

@media (min-width: 768px) {
	.sb-cta { padding: 5rem 4rem; }
}

.sb-cta h2 { color: #fff; }
.sb-cta p { margin-top: 1rem; max-width: 36rem; color: rgba(255, 255, 255, 0.8); }

.sb-cta__grid { display: grid; gap: 2rem; }

@media (min-width: 768px) {
	.sb-cta__grid { grid-template-columns: 2fr 1fr; align-items: center; }
	.sb-cta__actions { align-items: flex-end; }
}

.sb-cta__actions { display: flex; flex-direction: column; gap: 0.75rem; }
.sb-cta__actions a.sb-textlink { font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); }

.sb-checklist {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.5rem;
	font-size: 0.875rem;
}

@media (min-width: 768px) {
	.sb-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sb-checklist li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.85);
}

/* Product detail rows */
.sb-product {
	display: grid;
	gap: 2.5rem;
	align-items: center;
	scroll-margin-top: 7rem;
}

@media (min-width: 768px) {
	.sb-product { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
	.sb-product--flip .sb-product__media { order: 2; }
}

.sb-product__media {
	overflow: hidden;
	border-radius: 1.5rem;
	box-shadow: var(--sb-shadow-elegant);
}

.sb-product__num {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.sb-product__num strong {
	font-family: var(--sb-font-display);
	font-weight: 500;
	font-size: 3rem;
	color: var(--sb-primary);
}

.sb-product__num i {
	display: block;
	flex: 1;
	height: 1px;
	background: var(--sb-border);
}

.sb-product h2 { margin-top: 1.5rem; }
.sb-product__tagline { margin-top: 0.75rem; font-size: 1.125rem; color: var(--sb-muted-foreground); }

.sb-ticks {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.75rem;
}

.sb-ticks li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.875rem;
}

.sb-ticks li::before {
	content: "";
	margin-top: 0.3rem;
	flex: none;
	height: 1.25rem;
	width: 1.25rem;
	border-radius: 999px;
	background: rgba(237, 83, 80, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed5350' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

.sb-stack > * + * { margin-top: 6rem; }

/* ==========================================================================
   8. Forms
   ========================================================================== */
.sb-form {
	border: 1px solid var(--sb-border);
	background: var(--sb-card);
	border-radius: 1.5rem;
	padding: 2rem;
	box-shadow: var(--sb-shadow-soft);
}

@media (min-width: 768px) {
	.sb-form { padding: 2.5rem; }
}

.sb-form__grid { display: grid; gap: 1.25rem; }

@media (min-width: 768px) {
	.sb-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sb-field { display: block; }

.sb-field > label,
.sb-form label {
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--sb-muted-foreground);
}

.sb-field .req { color: var(--sb-primary); }

.sb-form input[type="text"],
.sb-form input[type="email"],
.sb-form input[type="tel"],
.sb-form input[type="url"],
.sb-form input[type="search"],
.sb-form select,
.sb-form textarea,
.sb-searchform input[type="search"],
.sb-comments input[type="text"],
.sb-comments input[type="email"],
.sb-comments input[type="url"],
.sb-comments textarea {
	margin-top: 0.5rem;
	width: 100%;
	border: 1px solid var(--sb-border);
	background: var(--sb-background);
	border-radius: var(--sb-radius);
	padding: 0.75rem 1rem;
	font: inherit;
	font-size: 0.875rem;
	color: var(--sb-foreground);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sb-form input:focus,
.sb-form select:focus,
.sb-form textarea:focus {
	outline: none;
	border-color: var(--sb-primary);
	box-shadow: 0 0 0 3px rgba(237, 83, 80, 0.3);
}

.sb-form__row { margin-top: 1.25rem; }
.sb-form button[type="submit"],
.sb-form input[type="submit"] { margin-top: 2rem; }

.sb-notice {
	margin-bottom: 1.5rem;
	border-radius: var(--sb-radius);
	padding: 0.9rem 1.1rem;
	font-size: 0.875rem;
}

.sb-notice--ok { background: #edf9f0; color: #1c6b39; border: 1px solid #bfe6cb; }
.sb-notice--err { background: #fdecec; color: #a12622; border: 1px solid #f4c3c1; }

.sb-searchform {
	display: flex;
	gap: 0.5rem;
	margin-top: 1rem;
}

.sb-searchform input[type="search"] { margin-top: 0; }

/* Contact details list */
.sb-contact-list {
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1.5rem;
}

.sb-contact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.sb-contact-list .sb-icon { flex: none; }
.sb-contact-list dt {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--sb-muted-foreground);
}
.sb-contact-list dd { margin: 0.25rem 0 0; color: var(--sb-foreground); }

/* ==========================================================================
   9. Blog
   ========================================================================== */
.sb-blog {
	display: grid;
	gap: 3rem;
}

@media (min-width: 1024px) {
	.sb-blog { grid-template-columns: minmax(0, 1fr) 20rem; }
}

.sb-post-card {
	border: 1px solid var(--sb-border);
	border-radius: 1rem;
	overflow: hidden;
	background: var(--sb-card);
	box-shadow: var(--sb-shadow-soft);
	display: flex;
	flex-direction: column;
}

.sb-post-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.sb-post-card h3 a { color: var(--sb-foreground); }
.sb-post-card h3 a:hover { color: var(--sb-primary); }

.sb-meta {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--sb-muted-foreground);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.sb-entry { max-width: 48rem; margin-inline: auto; }
.sb-entry__media { margin: 2rem 0; border-radius: 1.5rem; overflow: hidden; }

.sb-entry__content > * + * { margin-top: 1.25rem; }
.sb-entry__content h2,
.sb-entry__content h3 { margin-top: 2rem; }
.sb-entry__content ul,
.sb-entry__content ol { padding-left: 1.25rem; }
.sb-entry__content blockquote {
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	border-left: 3px solid var(--sb-primary);
	background: var(--sb-secondary);
	border-radius: 0 var(--sb-radius) var(--sb-radius) 0;
	font-style: italic;
}

.sb-taxonomy { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sb-tag {
	display: inline-block;
	border-radius: 999px;
	border: 1px solid var(--sb-border);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	color: var(--sb-muted-foreground);
}

.sb-sidebar .widget + .widget { margin-top: 2rem; }
.sb-sidebar .widget-title { font-family: var(--sb-font-display); font-size: 1.1rem; margin-bottom: 0.75rem; }
.sb-sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9rem; }

.pagination,
.nav-links {
	margin-top: 3rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--sb-border);
	color: var(--sb-foreground);
	font-size: 0.875rem;
}

.page-numbers.current,
.page-numbers:hover { background: var(--sb-primary); color: #fff; border-color: var(--sb-primary); }

.sb-comments { margin-top: 4rem; }
.sb-comments__list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.sb-comments__list ol.children { list-style: none; padding-left: 1.5rem; }
.sb-comments .comment-body {
	border: 1px solid var(--sb-border);
	border-radius: 1rem;
	padding: 1.25rem;
	background: var(--sb-card);
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.sb-footer {
	margin-top: 6rem;
	border-top: 1px solid rgba(232, 227, 227, 0.6);
	background: var(--sb-primary);
	color: #fff;
}

.sb-footer a { color: rgba(255, 255, 255, 0.8); }
.sb-footer a:hover { color: #fff; }

.sb-footer__grid {
	display: grid;
	gap: 3rem;
	padding-block: 4rem;
}

@media (min-width: 768px) {
	.sb-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.sb-footer h4 {
	font-family: var(--sb-font-sans);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.6);
}

.sb-footer ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.875rem; }
.sb-footer__about p { margin-top: 1rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }

.sb-footer__mark {
	display: inline-grid;
	place-items: center;
	height: 2.5rem;
	width: 2.5rem;
	border-radius: 999px;
	background: #fff;
	color: var(--sb-primary);
	font-family: var(--sb-font-display);
}

.sb-footer__brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--sb-font-display); font-size: 1.125rem; color: #fff; }

.sb-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.sb-social a {
	display: grid;
	place-items: center;
	height: 2.25rem;
	width: 2.25rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
}
.sb-social svg { width: 1rem; height: 1rem; }

.sb-footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.sb-footer__bar .sb-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 1.5rem;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
	.sb-footer__bar .sb-container { flex-direction: row; }
}

.sb-footer .widget-title { color: rgba(255, 255, 255, 0.6); font-family: var(--sb-font-sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; }

/* ==========================================================================
   11. Animations
   ========================================================================== */
.sb-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s ease;
	will-change: opacity, transform;
}

.sb-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sb-reveal { opacity: 1; transform: none; transition: none; }
	.sb-btn:hover,
	.sb-card:hover { transform: none; }
	.sb-cat__media img { transition: none; }
}

/* ==========================================================================
   12. WordPress core classes
   ========================================================================== */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.alignwide { max-width: 70rem; }
.alignfull { max-width: none; }
.wp-caption-text,
.wp-element-caption { font-size: 0.8rem; color: var(--sb-muted-foreground); margin-top: 0.5rem; }
.sticky .sb-post-card { border-color: var(--sb-primary); }
.bypostauthor > .comment-body { border-color: var(--sb-primary); }
.sb-page-links { margin-top: 1.5rem; display: flex; gap: 0.5rem; }

/* Elementor-built page content */
.sb-elementor-content { padding-top: 0; padding-bottom: 0; }
