/* ==========================================================================
   Karamousli theme
   Colour, font and width tokens are printed inline from the Customizer
   (inc/assets.php). The values below are fallbacks with the same defaults.
   ========================================================================== */

:root {
	--k-primary: #b2a68d;
	--k-primary-hover: #9b9079;
	--k-accent: #a79f88;
	--k-sand: #cdc3b1;
	--k-cream: #eeebe5;
	--k-mist: #f2f2f2;
	--k-text: #1a1a1a;
	--k-heading: #000;
	--k-muted: #555;
	--k-bg: #fff;
	--k-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--k-font-size: 15px;
	--k-heading-weight: 400;
	--k-container: 1300px;

	--k-gutter: clamp(16px, 4vw, 40px);
	--k-narrow: 780px;
	--k-radius: 6px;
	--k-line: rgba(0, 0, 0, 0.08);
	--k-shadow: 0 18px 48px -18px rgba(40, 32, 20, 0.18);
	--k-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--k-header-h: 90px;
	--k-bar-h: 0px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--k-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--k-bg);
	color: var(--k-text);
	font-family: var(--k-font);
	font-size: var(--k-font-size);
	line-height: 1.75;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: clip;
}

.site-main {
	flex: 1 0 auto;
	outline: none;
}

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

img,
video {
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s var(--k-ease), background-color 0.2s var(--k-ease), border-color 0.2s var(--k-ease), opacity 0.2s var(--k-ease);
}

a:hover {
	color: var(--k-primary-hover);
}

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

::selection {
	background: var(--k-sand);
	color: var(--k-heading);
}

hr {
	border: 0;
	border-top: 1px solid var(--k-line);
	margin: 2.5rem 0;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	margin: 0 0 0.6em;
	color: var(--k-heading);
	font-family: var(--k-font);
	font-weight: var(--k-heading-weight);
	line-height: 1.25;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

h1, .h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.4rem); line-height: 1.15; }
h2, .h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.3rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); }
h4, .h4 { font-size: 1.2rem; }
h5, .h5 { font-size: 1rem; }
h6, .h6 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }

p,
ul,
ol,
dl,
blockquote,
figure,
table,
pre {
	margin: 0 0 1.25em;
}

ul,
ol {
	padding-left: 1.25em;
}

strong,
b {
	font-weight: 600;
}

small {
	font-size: 0.85em;
}

blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 0.25em 0 0.25em 1.5em;
	border-left: 2px solid var(--k-accent);
	font-size: 1.1em;
	font-style: italic;
	color: var(--k-heading);
}

code,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

pre {
	padding: 1rem 1.25rem;
	background: var(--k-mist);
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

th,
td {
	padding: 0.75em 1em;
	border-bottom: 1px solid var(--k-line);
	text-align: left;
	vertical-align: top;
}

th {
	font-weight: 600;
	color: var(--k-heading);
}

.color-primary {
	color: var(--k-accent);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: calc(var(--k-container) + 2 * var(--k-gutter));
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--k-gutter);
	padding-right: var(--k-gutter);
}

.container--narrow {
	max-width: calc(var(--k-narrow) + 2 * var(--k-gutter));
}

/* WPBakery expects a 15px container gutter with -15px row margins. */
.container--builder {
	max-width: calc(var(--k-container) + 30px);
	padding-left: 15px;
	padding-right: 15px;
}

.site-main {
	padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.is-builder-page .site-main {
	padding-bottom: 0;
}

.layout-sidebar {
	display: grid;
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: start;
}

@media (min-width: 1000px) {
	.layout-sidebar {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
	.layout-sidebar > .entry {
		max-width: var(--k-narrow);
	}
}

/* --------------------------------------------------------------------------
   Buttons and forms
   -------------------------------------------------------------------------- */

.button,
button.button,
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.wp-element-button,
.nf-form-content input[type="button"],
.nf-form-content button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 46px;
	padding: 0.8em 1.9em;
	border: 1px solid var(--k-primary);
	border-radius: 999px;
	background: var(--k-primary);
	color: #fff;
	font-family: var(--k-font);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--k-ease), border-color 0.25s var(--k-ease), color 0.25s var(--k-ease), transform 0.25s var(--k-ease);
}

