/* Sleep Well Pakistan – theme styles (works with theme.json) */

:root {
	--swp-radius: 20px;
	--swp-radius-lg: 28px;
	--swp-section-gap: clamp(56px, 7vw, 96px);
}

/* ---------- Dark reading mode (toggle in the header) ---------- */
html[data-theme="dark"] {
	color-scheme: dark;
	--wp--preset--color--base: #0E1A27;
	--wp--preset--color--surface: #14273A;
	--wp--preset--color--contrast: #E8EEF2;
	--wp--preset--color--body-text: #D2DCE3;
	--wp--preset--color--muted: #A3B4C3;
	--wp--preset--color--border: #22384D;
	--wp--preset--color--brand: #172C40;
	--wp--preset--color--brand-text: #F6F8F9;
	--wp--preset--color--brand-muted: #C3D2DF;
	--wp--preset--color--powder: #162A44;
	--wp--preset--color--footer: #08111B;
	--wp--preset--color--tint-wellness: #18302B;
	--wp--preset--color--ink-wellness: #A7C4BC;
	--wp--preset--color--tint-tips: #26243A;
	--wp--preset--color--ink-tips: #C8C3E6;
	--wp--preset--color--tint-science: #162A44;
	--wp--preset--color--ink-science: #A9CDEF;
	--wp--preset--color--tint-mattress: #26241F;
	--wp--preset--color--ink-mattress: #D6CDBE;
}

body { -webkit-font-smoothing: antialiased; }
img { height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* Headings and links on deep-ocean panels */
.has-brand-background-color :where(h1, h2, h3, h4),
.has-footer-background-color :where(h1, h2, h3, h4) { color: var(--wp--preset--color--brand-text); }
.has-brand-background-color a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--brand-text); }

/* Eyebrow labels */
.swp-eyebrow {
	margin: 0;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-science);
}
.has-brand-background-color .swp-eyebrow:not(.has-text-color) { color: var(--wp--preset--color--accent); }

/* ---------- Header ---------- */
.swp-header {
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-top: 12px;
	padding-bottom: 12px;
}
.swp-header__inner { gap: 12px 32px; }
.swp-header .swp-nav { flex: 1 1 auto; }
.swp-header .swp-nav .wp-block-navigation-item__content { padding: 10px 12px; border-radius: 10px; color: var(--wp--preset--color--contrast); }
.swp-header .swp-nav .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--powder); }
.swp-header .swp-nav .current-menu-item > .wp-block-navigation-item__content { box-shadow: inset 0 -3px 0 var(--wp--preset--color--primary); border-radius: 0; font-weight: 700; }
.swp-header__actions { gap: 8px; }
.swp-header__cta .wp-block-button__link { padding: 11px 18px; font-size: 15px; }

