/*
Theme Name: Savannah Multimedia
Theme URI: https://sm.thesavannaonline.com
Author: Savannah Multimedia
Description: Custom block theme for Savannah Multimedia, home of TheSavannaOnline and Atigsi. Independent journalism and audio-visual production from Northern Ghana.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: savannah-multimedia
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks > main { margin-block-start: 0; }
:where(.smm-section) { box-sizing: border-box; }
.has-global-padding { padding-left: 0; padding-right: 0; }

/* ---------- Header ---------- */
.smm-header {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--cream);
	padding: 18px 24px;
}
.smm-header-inner { max-width: 1240px; margin: 0 auto; }
.smm-header .wp-block-site-title { margin: 0; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
.smm-header .wp-block-site-title a { color: var(--wp--preset--color--cream); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.smm-header .wp-block-site-title a::before {
	content: "S"; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
	background: var(--wp--preset--color--ochre); color: var(--wp--preset--color--ink);
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 20px;
}
.smm-header.has-logo .wp-block-site-title a::before { display: none; }
.smm-header .wp-block-site-logo img { max-height: 44px; width: auto; }
.smm-header .wp-block-navigation { font-size: 0.9375rem; font-weight: 500; gap: 8px 28px; }
.smm-header .wp-block-navigation a { color: #E9E0CF; text-decoration: none; padding: 12px 0; }
.smm-header .wp-block-navigation a:hover { color: var(--wp--preset--color--ochre); }
.smm-header .wp-block-navigation__responsive-container-open,
.smm-header .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--cream); }
.smm-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--ink) !important; color: var(--wp--preset--color--cream) !important; padding: 24px; }
.smm-header .wp-block-navigation__responsive-container.is-menu-open a { font-size: 1.25rem; }
.smm-header .wp-block-button__link { padding: 0.75rem 1.25rem; font-size: 0.9375rem; }

/* ---------- Sections ---------- */
.smm-section {
	padding: clamp(56px, 8vw, 96px) 24px;
}
.smm-section.smm-tight-top { padding-top: clamp(32px, 4vw, 48px); }
.smm-section.smm-tight-bottom { padding-bottom: clamp(32px, 4vw, 48px); }
.smm-dark {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--cream);
}
.smm-dark :where(h1, h2, h3, h4) { color: var(--wp--preset--color--cream); }
.smm-dark a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--cream); }
.smm-dark a:where(:not(.wp-element-button)):hover { color: var(--wp--preset--color--ochre); }

/* Hero */
.smm-hero { padding: clamp(48px, 7vw, 80px) 24px clamp(64px, 9vw, 104px); }
.smm-hero .wp-block-columns { align-items: center; gap: clamp(32px, 5vw, 56px); margin: 0; }
.smm-hero h1 { margin: 0 0 4px; }
.smm-hero .smm-eyebrow { margin-bottom: 18px; }
.smm-page-hero { padding: clamp(48px, 6vw, 72px) 24px clamp(56px, 7vw, 88px); }
.smm-page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); padding-right: calc(100% - 1040px); text-wrap: balance; box-sizing: border-box; }
.smm-page-hero .smm-lede { padding-right: calc(100% - 780px); box-sizing: border-box; }

/* Text styles */
.smm-eyebrow {
	margin: 0 0 12px;
	font-size: 0.875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--wp--preset--color--ochre-dark);
}
.smm-dark .smm-eyebrow, .smm-dark .smm-meta { color: var(--wp--preset--color--ochre); }
.smm-lede { font-size: 1.1875rem; line-height: 1.6; color: var(--wp--preset--color--muted); }
.smm-dark .smm-lede, .smm-dark .smm-soft { color: var(--wp--preset--color--stone); }
.smm-soft { color: var(--wp--preset--color--text-soft); }
.smm-muted { color: var(--wp--preset--color--muted); }
.smm-meta { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--ochre-dark); }
.smm-small { font-size: 0.9375rem; }
.smm-section h2 { margin-top: 0; }
.smm-section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.smm-section-head > * { margin-block: 0; }
.smm-section-head > * + * { margin-top: 14px; }
.smm-link-row { gap: 8px 24px; }
.smm-link-row p { margin: 0; }
.smm-link-row a { font-weight: 600; display: inline-block; padding: 10px 0; }