.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
.nf-form-content input[type="button"]:hover,
.nf-form-content button:hover {
	background: var(--k-primary-hover);
	border-color: var(--k-primary-hover);
	color: #fff;
}

.is-style-outline > .wp-block-button__link,
.button--outline {
	background: transparent;
	color: var(--k-heading);
	border-color: var(--k-primary);
}

.is-style-outline > .wp-block-button__link:hover,
.button--outline:hover {
	background: var(--k-primary);
	color: #fff;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.7em 1em;
	border: 1px solid #d9d4ca;
	border-radius: var(--k-radius);
	background: #fff;
	color: var(--k-text);
	font: inherit;
	transition: border-color 0.2s var(--k-ease), box-shadow 0.2s var(--k-ease);
}

textarea {
	min-height: 160px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--k-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--k-accent) 25%, transparent);
}

label {
	display: inline-block;
	margin-bottom: 0.35em;
	font-weight: 500;
	color: var(--k-heading);
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 520px;
}

.search-form__field {
	flex: 1;
	border-radius: 999px;
	padding-left: 1.25em;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	transition: box-shadow 0.3s var(--k-ease);
}

.has-sticky-header .site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
}

.site-header.is-scrolled {
	box-shadow: 0 1px 0 var(--k-line), 0 10px 30px -20px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: var(--k-header-h);
}

.site-branding {
	flex-shrink: 0;
	line-height: 0;
}

.site-branding .custom-logo {
	display: block;
	width: auto;
	max-width: min(200px, 52vw);
	max-height: 58px;
	transition: max-height 0.3s var(--k-ease);
}

.site-wordmark {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	line-height: 1;
	text-decoration: none;
	color: var(--k-heading);
}

.site-wordmark__name {
	font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	font-size: 1.45rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	margin-right: -0.28em;
}

.site-wordmark__tagline {
	padding-top: 0.35rem;
	border-top: 1px solid var(--k-accent);
	font-size: 0.55rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--k-muted);
}

/* Toggle (visible below the desktop breakpoint) */
.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	min-height: 44px;
	padding: 0 0.25rem;
	border: 0;
	background: none;
	color: var(--k-heading);
	font: inherit;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after,
.nav-toggle__icon span {
	display: block;
	width: 22px;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.3s var(--k-ease), opacity 0.2s;
}