.swp-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wp--preset--color--contrast); }
.swp-logo__tile { fill: var(--wp--preset--color--brand); }
.swp-logo__moon { fill: var(--wp--preset--color--accent); }
.swp-logo__bed { fill: #F6F8F9; }
.swp-logo__text { display: flex; flex-direction: column; line-height: 1; }
.swp-logo__name { font-family: var(--wp--preset--font-family--lora); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.swp-logo__country { font-size: 10.5px; font-weight: 600; letter-spacing: 0.34em; margin-top: 5px; color: var(--wp--preset--color--muted); }
.swp-logo--light { color: var(--wp--preset--color--brand-text); }
.swp-logo--light .swp-logo__tile { fill: #1F3549; }
.swp-logo--light .swp-logo__country { color: var(--wp--preset--color--brand-muted); }

.swp-theme-toggle,
.swp-search .wp-block-search__button {
	width: 44px;
	height: 44px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
}
.swp-search .wp-block-search__button svg { fill: currentColor; }
.swp-theme-toggle .swp-icon-sun { display: none; }
html[data-theme="dark"] .swp-theme-toggle .swp-icon-sun { display: block; color: var(--wp--preset--color--accent); }
html[data-theme="dark"] .swp-theme-toggle .swp-icon-moon { display: none; }

/* ---------- Layout rhythm ---------- */
.swp-main { padding-bottom: var(--swp-section-gap); }
.swp-main > .swp-section,
.swp-main > .swp-panel,
.swp-main > .swp-cta,
.swp-main > .swp-newsletter,
.swp-main > .swp-spotlight,
.swp-main > .swp-keep-reading { margin-top: var(--swp-section-gap); }
.swp-main > :first-child { margin-top: 0; }
.swp-section__lead { max-width: 640px; font-size: 18px; }
.swp-section__head { gap: 16px; margin-bottom: 8px; }
.swp-more-link a, .swp-topic__link a { font-weight: 600; text-decoration: none; }

/* ---------- Hero ---------- */
.swp-hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); }
.swp-hero__cols { gap: 48px 64px; }
.swp-hero__title { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.06; margin-top: 16px; }
.swp-hero__lead { font-size: 19px; max-width: 520px; }
.swp-btn-on-dark .wp-block-button__link {
	color: var(--wp--preset--color--brand-text);
	border: 1.5px solid var(--wp--preset--color--primary);
	background: transparent;
}
.swp-btn-on-dark .wp-block-button__link:hover { background: var(--wp--preset--color--primary); color: #FFFFFF; }

/* ---------- Cards ---------- */
.swp-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--swp-radius);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	color: var(--wp--preset--color--body-text);
}
.swp-card > * { margin: 0 !important; }
.swp-card .wp-block-post-featured-image img,
.swp-card .wp-block-image img { width: 100%; object-fit: cover; display: block; }
.swp-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.swp-card__body > * { margin: 0 !important; }
.swp-card :where(h1, h2, h3), .swp-card__title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.swp-card__title { font-size: 21px !important; line-height: 1.3; }
.swp-card__title--large { font-size: clamp(22px, 2.2vw, 26px) !important; }
.swp-card__title a:hover { color: var(--wp--preset--color--primary); }
.swp-card__excerpt, .swp-card__excerpt p { font-size: 15px; color: var(--wp--preset--color--muted); margin: 0; }
.swp-card__excerpt .wp-block-post-excerpt__more-text { display: none; }
.swp-card__meta { margin-top: auto !important; font-size: 14px; color: var(--wp--preset--color--muted); }
.swp-hero .swp-card { box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18); }

.swp-grid { gap: 24px !important; }
@media (max-width: 960px) { .swp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .swp-grid { grid-template-columns: minmax(0, 1fr) !important; } }

/* ---------- Category chips (colour by category slug) ---------- */
.swp-chips { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; line-height: 1.4; }
.swp-chips .wp-block-post-terms__separator { display: none; }
.swp-chips a {
	display: inline-flex;
	padding: 4px 12px;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	background: var(--wp--preset--color--tint-science);
	color: var(--wp--preset--color--ink-science);
}
.swp-chips a[href*="sleep-health-wellness"] { background: var(--wp--preset--color--tint-wellness); color: var(--wp--preset--color--ink-wellness); }
.swp-chips a[href*="sleep-tips-solutions"] { background: var(--wp--preset--color--tint-tips); color: var(--wp--preset--color--ink-tips); }
.swp-chips a[href*="sleep-science-education"] { background: var(--wp--preset--color--tint-science); color: var(--wp--preset--color--ink-science); }
.swp-chips a[href*="mattress-pillow-guides"], .swp-chips--tags a { background: var(--wp--preset--color--tint-mattress); color: var(--wp--preset--color--ink-mattress); }

/* ---------- Topics ---------- */
.swp-topics { gap: 20px !important; margin-top: 32px; }
.swp-topic { padding: 28px; border-radius: var(--swp-radius); display: flex; flex-direction: column; gap: 12px; color: var(--wp--preset--color--body-text); }
.swp-topic > * { margin: 0 !important; }
.swp-topic h3 { font-size: 22px !important; }
.swp-topic__link { margin-top: auto !important; }
.swp-topic__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--wp--preset--color--surface); display: inline-flex; align-items: center; justify-content: center; }
.swp-topic--wellness { background: var(--wp--preset--color--tint-wellness); }
.swp-topic--wellness .swp-topic__icon, .swp-topic--wellness .swp-topic__link a { color: var(--wp--preset--color--ink-wellness); }
.swp-topic--tips { background: var(--wp--preset--color--tint-tips); }
.swp-topic--tips .swp-topic__icon, .swp-topic--tips .swp-topic__link a { color: var(--wp--preset--color--ink-tips); }
.swp-topic--science { background: var(--wp--preset--color--tint-science); }
.swp-topic--science .swp-topic__icon, .swp-topic--science .swp-topic__link a { color: var(--wp--preset--color--ink-science); }
.swp-topic--mattress { background: var(--wp--preset--color--tint-mattress); }
.swp-topic--mattress .swp-topic__icon, .swp-topic--mattress .swp-topic__link a { color: var(--wp--preset--color--ink-mattress); }