/* Smock stripe (separator block style) */
.wp-block-separator.is-style-smock, .wp-block-separator.is-style-smock:not(.is-style-wide):not(.is-style-dots) {
	border: 0; margin: 0 !important; max-width: none !important; width: 100% !important;
	height: 22px; opacity: 1;
	background: repeating-linear-gradient(90deg, #2E5B3B 0 22px, #F5EFE3 22px 28px, #D99A2B 28px 48px, #17140F 48px 56px, #B23A2A 56px 66px, #F5EFE3 66px 72px);
}

/* Cards */
.smm-card {
	background: var(--wp--preset--color--white);
	border: 1px solid #E6DCC8; border-radius: 20px;
	padding: clamp(24px, 3.5vw, 40px);
}
.smm-card > * { margin-block: 0; }
.smm-card > * + * { margin-top: 16px; }
.smm-card-sand { background: var(--wp--preset--color--sand); border-radius: 18px; padding: 32px; }
.smm-card-sand > * { margin-block: 0; }
.smm-card-sand > * + * { margin-top: 12px; }
.smm-card-sand p, .smm-card p { color: var(--wp--preset--color--text-soft); }
.smm-card-plain > * { margin-block: 0; }
.smm-card-plain > * + * { margin-top: 12px; }
.smm-card-green { background: var(--wp--preset--color--green); color: var(--wp--preset--color--cream); border-radius: 20px; padding: 32px; }
.smm-card-ink { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); border-radius: 20px; padding: 32px; }
.smm-card-ochre { background: var(--wp--preset--color--ochre-dark); color: #fff; border-radius: 20px; padding: 32px; }
.smm-card-green > *, .smm-card-ink > *, .smm-card-ochre > * { margin-block: 0; }
.smm-card-green > * + *, .smm-card-ink > * + *, .smm-card-ochre > * + * { margin-top: 12px; }
.smm-card-green h3, .smm-card-ink h3, .smm-card-ochre h3 { color: inherit; }
.smm-card-green p { color: #DCE7DD; }
.smm-card-ink p { color: var(--wp--preset--color--stone); }
.smm-card-ochre p { color: #F7EBD6; }
.smm-card h3, .smm-card-sand h3, .smm-card-plain h3 { font-size: 1.375rem; }
.smm-card-row { display: flex; align-items: center; gap: 14px; }
.smm-tagline { margin: 0; font-weight: 600; font-size: 0.9375rem; }
.smm-tagline-green { color: var(--wp--preset--color--green) !important; }
.smm-tagline-blue { color: #00729F !important; }
.smm-card a.smm-arrow, .smm-arrow a { font-weight: 600; }
.smm-arrow a::after { content: " →"; }

/* Platform marks (until real logos are uploaded) */
.smm-mark { display: flex; align-items: center; gap: 14px; }
.smm-mark h3 { margin: 0; font-size: 1.625rem; }
.smm-mark::before {
	content: ""; flex: 0 0 52px; height: 52px; border-radius: 14px;
	background-color: var(--wp--preset--color--green);
	background-repeat: no-repeat; background-position: center; background-size: 26px 26px;
}
.smm-mark-tso::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5EFE3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2'/%3E%3Cpath d='M18 14h-8M15 18h-5M10 6h8v4h-8V6Z'/%3E%3C/svg%3E");
}
.smm-mark-atigsi::before {
	background-color: var(--wp--preset--color--atigsi-blue);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
}
.smm-logo { margin: 0 !important; flex: 0 0 56px; }
.smm-logo img { width: 56px; height: 56px; object-fit: contain; display: block; }
.smm-platform-head { gap: 14px; flex-wrap: nowrap !important; }
.smm-platform-head > .wp-block-group > * { margin: 0; }
.smm-platform-head h3 { font-size: 1.625rem; margin: 0; }
.smm-card .smm-arrow { margin-top: auto; }
.smm-card.smm-platform { display: flex; flex-direction: column; }

/* Service icons */
.smm-icon::before {
	content: ""; display: block; width: 32px; height: 32px; margin-bottom: 14px;
	background-color: var(--wp--preset--color--ochre-dark);
	-webkit-mask: var(--smm-icon) center / contain no-repeat; mask: var(--smm-icon) center / contain no-repeat;
}
.smm-card-green .smm-icon::before, .smm-card-ochre .smm-icon::before { background-color: #fff; }
.smm-card-ink .smm-icon::before { background-color: var(--wp--preset--color--ochre); }
.smm-icon-film { --smm-icon: 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='2' y='2' width='20' height='20' rx='2.18'/%3E%3Cpath d='M7 2v20M17 2v20M2 12h20M2 7h5M2 17h5M17 17h5M17 7h5'/%3E%3C/svg%3E"); }
.smm-icon-video { --smm-icon: 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='m22 8-6 4 6 4V8Z'/%3E%3Crect x='2' y='6' width='14' height='12' rx='2'/%3E%3C/svg%3E"); }
.smm-icon-megaphone { --smm-icon: 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='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E"); }
.smm-icon-phone { --smm-icon: 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='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.smm-icon-people { --smm-icon: 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='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.smm-icon-screen { --smm-icon: 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='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); }

/* Stats */
.smm-stat { background: var(--wp--preset--color--white); border: 1px solid #E6DCC8; border-radius: 16px; padding: 24px; }
.smm-stat-sand { background: var(--wp--preset--color--sand); border: 0; padding: 28px; }
.smm-stat > *, .smm-stat-sand > * { margin: 0; }
.smm-stat-number { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 2.5rem; line-height: 1.1; color: var(--wp--preset--color--green); }
.smm-stat-label { margin-top: 6px !important; font-size: 0.9375rem; color: var(--wp--preset--color--muted); }
.smm-fact-label { font-size: 0.875rem; font-weight: 600; color: var(--wp--preset--color--muted); }
.smm-fact-value { margin-top: 6px !important; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.625rem; line-height: 1.2; }

/* Media placeholders (replace with an Image or Video block) */
.smm-placeholder {
	aspect-ratio: 16 / 10; border-radius: 16px;
	background: #2A251D; color: var(--wp--preset--color--stone);
	display: flex; align-items: center; justify-content: center; text-align: center;
	padding: 20px; font-size: 0.875rem; box-sizing: border-box;
}
.smm-placeholder > * { margin: 0; }
.smm-placeholder-light { background: #DCD1BC; color: var(--wp--preset--color--muted); }
.smm-showreel { position: relative; overflow: hidden; border-radius: 20px; flex-direction: column; gap: 16px; }
.smm-showreel::before {
	content: ""; width: 84px; height: 84px; border-radius: 50%;
	background: var(--wp--preset--color--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2317140F'%3E%3Cpolygon points='8 4 20 12 8 20 8 4'/%3E%3C/svg%3E") 56% center / 30px no-repeat;
}
.smm-showreel::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
	background: repeating-linear-gradient(90deg, #2E5B3B 0 16px, #F5EFE3 16px 20px, #D99A2B 20px 34px, #17140F 34px 40px, #B23A2A 40px 48px, #F5EFE3 48px 52px);
}
.smm-media img, .smm-media video, .smm-media iframe { border-radius: 16px; }
.smm-story { background: var(--wp--preset--color--white); border: 1px solid #E6DCC8; border-radius: 18px; overflow: hidden; }
.smm-story > * { margin: 0; }
.smm-story .smm-placeholder, .smm-story .wp-block-image img { border-radius: 0; aspect-ratio: 16 / 9; }
.smm-story-body { padding: 24px; }
.smm-story-body > * { margin-block: 0; }
.smm-story-body > * + * { margin-top: 10px; }
.smm-story-body p:not(.smm-meta) { font-size: 0.9375rem; color: var(--wp--preset--color--text-soft); }
.smm-story h3, .smm-story h4 { font-size: 1.3rem; }
.smm-dark .smm-card-plain p:not(.smm-meta) { font-size: 0.9375rem; color: var(--wp--preset--color--stone); }

/* Region pills */
.smm-pills { gap: 12px; margin-bottom: 28px !important; }
.smm-pills p { margin: 0; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 0.9375rem; }

/* Link cards (About) */
.smm-link-card { background: var(--wp--preset--color--white); border: 1px solid #E6DCC8; border-radius: 16px; padding: 22px 28px; position: relative; }
.smm-link-card > * { margin: 0; }
.smm-link-card h3 { font-size: 1.25rem; }
.smm-link-card h3 a { color: var(--wp--preset--color--ink); text-decoration: none; }
.smm-link-card h3 a::after { content: ""; position: absolute; inset: 0; }
.smm-link-card p { margin-top: 4px; font-size: 0.9375rem; color: var(--wp--preset--color--muted); }
.smm-link-card::after { content: "→"; position: absolute; right: 28px; top: 50%; transform: translateY(-50%); color: var(--wp--preset--color--ochre-dark); font-size: 1.4rem; }
.smm-link-card:hover { border-color: var(--wp--preset--color--ochre); }

/* Who we work with list */
.smm-ticks { list-style: none; padding: 0; margin: 0; }
.smm-ticks li { position: relative; padding-left: 26px; margin: 0 0 14px; line-height: 1.5; }
.smm-ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 2px; background: var(--wp--preset--color--green); }
.smm-ticks li:nth-child(4n+2)::before { background: var(--wp--preset--color--ochre); }
.smm-ticks li:nth-child(4n+3)::before { background: var(--wp--preset--color--red); }
.smm-ticks li:nth-child(4n+4)::before { background: var(--wp--preset--color--ink); }

/* Call-to-action boxes */
.smm-cta-wrap { padding: 0 24px clamp(64px, 8vw, 96px); }
.smm-cta {
	background: var(--wp--preset--color--green); color: var(--wp--preset--color--cream);
	border-radius: 28px; padding: clamp(36px, 6vw, 72px) !important; position: relative; overflow: hidden;
	gap: 32px 48px;
}
.smm-cta::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px;
	background: repeating-linear-gradient(90deg, #D99A2B 0 22px, #F5EFE3 22px 28px, #17140F 28px 40px, #B23A2A 40px 50px, #F5EFE3 50px 56px);
}
.smm-cta-ink { background: var(--wp--preset--color--ink); }
.smm-cta-ink::before { display: none; }
.smm-cta h2 { color: var(--wp--preset--color--cream); margin: 0; }
.smm-cta p { color: #DCE7DD; }
.smm-cta-ink p { color: var(--wp--preset--color--stone); }
.smm-cta .wp-block-column > * { margin-block: 0; }
.smm-cta .wp-block-column > * + * { margin-top: 12px; }
.smm-cta .wp-block-buttons { flex-direction: column; align-items: stretch; }
.smm-cta .wp-block-button { width: 100%; }
.smm-cta .wp-block-button__link { width: 100%; text-align: center; font-size: 1.0625rem; padding: 1.1rem 1.75rem; }
.smm-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink); }
.smm-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--wp--preset--color--ochre); }
.smm-contact-name { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.25rem; color: var(--wp--preset--color--cream) !important; }

/* Outline buttons */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: inherit; border: 1.5px solid currentColor; padding: calc(1rem - 1.5px) calc(1.6rem - 1.5px);
}
.smm-dark .wp-block-button.is-style-outline > .wp-block-button__link { border-color: #6B6253; color: var(--wp--preset--color--cream); }
.smm-cta .wp-block-button.is-style-outline > .wp-block-button__link { border-color: #9FBBA5; color: var(--wp--preset--color--cream); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); border-color: var(--wp--preset--color--ink); }
.smm-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.smm-cta .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--cream); }
.smm-btn-dark .wp-block-button__link { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); }
.smm-btn-dark .wp-block-button__link:hover { background: var(--wp--preset--color--ochre-dark); color: #fff; }

/* Mission box */
.smm-mission { background: var(--wp--preset--color--green); color: var(--wp--preset--color--cream); border-radius: 20px; padding: 36px; }
.smm-mission > * { margin: 0; }
.smm-mission > * + * { margin-top: 14px; }
.smm-mission h3 { color: var(--wp--preset--color--cream); }
.smm-mission p { font-size: 1.125rem; line-height: 1.6; }

/* Standards page */
.smm-toc { font-size: 0.9375rem; }
.smm-toc > * { margin: 0; }
.smm-toc a { display: block; padding: 8px 0; font-weight: 500; }
.smm-standards h2 { font-size: 2rem; margin: 0 0 14px; scroll-margin-top: 24px; }
.smm-standards .smm-block + .smm-block { margin-top: 56px; }
.smm-block > * { margin-block: 0; }
.smm-block > * + * { margin-top: 14px; }
.smm-block ul { padding-left: 22px; }
.smm-block li { margin-bottom: 10px; color: var(--wp--preset--color--text-soft); }
.smm-block p { color: var(--wp--preset--color--text-soft); }
.smm-badge-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #E6DCC8; border-radius: 16px; padding: 18px 24px; flex-wrap: wrap; }
.smm-badge-row > * { margin: 0 !important; }
.smm-badge { background: var(--wp--preset--color--ochre); color: var(--wp--preset--color--ink); border-radius: 6px; padding: 6px 12px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

/* Partner Content label on posts in that category (TheSavannaOnline-style) */
.category-partner-content .wp-block-post-title::before { content: "Partner Content"; display: block; width: max-content; margin-bottom: 12px; background: var(--wp--preset--color--ochre); color: var(--wp--preset--color--ink); border-radius: 6px; padding: 6px 12px; font-family: var(--wp--preset--font-family--body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* Logo grid on funders page */
.smm-logo-slot { aspect-ratio: 3 / 2; background: var(--wp--preset--color--cream); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
.smm-logo-slot > * { margin: 0; }

/* ---------- Footer ---------- */
.smm-footer { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--stone); padding: 56px 24px 32px; font-size: 0.9375rem; }
.smm-footer .wp-block-columns { margin: 0; gap: 40px; }
.smm-footer p { margin: 0 0 10px; }
.smm-footer a { color: var(--wp--preset--color--stone); text-decoration: underline; text-underline-offset: 3px; }
.smm-footer a:hover { color: var(--wp--preset--color--ochre); }
.smm-footer h2 { font-family: var(--wp--preset--font-family--body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--cream); margin: 0 0 14px; }
.smm-footer .smm-footer-brand { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.375rem; color: var(--wp--preset--color--cream); margin-bottom: 12px; }
.smm-footer-bottom { border-top: 1px solid #3A342A; margin-top: 40px !important; padding-top: 20px; font-size: 0.875rem; }

/* ---------- Generic pages and posts ---------- */
.smm-content { padding: clamp(48px, 7vw, 80px) 24px; }
.smm-content .wp-block-post-title { margin-bottom: 24px; }
.smm-post-card { border-bottom: 1px solid #E6DCC8; padding-bottom: 28px; }

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.smm-header .wp-block-buttons { display: none; }
	.smm-link-card { padding-right: 56px; }
	.smm-cta .wp-block-columns { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.smm-about-cols { gap: 48px; }
.smm-stack-buttons { flex-direction: column; align-items: stretch; }
.smm-stack-buttons .wp-block-button__link { width: 100%; text-align: center; }
.smm-toc a { text-decoration: none; }
.smm-toc a:hover { text-decoration: underline; }
.smm-cta a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--cream); }
.smm-cta .smm-contact-name + p { margin-top: 2px !important; }