.nav-toggle__icon {
	position: relative;
	background: none;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

.nav-open .nav-toggle__icon span { opacity: 0; }
.nav-open .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu – shared */
.site-nav .menu,
.site-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav a {
	text-decoration: none;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.submenu-toggle::before {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.25s var(--k-ease);
}

.submenu-toggle[aria-expanded="true"]::before {
	transform: translateY(2px) rotate(-135deg);
}

/* Menu – mobile panel */
@media (max-width: 1199.98px) {
	.site-nav {
		position: fixed;
		top: var(--k-nav-top, var(--k-header-h));
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99;
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
		padding: 0.5rem var(--k-gutter) calc(2rem + var(--k-bar-h));
		background: var(--k-bg);
		border-top: 1px solid var(--k-line);
		overflow-y: auto;
		overscroll-behavior: contain;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.3s var(--k-ease), transform 0.3s var(--k-ease), visibility 0s linear 0.3s;
	}

	.nav-open .site-nav {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity 0.3s var(--k-ease), transform 0.3s var(--k-ease), visibility 0s;
	}

	.nav-open {
		overflow: hidden;
	}

	.site-nav .menu > li {
		border-bottom: 1px solid var(--k-line);
	}

	.site-nav li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	.site-nav li > a {
		flex: 1;
		padding: 0.95rem 0;
		font-size: 1.05rem;
		color: var(--k-heading);
	}

	.site-nav .submenu-toggle {
		width: 48px;
		height: 48px;
		margin-right: -12px;
	}

	.site-nav .sub-menu {
		display: none;
		flex-basis: 100%;
		padding: 0 0 0.75rem 1rem;
		border-left: 1px solid var(--k-sand);
		margin-bottom: 1rem;
	}

	.site-nav .is-open > .sub-menu {
		display: block;
	}

	.site-nav .sub-menu a {
		padding: 0.55rem 0;
		font-size: 0.95rem;
		color: var(--k-muted);
	}

	.site-nav .current-menu-item > a,
	.site-nav .current-menu-ancestor > a {
		color: var(--k-accent);
	}

	.site-nav .menu-cta {
		border-bottom: 0;
		padding-top: 1rem;
	}
}

/* Menu – desktop */
@media (min-width: 1200px) {
	.nav-toggle {
		display: none;
	}

	.site-nav {
		display: flex;
		align-items: center;
		gap: 1.75rem;
	}

	.site-nav .menu {
		display: flex;
		align-items: center;
		gap: 0.15rem 1.45rem;
	}

	.site-nav li {
		position: relative;
	}

	.site-nav .menu > li {
		display: flex;
		align-items: center;
		gap: 0.3rem;
	}

	.site-nav .menu > li > a {
		position: relative;
		display: block;
		padding: 0.6rem 0;
		font-size: 0.82rem;
		font-weight: 400;
		letter-spacing: 0.02em;
		color: var(--k-heading);
		white-space: nowrap;
	}

	.site-nav .menu > li > a::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0.3rem;
		height: 1px;
		background: var(--k-accent);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.3s var(--k-ease);
	}

	.site-nav .menu > li > a:hover::after,
	.site-nav .menu > .current-menu-item > a::after,
	.site-nav .menu > .current-menu-ancestor > a::after,
	.site-nav .menu > .current-menu-parent > a::after {
		transform: scaleX(1);
	}

	.site-nav .menu > .current-menu-item > a,
	.site-nav .menu > .current-menu-ancestor > a,
	.site-nav .menu > .current-menu-parent > a {
		color: var(--k-accent);
	}

	.site-nav .menu > li > .submenu-toggle {
		width: 16px;
		height: 24px;
		color: var(--k-muted);
	}

	.site-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: -1.25rem;
		z-index: 10;
		min-width: 250px;
		padding: 0.75rem 0;
		background: #fff;
		border-radius: var(--k-radius);
		box-shadow: 0 1px 0 var(--k-line), var(--k-shadow);
		visibility: hidden;
		opacity: 0;
		transform: translateY(6px);
		transition: opacity 0.2s var(--k-ease), transform 0.2s var(--k-ease), visibility 0s linear 0.2s;
	}

	.site-nav .sub-menu .sub-menu {
		top: -0.75rem;
		left: 100%;
	}

	.site-nav li:hover > .sub-menu,
	.site-nav li:focus-within > .sub-menu,
	.site-nav li.is-open > .sub-menu {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity 0.2s var(--k-ease), transform 0.2s var(--k-ease), visibility 0s;
	}

	.site-nav .sub-menu li {
		display: flex;
		align-items: center;
	}

	.site-nav .sub-menu a {
		display: block;
		flex: 1;
		padding: 0.5rem 1.25rem;
		font-size: 0.82rem;
		line-height: 1.45;
		color: var(--k-text);
		max-width: 340px;
	}

	.site-nav .sub-menu a:hover,
	.site-nav .sub-menu .current-menu-item > a {
		color: var(--k-accent);
		background: color-mix(in srgb, var(--k-cream) 55%, transparent);
	}

	.site-nav .sub-menu .submenu-toggle {
		width: 32px;
		height: 32px;
		transform: rotate(-90deg);
	}

	/* A menu item with the CSS class "menu-cta" becomes a pill button. */
	.site-nav .menu > .menu-cta > a {
		padding: 0.65rem 1.4rem;
		border-radius: 999px;
		background: var(--k-primary);
		color: #fff;
		font-weight: 600;
		letter-spacing: 0.08em;
	}

	.site-nav .menu > .menu-cta > a::after {
		display: none;
	}

	.site-nav .menu > .menu-cta > a:hover {
		background: var(--k-primary-hover);
		color: #fff;
	}
}