/* ---------- Spotlight ---------- */
.swp-spotlight { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.swp-spotlight .wp-block-columns { gap: 40px 56px; }
.swp-photo, .swp-photo img { margin: 0; border-radius: 24px; }
.swp-photo--tall img { width: 100%; height: clamp(260px, 30vw, 400px); object-fit: cover; }
.swp-shortcuts { gap: 12px !important; margin-top: 28px; }
.swp-shortcut { margin: 0 !important; }
.swp-shortcut a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 12px 18px;
	border-radius: 14px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
	text-decoration: none;
	box-sizing: border-box;
}
.swp-shortcut a::after { content: "→"; color: var(--wp--preset--color--ink-mattress); }
.swp-shortcut a:hover { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink-mattress); }

/* ---------- Newsletter and forms ---------- */
.swp-newsletter, .swp-cta, .swp-panel { border-radius: var(--swp-radius-lg); }
.swp-newsletter { padding: clamp(28px, 5vw, 56px); }
.swp-newsletter .wp-block-columns { gap: 32px 56px; }
.swp-signup { display: flex; flex-direction: column; gap: 10px; }
.swp-signup label { font-size: 14px; font-weight: 600; }
.swp-signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.swp-signup input {
	flex: 1 1 220px;
	min-width: 0;
	height: 52px;
	padding: 0 16px;
	border-radius: 12px;
	border: 1px solid #36506A;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: 16px;
	box-sizing: border-box;
}
.swp-signup button {
	height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: 12px;
	background: var(--wp--preset--color--accent);
	color: #14273A;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
.swp-signup--stacked input, .swp-signup--stacked button { width: 100%; flex: none; }
.swp-signup__note { margin: 4px 0 0; font-size: 13px; color: var(--wp--preset--color--brand-muted); }

/* ---------- Category banner ---------- */
.swp-cat-hero { padding-top: clamp(32px, 7vw, 96px); padding-bottom: clamp(32px, 7vw, 96px); }
.swp-cat-hero .swp-cat-hero__panel {
	max-width: 560px;
	margin-left: max(0px, calc((100% - 1240px) / 2)) !important;
	margin-right: auto !important;
	padding: clamp(24px, 4vw, 44px);
	border-radius: 24px;
	background-color: color-mix(in srgb, var(--wp--preset--color--brand) 92%, transparent) !important;
}
.swp-cat-hero__panel > * { margin-top: 0; }
.swp-cat-hero__panel .wp-block-query-title { font-size: clamp(36px, 4.4vw, 56px); margin: 10px 0 0; color: var(--wp--preset--color--brand-text); }
.swp-cat-hero__panel .wp-block-term-description { font-size: 18px; margin-top: 16px; }

/* ---------- Photo tiles ---------- */
.swp-tiles { gap: 20px !important; margin-top: 28px; }
.swp-tile__img img { aspect-ratio: 3 / 2; height: auto; }
.swp-tile .swp-card__title a:hover { color: var(--wp--preset--color--primary); }

/* ---------- Sleeping positions ---------- */
.swp-panel { padding: clamp(28px, 4vw, 48px); }
.swp-positions { gap: 16px !important; margin-top: 28px; }
.swp-position {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px;
	border-radius: 18px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.swp-position:hover { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--primary); }
.swp-position__icon { flex: 0 0 72px; height: 48px; border-radius: 12px; background: var(--wp--preset--color--powder); color: var(--wp--preset--color--ink-science); display: flex; align-items: center; justify-content: center; }
.swp-position strong { display: block; font-family: var(--wp--preset--font-family--lora); font-size: 19px; font-weight: 600; }
.swp-position strong + span { display: block; font-size: 14px; color: var(--wp--preset--color--muted); }

/* ---------- Checklist banner ---------- */
.swp-cta { overflow: hidden; }
.swp-cta__cols { gap: 0 !important; margin: 0; }
.swp-cta__text { padding: clamp(28px, 5vw, 56px); }
.swp-cta__media { align-self: stretch !important; }
.swp-cta__img, .swp-cta__img img { margin: 0; height: 100%; }
.swp-cta__img img { width: 100%; min-height: 320px; object-fit: cover; display: block; }

/* ---------- Single post ---------- */
.swp-single { padding-top: 40px; }
.swp-article-head { max-width: 920px; margin-left: auto; margin-right: auto; }
.swp-article-head > * { margin-top: 0; }
.swp-article-title { font-size: clamp(34px, 4.2vw, 54px) !important; line-height: 1.12 !important; margin-top: 18px !important; }
.swp-dek, .swp-dek p { font-size: 21px; line-height: 1.55; color: var(--wp--preset--color--muted); }
.swp-dek .wp-block-post-excerpt__more-text { display: none; }
.swp-byline { gap: 14px; padding: 20px 0; border-top: 1px solid var(--wp--preset--color--border); border-bottom: 1px solid var(--wp--preset--color--border); margin-top: 28px; }
.swp-byline__text > * { margin: 0 !important; }
.swp-byline__author { font-weight: 600; }
.swp-byline__author a { text-decoration: none; }
.swp-byline__meta { gap: 6px 14px; font-size: 14px; color: var(--wp--preset--color--muted); }
.swp-article-image { margin-top: 36px !important; }
.swp-article-image img { border-radius: 24px; }
.swp-article-cols { gap: 56px !important; margin-top: 56px !important; }
.swp-article-body { font-size: 19px; line-height: 1.75; min-width: 0; }
.swp-article-body h2 { margin-top: 56px; }
.swp-article-body .wp-block-post-content > * + * { margin-top: 18px; }

.swp-sidebar > * + * { margin-top: 24px !important; }
.swp-sidebar__box { border-radius: var(--swp-radius); padding: 24px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); }
.swp-sidebar__box.has-background { border: 0; }
.swp-sidebar__box > * { margin-top: 0; }
.swp-sidebar__title { font-size: 23px !important; }
.swp-sidebar__label { font-family: var(--wp--preset--font-family--inter) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; }
.swp-topic-list, .swp-latest-list { list-style: none; padding: 0; margin: 12px 0 0; }
.swp-topic-list li, .swp-latest-list li { margin: 0; }
.swp-topic-list a, .swp-latest-list a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; color: var(--wp--preset--color--contrast); }
.swp-topic-list a:hover, .swp-latest-list a:hover { color: var(--wp--preset--color--primary); }
.swp-latest-list li + li, .swp-topic-list li + li { border-top: 1px solid var(--wp--preset--color--border); }
@media (min-width: 782px) { .swp-sidebar { position: sticky; top: 24px; align-self: flex-start; } }

