/*
Theme Name: Tese
Theme URI: https://suedex.com/tese
Author: SuedeX
Author URI: https://suedex.com
Description: Tese is a free, modern, WordPress 7.0-ready block theme by SuedeX. Beautifully designed, fully Gutenberg-native, with guarded creativity that makes it easy to build stunning websites.
Version: 1.2.3
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suedex-tese
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, editor-style, custom-colors, custom-fonts, custom-logo, custom-menu, featured-images, template-editing, threaded-comments, translation-ready, blog, e-commerce, portfolio
*/

/*
 * Remove default block gap between top-level site blocks (header, main, footer).
 * Each block manages its own spacing via padding.
 */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* ─── Tese custom blocks: contact info + social links ──────────────────
 * Both blocks are server-rendered from the Site Guide → Contact Details
 * settings, so the styles below have to be permissive enough to look
 * right in any header, footer, or content area.
 * ────────────────────────────────────────────────────────────────────── */

.tese-contact-info {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.tese-contact-info__heading {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent, currentColor);
	opacity: 0.9;
}

.tese-contact-info__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tese-contact-info__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0 0 12px;
	border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.tese-contact-info__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.tese-contact-info__label {
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.65;
}

.tese-contact-info__value {
	font-size: 0.95rem;
	color: inherit;
	text-decoration: none;
	line-height: 1.55;
	transition: opacity 0.2s ease;
}

a.tese-contact-info__value:hover { opacity: 0.7; }

.tese-contact-info--empty {
	padding: 14px 16px;
	border: 1px dashed color-mix(in srgb, currentColor 30%, transparent);
	border-radius: 10px;
	font-size: 13px;
	opacity: 0.7;
}

.tese-social-links {
	display: inline-flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.tese-social-links__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tese-social-links__link svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
	display: block;
}

.tese-social-links--small .tese-social-links__link { width: 30px; height: 30px; }
.tese-social-links--small .tese-social-links__link svg { width: 14px; height: 14px; }
.tese-social-links--medium .tese-social-links__link { width: 38px; height: 38px; }
.tese-social-links--medium .tese-social-links__link svg { width: 16px; height: 16px; }
.tese-social-links--large .tese-social-links__link { width: 48px; height: 48px; }
.tese-social-links--large .tese-social-links__link svg { width: 20px; height: 20px; }

.tese-social-links--circle .tese-social-links__link {
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.tese-social-links--square .tese-social-links__link {
	border-radius: 8px;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.tese-social-links--plain .tese-social-links__link {
	border: 0;
	border-radius: 0;
	width: auto;
	height: auto;
	padding: 6px;
}

.tese-social-links--circle .tese-social-links__link:hover,
.tese-social-links--square .tese-social-links__link:hover {
	border-color: var(--wp--preset--color--accent, currentColor);
	background: color-mix(in srgb, var(--wp--preset--color--accent, currentColor) 10%, transparent);
}

.tese-social-links--plain .tese-social-links__link:hover {
	color: var(--wp--preset--color--accent, currentColor);
	transform: translateY(-1px);
}

.tese-social-links--empty {
	padding: 14px 16px;
	border: 1px dashed color-mix(in srgb, currentColor 30%, transparent);
	border-radius: 10px;
	font-size: 13px;
	opacity: 0.7;
}

/* ─── Block style variations ─────────────────────────────────────────────
 * Registered in inc/class-tese-block-styles.php — selectable from each
 * block's "Styles" picker in the editor. Class names follow WP's
 * `is-style-{name}` convention so the editor and the front-end render
 * identically without any extra wiring.
 * ────────────────────────────────────────────────────────────────────── */

/* ── Buttons ────────────────────────────────────────────────────────── */

/* Sharp — square corners, otherwise inherits the active button colours. */
.wp-block-button.is-style-sharp .wp-block-button__link {
	border-radius: 0;
}

/* Pill — fully rounded ends. */
.wp-block-button.is-style-pill .wp-block-button__link {
	border-radius: 999px;
}

/* Outline → Filled — transparent background that fills with the foreground
 * colour on hover. Sits on top of the existing `is-style-outline` variation
 * (the WP default) so it's purely additive. */
.wp-block-button.is-style-outline-fill .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--foreground);
	border: 2px solid currentColor;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.wp-block-button.is-style-outline-fill .wp-block-button__link:hover,
.wp-block-button.is-style-outline-fill .wp-block-button__link:focus {
	background: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--on-dark);
}

/* Animated underline — text-only button with a single-line underline that
 * grows from the left on hover. Best for tertiary calls-to-action. */
.wp-block-button.is-style-underline .wp-block-button__link {
	background: transparent;
	color: inherit;
	padding: 6px 2px;
	border-radius: 0;
	border: 0;
	position: relative;
	display: inline-block;
}
.wp-block-button.is-style-underline .wp-block-button__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.wp-block-button.is-style-underline .wp-block-button__link:hover::after,
.wp-block-button.is-style-underline .wp-block-button__link:focus::after {
	transform: scaleX(1);
}