.header-cta {
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Page header
   -------------------------------------------------------------------------- */

.page-header {
	padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
	text-align: center;
}

.page-title {
	margin: 0 auto;
	max-width: 22ch;
}

.page-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 2px;
	margin: 1.4rem auto 0;
	background: var(--k-accent);
}

.page-subtitle {
	max-width: 60ch;
	margin: 1.25rem auto 0;
	color: var(--k-muted);
}

.page-subtitle > :last-child {
	margin-bottom: 0;
}

.page-header--post .page-title {
	max-width: 28ch;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 1.25rem;
	margin-top: 1.25rem;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--k-muted);
}

.entry-meta a {
	text-decoration: none;
}

.entry-meta__cats::before {
	content: "·";
	margin-right: 1.25rem;
	color: var(--k-accent);
}

@media (max-width: 599.98px) {
	.entry-meta {
		flex-direction: column;
		align-items: center;
	}
	.entry-meta__cats::before {
		display: none;
	}
}

.breadcrumbs {
	padding-top: 1.5rem;
	font-size: 0.78rem;
	color: var(--k-muted);
	text-align: center;
}

.breadcrumbs a {
	text-decoration: none;
}

.breadcrumbs + .page-header {
	padding-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Entry content (posts and non-builder pages)
   -------------------------------------------------------------------------- */

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.entry:not(.entry--builder) .entry-content {
	font-size: 1.05em;
}

.entry:not(.entry--builder) .entry-content > * + h2,
.entry:not(.entry--builder) .entry-content > * + h3 {
	margin-top: 2em;
}

.entry-content a:not(.button):not(.wp-block-button__link):not(.vc_btn3) {
	color: var(--k-heading);
	text-decoration: underline;
	text-decoration-color: var(--k-accent);
}

.entry-content a:not(.button):not(.wp-block-button__link):not(.vc_btn3):hover {
	color: var(--k-primary-hover);
}

.entry-content img {
	border-radius: 2px;
}

.entry-content figure {
	margin-left: 0;
	margin-right: 0;
}

figcaption,
.wp-caption-text,
.wp-element-caption {
	margin-top: 0.6em;
	font-size: 0.82rem;
	color: var(--k-muted);
	text-align: center;
}

.alignleft {
	float: left;
	margin: 0.4em 2em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 2em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.container--narrow .alignwide {
	margin-left: calc(-1 * min(8vw, 120px));
	margin-right: calc(-1 * min(8vw, 120px));
	max-width: none;
}

.container--narrow .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

@media (max-width: 700px) {
	.alignleft,
	.alignright {
		float: none;
		margin: 0 0 1.25em;
	}
	.container--narrow .alignwide {
		margin-left: 0;
		margin-right: 0;
	}
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--k-line);
}

.wp-block-separator.is-style-dots::before {
	color: var(--k-accent);
}

.wp-block-quote.is-style-large,
.wp-block-pullquote {
	border-left: 0;
	padding: 2rem 0;
	text-align: center;
	font-size: 1.35em;
	border-top: 1px solid var(--k-line);
	border-bottom: 1px solid var(--k-line);
}

.has-gold-color { color: var(--k-primary) !important; }
.has-taupe-color { color: var(--k-accent) !important; }
.has-sand-color { color: var(--k-sand) !important; }
.has-cream-color { color: var(--k-cream) !important; }
.has-ink-color { color: var(--k-text) !important; }
.has-white-color { color: #fff !important; }
.has-gold-background-color { background-color: var(--k-primary) !important; }
.has-taupe-background-color { background-color: var(--k-accent) !important; }
.has-sand-background-color { background-color: var(--k-sand) !important; }
.has-cream-background-color { background-color: var(--k-cream) !important; }
.has-white-background-color { background-color: #fff !important; }

.entry-footer {
	margin-top: 3rem;
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2.5rem;
}

.entry-tags a {
	padding: 0.35em 0.9em;
	border: 1px solid var(--k-line);
	border-radius: 999px;
	font-size: 0.78rem;
	text-decoration: none;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--k-line);
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	text-decoration: none;
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.post-nav__label {
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--k-muted);
}

.post-nav__title {
	color: var(--k-heading);
	line-height: 1.4;
}

.page-links {
	margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Blog grid
   -------------------------------------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.card__media {
	aspect-ratio: 800 / 520;
	overflow: hidden;
	border-radius: var(--k-radius);
	background: var(--k-cream);
}

.card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--k-ease);
}

.card__link:hover .card__media img {
	transform: scale(1.04);
}

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.4rem 0.25rem 0;
}