.swp-author-box { margin-top: 48px; padding: 28px; border-radius: var(--swp-radius); background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); }
.swp-author-box .wp-block-post-author__name { font-family: var(--wp--preset--font-family--lora); font-size: 22px; font-weight: 600; color: var(--wp--preset--color--contrast); }
.swp-author-box .wp-block-post-author__bio { font-size: 16px; color: var(--wp--preset--color--muted); }

.swp-keep-reading { padding-top: 72px; padding-bottom: 72px; }

/* Comments */
.swp-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--wp--preset--color--border); }
.swp-comments .wp-block-comment-template { list-style: none; padding: 0; margin: 24px 0 0; }
.swp-comment { padding: 20px 22px; border-radius: 16px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); margin-bottom: 16px; font-size: 17px; }
.swp-comment__meta { gap: 10px; align-items: center; font-size: 14px; }
.swp-comment__meta .wp-block-comment-author-name { font-weight: 600; color: var(--wp--preset--color--contrast); }
.swp-comment__meta .wp-block-comment-date { color: var(--wp--preset--color--muted); }
.swp-comments .wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]),
.swp-comments .wp-block-post-comments-form textarea { border: 1px solid var(--wp--preset--color--border); border-radius: 12px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); padding: 12px 14px; font: inherit; font-size: 16px; }

/* ---------- Article components ---------- */
.swp-takeaways { border-radius: var(--swp-radius); padding: 28px 32px; }
.swp-takeaways__title { font-family: var(--wp--preset--font-family--inter) !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--ink-science) !important; margin: 0 !important; }
.swp-checklist { list-style: none; padding: 0; margin: 16px 0 0; font-size: 18px; }
.swp-checklist li { position: relative; padding-left: 38px; }
.swp-checklist li + li { margin-top: 14px; }
.swp-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 2px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink-science);
	font-size: 14px;
	font-weight: 700;
	line-height: 26px;
	text-align: center;
}

