/*
 * Signature Dental: main stylesheet
 * ---------------------------------------------------------------------------
 * Plain CSS, mobile first, no build step.
 *
 * Contents
 *   1. Design tokens (CSS variables)
 *   2. Base and accessibility
 *   3. Layout helpers and buttons
 *   4. Header and navigation
 *   5. Headings, arches and shared pieces
 *   6. Hero
 *   7. Trust bar
 *   8. Bioclear section and gallery
 *   9. Root canal technology
 *  10. Doctor and team
 *  11. Services
 *  12. Booking and form
 *  13. Inner pages, posts, call to action
 *  14. Footer
 *  15. Larger screens
 *
 * Contrast notes (WCAG AA, 4.5:1 for normal text):
 *   --ink   on white 14:1       --muted on white 7.5:1, on mint 6.9:1
 *   white   on --navy 14:1      --gold-text on white 5.0:1, on mint 4.6:1
 *   --navy  on --gold 7.6:1     --link on white 7:1
 */

/* 1. Design tokens ------------------------------------------------------- */
:root {
	--navy: #13294b;
	--navy-deep: #0d1f3a;
	--mint: #eef6f1;
	--mint-deep: #dcece3;
	--sky: #e1f1f7;
	--gold: #c8a864;
	--gold-soft: #d9bd7e;
	--gold-text: #7f6320;
	--ink: #1b2433;
	--muted: #475262;
	--line: #d9e3dd;
	--white: #fff;
	--link: #0b4f6c;
	--brand-cyan: #64c9dd;
	--brand-teal: #00b4d0;

	--font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--container: 1180px;
	--radius: 14px;
	/* Rounded-square media system: one radius for every photo frame, scaling with the viewport. */
	--sd-radius-media: clamp(16px, 1.1vw + 8px, 24px);
	--sd-radius-media-sm: 12px;
	--sd-radius-tile: 16px;
	--shadow: 0 18px 40px -22px rgba(19, 41, 75, 0.35);
	--focus: 3px solid #0b6bcb;
}

/* 2. Base and accessibility ---------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--muted);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: 1.12;
	color: var(--ink);
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

a {
	color: var(--link);
	text-underline-offset: 3px;
}

a:hover {
	text-decoration-thickness: 2px;
}

/* Visible keyboard focus everywhere. The ring is high contrast on white, mint and navy. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}

.sd-footer a:focus-visible,
.sd-trust a:focus-visible,
.sd-case--cta a:focus-visible,
.sd-cta a:focus-visible {
	outline-color: #ffd98a;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	overflow: visible;
	background: var(--white);
	color: var(--navy);
	font-weight: 600;
	box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		transition: none !important;
		animation: none !important;
	}
}

/* 3. Layout helpers and buttons ------------------------------------------ */
.sd-container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.sd-container--narrow {
	max-width: 820px;
}

.sd-section {
	padding: 72px 0;
}

.sd-section--tight {
	padding: 48px 0;
}

.sd-section--mint {
	background: var(--mint);
}

.sd-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.sd-actions--center {
	justify-content: center;
}

.sd-btn {
	display: inline-block;
	padding: 15px 30px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.sd-btn--navy {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}

.sd-btn--navy:hover {
	background: var(--navy-deep);
	border-color: var(--navy-deep);
	color: var(--white);
}

.sd-btn--outline {
	background: var(--white);
	border-color: var(--navy);
	color: var(--navy);
}

.sd-btn--outline:hover {
	background: var(--navy);
	color: var(--white);
}

.sd-btn--gold {
	background: var(--gold-soft);
	border-color: var(--gold-soft);
	color: var(--navy-deep);
}

.sd-btn--gold:hover {
	background: var(--white);
	border-color: var(--white);
	color: var(--navy-deep);
}

.sd-btn--ghost-light {
	background: transparent;
	border-color: var(--white);
	color: var(--white);
}

.sd-btn--ghost-light:hover {
	background: var(--white);
	color: var(--navy);
}

/* 4. Header and navigation ----------------------------------------------- */
.sd-topbar {
	background: var(--sky);
	color: var(--navy);
	font-size: 0.8125rem;
}

.sd-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.sd-topbar__text {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.sd-topbar a {
	color: var(--navy);
	font-weight: 600;
	text-decoration: none;
}

.sd-topbar a:hover {
	text-decoration: underline;
}

.sd-topbar__place {
	display: none;
}

.sd-icon {
	width: 1em;
	height: 1em;
	flex: none;
}

.sd-header {
	position: relative;
	z-index: 20;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.sd-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 76px;
}

.sd-brand__logo,
.sd-brand .custom-logo {
	width: auto;
	max-width: 190px;
	max-height: 56px;
}

.sd-brand a {
	display: block;
}

/* Hamburger button (mobile only). The three bars are drawn with one element and its pseudo elements. */
.sd-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 10px;
	cursor: pointer;
}

.sd-nav-toggle__bars,
.sd-nav-toggle__bars::before,
.sd-nav-toggle__bars::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--navy);
	border-radius: 2px;
	content: "";
}