.card__date {
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--k-muted);
}

.card__title {
	margin: 0.5rem 0 0.75rem;
	font-size: 1.25rem;
	line-height: 1.35;
}

.card__excerpt {
	color: var(--k-muted);
	font-size: 0.92rem;
	margin-bottom: 1rem;
}

.card__more {
	margin-top: auto;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--k-accent);
}

.card__link:hover .card__more {
	color: var(--k-primary-hover);
}

.pagination {
	margin-top: 3.5rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var(--k-line);
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.9rem;
}

.pagination .page-numbers.current {
	background: var(--k-primary);
	border-color: var(--k-primary);
	color: #fff;
}

.empty-state {
	text-align: center;
	color: var(--k-muted);
}

.empty-state .search-form {
	margin: 1.5rem auto;
}

.search-again {
	display: flex;
	justify-content: center;
	margin: -1rem 0 3rem;
}

/* --------------------------------------------------------------------------
   Sidebar and widgets
   -------------------------------------------------------------------------- */

.sidebar {
	display: grid;
	gap: 2rem;
}

@media (min-width: 1000px) {
	.sidebar {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--k-header-h) + 1.5rem);
	}
}

.sidebar .widget img {
	display: block;
	border-radius: var(--k-radius);
}

.sidebar .widget figure {
	margin: 0;
}

.widget-title {
	margin-bottom: 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--k-heading);
}

.widget ul {
	list-style: none;
	padding: 0;
}

.widget li + li {
	margin-top: 0.4rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	margin-top: auto;
	background: var(--k-cream);
	color: var(--k-text);
	font-size: 0.875rem;
	line-height: 1.8;
}

.site-footer__logo {
	padding: clamp(3rem, 6vw, 4.5rem) var(--k-gutter) 0;
	text-align: center;
}

.site-footer__logo img {
	display: inline-block;
	width: auto;
	max-height: 110px;
}

.site-footer__widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 2.5rem clamp(2rem, 4vw, 3.5rem);
	padding-top: clamp(3rem, 6vw, 4.5rem);
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.site-footer__col .widget + .widget {
	margin-top: 2rem;
}

.site-footer .widget-title {
	font-size: 0.75rem;
}

.site-footer p {
	margin-bottom: 1em;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--k-primary-hover);
	text-decoration: underline;
	text-decoration-color: var(--k-accent);
}

.site-footer .wp-block-group,
.site-footer .wp-block-group__inner-container {
	margin: 0;
	padding: 0;
}