.swp-table table { border-collapse: collapse; width: 100%; background: var(--wp--preset--color--surface); border-radius: 16px; overflow: hidden; }
.swp-table th, .swp-table td { padding: 14px 18px; border: 0; border-top: 1px solid var(--wp--preset--color--border); text-align: left; font-size: 17px; }
.swp-table thead th { background: var(--wp--preset--color--brand); color: var(--wp--preset--color--brand-text); border: 0; }
.swp-table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--wp--preset--color--powder) 40%, var(--wp--preset--color--surface)); }
.swp-table tbody td:first-child { font-weight: 600; color: var(--wp--preset--color--contrast); }
.swp-table { border: 1px solid var(--wp--preset--color--border); border-radius: 16px; overflow-x: auto; }
.swp-table figcaption { padding: 12px 18px; margin: 0; }

.wp-block-pullquote { border-top: 1px solid var(--wp--preset--color--border); border-bottom: 1px solid var(--wp--preset--color--border); padding: 32px 0; color: var(--wp--preset--color--contrast); }
.wp-block-pullquote blockquote::before { content: "“"; display: block; font-family: var(--wp--preset--font-family--lora); font-size: 72px; line-height: 0.6; color: var(--wp--preset--color--accent); margin-bottom: 12px; }

.swp-faq { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: 16px; padding: 0 22px; }
.swp-faq + .swp-faq { margin-top: 12px !important; }
.swp-faq summary { min-height: 60px; display: flex; align-items: center; font-weight: 600; font-size: 18px; color: var(--wp--preset--color--contrast); cursor: pointer; }
.swp-faq > p { font-size: 17px; margin: 0 0 20px; }

.swp-related { gap: 20px; padding: 16px; border-radius: var(--swp-radius); margin-top: 40px !important; }
.swp-related__img, .swp-related__img img { margin: 0; border-radius: 14px; flex-shrink: 0; }
.swp-related .swp-eyebrow { font-size: 12px !important; letter-spacing: 0.1em; }
.swp-related__title { font-family: var(--wp--preset--font-family--lora); font-size: 21px; font-weight: 600; line-height: 1.3; margin: 6px 0 0; }
.swp-related__title a { text-decoration: none; color: var(--wp--preset--color--contrast); }

.swp-disclaimer { margin-top: 48px !important; padding: 18px 22px; border-radius: 16px; background: color-mix(in srgb, var(--wp--preset--color--powder) 55%, var(--wp--preset--color--base)); color: var(--wp--preset--color--muted); }
.swp-disclaimer strong { color: var(--wp--preset--color--contrast); }
.swp-sources-title { font-family: var(--wp--preset--font-family--inter) !important; font-size: 14px !important; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 40px !important; }
.swp-sources { font-size: 15px; line-height: 1.6; color: var(--wp--preset--color--muted); }

/* ---------- Archives, pages, pagination ---------- */
.swp-archive { padding-top: 0; }
.swp-page-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 32px; }
.swp-page-head > * { margin-top: 0; }
.swp-page, .swp-404 { padding-top: clamp(40px, 6vw, 72px); }
.swp-pagination { margin-top: 48px !important; gap: 8px; }
.swp-pagination a, .swp-pagination .page-numbers {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface);
	text-decoration: none;
	box-sizing: border-box;
}
.swp-pagination .page-numbers.current { background: var(--wp--preset--color--brand); color: var(--wp--preset--color--brand-text); border-color: var(--wp--preset--color--brand); }
.swp-search-large .wp-block-search__input { height: 52px; border-radius: 12px; border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); padding: 0 16px; }
.swp-search-large .wp-block-search__button { border-radius: 12px; }

/* ---------- Footer ---------- */
.swp-footer { padding-top: 64px; padding-bottom: 32px; margin-top: 0; }
.swp-footer__cols { gap: 40px 64px; }
.swp-footer__tagline { font-family: var(--wp--preset--font-family--lora); font-style: italic; font-size: 20px; color: var(--wp--preset--color--accent); margin-top: 22px; }
.swp-footer__heading { font-family: var(--wp--preset--font-family--inter) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--accent) !important; }
.swp-footer__links { list-style: none; padding: 0; margin: 8px 0 0; }
.swp-footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; color: var(--wp--preset--color--brand-muted); }
.swp-footer__links a:hover { color: var(--wp--preset--color--brand-text); }
.swp-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #23384C; gap: 8px 24px; }
.swp-footer__bottom p { margin: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.swp-header__cta { display: none; }
	.swp-hero__title { font-size: 38px; }
	.swp-article-body { font-size: 18px; }
	.swp-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.swp-related { flex-wrap: wrap !important; }
}