.sd-nav-toggle__bars {
	position: relative;
}

.sd-nav-toggle__bars::before {
	position: absolute;
	top: -7px;
	left: 0;
}

.sd-nav-toggle__bars::after {
	position: absolute;
	top: 7px;
	left: 0;
}

/* Mobile: menu is a panel below the header bar. */
.sd-nav-wrap {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: none;
	padding: 12px 24px 24px;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.sd-nav-wrap.is-open {
	display: block;
}

.sd-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sd-menu a {
	display: block;
	padding: 14px 4px;
	border-bottom: 1px solid var(--line);
	color: var(--navy);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
}

.sd-menu a:hover,
.sd-menu .current-menu-item > a,
.sd-menu .current_page_item > a {
	color: var(--gold-text);
}

.sd-header__book {
	display: block;
	margin-top: 18px;
}

/* 5. Headings, arches and shared pieces ---------------------------------- */
.sd-heading {
	margin-bottom: 32px;
}

.sd-heading--center {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.sd-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: var(--gold-text);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.sd-eyebrow::before {
	flex: none;
	width: 36px;
	height: 1px;
	background: var(--gold);
	content: "";
}

.sd-heading--center .sd-eyebrow {
	justify-content: center;
}

.sd-title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3.25rem);
}

.sd-lead {
	margin: 18px 0 0;
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--muted);
}

/* Photo frames: rounded rectangles on the shared media radius (class name kept for markup compatibility). */
.sd-arch {
	position: relative;
	overflow: hidden;
	background: var(--mint-deep);
	border-radius: var(--sd-radius-media);
}

.sd-arch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sd-arch--tall {
	aspect-ratio: 2 / 3;
}

.sd-arch--mid {
	aspect-ratio: 2 / 3;
}

.sd-arch--portrait {
	max-width: 440px;
	aspect-ratio: 4 / 5;
	margin: 0 auto;
}

.sd-arch--big {
	aspect-ratio: 4 / 5;
}

.sd-arch--small {
	aspect-ratio: 1 / 1;
}

.sd-arch--wide {
	aspect-ratio: 16 / 8;
}

/* Two-column layout used by several sections; stacks on small screens. */
.sd-split {
	display: grid;
	gap: 40px;
	align-items: center;
}

.sd-arch-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	align-items: start;
}

.sd-arch--drop {
	margin-top: 40px;
}

.sd-pill {
	display: inline-block;
	padding: 8px 16px;
	background: var(--sky);
	border-radius: 999px;
	color: var(--navy);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.3;
}

.sd-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.sd-more {
	margin: 20px 0 0;
}

/* 6. Hero ----------------------------------------------------------------- */
.sd-hero {
	padding: 48px 0 64px;
	background: var(--white);
}

.sd-hero__grid {
	display: grid;
	gap: 40px;
	align-items: center;
}

.sd-hero__title {
	margin: 0;
	font-size: clamp(2.5rem, 8vw, 4.5rem);
	line-height: 1.04;
}

.sd-hero__arches {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	align-items: end;
}

/* 7. Trust bar ------------------------------------------------------------ */
.sd-trust {
	background: var(--navy);
	color: var(--white);
}

.sd-trust__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sd-trust__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px 12px;
	text-align: center;
	border-top: 1px solid rgba(217, 189, 126, 0.35);
}

.sd-trust__item:nth-child(-n + 2) {
	border-top: 0;
}

.sd-trust__title {
	font-family: var(--font-serif);
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--gold-soft);
	line-height: 1.2;
}

.sd-trust__note {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #e3e9f2;
}

