/*
Theme Name: Shaadi Metrics
Theme URI: https://shaadimetrics.com/
Author: Shaadi Metrics
Author URI: https://shaadimetrics.com/
Description: Block theme for Shaadi Metrics — wedding planners, decorators and event managers in Indore and Central India. Ships 20 designed page templates, lead-capture styling for Contact Form 7, custom post types for real weddings, gallery, testimonials, FAQs and packages, LocalBusiness/Service/FAQ schema and Google Ads conversion hooks.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shaadi-metrics
Tags: full-site-editing, block-patterns, custom-colors, custom-menu, custom-logo, featured-images, one-column, translation-ready
*/

/* ---------------------------------------------------------------------------
   1. Base
   --------------------------------------------------------------------------- */

body {
	margin: 0;
	background: #f8f3eb;
	color: #3a2226;
	font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

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

a { color: #6b1230; text-decoration: none; }
a:hover,
a:focus { color: #a8813c; }

:where(a:focus-visible),
:where(button:focus-visible),
:where(input:focus-visible),
:where(select:focus-visible),
:where(textarea:focus-visible) {
	outline: 2px solid #a8813c;
	outline-offset: 2px;
}

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

/* The designed sections own their own padding and max-widths, so neutralise
   the default block-gap between them. */
main.wp-block-group > .wp-block-group > * { margin-block: 0; }
main.wp-block-group > * { margin-block: 0; }

/* ---------------------------------------------------------------------------
   2. Header
   --------------------------------------------------------------------------- */

.sm-header {
	position: sticky;
	top: 0;
	z-index: 90;
	font-family: Manrope, system-ui, sans-serif;
}

.sm-topbar {
	background: #400c1b;
	color: #e4c88e;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 28px;
	padding: 7px 20px;
	font-size: 12px;
	letter-spacing: 0.04em;
}

.sm-topbar a { color: #fff6e2; font-weight: 600; }
.sm-topbar a:hover { color: #e4c88e; }
.sm-topbar .sm-sep { opacity: 0.35; }
.sm-topbar .sm-booking { color: #f3d9a6; }

.sm-headbar {
	background: rgba(248, 243, 235, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(74, 14, 32, 0.13);
}

.sm-headbar-in {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px clamp(16px, 3vw, 32px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px clamp(14px, 2vw, 24px);
}

.sm-logo {
	display: flex;
	align-items: center;
	gap: 11px;
	flex-shrink: 0;
}

.sm-logo img {
	width: 46px;
	height: 46px;
	object-fit: cover;
	border-radius: 50%;
	border: 1px solid rgba(168, 129, 60, 0.4);
}

.sm-logo-name {
	display: block;
	font-family: Marcellus, Georgia, serif;
	font-size: 21px;
	color: #4a0e20;
	line-height: 1.05;
	letter-spacing: 0.01em;
}

.sm-logo-tag {
	display: block;
	font-size: 8.5px;
	letter-spacing: 0.22em;
	color: #a8813c;
	font-weight: 600;
	margin-top: 3px;
}

.sm-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 6px;
	column-gap: clamp(11px, 1.5vw, 24px);
	margin-left: auto;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	list-style: none;
	padding: 0;
}

.sm-nav li { margin: 0; }

.sm-nav a {
	color: #3a2226;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	display: block;
}

.sm-nav a:hover { color: #6b1230; }

.sm-nav .current-menu-item > a,
.sm-nav .current_page_item > a,
.sm-nav .current-menu-ancestor > a,
.sm-nav .current_page_ancestor > a,
.sm-nav a[aria-current="page"] { border-bottom-color: #a8813c; }

/* Dropdowns for nested menu items. */
.sm-nav .sub-menu {
	display: none;
	position: absolute;
	z-index: 20;
	min-width: 232px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fffdf8;
	border: 1px solid rgba(74, 14, 32, 0.14);
	border-top: 2px solid #a8813c;
	box-shadow: 0 18px 44px -20px rgba(52, 9, 15, 0.4);
}

.sm-nav li { position: relative; }
.sm-nav li:hover > .sub-menu,
.sm-nav li:focus-within > .sub-menu { display: block; }

.sm-nav .sub-menu a {
	padding: 9px 18px;
	border-bottom: none;
	text-transform: none;
	letter-spacing: 0.02em;
	font-size: 13px;
	white-space: normal;
}

.sm-nav .sub-menu a:hover { background: #f8f3eb; color: #6b1230; }

.sm-head-cta {
	flex: 0 1 auto;
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	background: #6b1230;
	color: #fff8ec;
	padding: 13px 18px;
	white-space: nowrap;
	border-radius: 2px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 6px 18px rgba(74, 14, 32, 0.22);
}

.sm-head-cta:hover { background: #4a0e20; color: #fff8ec; }
.sm-head-cta .sm-dot { width: 6px; height: 6px; border-radius: 50%; background: #e4c88e; }

.sm-nav-toggle {
	display: none;
	margin-left: auto;
	align-items: center;
	gap: 9px;
	background: none;
	border: 1px solid rgba(74, 14, 32, 0.28);
	color: #4a0e20;
	padding: 11px 15px;
	border-radius: 2px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
}

.sm-nav-toggle .sm-bars { display: block; width: 16px; height: 9px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }

@media (max-width: 1024px) {
	.sm-nav-toggle { display: inline-flex; }
	.sm-nav {
		display: none;
		order: 3;
		flex: 1 1 100%;
		flex-direction: column;
		align-items: stretch;
		margin-left: 0;
		row-gap: 0;
		border-top: 1px solid rgba(74, 14, 32, 0.13);
		padding-top: 6px;
	}
	.sm-nav.is-open { display: flex; }
	.sm-nav a { padding: 13px 2px; border-bottom: 1px solid rgba(74, 14, 32, 0.08); }
	.sm-nav .current-menu-item > a,
	.sm-nav .current_page_item > a,
	.sm-nav a[aria-current="page"] { color: #6b1230; border-bottom-color: #a8813c; }
	.sm-nav .sub-menu { position: static; display: block; border: none; box-shadow: none; background: transparent; padding: 0 0 8px 14px; }
	.sm-head-cta { flex: 1 1 100%; margin-left: 0; }
}

@media (max-width: 600px) {
	.sm-topbar { font-size: 11.5px; gap: 4px 16px; }
	.sm-logo img { width: 40px; height: 40px; }
	.sm-logo-name { font-size: 19px; }
}

/* ---------------------------------------------------------------------------
   3. Footer + floating CTA
   --------------------------------------------------------------------------- */

.sm-footer {
	font-family: Manrope, system-ui, sans-serif;
	background: #34090f;
	color: #e8d4c8;
}

.sm-footer-in {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(48px, 6vw, 80px) clamp(16px, 3vw, 32px) 40px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(32px, 4vw, 56px);
}

.sm-footer h3 {
	margin: 0 0 18px;
	font-family: Marcellus, Georgia, serif;
	font-size: 15px;
	color: #fff6e4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 400;
}

.sm-footer-col { flex: 1 1 min(170px, 100%); }
.sm-footer-brand { flex: 2 1 min(300px, 100%); }
.sm-footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.sm-footer-links a { color: #c7ada4; }
.sm-footer-links a:hover { color: #e4c88e; }
.sm-footer-links .sub-menu { display: none; }
.sm-footer p { color: #c7ada4; }

.sm-social { display: flex; gap: 10px; margin-top: 24px; }

.sm-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(228, 200, 142, 0.3);
	border-radius: 2px;
	color: #e4c88e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.sm-social a:hover { background: #6b1230; border-color: #6b1230; color: #fff6e4; }

.sm-footer-bottom { border-top: 1px solid rgba(228, 200, 142, 0.16); }

.sm-footer-bottom-in {
	max-width: 1280px;
	margin: 0 auto;
	padding: 22px clamp(16px, 3vw, 32px);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	align-items: center;
	justify-content: space-between;
	font-size: 12.5px;
	color: #97786f;
}

.sm-footer-bottom a { color: #97786f; }
.sm-footer-bottom a:hover { color: #e4c88e; }

.sm-floating {
	position: fixed;
	right: clamp(12px, 2vw, 22px);
	bottom: clamp(12px, 2vw, 22px);
	z-index: 80;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-family: Manrope, system-ui, sans-serif;
}

.sm-floating a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.5);
}

.sm-floating .sm-wa { background: #1f6e42; color: #fff; }
.sm-floating .sm-tel { background: #6b1230; color: #fff6e4; }
.sm-floating a:hover { filter: brightness(1.08); color: #fff; }

@media print {
	.sm-floating,
	.sm-nav-toggle,
	.sm-header { display: none !important; }
}

/* ---------------------------------------------------------------------------
   4. Accordions (FAQ blocks inside the designed sections)
   --------------------------------------------------------------------------- */

[data-acc-toggle] { cursor: pointer; font-family: inherit; text-align: left; }
[data-acc-toggle][aria-expanded="true"] [data-acc-icon] { transform: rotate(45deg); }
[data-acc-icon] { display: inline-block; transition: transform 0.18s ease; }
[data-acc-panel] { display: none; }
[data-acc-panel].is-open { display: block; }

/* ---------------------------------------------------------------------------
   5. Gallery grid, filters and lightbox
   --------------------------------------------------------------------------- */

.sm-gallery-wrap { max-width: 1280px; margin: 0 auto; }

.sm-gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: clamp(24px, 3vw, 34px);
}

.sm-filter {
	border: 1px solid rgba(74, 14, 32, 0.2);
	background: #fffdf8;
	color: #6e5a5e;
	padding: 10px 18px;
	font-family: Manrope, sans-serif;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 2px;
}

.sm-filter:hover { border-color: #a8813c; color: #4a0e20; }
.sm-filter[aria-pressed="true"] { background: #6b1230; border-color: #6b1230; color: #fff8ec; }

.sm-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 8px;
}

.sm-gallery-item {
	position: relative;
	display: block;
	padding: 0;
	border: none;
	background: #34090f;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	cursor: zoom-in;
	width: 100%;
}

.sm-gallery-item[hidden] { display: none; }
.sm-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.sm-gallery-item:hover img { transform: scale(1.05); }

.sm-gallery-cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 16px 14px;
	background: linear-gradient(to top, rgba(52, 9, 15, 0.82), rgba(52, 9, 15, 0));
	text-align: left;
}

.sm-gallery-cat {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #e4c88e;
}

.sm-gallery-title {
	display: block;
	margin-top: 5px;
	font-family: Marcellus, Georgia, serif;
	font-size: 16px;
	color: #fff6e4;
}

.sm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(26, 5, 9, 0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 4vw, 48px);
}

.sm-lightbox[hidden] { display: none; }
.sm-lightbox-inner { max-width: 1100px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sm-lightbox img { max-width: 100%; max-height: 72vh; object-fit: contain; display: block; border: 1px solid rgba(228, 200, 142, 0.28); }
.sm-lightbox-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #c9a05a; text-align: center; }
.sm-lightbox-title { margin-top: 7px; font-family: Marcellus, Georgia, serif; font-size: 22px; color: #fff6e4; text-align: center; }
.sm-lightbox-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.sm-lightbox-actions a,
.sm-lightbox-actions button {
	padding: 13px 22px;
	font-family: Manrope, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 2px;
}

.sm-lightbox-actions a { background: #fff6e4; color: #4a0e20; border: 1px solid #fff6e4; }
.sm-lightbox-actions a:hover { background: #e4c88e; color: #4a0e20; }
.sm-lightbox-actions button { background: none; border: 1px solid rgba(255, 246, 228, 0.4); color: #fff6e4; }
.sm-lightbox-actions button:hover { background: rgba(255, 246, 228, 0.12); }

/* ---------------------------------------------------------------------------
   6. Lead form shell + Contact Form 7
   --------------------------------------------------------------------------- */

.sm-form-shell {
	font-family: Manrope, system-ui, sans-serif;
	background: #fffdf8;
	border: 1px solid rgba(74, 14, 32, 0.14);
	border-top: 3px solid #a8813c;
	padding: clamp(20px, 2.4vw, 28px);
	box-shadow: 0 18px 50px -22px rgba(52, 9, 15, 0.35);
}

.sm-form-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.sm-form-head h3 {
	margin: 0;
	font-family: Marcellus, Georgia, serif;
	font-size: clamp(20px, 2vw, 24px);
	color: #4a0e20;
	font-weight: 400;
	letter-spacing: 0.01em;
}

.sm-form-badge {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #a8813c;
}

.sm-form-sub { margin: 8px 0 20px; font-size: 13.5px; line-height: 1.6; color: #7a6469; text-wrap: pretty; }

.sm-form-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-top: 14px;
	font-size: 11.5px;
	color: #8c757a;
}

.sm-form-foot .sm-dot-sep { color: #c9b9a8; }
.sm-form-foot a { color: #6b1230; font-weight: 600; }

/* Contact Form 7, styled to match the designed form. */
.sm-form-shell .wpcf7-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 12px;
}

.sm-form-shell .wpcf7-form > p { margin: 0; }
.sm-form-shell .sm-field { display: block; }
.sm-form-shell .sm-field-wide { grid-column: 1 / -1; }

.sm-form-shell .sm-label {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: #6e5a5e;
	margin-bottom: 6px;
}

.sm-form-shell input[type="text"],
.sm-form-shell input[type="tel"],
.sm-form-shell input[type="email"],
.sm-form-shell input[type="date"],
.sm-form-shell select,
.sm-form-shell textarea {
	width: 100%;
	background: #faf6ef;
	border: 1px solid rgba(74, 14, 32, 0.18);
	border-radius: 2px;
	padding: 12px 13px;
	font-family: Manrope, sans-serif;
	font-size: 14.5px;
	color: #2b1a1e;
	outline: none;
}

.sm-form-shell select { appearance: none; padding: 12px 11px; }
.sm-form-shell textarea { min-height: 96px; resize: vertical; }

.sm-form-shell input:focus,
.sm-form-shell select:focus,
.sm-form-shell textarea:focus { border-color: #a8813c; background: #fffdf8; }

.sm-form-shell .wpcf7-radio,
.sm-form-shell .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; }

.sm-form-shell .wpcf7-list-item { margin: 0; }

.sm-form-shell .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 1px solid rgba(74, 14, 32, 0.2);
	background: #faf6ef;
	color: #6e5a5e;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}

.sm-form-shell .wpcf7-list-item input { accent-color: #6b1230; }

.sm-form-shell input[type="submit"],
.sm-form-shell .wpcf7-submit {
	grid-column: 1 / -1;
	margin-top: 4px;
	background: #6b1230;
	color: #fff8ec;
	border: none;
	padding: 16px 22px;
	border-radius: 2px;
	font-family: Manrope, sans-serif;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 10px 24px -10px rgba(74, 14, 32, 0.6);
	width: 100%;
}

.sm-form-shell input[type="submit"]:hover { background: #4a0e20; }

.sm-form-shell .wpcf7-spinner { margin: 0 auto; }

.sm-form-shell .wpcf7-response-output {
	grid-column: 1 / -1;
	margin: 4px 0 0 !important;
	border: 1px solid rgba(74, 14, 32, 0.2) !important;
	border-left: 3px solid #a8813c !important;
	background: #faf6ef;
	padding: 12px 14px !important;
	font-size: 13.5px;
	line-height: 1.6;
	color: #4a0e20;
}

.sm-form-shell form.sent .wpcf7-response-output { border-left-color: #1f6e42 !important; }
.sm-form-shell form.invalid .wpcf7-response-output,
.sm-form-shell form.failed .wpcf7-response-output { border-left-color: #a12a2a !important; }

.sm-form-shell .wpcf7-not-valid-tip { color: #a12a2a; font-size: 11.5px; margin-top: 5px; }

.sm-form-missing {
	grid-column: 1 / -1;
	border: 1px dashed rgba(74, 14, 32, 0.3);
	background: #faf6ef;
	padding: 18px;
	font-size: 13.5px;
	line-height: 1.7;
	color: #6e5a5e;
}

.sm-form-missing strong { color: #4a0e20; }

/* ---------------------------------------------------------------------------
   7. Editorial content (posts, archives, legal pages)
   --------------------------------------------------------------------------- */

.sm-prose { max-width: 68ch; }
.sm-prose h2 { font-family: Marcellus, Georgia, serif; font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; color: #4a0e20; margin: 44px 0 14px; }
.sm-prose h3 { font-family: Marcellus, Georgia, serif; font-weight: 400; font-size: clamp(19px, 2vw, 23px); color: #4a0e20; margin: 32px 0 10px; }
.sm-prose p,
.sm-prose li { font-size: 16.5px; line-height: 1.8; color: #4b3639; text-wrap: pretty; }
.sm-prose ul,
.sm-prose ol { padding-left: 22px; }
.sm-prose li { margin-bottom: 8px; }
.sm-prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid #a8813c; font-family: Marcellus, Georgia, serif; font-size: 21px; line-height: 1.6; color: #4a0e20; }
.sm-prose img { display: block; margin: 32px 0; }
.sm-prose figcaption { font-size: 12.5px; color: #8c757a; margin-top: 8px; }
.sm-prose a { text-decoration: underline; text-decoration-color: rgba(168, 129, 60, 0.6); text-underline-offset: 3px; }

.sm-section { padding: clamp(48px, 6vw, 88px) clamp(16px, 3vw, 32px); }
.sm-shell { max-width: 1280px; margin: 0 auto; }
.sm-eyebrow { display: inline-flex; align-items: center; gap: 11px; font-size: 11px; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: #a8813c; }
.sm-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sm-h2 { margin: 18px 0 0; font-family: Marcellus, Georgia, serif; font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.13; color: #4a0e20; }

.sm-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: clamp(16px, 2vw, 26px);
	margin-top: clamp(28px, 3.5vw, 44px);
}

.sm-card {
	display: flex;
	flex-direction: column;
	background: #fffdf8;
	border: 1px solid rgba(74, 14, 32, 0.12);
	overflow: hidden;
}

.sm-card:hover { border-color: rgba(168, 129, 60, 0.55); }
.sm-card-thumb { aspect-ratio: 16 / 10; background: #34090f; overflow: hidden; }
.sm-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sm-card-body { padding: clamp(18px, 2vw, 24px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sm-card-meta { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #a8813c; }
.sm-card-title { margin: 0; font-family: Marcellus, Georgia, serif; font-weight: 400; font-size: 21px; line-height: 1.25; color: #4a0e20; }
.sm-card-excerpt { margin: 0; font-size: 14.5px; line-height: 1.7; color: #6e5a5e; }
.sm-card-more { margin-top: auto; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6b1230; }

.sm-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 4vw, 52px); }

.sm-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid rgba(74, 14, 32, 0.2);
	color: #4a0e20;
	font-size: 13px;
	font-weight: 600;
}

.sm-pagination .page-numbers:hover { border-color: #a8813c; }
.sm-pagination .page-numbers.current { background: #6b1230; border-color: #6b1230; color: #fff8ec; }

.sm-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 11.5px; letter-spacing: 0.07em; color: #8c757a; }
.sm-breadcrumbs a { color: #a8813c; }
.sm-breadcrumbs .sm-crumb-sep { opacity: 0.5; }

.sm-empty {
	border: 1px dashed rgba(74, 14, 32, 0.28);
	background: #fffdf8;
	padding: clamp(22px, 3vw, 34px);
	font-size: 14.5px;
	line-height: 1.75;
	color: #6e5a5e;
	max-width: 62ch;
}

.sm-empty strong { color: #4a0e20; }

/* ---------------------------------------------------------------------------
   8. Dark page headers (posts, archives, search, 404)
   --------------------------------------------------------------------------- */

.sm-dark-head { background: #34090f; }
.sm-dark-head .sm-breadcrumbs { color: #b9968c; }
.sm-dark-head .sm-breadcrumbs a { color: #c9a05a; }
.sm-dark-head .sm-breadcrumbs a:hover { color: #fff6e4; }
.sm-dark-head h1,
.sm-dark-head .wp-block-post-title,
.sm-dark-head .wp-block-query-title { margin: 0; font-family: Marcellus, Georgia, serif; font-weight: 400; line-height: 1.11; color: #fff6e4; max-width: 22ch; }
.sm-dark-head .wp-block-post-title a { color: #fff6e4; }
.sm-dark-head p,
.sm-dark-head .wp-block-post-excerpt { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.76; color: #e0c9bf; max-width: 52ch; }
.sm-dark-head .sm-card-meta,
.sm-dark-head .wp-block-post-date { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #c9a05a; }
.sm-dark-head .wp-block-search__input { background: rgba(255, 246, 228, 0.08); border: 1px solid rgba(255, 246, 228, 0.3); color: #fff6e4; padding: 13px 14px; border-radius: 2px; }
.sm-dark-head .wp-block-search__button { background: #fff6e4; color: #4a0e20; border: none; padding: 13px 20px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sm-dark-head .wp-block-button__link { text-decoration: none; }
.sm-dark-head .is-style-outline .wp-block-button__link { color: #fff6e4; border-color: rgba(255, 246, 228, 0.45); }

.sm-card-thumb.wp-block-post-featured-image { margin: 0; }
.sm-card-thumb.wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.wp-block-post-template.sm-card-grid { list-style: none; margin: 0; padding: 0; }
.sm-card-title a { color: inherit; }
.sm-card .sm-card-body > * { margin: 0; }


@media (max-width: 600px) {
	.sm-headbar-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px clamp(0px, 0vw, 32px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0px clamp(5px, 0vw, 0px);
}
#sm-primary-nav {
  width: 100%;
}
}