.site-footer__bottom {
	border-top: 1px solid rgba(0, 0, 0, 0.07);
	font-size: 0.78rem;
	color: var(--k-muted);
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	padding-top: 1.4rem;
	padding-bottom: calc(1.4rem + var(--k-bar-h));
}

.site-footer__copyright {
	margin: 0;
}

.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* --------------------------------------------------------------------------
   Floating: language switcher, WhatsApp, booking bar
   -------------------------------------------------------------------------- */

.lang-switcher ul {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lang-switcher a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.lang-switcher img {
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

.lang-switcher abbr {
	text-decoration: none;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.lang-switcher--floating {
	position: fixed;
	right: 12px;
	top: 50%;
	z-index: 90;
	transform: translateY(-50%);
}

.lang-switcher--floating ul {
	flex-direction: column;
	padding: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 4px 18px -6px rgba(0, 0, 0, 0.2);
}

.lang-switcher--floating a {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	opacity: 0.55;
}

.lang-switcher--floating a:hover,
.lang-switcher--floating a.is-active {
	opacity: 1;
}

.lang-switcher--floating a.is-active {
	box-shadow: 0 0 0 1.5px var(--k-accent);
}

.lang-switcher--codes a {
	color: var(--k-muted);
}

.lang-switcher--codes a.is-active {
	color: var(--k-heading);
}

.lang-switcher--header.lang-switcher--codes li + li::before {
	content: "·";
	margin-right: 0.5rem;
	color: var(--k-accent);
}

.lang-switcher--menu {
	padding-top: 0.5rem;
}

.lang-switcher--menu ul {
	gap: 0.75rem;
}

.lang-switcher--menu a:not(.is-active) {
	opacity: 0.55;
}

@media (min-width: 1200px) {
	.lang-switcher--menu {
		display: none;
	}
}

.lang-switcher--header ul {
	align-items: center;
}

.lang-switcher--header a:not(.is-active) img {
	opacity: 0.55;
}

.whatsapp-button {
	position: fixed;
	right: 20px;
	bottom: calc(20px + var(--k-bar-h));
	z-index: 95;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.3);
	transition: transform 0.25s var(--k-ease), box-shadow 0.25s var(--k-ease);
}

.whatsapp-button:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.35);
}

.has-booking-bar {
	--k-bar-h: 54px;
}

.booking-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 98;
	background: var(--k-primary);
	box-shadow: 0 -4px 20px -8px rgba(0, 0, 0, 0.25);
}

.booking-bar__link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0.5rem var(--k-gutter) calc(0.5rem + env(safe-area-inset-bottom, 0px));
	color: #fff;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.booking-bar__link:hover {
	background: var(--k-primary-hover);
	color: #fff;
}

@media (min-width: 768px) {
	.booking-bar-mobile-only {
		--k-bar-h: 0px;
	}
	.booking-bar-mobile-only .booking-bar {
		display: none;
	}
}

@media (max-width: 767.98px) {
	:root {
		--k-header-h: 72px;
	}
	.site-branding .custom-logo {
		max-height: 46px;
	}
	/* On phones the switcher lives in the menu panel instead. */
	.lang-switcher--floating {
		display: none;
	}

	/* WPBakery headings often carry desktop sizes inline (e.g. 60px/80px). */
	.entry-content h1.vc_custom_heading[style*="font-size"] {
		font-size: clamp(2rem, 8.5vw, 2.6rem) !important;
		line-height: 1.15 !important;
	}
	.entry-content h2.vc_custom_heading[style*="font-size"] {
		font-size: clamp(1.55rem, 6.5vw, 2rem) !important;
		line-height: 1.25 !important;
	}
}

/* --------------------------------------------------------------------------
   WPBakery Page Builder
   -------------------------------------------------------------------------- */

.entry--builder .entry-content > .wpb-content-wrapper,
.entry--builder .entry-content > .vc_row:first-child {
	margin-top: 0;
}

.wpb_text_column :last-child,
.wpb_text_column p:last-child {
	margin-bottom: 0;
}