/* 8. Bioclear section and gallery ---------------------------------------- */
.sd-benefits {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sd-benefits__item {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid var(--gold);
}

.sd-benefits__item:last-child {
	border-bottom: 1px solid var(--gold);
}

.sd-benefits__num {
	flex: none;
	width: 40px;
	font-family: var(--font-serif);
	font-size: 2.5rem;
	font-weight: 500;
	line-height: 1;
	color: var(--gold-text);
}

.sd-benefits__title {
	margin: 0 0 4px;
	font-size: 1.5rem;
}

.sd-benefits__item p {
	margin: 0;
}

.sd-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.sd-case {
	display: flex;
	flex-direction: column;
	padding: 12px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.sd-case__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}

.sd-case__photo {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	aspect-ratio: 4 / 5;
	background: var(--mint-deep);
}

.sd-case__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sd-case__tag {
	position: absolute;
	left: 8px;
	bottom: 8px;
	padding: 4px 10px;
	background: var(--navy);
	border-radius: 999px;
	color: var(--white);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sd-case__tag--after {
	background: var(--gold-soft);
	color: var(--navy-deep);
}

.sd-case__cat {
	margin: 14px 4px 2px;
	color: var(--gold-text);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sd-case__title {
	margin: 0 4px 6px;
	font-size: 1.5rem;
}

.sd-case--cta {
	justify-content: center;
	align-items: center;
	padding: 36px 24px;
	background: var(--navy);
	border-color: var(--navy);
	color: #e3e9f2;
	text-align: center;
}

.sd-case__cta-title {
	color: var(--white);
	font-size: 2rem;
}

.sd-case--cta .sd-btn {
	margin-top: 8px;
}

/* 9. Root canal technology ------------------------------------------------ */
.sd-rct-media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.sd-rct-media .sd-arch--big {
	grid-column: 1 / -1;
	max-width: 420px;
	width: 100%;
	justify-self: center;
}

.sd-rct-media .sd-arch--small {
	width: 100%;
}

.sd-features {
	display: grid;
	gap: 20px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.sd-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 10px;
	background: var(--navy);
	border-radius: 50%;
	color: var(--white);
	font-size: 1.375rem;
}

.sd-feature__title {
	margin: 0 0 4px;
	font-size: 1.5rem;
}

.sd-feature p {
	margin: 0;
	font-size: 0.9375rem;
}

.sd-strip {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

.sd-strip figure {
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 16 / 10;
}

.sd-strip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 10. Doctor and team ----------------------------------------------------- */
.sd-facts {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.sd-facts li {
	padding: 12px 0 12px 22px;
	position: relative;
	border-top: 1px solid var(--line);
}

.sd-facts li:last-child {
	border-bottom: 1px solid var(--line);
}

.sd-facts li::before {
	position: absolute;
	top: 1.2em;
	left: 0;
	width: 10px;
	height: 1px;
	background: var(--gold);
	content: "";
}

.sd-team {
	margin-top: 64px;
}

.sd-team__caption {
	margin-top: 16px;
	text-align: center;
	font-family: var(--font-serif);
	font-size: 1.375rem;
	color: var(--ink);
}

.sd-badge {
	max-width: 440px;
	margin: 0 auto;
	padding: 12px;
	background: var(--white);
	border: 1px solid var(--gold);
	border-radius: var(--radius);
}

/* 11. Services ------------------------------------------------------------ */
.sd-services {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.sd-service {
	display: flex;
	flex-direction: column;
	padding: 14px 14px 24px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.sd-service__photo {
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
}

.sd-service__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sd-service__title {
	margin: 18px 6px 6px;
	font-size: 1.625rem;
}

.sd-service p {
	margin: 0 6px 14px;
	font-size: 0.9375rem;
}

.sd-service__link {
	margin: auto 6px 0;
	color: var(--navy);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* 12. Booking and form ---------------------------------------------------- */
.sd-book {
	display: grid;
	gap: 40px;
	align-items: start;
}

.sd-address {
	font-style: normal;
}

.sd-address a {
	color: var(--navy);
	font-weight: 600;
}

.sd-book__photo {
	overflow: hidden;
	margin-top: 24px;
	border-radius: var(--radius);
	aspect-ratio: 16 / 10;
}

.sd-book__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sd-form {
	padding: 28px 22px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.sd-form__row {
	display: grid;
	gap: 0 20px;
}

.sd-field {
	margin: 0 0 18px;
}

.sd-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.sd-req {
	color: #8a1f1f;
}

.sd-field input,
.sd-field select,
.sd-field textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	background: var(--white);
	border: 1px solid #7b8798;
	border-radius: 8px;
	color: var(--ink);
	font: inherit;
}

.sd-field textarea {
	resize: vertical;
}

/* Honeypot: off screen, not display:none, so simple bots still fill it in. */
.sd-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sd-form__fine {
	font-size: 0.8125rem;
}

.sd-form__submit {
	width: 100%;
}

.sd-form__notice {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 500;
}

.sd-form__notice--ok {
	background: #e3f4e8;
	color: #14532d;
}

.sd-form__notice--error {
	background: #fde8e8;
	color: #7a1a1a;
}

/* 13. Inner pages, posts, call to action ---------------------------------- */
.sd-pagehero {
	padding: 56px 0 40px;
	background: var(--mint);
	border-bottom: 1px solid var(--line);
}

.sd-pagehero .sd-heading {
	max-width: 820px;
	margin-bottom: 0;
}

.sd-entry__content > *:first-child {
	margin-top: 0;
}

.sd-entry__content h2 {
	margin-top: 1.6em;
	font-size: 2rem;
}

.sd-entry__content h3 {
	margin-top: 1.4em;
	font-size: 1.5rem;
}

.sd-entry__content ul,
.sd-entry__content ol {
	margin: 0 0 1.2em;
	padding-left: 1.3em;
}

.sd-entry__content li {
	margin-bottom: 0.4em;
}

.sd-entry__thumb {
	margin-bottom: 28px;
	overflow: hidden;
	border-radius: var(--sd-radius-media);
}

.sd-pullquote {
	margin: 28px 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--gold);
	font-family: var(--font-serif);
	font-size: 1.75rem;
	line-height: 1.25;
	color: var(--ink);
}

.sd-post-card {
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.sd-post-card__title {
	margin: 0;
	font-size: 1.75rem;
}

.sd-post-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.sd-post-card__date {
	margin: 4px 0 8px;
	font-size: 0.875rem;
}

.sd-postnav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 32px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.nav-links .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	text-decoration: none;
}

.nav-links .current {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}

.search-form {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #7b8798;
	border-radius: 8px;
	font: inherit;
}

.search-submit {
	padding: 12px 22px;
	background: var(--navy);
	border: 0;
	border-radius: 999px;
	color: var(--white);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.sd-cta {
	padding: 48px 24px;
	background: var(--navy);
	border-radius: var(--radius);
	color: #e3e9f2;
	text-align: center;
}

.sd-cta__title {
	color: var(--white);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.sd-cta p {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

/* Block pattern styles */
.sd-cta-box {
	padding: 40px 24px;
	background: var(--navy);
	border-radius: var(--radius);
	color: #e3e9f2;
}

.sd-cta-box h3 {
	color: var(--white);
}

.sd-mint-panel {
	padding: 32px 24px;
	background: var(--mint);
	border-radius: var(--radius);
}

/* Block editor alignment support */
.alignwide {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

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

.wp-block-image img {
	border-radius: 8px;
}

/* 14. Footer -------------------------------------------------------------- */
.sd-footer {
	padding: 64px 0 28px;
	background: var(--navy);
	color: #dbe3ee;
	font-size: 0.9375rem;
}

.sd-footer a {
	color: var(--white);
	text-underline-offset: 3px;
}

.sd-footer__grid {
	display: grid;
	gap: 32px;
}

.sd-footer__logo {
	width: 190px;
	height: auto;
}

.sd-footer__tagline {
	margin-top: 16px;
	font-family: var(--font-serif);
	font-size: 1.375rem;
	line-height: 1.3;
	color: var(--gold-soft);
}

.sd-footer__h {
	margin-bottom: 12px;
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold-soft);
}

.sd-footer address {
	font-style: normal;
}

.sd-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sd-footer__menu li {
	margin-bottom: 6px;
}

.sd-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid rgba(217, 189, 126, 0.4);
	font-size: 0.8125rem;
}

.sd-footer__bottom p {
	margin: 0;
}

.sd-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* 15. Larger screens ------------------------------------------------------ */
@media (min-width: 640px) {
	.sd-gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.sd-services {
		grid-template-columns: repeat(2, 1fr);
	}

	.sd-features {
		grid-template-columns: 1fr 1fr;
	}

	.sd-strip {
		grid-template-columns: repeat(3, 1fr);
	}

	.sd-form__row {
		grid-template-columns: 1fr 1fr;
	}

	.sd-form {
		padding: 36px 34px;
	}

	.sd-topbar__place {
		display: block;
	}

	.sd-topbar__inner {
		justify-content: space-between;
	}
}

@media (min-width: 900px) {
	.sd-section {
		padding: 104px 0;
	}

	.sd-section--tight {
		padding: 64px 0;
	}

	/* Header: logo left, menu centered, button right. The toggle disappears. */
	.sd-header__inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		min-height: 92px;
	}

	.sd-nav-toggle {
		display: none;
	}

	.sd-nav-wrap,
	.sd-nav-wrap.is-open {
		position: static;
		display: contents;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.sd-nav {
		grid-column: 2;
	}

	.sd-menu {
		display: flex;
		gap: 30px;
	}

	.sd-menu a {
		padding: 8px 0;
		border-bottom: 2px solid transparent;
		font-size: 0.75rem;
	}

	.sd-menu a:hover,
	.sd-menu .current-menu-item > a,
	.sd-menu .current_page_item > a {
		border-bottom-color: var(--gold);
		color: var(--navy);
	}

	.sd-header__book {
		grid-column: 3;
		justify-self: end;
		margin-top: 0;
		padding: 13px 24px;
	}

	.sd-split {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}

	.sd-split--reverse .sd-split__media {
		order: -1;
	}

	.sd-split--single {
		grid-template-columns: 1fr;
	}

	.sd-hero {
		padding: 72px 0 96px;
	}

	.sd-hero__grid {
		grid-template-columns: 0.85fr 1.15fr;
		gap: 48px;
	}

	.sd-hero__arches {
		gap: 18px;
	}

	.sd-hero__arches .sd-arch--mid {
		margin-bottom: 56px;
	}

	.sd-trust__list {
		grid-template-columns: repeat(4, 1fr);
	}

	.sd-trust__item {
		padding: 36px 20px;
		border-top: 0;
		border-left: 1px solid rgba(217, 189, 126, 0.35);
	}

	.sd-trust__item:first-child {
		border-left: 0;
	}

	.sd-gallery {
		grid-template-columns: repeat(3, 1fr);
		gap: 28px;
	}

	.sd-services {
		grid-template-columns: repeat(4, 1fr);
		gap: 22px;
	}

	.sd-features {
		margin-top: 36px;
	}

	.sd-arch--wide {
		aspect-ratio: 16 / 7;
	}

	.sd-book {
		grid-template-columns: 1fr 1fr;
		gap: 72px;
	}

	.sd-footer__grid {
		grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
		gap: 36px;
	}

	.sd-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

/* Comments (kept minimal) */
.sd-comments {
	margin-top: 48px;
}

.sd-comments__list {
	padding-left: 1.2em;
}

.sd-comments input[type="text"],
.sd-comments input[type="email"],
.sd-comments input[type="url"],
.sd-comments textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #7b8798;
	border-radius: 8px;
	font: inherit;
}


/* Opening hours list (footer and booking section) */
.sd-hours {
	margin: 0;
	padding: 0;
}

.sd-hours > div {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	margin: 0 0 6px;
}

.sd-hours dt {
	font-weight: 600;
	margin: 0;
}

.sd-hours dd {
	margin: 0;
}

.sd-hours--footer {
	color: inherit;
	font-size: 0.95rem;
}

.sd-hours--footer > div {
	display: block;
}

.sd-book__hours {
	margin: 0 0 20px;
}

.sd-book__hours-title {
	font-size: 1.05rem;
	margin: 0 0 8px;
}

/* In-content images from the [sd_image] shortcode */
.sd-figure {
	margin: 28px 0;
}

.sd-figure img {
	border-radius: var(--sd-radius-media);
	display: block;
	height: auto;
	width: 100%;
}

.sd-figure figcaption {
	color: var(--muted);
	font-size: 0.9rem;
	margin-top: 8px;
}

/* FAQ accordions inside page content */
.sd-faq details {
	border-bottom: 1px solid rgba(15, 42, 67, 0.15);
	padding: 14px 0;
}

.sd-faq summary {
	cursor: pointer;
	font-weight: 600;
}

.sd-faq details p {
	margin: 10px 0 0;
}

.sd-inline-cta {
	margin: 28px 0;
}

.sd-note {
	border-left: 3px solid var(--gold);
	color: var(--muted);
	font-size: 0.95rem;
	margin: 22px 0;
	padding: 4px 0 4px 14px;
}

.sd-footer__notice {
	font-size: 0.9rem;
	margin: 28px 0 0;
	opacity: 0.85;
}