/* Lift — raises slightly on hover with a soft drop-shadow. */
.wp-block-button.is-style-lift .wp-block-button__link {
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.wp-block-button.is-style-lift .wp-block-button__link:hover,
.wp-block-button.is-style-lift .wp-block-button__link:focus {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* Soft — pastel surface that gets a touch deeper on hover; quiet style for
 * inline / supporting actions. */
.wp-block-button.is-style-soft .wp-block-button__link {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
	color: var(--wp--preset--color--accent);
	border: 0;
	transition: background 0.2s ease, color 0.2s ease;
}
.wp-block-button.is-style-soft .wp-block-button__link:hover,
.wp-block-button.is-style-soft .wp-block-button__link:focus {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 24%, transparent);
	color: var(--wp--preset--color--accent);
}

/* ── Groups ─────────────────────────────────────────────────────────── */

/* Card — bordered container with a soft drop-shadow and generous padding. */
.wp-block-group.is-style-card {
	border: 1px solid var(--wp--preset--color--surface-alt);
	border-radius: 16px;
	background: var(--wp--preset--color--background);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Soft panel — flat tinted background, no border, used for callouts. */
.wp-block-group.is-style-panel {
	background: var(--wp--preset--color--surface);
	border-radius: 12px;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* Bordered — outline only, no background, useful for grouped form fields. */
.wp-block-group.is-style-bordered {
	border: 1px solid var(--wp--preset--color--surface-alt);
	border-radius: 12px;
	padding: clamp(1.25rem, 2.5vw, 2rem);
}

/* ── Headings ───────────────────────────────────────────────────────── */

/* Eyebrow — small accent-coloured pre-heading typically placed above an h2. */
.wp-block-heading.is-style-eyebrow {
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--wp--preset--color--accent);
	line-height: 1.3;
	margin-bottom: 0.5rem;
}

/* Underlined — heading with a short accent-coloured line directly below. */
.wp-block-heading.is-style-underlined {
	display: inline-block;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid var(--wp--preset--color--accent);
}

/* ── Images ─────────────────────────────────────────────────────────── */

/* Soft — slightly rounded corners (subtle, not pill-y). */
.wp-block-image.is-style-soft img {
	border-radius: 12px;
}

/* Bordered — thin outline, useful for portrait shots on light backgrounds. */
.wp-block-image.is-style-bordered img {
	border: 1px solid var(--wp--preset--color--surface-alt);
	border-radius: 8px;
}

/* Shadow — soft drop-shadow, no border. */
.wp-block-image.is-style-shadow img {
	border-radius: 8px;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

body {
	--tese-transparent-header-offset: 0px;
	--tese-wellness-terra: #c05a32;
	--tese-wellness-terra-dark: #7a2f10;
	--tese-wellness-cream: #faf7f1;
	--tese-wellness-cream-dark: #e0d8c8;
	--tese-wellness-charcoal: #241e14;
	--tese-wellness-olive: #3e3525;
	--tese-wellness-gold: #b5924c;
	--tese-wellness-sand: #c9baa3;
	--tese-wellness-muted: #9a8b76;
	--tese-wellness-font-display: "Cormorant Garamond", Georgia, serif;
	--tese-wellness-font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.tese-header-preset-wellness,
body.tese-footer-preset-wellness {
	--tese-wellness-terra: #c05a32;
	--tese-wellness-terra-dark: #7a2f10;
	--tese-wellness-cream: #faf7f1;
	--tese-wellness-cream-dark: #e0d8c8;
	--tese-wellness-charcoal: #241e14;
	--tese-wellness-olive: #3e3525;
	--tese-wellness-gold: #b5924c;
	--tese-wellness-sand: #c9baa3;
	--tese-wellness-muted: #9a8b76;
	--tese-wellness-font-display: "Cormorant Garamond", Georgia, serif;
	--tese-wellness-font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tese-header-main {
	position: relative;
	z-index: 30;
	background: color-mix(in srgb, var(--wp--preset--color--background) 92%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.tese-header-main .wp-block-navigation__responsive-container-open,
.tese-header-main .wp-block-navigation__responsive-container-close {
	border-radius: 999px;
}

.tese-header-alt-bar {
	position: relative;
	z-index: 31;
}

.tese-header-alt-main {
	position: relative;
	z-index: 30;
	background: color-mix(in srgb, var(--wp--preset--color--background) 94%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

body.tese-has-transparent-header {
	--tese-transparent-header-offset: clamp(96px, 11vw, 144px);
}

body.tese-has-transparent-header .tese-header-main.is-transparent,
body.tese-has-transparent-header .tese-header-alt-main.is-transparent {
	position: absolute;
	inset: 0 0 auto;
	z-index: 40;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: none !important;
}

body.tese-has-transparent-header .tese-header-main.is-transparent .wp-block-site-title a,
body.tese-has-transparent-header .tese-header-main.is-transparent .wp-block-navigation-item__content,
body.tese-has-transparent-header .tese-header-main.is-transparent .wp-block-navigation__responsive-container-open,
body.tese-has-transparent-header .tese-header-main.is-transparent .wp-block-navigation__responsive-container-close,
body.tese-has-transparent-header .tese-header-alt-main.is-transparent .wp-block-site-title a,
body.tese-has-transparent-header .tese-header-alt-main.is-transparent .wp-block-navigation-item__content,
body.tese-has-transparent-header .tese-header-alt-main.is-transparent .wp-block-navigation__responsive-container-open,
body.tese-has-transparent-header .tese-header-alt-main.is-transparent .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--foreground);
}

body.tese-has-transparent-header .tese-header-main.is-transparent .wp-block-site-logo img,
body.tese-has-transparent-header .tese-header-alt-main.is-transparent .wp-block-site-logo img {
	filter: none;
}

body.tese-has-transparent-header .tese-header-main.is-transparent .wp-block-button.is-style-outline .wp-block-button__link,
body.tese-has-transparent-header .tese-header-alt-main.is-transparent .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--wp--preset--color--foreground);
	border-color: var(--wp--preset--color--foreground);
}

/*
 * ─── Expandable header search ─────────────────────────────────────────
 * `wp:search` ships in every header (default, alt, wellness) as a single
 * icon button. Tap/click the button and the input slides open; click
 * outside or empty + blur to collapse it again. This avoids sending users
 * to a dedicated /?s= page just to start a search.
 *
 * Implementation note: the wrapper is the form element WP renders around
 * the input + button. `.is-expanded` is toggled by tese-search.js.
 */
.tese-header-search {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.tese-header-search .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 0;
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	overflow: hidden;
}

.tese-header-search .wp-block-search__input {
	width: 0;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 0.92rem;
	color: inherit;
	outline: none;
	transition: width 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
	opacity: 0;
}

.tese-header-search.is-expanded .wp-block-search__inside-wrapper {
	background: var(--wp--preset--color--surface, rgba(0, 0, 0, 0.04));
	border-color: var(--wp--preset--color--surface-alt, rgba(0, 0, 0, 0.12));
}

.tese-header-search.is-expanded .wp-block-search__input {
	width: clamp(160px, 28vw, 260px);
	padding: 8px 10px 8px 14px;
	opacity: 1;
}

.tese-header-search .wp-block-search__button {
	background: transparent;
	border: 0;
	padding: 8px 10px;
	cursor: pointer;
	color: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tese-header-search .wp-block-search__button:hover {
	color: var(--wp--preset--color--accent, #de235c);
}

.tese-header-search .wp-block-search__button svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Wellness header runs on a dark background so the search needs to invert
 * its idle/active colours to stay legible. */
.tese-wellness-header .tese-header-search .wp-block-search__button {
	color: rgba(255, 255, 255, 0.7);
}
.tese-wellness-header .tese-header-search .wp-block-search__button:hover {
	color: #ffffff;
}
.tese-wellness-header .tese-header-search.is-expanded .wp-block-search__inside-wrapper {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.15);
}
.tese-wellness-header .tese-header-search .wp-block-search__input {
	color: #ffffff;
}
.tese-wellness-header .tese-header-search .wp-block-search__input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

/*
 * Wellness header is sticky (not fixed) so it sits in document flow at the
 * top of the page, then sticks to the top when scrolling. This eliminates
 * the need for compensating padding-top on .wp-site-blocks (which used to
 * push the first content section down by ~164px to clear a fixed header)
 * and removes the visible white gap above the header on pages where the
 * first content block isn't itself a full-bleed hero.
 */
.tese-wellness-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	font-family: var(--tese-wellness-font-body);
	--wp--style--block-gap: 0;
	transition: background 0.4s ease, box-shadow 0.4s ease;
}

.tese-wellness-header > .wp-block-group {
	margin-block-start: 0;
}

.tese-wellness-header .header-topbar {
	background: var(--tese-wellness-terra);
	padding: 8px 80px;
	transition: background 0.3s ease, padding 0.3s ease;
}

.tese-wellness-header .header-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	width: 100%;
}

.tese-wellness-header .topbar-message {
	font-family: var(--tese-wellness-font-display);
	font-size: 14px;
	font-style: italic;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: 0.02em;
	margin: 0;
	flex: 1 1 320px;
}

.tese-wellness-header .topbar-contact {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-shrink: 0;
}

/*
 * Each contact item is now a `wp:paragraph` (was a bare `<a>`) so the
 * editor can manage them without a `wp:html` validation roundtrip. The
 * old `<span class="topbar-divider">` was removed entirely — the divider
 * is now a CSS pseudo-element on each subsequent item, which avoids
 * having an empty span that the editor would treat as a stray block.
 */
.tese-wellness-header .topbar-contact-item {
	margin: 0;
	display: inline-flex;
	align-items: center;
}

.tese-wellness-header .topbar-contact-item + .topbar-contact-item::before {
	content: "";
	width: 1px;
	height: 12px;
	background: rgba(255, 255, 255, 0.3);
	display: inline-block;
	margin-right: 32px;
}

.tese-wellness-header .topbar-contact-item a {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	text-transform: uppercase;
}

.tese-wellness-header .topbar-contact-item a:hover {
	color: #ffffff;
}

.tese-wellness-header .header-nav {
	padding: 24px 80px;
	background: var(--tese-wellness-olive);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: background 0.4s ease, padding 0.3s ease;
}

.tese-wellness-header.is-transparent .header-nav {
	background: transparent;
	box-shadow: none;
}

.tese-wellness-header.is-sticky .header-nav {
	padding-top: 18px;
	padding-bottom: 18px;
}

.tese-wellness-header .header-nav__inner {
	align-items: center;
	gap: 24px;
}

.tese-wellness-header .nav-logo {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	flex-shrink: 0;
}

.tese-wellness-header .nav-logo .custom-logo-link,
.tese-wellness-header .nav-logo .wp-block-site-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tese-wellness-header .nav-logo .custom-logo-link img,
.tese-wellness-header .nav-logo .wp-block-site-logo img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.tese-wellness-header .logo-wordmark {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.tese-wellness-header .logo-name,
.tese-wellness-header .logo-name a {
	font-family: var(--tese-wellness-font-display);
	font-size: 22px;
	font-weight: 400;
	font-style: italic;
	color: var(--tese-wellness-cream);
	letter-spacing: 0.02em;
	text-decoration: none;
}

.tese-wellness-header .logo-tagline {
	font-family: var(--tese-wellness-font-body);
	font-size: 8px;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--tese-wellness-gold);
	margin-top: 4px;
}

.tese-wellness-header .header-nav__center {
	flex: 1 1 auto;
	min-width: 0;
}

.tese-wellness-navigation {
	width: 100%;
}

.tese-wellness-navigation.wp-block-navigation {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.tese-wellness-navigation.wp-block-navigation > .wp-block-navigation__responsive-container-open {
	display: none;
}

/*
 * IMPORTANT: when `wp:navigation` references a saved menu via `ref`, WP wraps
 * the rendered items in `.wp-block-navigation__responsive-container`. The
 * older rule below used to hide that container at every screen size and
 * only show it via the `.is-menu-open` toggle — which silently swallowed
 * every saved menu the Navigation Manager attached to the wellness header
 * (page-list rendered fine because page-list lives outside the responsive
 * container).
 *
 * Desktop now renders the container as a flush flex row exactly like the
 * page-list fallback. The mobile drawer behaviour is preserved inside the
 * 1024px media query further down in this file.
 */
.tese-wellness-navigation.wp-block-navigation > .wp-block-navigation__responsive-container {
	display: flex;
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	z-index: auto;
	background: transparent;
	width: 100%;
	padding: 0;
	box-shadow: none;
}

.tese-wellness-navigation.wp-block-navigation > .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
	display: flex;
	width: 100%;
	justify-content: center;
}

.tese-wellness-navigation.wp-block-navigation > .wp-block-navigation__container,
.tese-wellness-navigation .wp-block-navigation__container {
	width: 100%;
}

.tese-wellness-navigation .wp-block-navigation__container,
.tese-wellness-navigation .wp-block-page-list {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tese-wellness-navigation .wp-block-page-list {
	flex-wrap: wrap;
}

.tese-wellness-navigation .wp-block-page-list > li,
.tese-wellness-navigation .wp-block-page-list .page_item {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	border: 0;
}

.tese-wellness-navigation .wp-block-navigation-item {
	position: relative;
}

.tese-wellness-navigation .wp-block-navigation-item__content {
	display: block;
	font-family: var(--tese-wellness-font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	padding: 10px 22px;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.tese-wellness-navigation .wp-block-page-list > li > a,
.tese-wellness-navigation .wp-block-page-list .page_item > a {
	display: block;
	font-family: var(--tese-wellness-font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	padding: 10px 22px;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.tese-wellness-navigation .wp-block-navigation-item__content:hover,
.tese-wellness-navigation .current-menu-item > .wp-block-navigation-item__content,
.tese-wellness-navigation .current_page_item > .wp-block-navigation-item__content,
.tese-wellness-navigation .current-menu-ancestor > .wp-block-navigation-item__content,
.tese-wellness-navigation .wp-block-page-list > li > a:hover,
.tese-wellness-navigation .wp-block-page-list .current_page_item > a,
.tese-wellness-navigation .wp-block-page-list .current_page_ancestor > a {
	color: #ffffff;
}

.tese-wellness-navigation .current-menu-item > .wp-block-navigation-item__content::after,
.tese-wellness-navigation .current_page_item > .wp-block-navigation-item__content::after,
.tese-wellness-navigation .wp-block-page-list .current_page_item > a::after {
	content: "";
	display: block;
	width: 20px;
	height: 1px;
	background: var(--tese-wellness-terra);
	margin: 4px auto 0;
}

.tese-wellness-navigation .wp-block-navigation__submenu-icon {
	color: rgba(255, 255, 255, 0.65);
	margin-left: -10px;
}

.tese-wellness-navigation .wp-block-navigation__submenu-container {
	background: var(--tese-wellness-olive);
	border-top: 2px solid var(--tese-wellness-terra);
	min-width: 220px;
	padding: 12px 0;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.tese-wellness-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.14em;
	padding: 12px 28px;
	color: rgba(255, 255, 255, 0.75);
}

.tese-wellness-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: #ffffff;
	padding-left: 34px;
}

.tese-wellness-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item + .wp-block-navigation-item {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tese-wellness-header .nav-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.tese-wellness-header .nav-search-btn {
	background: none;
	border: 0;
	padding: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tese-wellness-header .nav-search-btn:hover {
	color: #ffffff;
}

.tese-wellness-header .nav-search-btn svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/*
 * The "Book a Session" CTA is now a real `wp:button` block (`.nav-cta-button`
 * containing `.wp-block-button__link`). Targeting both the legacy `.nav-cta`
 * class and the new button anchor keeps existing user customisations intact
 * while letting fresh installs use the editor's native button controls.
 */
.tese-wellness-header .nav-cta,
.tese-wellness-header .nav-cta-button .wp-block-button__link {
	display: inline-block;
	background: var(--tese-wellness-terra);
	color: #ffffff;
	font-family: var(--tese-wellness-font-body);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 13px 28px;
	text-decoration: none;
	border-radius: 1px;
	white-space: nowrap;
	transition: background 0.2s ease;
	border: 0;
	cursor: pointer;
	line-height: 1.2;
}

.tese-wellness-header .nav-cta:hover,
.tese-wellness-header .nav-cta-button .wp-block-button__link:hover {
	background: var(--tese-wellness-terra-dark);
	color: #ffffff;
}

/* Suppress the wp:buttons wrapper's default margin/gap so the button sits
 * flush in the nav-actions row alongside the search icon. */
.tese-wellness-header .nav-actions .wp-block-buttons {
	margin: 0;
	gap: 0;
}

.tese-wellness-header .nav-actions .wp-block-button {
	margin: 0;
}

.tese-wellness-header .wp-block-navigation__responsive-container-open,
.tese-wellness-header .wp-block-navigation__responsive-container-close {
	color: var(--tese-wellness-cream);
}

.tese-wellness-header .wp-block-navigation__responsive-container {
	background: var(--tese-wellness-olive);
	color: #ffffff;
	padding: 24px 40px 32px;
}

.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
	align-items: flex-start;
}

.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-navigation__container {
	align-items: flex-start;
	gap: 0;
	width: 100%;
}

.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-page-list {
	display: block;
	width: 100%;
}

.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-page-list > li,
.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-page-list .page_item {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-navigation-item__content {
	padding: 14px 0;
}

.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-page-list > li > a,
.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-page-list .page_item > a {
	padding: 14px 0;
}

.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
	background: transparent;
	border-top: 0;
	box-shadow: none;
	padding: 0 0 8px 20px;
}

.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item {
	border-top: 0;
	border-bottom: 0;
}

.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.14em;
	padding: 9px 0;
	color: rgba(255, 255, 255, 0.55);
}

.footer-newsletter {
	background: var(--tese-wellness-terra, #c05a32);
	padding: 72px 80px;
}

.footer-newsletter-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.newsletter-heading {
	font-family: var(--tese-wellness-font-display);
	font-size: clamp(32px, 3vw, 48px);
	font-weight: 300;
	color: #ffffff;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.newsletter-heading em {
	font-style: italic;
	color: rgba(255, 255, 255, 0.75);
}

.newsletter-sub {
	font-family: var(--tese-wellness-font-body);
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.8);
	margin-top: 12px;
	line-height: 1.7;
}

.newsletter-form {
	display: flex;
	gap: 0;
}

.newsletter-input {
	flex: 1;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-right: none;
	color: #ffffff;
	font-family: var(--tese-wellness-font-body);
	font-size: 13px;
	font-weight: 400;
	padding: 16px 24px;
	outline: none;
	border-radius: 1px 0 0 1px;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.5);
	font-style: italic;
	font-family: var(--tese-wellness-font-display);
	font-size: 15px;
}

.newsletter-input:focus {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
	background: var(--tese-wellness-charcoal, #241e14);
	color: #ffffff;
	font-family: var(--tese-wellness-font-body);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	padding: 16px 32px;
	border: 0;
	cursor: pointer;
	border-radius: 0 1px 1px 0;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.newsletter-btn:hover {
	background: #1a1510;
}

.newsletter-privacy {
	margin-top: 12px;
	font-family: var(--tese-wellness-font-body);
	font-size: 11px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.6;
}

.newsletter-privacy a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.site-footer--wellness {
	background: var(--tese-wellness-olive, #3e3525);
	color: var(--tese-wellness-cream, #faf7f1);
	padding: 90px 80px 0;
	font-family: var(--tese-wellness-font-body);
}

.site-footer--wellness .footer-inner {
	max-width: 1440px;
	margin: 0 auto;
}

.site-footer--wellness .footer-top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 60px;
	padding-bottom: 72px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer--wellness .footer-brand {
	padding-right: 20px;
}

.site-footer--wellness .footer-logo {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	margin-bottom: 28px;
}

.site-footer--wellness .footer-logo .custom-logo-link,
.site-footer--wellness .footer-logo .wp-block-site-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.site-footer--wellness .footer-logo .custom-logo-link img,
.site-footer--wellness .footer-logo .wp-block-site-logo img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.site-footer--wellness .footer-logo-placeholder {
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.35);
	text-transform: uppercase;
	flex-shrink: 0;
}

.site-footer--wellness .footer-logo-wordmark {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.site-footer--wellness .footer-logo-name {
	font-family: var(--tese-wellness-font-display);
	font-size: 20px;
	font-weight: 400;
	font-style: italic;
	color: var(--tese-wellness-cream);
	margin: 0;
}

.site-footer--wellness .footer-logo-name a {
	color: inherit;
	text-decoration: none;
}

.site-footer--wellness .footer-logo-tagline {
	font-size: 8px;
	font-weight: 500;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--tese-wellness-gold);
	margin-top: 5px;
	margin-bottom: 0;
}

.site-footer--wellness .footer-about {
	font-size: 14px;
	font-weight: 400;
	color: rgba(201, 186, 163, 0.85);
	line-height: 1.85;
	margin-bottom: 32px;
}

/*
 * Footer social icons are now `wp:social-links` (the editor-native block),
 * not raw `wp:html` <a> tags. We override the default circle/colour styling
 * to keep the original muted-on-dark look. The `.social-link` selector is
 * kept as a fallback in case any user has the legacy markup saved.
 */
.site-footer--wellness .footer-social,
.site-footer--wellness .wp-block-social-links.footer-social {
	display: flex;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-footer--wellness .footer-social .wp-social-link,
.site-footer--wellness .social-link {
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: transparent;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.site-footer--wellness .footer-social .wp-social-link:hover,
.site-footer--wellness .social-link:hover {
	border-color: var(--tese-wellness-terra);
	background: rgba(192, 90, 50, 0.1);
}

.site-footer--wellness .footer-social .wp-block-social-link-anchor,
.site-footer--wellness .social-link a {
	color: rgba(255, 255, 255, 0.6);
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.site-footer--wellness .footer-social .wp-social-link:hover .wp-block-social-link-anchor,
.site-footer--wellness .social-link:hover a {
	color: #ffffff;
}

.site-footer--wellness .footer-social svg,
.site-footer--wellness .social-link svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	transition: fill 0.2s ease;
}

.site-footer--wellness .social-link:hover svg {
	fill: #ffffff;
}

.site-footer--wellness .footer-col-heading {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--tese-wellness-terra);
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	display: block;
}

.site-footer--wellness .footer-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0;
	margin: 0;
}

.site-footer--wellness .footer-links li a {
	font-size: 13px;
	font-weight: 400;
	color: rgba(201, 186, 163, 0.8);
	text-decoration: none;
	padding: 6px 0;
	display: inline-block;
	transition: color 0.2s ease, padding-left 0.2s ease;
	letter-spacing: 0.02em;
}

.site-footer--wellness .footer-links li a:hover {
	color: #ffffff;
	padding-left: 6px;
}

/*
 * Contact items are now `wp:paragraph` blocks (one per item) wrapping a
 * label `<span>` and a value `<a>`/`<span>`. The visible separator
 * between items is provided by margin-bottom on the paragraph + a
 * bottom border on each item, replacing the old `<div class=
 * "footer-contact-divider">` empty div which was a `wp:html` block and
 * therefore a validation-error magnet.
 */
.site-footer--wellness .footer-contact-column {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.site-footer--wellness .footer-contact-item {
	display: flex;
	flex-direction: column;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 13px;
	line-height: 1.6;
	color: rgba(201, 186, 163, 0.85);
}

.site-footer--wellness .footer-contact-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.site-footer--wellness .footer-contact-label {
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--tese-wellness-gold);
	margin-bottom: 5px;
	display: block;
}

.site-footer--wellness .footer-contact-value {
	font-size: 13px;
	font-weight: 400;
	color: rgba(201, 186, 163, 0.85);
	text-decoration: none;
	line-height: 1.6;
	transition: color 0.2s ease;
	display: inline;
}

.site-footer--wellness a.footer-contact-value:hover {
	color: #ffffff;
}

.site-footer--wellness .footer-contact-value--accent {
	color: var(--tese-wellness-terra);
	font-weight: 500;
}

.site-footer--wellness .footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 28px 0;
	gap: 32px;
	flex-wrap: wrap;
}

.site-footer--wellness .footer-copyright {
	font-size: 11px;
	font-weight: 400;
	color: rgba(201, 186, 163, 0.5);
	letter-spacing: 0.06em;
}

.site-footer--wellness .footer-legal {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
}

.site-footer--wellness .footer-legal li {
	display: flex;
	align-items: center;
}

.site-footer--wellness .footer-legal li + li::before {
	content: "·";
	margin-right: 24px;
	color: rgba(255, 255, 255, 0.15);
}

.site-footer--wellness .footer-legal li a {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.08em;
	color: rgba(201, 186, 163, 0.5);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer--wellness .footer-legal li a:hover {
	color: rgba(201, 186, 163, 0.9);
}

/*
 * Footer accreditation is now a single `wp:paragraph` (was a `wp:group` +
 * `wp:html` empty span "dot" + `wp:paragraph`). The decorative dot is now
 * a CSS pseudo-element on the paragraph itself, eliminating the empty
 * span that the editor previously treated as a stray block.
 */
.site-footer--wellness .footer-accreditation {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(201, 186, 163, 0.4);
	margin: 0;
}

.site-footer--wellness .footer-accreditation::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--tese-wellness-terra);
	flex-shrink: 0;
}

.site-footer--wellness .accreditation-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--tese-wellness-terra);
	opacity: 0.5;
}

.tese-hide-mobile,
.tese-hide-tablet,
.tese-hide-desktop {
	transition: opacity 0.2s ease;
}

/*
 * Pages render edge-to-edge by default (templates/page.html uses an
 * un-constrained <main> wrapper). The legacy `.tese-page-main` CSS that
 * used to box content at 1200px and add ~3rem top/bottom padding was
 * removed because it (a) contradicted the "default = full-width" page
 * layout users expect after the rebuild, and (b) caused visible white
 * space above the first content block whenever the header was hidden.
 *
 * Users who want a constrained look on a single section can wrap it in
 * a Group block with constrained layout — the editor picker exposes
 * this naturally without the theme having to enforce it globally.
 */
.wp-block-post-content > .alignfull:first-child,
.wp-block-post-content > .tese-wellness-page:first-child,
.entry-content > .tese-wellness-page:first-child {
	margin-block-start: 0 !important;
}

/*
 * Plain text blocks (paragraphs, headings, lists, quotes, tables, etc.)
 * inside post-content get a small horizontal padding so they don't butt
 * against the viewport edges. Alignfull / alignwide blocks (heroes,
 * full-bleed groups, imported wellness/healthcare templates) are
 * explicitly excluded — they keep their full-bleed behaviour.
 *
 * The padding scales with viewport width (clamp 1rem–3rem) so phones
 * get the minimum, tablets a comfortable middle, large desktops the
 * fullest amount. Applies to both the front-end render and the editor
 * canvas (style.css is loaded as an editor style via add_editor_style).
 */
.wp-block-post-content > :where(
	p,
	h1, h2, h3, h4, h5, h6,
	ul, ol,
	.wp-block-heading,
	.wp-block-paragraph,
	.wp-block-list,
	.wp-block-quote,
	.wp-block-pullquote,
	.wp-block-code,
	.wp-block-preformatted,
	.wp-block-verse,
	.wp-block-table,
	.wp-block-separator,
	.wp-block-spacer,
	.wp-block-buttons,
	.wp-block-image,
	.wp-block-embed,
	.wp-block-video,
	.wp-block-audio,
	.wp-block-file
):not(.alignfull):not(.alignwide) {
	padding-left: clamp(1rem, 4vw, 3rem);
	padding-right: clamp(1rem, 4vw, 3rem);
}

.tese-wellness-page,
.tese-wellness-page > .wp-block-group,
.tese-wellness-page > section {
	--wp--style--block-gap: 0;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.tese-wellness-page > * + * {
	margin-block-start: 0 !important;
}

.tese-wellness-page .wp-block-columns,
.tese-wellness-page .wp-block-column,
.tese-wellness-page .wp-block-image,
.tese-wellness-page .wp-block-group {
	margin-block-start: 0;
}

.tese-wellness-hero {
	position: relative;
	overflow: clip;
}

.tese-wellness-hero__columns {
	display: grid !important;
	grid-template-columns: minmax(0, 48%) minmax(0, 52%);
	align-items: stretch;
	min-height: clamp(720px, 88vh, 980px);
	gap: 0;
	/* Override constrained-layout max-width so columns fill the full-bleed group */
	max-width: 100% !important;
	width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.tese-wellness-hero__content,
.tese-wellness-hero__media {
	min-width: 0;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.tese-wellness-hero__content {
	display: flex;
	align-items: stretch;
}

.tese-wellness-hero__copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	width: 100%;
}

/* Override WordPress constrained-layout centering on children (is-layout-constrained) */
.tese-wellness-hero__copy > * {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.tese-wellness-hero__copy .wp-block-buttons {
	align-items: center;
}

.tese-wellness-hero__copy > .wp-block-heading {
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.tese-wellness-hero__media,
.tese-wellness-hero__media-grid,
.tese-wellness-hero__media-main,
.tese-wellness-hero__media-stack,
.tese-wellness-hero__media-stack-inner {
	height: 100%;
	min-height: 0;
}

.tese-wellness-hero__media-grid {
	display: grid !important;
	grid-template-columns: minmax(0, 58%) minmax(0, 42%);
	gap: 2px;
	background: rgba(250, 247, 241, 0.12);
}

.tese-wellness-hero__media-main,
.tese-wellness-hero__media-stack {
	display: flex;
}

.tese-wellness-hero__media-main {
	border-right: 2px solid rgba(250, 247, 241, 0.12);
}

.tese-wellness-hero__media-stack-inner {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	width: 100%;
}

.tese-wellness-hero__figure {
	height: 100%;
	width: 100%;
	overflow: hidden;
	background: #b9a286;
}

.tese-wellness-hero__figure img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
}

.tese-wellness-hero__figure--secondary {
	border-bottom: 2px solid rgba(250, 247, 241, 0.12);
}

.newsletter-form {
	position: relative;
}

.newsletter-status {
	margin-top: 14px;
	font-family: var(--tese-wellness-font-body);
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
}

.newsletter-status.is-success {
	color: #ffffff;
}

.newsletter-status.is-error {
	color: #ffe0d4;
}

/*
 * Editor alignment is handled automatically by WordPress core via
 * useRootPaddingAwareAlignments + the injected .has-global-padding class.
 * Custom editor alignment CSS has been removed — previously used outdated
 * .editor-styles-wrapper .is-root-container selectors that no longer match
 * the modern Gutenberg iframe DOM, which produced a "boxed" editor view.
 */

.tese-healthcare-pill {
	display: block;
	padding: 8px 18px;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	width: fit-content;
	margin-inline: auto;
}

.tese-healthcare-button-dark .wp-element-button,
.tese-healthcare-button-dark .wp-block-button__link {
	background: #111111;
	color: #ffffff;
	border: 2px solid #111111;
}

.tese-healthcare-button-dark .wp-element-button:hover,
.tese-healthcare-button-dark .wp-block-button__link:hover {
	background: #ffd52b;
	border-color: #ffd52b;
	color: #111111;
}

.tese-healthcare-button-yellow .wp-element-button,
.tese-healthcare-button-yellow .wp-block-button__link {
	background: #ffd52b;
	color: #111111;
	border: 2px solid #ffd52b;
}

.tese-healthcare-button-yellow .wp-element-button:hover,
.tese-healthcare-button-yellow .wp-block-button__link:hover {
	background: #111111;
	border-color: #111111;
	color: #ffffff;
}

.tese-healthcare-card {
	height: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	background: #f9fafb;
	box-shadow: 0 10px 28px rgba(17, 17, 17, 0.04);
}

.tese-healthcare-card--dark {
	background: #111111;
	border-color: #111111;
	color: #ffffff;
}

.tese-healthcare-placeholder-form {
	border: 2px dashed #d1d5db;
	border-radius: 20px;
	background: #ffffff;
}

.tese-healthcare-contact-item {
	height: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #ffffff;
}

.tese-healthcare-contact-item a {
	color: inherit;
	text-decoration: none;
}

.tese-healthcare-stat-number {
	font-size: clamp(3.4rem, 8vw, 6rem);
	line-height: 1;
	font-weight: 700;
}

.tese-healthcare-step-track {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	max-width: 860px;
	margin-inline: auto;
	padding: 8px;
	border-radius: 999px;
	background: linear-gradient(135deg, #111111 0%, #343434 45%, #ffcc00 100%);
}

.tese-healthcare-step-dot {
	display: inline-flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #ffd52b;
	color: #111111;
	font-weight: 700;
	margin: 0;
	flex: 0 0 auto;
}

/*
 * Bold Business page header.
 * Yellow rectangle with a downward-bulging curve at the bottom drawn as an
 * inline SVG that sits ABSOLUTE just below the section (bottom: -80px).
 * We intentionally do NOT use overflow: hidden on the parent so the SVG is
 * visible. margin resets ensure the header butts directly against the site
 * header with no gap above it.
 */
.tese-healthcare-page-header {
	position: relative;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Kill any inherited top spacing on main when the curved header is first */
.wp-site-blocks main:has(> .tese-healthcare-page-header:first-child),
.wp-site-blocks > main.wp-block-group:has(> .tese-healthcare-page-header:first-child),
.entry-content:has(> .tese-healthcare-page-header:first-child) {
	padding-top: 0 !important;
	margin-top: 0 !important;
	--wp--style--block-gap: 0;
}

.wp-site-blocks .tese-healthcare-page-header:first-child,
.entry-content > .tese-healthcare-page-header:first-child,
.wp-site-blocks > main > .tese-healthcare-page-header:first-child,
.is-root-container > .tese-healthcare-page-header:first-child {
	margin-top: 0 !important;
}

/*
 * Inline SVG curve that overlays the BOTTOM of the yellow section, filled
 * with the page background colour. The SVG path is shaped so that the white
 * fill eats into the yellow at the sides and tapers to zero in the middle —
 * the visible yellow bottom edge therefore bulges DOWN in the centre.
 */
.tese-healthcare-page-header__curve {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 80px;
	display: block;
	pointer-events: none;
	z-index: 2;
}

.tese-healthcare-page-header__content {
	position: relative;
	z-index: 1;
}

@media (max-width: 782px) {
	body.tese-has-transparent-header {
		--tese-transparent-header-offset: 92px;
	}

	.tese-healthcare-page-header__curve {
		height: 48px;
	}

	.tese-hide-mobile {
		display: none !important;
	}

	.tese-wellness-page,
	.tese-wellness-page :is(.wp-block-group, .wp-block-column, .wp-block-heading, .wp-block-paragraph, .wp-block-list, .wp-block-quote, .wp-block-details, .wp-block-site-title, .wp-block-site-tagline) {
		text-align: center;
	}

	.tese-wellness-page .wp-block-buttons,
	.tese-wellness-page .wp-block-social-links,
	.tese-wellness-page .wp-block-navigation,
	.tese-wellness-page .wp-block-group.is-layout-flex,
	.tese-wellness-page .wp-block-columns {
		justify-content: center;
	}

	.tese-wellness-page .wp-block-buttons {
		align-items: center;
	}

	.tese-wellness-page .wp-block-column,
	.tese-wellness-page .wp-block-columns {
		align-items: center;
	}

	.tese-wellness-page .wp-block-image img,
	.tese-wellness-page .wp-block-group .wp-block-image img {
		margin-inline: auto;
	}

	.footer-newsletter,
	.footer-newsletter-inner,
	.site-footer--wellness .footer-top,
	.site-footer--wellness .footer-bottom,
	.site-footer--wellness .footer-brand,
	.site-footer--wellness .footer-links,
	.site-footer--wellness .footer-social,
	.site-footer--wellness .footer-legal {
		text-align: center;
		justify-content: center;
	}

	.site-footer--wellness .footer-contact-item,
	.site-footer--wellness .footer-about {
		text-align: center;
	}

	.tese-wellness-hero__columns {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.tese-wellness-hero__media-grid {
		grid-template-columns: 1fr;
	}

	.tese-wellness-hero__media-main {
		border-right: 0;
	}

	.tese-wellness-hero__media-stack {
		display: none;
	}
}

@media (max-width: 1024px) {
	.tese-wellness-navigation.wp-block-navigation {
		justify-content: flex-end;
	}

	.tese-wellness-navigation.wp-block-navigation > .wp-block-navigation__container {
		display: none;
	}

	.tese-wellness-navigation.wp-block-navigation > .wp-block-navigation__responsive-container-open {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 6px;
	}

	/*
	 * Below 1024px the wellness header collapses into a full-screen drawer.
	 * The desktop rule above keeps the responsive container visible inline;
	 * here we restore the original drawer behaviour so the menu still opens
	 * on tap and closes cleanly on mobile devices.
	 */
	.tese-wellness-navigation.wp-block-navigation > .wp-block-navigation__responsive-container {
		display: none;
		position: fixed;
		inset: 0;
		padding: 96px 40px 32px;
		overflow-y: auto;
		z-index: 1100;
		background: var(--tese-wellness-olive);
	}

	.tese-wellness-navigation.wp-block-navigation > .wp-block-navigation__responsive-container.is-menu-open {
		display: flex;
	}

	.tese-wellness-header .header-topbar {
		padding-left: 40px;
		padding-right: 40px;
	}

	.tese-wellness-header .header-nav {
		padding-left: 40px;
		padding-right: 40px;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.tese-wellness-header.is-sticky .header-nav {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.tese-wellness-header .nav-search-btn {
		display: none;
	}

	.tese-wellness-header .wp-block-navigation__responsive-container-close {
		position: absolute;
		top: 26px;
		right: 36px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		border-radius: 999px;
		border: 1px solid rgba(250, 247, 241, 0.2);
		background: rgba(36, 30, 20, 0.45);
	}

	.tese-wellness-header .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
		width: 100%;
		max-width: 720px;
		margin: 0 auto;
		padding-top: 12px;
	}

	.footer-newsletter {
		padding: 60px 40px;
	}

	.footer-newsletter-inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.site-footer--wellness {
		padding: 72px 40px 0;
	}

	.site-footer--wellness .footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 48px;
	}

	.site-footer--wellness .footer-brand {
		grid-column: span 2;
		padding-right: 0;
	}
}

@media (max-width: 640px) {
	.tese-wellness-header .header-topbar {
		padding-left: 24px;
		padding-right: 24px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.tese-wellness-header .topbar-contact {
		display: none;
	}

	.tese-wellness-header .header-nav {
		padding-left: 24px;
		padding-right: 24px;
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.tese-wellness-header .header-nav__inner {
		gap: 16px;
	}

	.tese-wellness-header .nav-cta,
	.tese-wellness-header .nav-cta-button .wp-block-button__link {
		padding: 11px 18px;
		font-size: 9px;
	}

	.tese-wellness-header .wp-block-navigation__responsive-container {
		padding: 90px 24px 28px;
	}

	.tese-wellness-header .wp-block-navigation__responsive-container-close {
		top: 22px;
		right: 20px;
		width: 42px;
		height: 42px;
	}

	.tese-wellness-hero__copy {
		padding-top: clamp(7rem, 20vw, 8.5rem) !important;
		max-width: 100%;
		margin-inline: auto;
	}

	.tese-wellness-hero__media {
		padding-top: 0;
	}

	.tese-wellness-hero__figure--main {
		min-height: 320px;
	}

	.footer-newsletter {
		padding: 48px 24px;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.newsletter-input {
		border-right: 1px solid rgba(255, 255, 255, 0.3);
		border-bottom: none;
		border-radius: 1px 1px 0 0;
	}

	.newsletter-btn {
		border-radius: 0 0 1px 1px;
		text-align: center;
	}

	.site-footer--wellness {
		padding: 56px 24px 0;
	}

	.site-footer--wellness .footer-top {
		grid-template-columns: 1fr;
	}

	.site-footer--wellness .footer-brand {
		grid-column: span 1;
	}

	.site-footer--wellness .footer-bottom {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
}

@media (min-width: 783px) and (max-width: 1024px) {
	.tese-hide-tablet {
		display: none !important;
	}
}

@media (min-width: 1025px) {
	.tese-hide-desktop {
		display: none !important;
	}
}