.wpb_content_element,
.wpb_button,
ul.wpb_thumbnails-fluid > li {
	margin-bottom: 1.75rem;
}

.vc_custom_heading {
	font-family: inherit;
}

.vc_single_image-wrapper img {
	border-radius: 2px;
}

.vc_btn3.vc_btn3-size-md {
	font-size: 0.8rem;
	letter-spacing: 0.06em;
}

.vc_btn3.vc_btn3-style-custom {
	transition: filter 0.2s var(--k-ease);
}

.vc_btn3.vc_btn3-style-custom:hover {
	filter: brightness(0.92);
}

.vc_separator .vc_sep_line {
	border-color: var(--k-line);
}

/* Row spacing classes from Dentist WP, used as "Extra class name" on rows */
.content-padding { padding-top: 1rem; padding-bottom: 1rem; }
.content-padding-none { padding-top: 0; padding-bottom: 0; }
.content-padding-xs { padding-top: 2rem; padding-bottom: 2rem; }
.content-padding-lg { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.content-padding-xl { padding-top: 1.75rem; padding-bottom: 1.75rem; }

/* "special-title" heading class: short rule under the heading */
.special-title {
	position: relative;
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
}

.special-title::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 2px;
	background: var(--k-accent);
}

.special-title[style*="center"]::before {
	left: 50%;
	transform: translateX(-50%);
}

.special-title[style*="right"]::before {
	left: auto;
	right: 0;
}

.special-title em:first-child {
	display: block;
	font-style: normal;
	font-size: 100%;
}

.special-title strong {
	display: block;
}

.special-title small:last-child {
	display: block;
	margin: 1rem 0;
	font-size: 1rem;
}

/* Curly xtender elements still rendered by the xtender plugin */
.xtd-spacer {
	display: block;
}

.xtd-shadow--large-light {
	box-shadow: var(--k-shadow);
}

.xtd-card {
	position: relative;
	height: 100%;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	background: rgba(255, 255, 255, 0.94);
	border-radius: var(--k-radius);
	box-shadow: 0 1px 0 var(--k-line);
	transition: box-shadow 0.3s var(--k-ease), transform 0.3s var(--k-ease);
}

.xtd-card > a[href]:not([href=""]) {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.xtd-card > a[href=""] {
	display: none;
}

.xtd-card:has(> a[href]:not([href=""])):hover {
	transform: translateY(-3px);
	box-shadow: var(--k-shadow);
}

.xtd-card__title {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--k-sand);
	font-size: 1.15rem;
	font-weight: 500;
}

.xtd-card__content {
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--k-muted);
}

.xtd-card__more {
	display: inline-block;
	margin-top: 1rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--k-accent);
}

.xtd-card__content strong {
	color: var(--k-heading);
}

.wpb_column .vc_column-inner > .wpb_wrapper:has(> .xtd-card) {
	height: 100%;
}

/* --------------------------------------------------------------------------
   Plugins
   -------------------------------------------------------------------------- */

/* Ninja Forms */
.nf-form-content .nf-field-container {
	margin-bottom: 1.25rem;
}

.nf-form-content .list-select-wrap .nf-field-element > div,
.nf-form-content input:not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.nf-form-content textarea {
	border-radius: var(--k-radius);
	background: #fff;
}

.nf-form-content .ninja-forms-field {
	font-family: inherit;
	font-size: 1rem;
}

.nf-error-msg,
.ninja-forms-req-symbol {
	color: #a3432a;
}

/* Google reviews slider */
.wprev-slider {
	font-family: inherit;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1.25rem;
	clip: auto;
	clip-path: none;
	background: #fff;
	color: var(--k-heading);
	box-shadow: var(--k-shadow);
	border-radius: var(--k-radius);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.lang-switcher,
	.whatsapp-button,
	.booking-bar {
		display: none !important;
	}
}
