/*
Theme Name: Medipod
Theme URI: https://medipodclinics.com/
Author: Kelly's Web Designs
Author URI: https://kellys-webdesigns.com/
Description: A modern, conversion-focused theme for Medipod Clinics – podiatry & chiropody in Hinckley. Dark sticky header, full-width photo hero, booking section, service cards built from your pages, testimonials, map & opening hours, and a sticky call/book bar on mobile. Everything is editable in Appearance → Customize → Medipod Theme.
Version: 1.4.7
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medipod
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--mp-accent: #28c4f5;
	--mp-accent-strong: #0fa3d6;
	--mp-accent-ink: #28c4f5;          /* accent for text on white (AA) */
	--mp-navy: #222d3f;
	--mp-navy-deep: #172030;
	--mp-navy-soft: #34425a;
	--mp-ice: #eaf7fd;
	--mp-ice-2: #f5fbfe;
	--mp-ink: #1e2533;
	--mp-muted: #5b6577;
	--mp-line: #e1e8ef;
	--mp-white: #fff;
	--mp-star: #f3aa4b;

	--mp-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mp-radius-sm: 10px;
	--mp-radius: 18px;
	--mp-radius-lg: 28px;
	--mp-shadow: 0 1px 2px rgba(23, 32, 48, .06), 0 8px 24px rgba(23, 32, 48, .06);
	--mp-shadow-lg: 0 2px 6px rgba(23, 32, 48, .08), 0 24px 48px rgba(23, 32, 48, .12);
	--mp-container: 1240px;
	--mp-gutter: 20px;
	--mp-section: clamp(56px, 8vw, 96px);
	--mp-header-h: 84px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	font-family: var(--mp-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--mp-ink);
	background: var(--mp-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
.icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }

a { color: var(--mp-accent-ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--mp-navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--mp-accent);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--mp-font);
	font-weight: 700;
	line-height: 1.2;
	color: var(--mp-navy);
	letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1.1em; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--mp-white); color: var(--mp-navy);
	border-radius: 8px; box-shadow: var(--mp-shadow-lg); font-weight: 700;
}

.container {
	width: 100%;
	max-width: calc(var(--mp-container) + var(--mp-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--mp-gutter);
}
.container--narrow { max-width: calc(820px + var(--mp-gutter) * 2); }
.container--wide { max-width: calc(1100px + var(--mp-gutter) * 2); }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn,
.wp-block-button__link,
.wp-element-button,
input[type="submit"],
button[type="submit"]:not(.search-submit),
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .8em 1.5em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--mp-font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary,
.wp-block-button__link,
.wp-element-button,
input[type="submit"],
button[type="submit"]:not(.search-submit),
.wpcf7-submit {
	background: var(--mp-accent);
	color: var(--mp-navy);
}
.btn-primary:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
input[type="submit"]:hover,
button[type="submit"]:not(.search-submit):hover,
.wpcf7-submit:hover {
	background: var(--mp-white);
	color: var(--mp-navy);
	box-shadow: 0 6px 20px rgba(40, 196, 245, .35);
}
.section--tint .btn-primary:hover, .section .btn-primary:hover { background: var(--mp-navy); color: var(--mp-white); }
.hero .btn-primary:hover, .section--navy .btn-primary:hover, .enquiry-card .btn-primary:hover, .site-header .btn-primary:hover, .primary-nav .btn-primary:hover, .side-card--navy .btn-primary:hover, .mobile-bar .btn-primary:hover { background: var(--mp-white); color: var(--mp-navy); }

.btn-dark { background: var(--mp-navy); color: var(--mp-white); }
.btn-dark:hover { background: var(--mp-accent); color: var(--mp-navy); }

.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: var(--mp-white); background: transparent; }
.btn-outline-light:hover { background: var(--mp-white); color: var(--mp-navy); border-color: var(--mp-white); }

.btn-outline-dark { border-color: var(--mp-navy); color: var(--mp-navy); background: transparent; }
.btn-outline-dark:hover { background: var(--mp-navy); color: var(--mp-white); }

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

.btn-sm { padding: .6em 1.15em; font-size: .9375rem; }
.btn-lg { padding: .95em 1.75em; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }

.is-style-outline .wp-block-button__link { background: transparent; border-color: currentColor; color: var(--mp-navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header-wrap {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .site-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header-wrap { top: 0; } }

.topbar {
	background: var(--mp-navy-deep);
	color: rgba(255, 255, 255, .8);
	font-size: .8125rem;
	transition: margin-top .25s;
}
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 24px; min-height: 40px; text-align: center; }
.topbar-list { justify-content: center; }
.topbar-list { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.topbar-list a, .topbar-text { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); }
.topbar-list a:hover { color: var(--mp-accent); }
.topbar-list .icon { color: var(--mp-accent); }
.is-scrolled .topbar { margin-top: calc(var(--topbar-h, 40px) * -1); }

.site-header {
	background: var(--mp-navy);
	color: var(--mp-white);
	transition: box-shadow .25s;
}
.is-scrolled .site-header { box-shadow: 0 8px 30px rgba(10, 16, 28, .25); }

.header-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: var(--mp-header-h);
}

.site-branding { flex-shrink: 0; }
.site-branding .custom-logo-link { display: inline-flex; align-items: center; }
.site-branding .custom-logo { max-height: 100px; width: auto; }
.site-header .header-inner { padding-top: 8px; padding-bottom: 8px; }
.site-branding.has-logo-tile .custom-logo-link {
	background: var(--mp-white);
	padding: 6px 12px;
	border-radius: 14px;
}
.site-title {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--mp-white); font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em;
}
.site-title:hover { color: var(--mp-white); }
.site-title--dark, .site-title--dark:hover { color: var(--mp-navy); }
.site-title-mark {
	display: inline-grid; place-items: center; width: 40px; height: 40px;
	border-radius: 12px; background: var(--mp-accent); color: var(--mp-navy);
}

/* Primary nav (desktop) */
.primary-nav { flex: 1; display: flex; justify-content: flex-end; }
.primary-nav-head, .primary-nav-foot { display: none; }
.primary-nav .menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu > li > a {
	display: block;
	padding: 10px 11px;
	border-radius: 999px;
	color: var(--mp-white);
	font-size: .90625rem;
	font-weight: 600;
	white-space: nowrap;
}
.primary-nav .menu > li > a:hover,
.primary-nav .menu > li:hover > a,
.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a,
.primary-nav .menu > .current_page_item > a,
.primary-nav .menu > .current_page_ancestor > a { color: var(--mp-accent); }
.primary-nav .menu > li.menu-item-has-children > a,
.primary-nav .menu > li.page_item_has_children > a { padding-right: 4px; }

.submenu-toggle {
	display: inline-grid; place-items: center;
	width: 22px; height: 26px; margin-right: 2px; padding: 0;
	border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .7); cursor: pointer;
}
.submenu-toggle .icon { transition: transform .2s; }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.primary-nav .sub-menu,
.primary-nav .children {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 270px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--mp-white);
	border-radius: 16px;
	box-shadow: var(--mp-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility .18s;
	z-index: 10;
}
.primary-nav .sub-menu::before,
.primary-nav .children::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.is-open > .sub-menu,
.primary-nav li:hover > .children,
.primary-nav li:focus-within > .children,
.primary-nav li.is-open > .children { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a,
.primary-nav .children a {
	display: block; padding: 9px 14px; border-radius: 10px;
	color: var(--mp-ink); font-size: .9375rem; font-weight: 500; line-height: 1.4;
}
.primary-nav .sub-menu a:hover,
.primary-nav .children a:hover,
.primary-nav .sub-menu .current-menu-item > a,
.primary-nav .children .current_page_item > a { background: var(--mp-ice); color: var(--mp-navy); }
.primary-nav .sub-menu .submenu-toggle,
.primary-nav .children .submenu-toggle { display: none; }
.primary-nav .sub-menu .sub-menu, .primary-nav .children .children { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 0 12px; min-width: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
	display: none; place-items: center; width: 46px; height: 46px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--mp-white); cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .18); }
.nav-open .site-header-wrap { z-index: 300; }
.nav-overlay { position: fixed; inset: 0; background: rgba(10, 16, 28, .55); z-index: 150; }
.nav-overlay[hidden] { display: none; }

/* Mobile / tablet nav */
@media (min-width: 1281px) {
	.primary-nav .menu > li > a { padding: 10px 8px; font-size: .875rem; }
	.primary-nav .menu > li.menu-item-has-children > a, .primary-nav .menu > li.page_item_has_children > a { padding-right: 2px; }
}
.header-book .icon { display: none; }
@media (max-width: 1280px) {
	:root { --mp-header-h: 72px; }
	.nav-toggle { display: inline-grid; }
	.header-inner { justify-content: space-between; }
	.site-header .site-branding .custom-logo { max-height: 100px; }

	.primary-nav {
		position: fixed;
		top: 0; right: 0; bottom: 0;
		width: min(400px, 90vw);
		flex-direction: column;
		justify-content: flex-start;
		background: var(--mp-navy);
		padding: 20px;
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility .3s;
		z-index: 200;
	}
	.admin-bar .primary-nav { top: 46px; }
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.primary-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
	.primary-nav-title { font-weight: 800; font-size: 1.125rem; }
	.nav-close { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--mp-white); cursor: pointer; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.primary-nav .menu > li > a { flex: 1; padding: 14px 4px; border-radius: 0; font-size: 1.0625rem; }
	.submenu-toggle { width: 40px; height: 40px; margin: 0; background: rgba(255, 255, 255, .06); }
	.primary-nav .sub-menu,
	.primary-nav .children {
		position: static; flex-basis: 100%; min-width: 0; display: none;
		opacity: 1; visibility: visible; transform: none; box-shadow: none;
		background: rgba(255, 255, 255, .05); border-radius: 12px; margin: 0 0 12px; padding: 6px;
	}
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu, .primary-nav li:hover > .children, .primary-nav li:focus-within > .children { display: none; }
	.primary-nav li.is-open > .sub-menu, .primary-nav li.is-open > .children { display: block; }
	.primary-nav .sub-menu a, .primary-nav .children a { color: rgba(255, 255, 255, .85); }
	.primary-nav .sub-menu a:hover, .primary-nav .children a:hover { background: rgba(255, 255, 255, .08); color: var(--mp-accent); }
	.primary-nav-foot { display: grid; gap: 10px; margin-top: 24px; }
	.nav-open { overflow: hidden; }
}
@media (max-width: 600px) {
	.site-header .site-branding .custom-logo { max-height: 64px; }
	.header-book { display: none; }
	.topbar .hide-sm { display: none; }
	.social-links--topbar { display: none; }
}
@media (max-width: 900px) { .topbar .hide-md { display: none; } }
@media (max-width: 640px) { .eyebrow::before { display: none; } }

/* ==========================================================================
   5. Shared section styles
   ========================================================================== */
.section { padding: var(--mp-section) 0; }
.section--tint { background: var(--mp-ice); }
.section--navy { background: var(--mp-navy); color: rgba(255, 255, 255, .82); }
.section--page { padding-top: 56px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 12px; color: var(--mp-accent-ink);
	font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--mp-accent); }

.section-title { margin-bottom: 14px; }
.section-title--light { color: var(--mp-white); }
.section-lead { max-width: 640px; margin: 0; color: var(--mp-muted); font-size: 1.0625rem; }
.section-lead--light { color: rgba(255, 255, 255, .78); }

.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin: 0 auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.stars { display: inline-flex; gap: 2px; color: var(--mp-star); }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(560px, 78vh, 760px);
	padding: 72px 0 88px;
	color: var(--mp-white);
	background-color: var(--mp-navy);
	background-image:
		radial-gradient(circle at 85% 20%, rgba(40, 196, 245, .35), transparent 45%),
		radial-gradient(circle at 70% 90%, rgba(40, 196, 245, .18), transparent 40%);
	overflow: hidden;
	isolation: isolate;
}
.hero.has-image {
	background-image: var(--hero-image);
	background-size: cover;
	background-position: center;
}
.hero.has-image::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(23, 32, 48, .94) 0%, rgba(23, 32, 48, .82) 38%, rgba(23, 32, 48, .35) 75%, rgba(23, 32, 48, .15) 100%);
}
.hero:not(.has-image)::after {
	content: "";
	position: absolute; right: -120px; top: 50%; z-index: -1;
	width: 620px; height: 620px; transform: translateY(-50%);
	border-radius: 50%;
	border: 70px solid rgba(40, 196, 245, .12);
}
.hero-inner { position: relative; }
.hero-content { max-width: 680px; }
.hero-title { color: var(--mp-white); margin-bottom: 22px; }
.hero-text { font-size: 1.125rem; color: rgba(255, 255, 255, .9); }
.hero-text--small { font-size: 1rem; color: rgba(255, 255, 255, .75); }
.hero .btn-row { margin-top: 32px; }

.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 36px; }
.rating-badge {
	display: inline-flex; flex-direction: column; gap: 2px;
	padding: 12px 18px; border-radius: 16px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
	backdrop-filter: blur(6px); color: var(--mp-white);
}
a.rating-badge:hover { color: var(--mp-white); background: rgba(255, 255, 255, .16); }
.rating-label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.rating-row { display: inline-flex; align-items: center; gap: 10px; }
.rating-row strong { font-size: 1.25rem; }
.rating-count { font-size: .875rem; color: rgba(255, 255, 255, .8); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--mp-accent); color: var(--mp-navy); stroke-width: 3; }

@media (max-width: 640px) {
	.hero { min-height: 0; padding: 56px 0 64px; }
	.hero.has-image::before { background: linear-gradient(180deg, rgba(23, 32, 48, .85), rgba(23, 32, 48, .92)); }
	.hero .btn { width: 100%; }
	.hero-text--small { display: none; }
}

/* ==========================================================================
   7. Enquiry / booking
   ========================================================================== */
.section--enquiry { padding-top: 0; margin-top: -48px; position: relative; z-index: 2; }
.enquiry-card {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 0;
	background: var(--mp-navy-deep);
	border-radius: var(--mp-radius-lg);
	box-shadow: var(--mp-shadow-lg);
	overflow: hidden;
	color: rgba(255, 255, 255, .82);
}
.enquiry-main { padding: clamp(28px, 5vw, 56px); }
.enquiry-text { max-width: 560px; }
.enquiry-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.enquiry-option {
	display: flex; align-items: center; gap: 14px;
	padding: 16px; border-radius: 16px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
	color: var(--mp-white); transition: background-color .2s, border-color .2s, transform .2s;
	min-width: 0;
}
.enquiry-option:hover { color: var(--mp-white); background: rgba(40, 196, 245, .14); border-color: rgba(40, 196, 245, .5); transform: translateY(-2px); }
.enquiry-option strong { display: block; font-size: 1rem; line-height: 1.3; }
.enquiry-option small { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .65); line-height: 1.4; overflow-wrap: anywhere; }
.enquiry-option-icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--mp-accent); color: var(--mp-navy); }

.enquiry-aside { position: relative; min-height: 100%; background: var(--mp-navy); }
.enquiry-image { width: 100%; height: 100%; object-fit: cover; }
.hours-card { height: 100%; padding: clamp(28px, 5vw, 56px); background: linear-gradient(160deg, var(--mp-navy-soft), var(--mp-navy)); color: var(--mp-white); }
.hours-card-title { display: flex; align-items: center; gap: 10px; color: var(--mp-white); font-size: 1.25rem; margin-bottom: 18px; }
.hours-card-title .icon { color: var(--mp-accent); }
.hours-note { margin: 18px 0 0; font-size: .875rem; color: rgba(255, 255, 255, .75); }
.hours-note a { color: var(--mp-accent); font-weight: 700; }

.hours-list { margin: 0; padding: 0; list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); font-size: .9375rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .hours-day { font-weight: 600; }
.hours-list .hours-time { text-align: right; opacity: .85; }
.hours-list .is-today { color: var(--mp-accent); }
/* Grouped hours (several times per day, e.g. Reception / Podiatry) */
.hours-list li.hours-group { display: block; }
.hours-list .hours-group .hours-day { display: block; margin-bottom: 4px; }
.hours-list .hours-group .hours-rows { margin: 0; padding: 0; list-style: none; }
.hours-list .hours-group .hours-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; border: 0; font-size: .9em; }
.hours-list .hours-label { opacity: .75; }
.hours-list .hours-group.is-today .hours-label { opacity: 1; }
.hours-list .is-today .hours-time { opacity: 1; }

/* Form plugins inside the dark card */
.enquiry-form { margin-top: 24px; }
.enquiry-form label { color: rgba(255, 255, 255, .85); font-size: .875rem; font-weight: 600; }
.enquiry-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.enquiry-form select,
.enquiry-form textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: var(--mp-white); }
.enquiry-form ::placeholder { color: rgba(255, 255, 255, .5); }
.enquiry-form select option { color: var(--mp-ink); }

@media (max-width: 900px) {
	.section--enquiry { margin-top: 0; padding-top: 32px; }
	.enquiry-card { grid-template-columns: 1fr; }
	.enquiry-aside { min-height: 0; }
	.enquiry-image { max-height: 320px; }
}
@media (max-width: 520px) { .enquiry-options { grid-template-columns: 1fr; } }

/* ==========================================================================
   8. Cards
   ========================================================================== */
.feature-card {
	padding: 30px 26px;
	background: var(--mp-white);
	border-radius: var(--mp-radius);
	box-shadow: var(--mp-shadow);
	transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--mp-shadow-lg); }
.feature-card p { margin: 0; color: var(--mp-muted); font-size: .9375rem; }
.feature-icon {
	display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
	border-radius: 16px; background: var(--mp-ice); color: var(--mp-accent-ink);
}
.feature-title { font-size: 1.125rem; margin-bottom: 10px; }

.card {
	display: flex; flex-direction: column;
	background: var(--mp-white);
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-radius);
	overflow: hidden;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--mp-shadow-lg); border-color: transparent; }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mp-ice); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--mp-accent); background: linear-gradient(135deg, var(--mp-ice), #d5f0fc); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card-meta { margin: 0 0 6px; color: var(--mp-muted); font-size: .8125rem; font-weight: 600; }
.card-title { font-size: 1.1875rem; margin-bottom: 10px; }
.card-title a { color: var(--mp-navy); }
.card-title a:hover { color: var(--mp-accent-ink); }
.card-text { color: var(--mp-muted); font-size: .9375rem; margin-bottom: 18px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; color: var(--mp-navy); }
.card-link .icon { transition: transform .2s; color: var(--mp-accent-ink); }
.card-link:hover .icon { transform: translateX(4px); }

/* Compact cards for 4-across grids */
.grid--compact { gap: 20px; }
.grid--compact .card-media { aspect-ratio: 4 / 3; }
.grid--compact .card-body { padding: 20px 20px 22px; }
.grid--compact .card-title { font-size: 1.0625rem; }
.grid--compact .card-text { font-size: .875rem; }

.card--on-dark { background: var(--mp-navy-soft); border-color: rgba(255, 255, 255, .08); }
.card--on-dark .card-title a, .card--on-dark .card-link { color: var(--mp-white); }
.card--on-dark .card-title a:hover { color: var(--mp-accent); }
.card--on-dark .card-text { color: rgba(255, 255, 255, .72); }
.card--on-dark .card-link .icon { color: var(--mp-accent); }
.card--on-dark .card-media { background: var(--mp-navy-deep); }
.card--on-dark .card-placeholder { background: linear-gradient(135deg, var(--mp-navy-deep), var(--mp-navy-soft)); }

/* ==========================================================================
   9. Split / about
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--mp-radius-lg); }
.split-media-placeholder {
	display: grid; place-items: center; aspect-ratio: 4 / 4.2;
	border-radius: var(--mp-radius-lg); color: var(--mp-accent);
	background: radial-gradient(circle at 30% 20%, rgba(40, 196, 245, .35), transparent 55%), var(--mp-navy);
}
.split-quote {
	position: absolute; left: -16px; bottom: 28px; max-width: 300px; margin: 0;
	display: flex; gap: 12px; align-items: flex-start;
	padding: 18px 22px; border-radius: 18px;
	background: var(--mp-accent); color: var(--mp-navy);
	font-weight: 700; font-size: 1.0625rem; line-height: 1.4;
	box-shadow: var(--mp-shadow-lg);
}
.split-content p { color: var(--mp-muted); }
.tick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .9375rem; line-height: 1.45; color: var(--mp-navy); }
.tick-list .icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--mp-ice); color: var(--mp-accent-ink); stroke-width: 3; }

@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; }
	.split-media img, .split-media-placeholder { aspect-ratio: 16 / 11; }
	.split-quote { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}
@media (max-width: 520px) { .tick-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   10. Testimonials
   ========================================================================== */
.testimonial {
	display: flex; flex-direction: column; gap: 16px;
	margin: 0; padding: 30px 28px;
	background: var(--mp-white); border-radius: var(--mp-radius); box-shadow: var(--mp-shadow);
}
.testimonial blockquote { margin: 0; flex: 1; }
.testimonial blockquote p { margin: 0; color: var(--mp-ink); font-size: 1rem; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--mp-line); }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mp-navy); color: var(--mp-accent); font-weight: 800; font-size: .9375rem; }
.testimonial-name { font-weight: 700; color: var(--mp-navy); }

/* ==========================================================================
   10a. FAQs
   ========================================================================== */
.section--faq { border-top: 1px solid var(--mp-line); }
.faq-layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	grid-template-rows: auto 1fr;
	grid-template-areas: "intro list" "help list";
	column-gap: clamp(32px, 6vw, 72px);
	row-gap: 32px;
	align-items: start;
}
.faq-intro { grid-area: intro; }
.faq-list { grid-area: list; }
.faq-help { grid-area: help; }

.faq-help {
	display: flex; gap: 16px; align-items: flex-start;
	padding: 24px; border-radius: var(--mp-radius);
	background: var(--mp-navy); color: rgba(255, 255, 255, .8);
}
.faq-help-icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--mp-accent); color: var(--mp-navy); }
.faq-help-title { margin-bottom: 4px; color: var(--mp-white); font-size: 1.0625rem; }
.faq-help p { margin: 0; font-size: .9375rem; }
.faq-help .btn-row { margin-top: 16px; gap: 8px; }
.faq-help .btn-primary:hover { background: var(--mp-white); color: var(--mp-navy); }

.faq-list { display: grid; gap: 12px; }
.faq-item {
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-radius);
	background: var(--mp-white);
	transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: rgba(40, 196, 245, .6); }
.faq-item[open] { background: var(--mp-ice); border-color: transparent; }
.faq-question {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 22px;
	color: var(--mp-navy); font-weight: 700; font-size: 1.0625rem; line-height: 1.4;
	cursor: pointer; list-style: none;
	border-radius: var(--mp-radius);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ""; }
.faq-question:focus-visible { outline: 3px solid var(--mp-accent); outline-offset: 2px; }
.faq-toggle {
	display: inline-grid; place-items: center; flex-shrink: 0;
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--mp-ice); color: var(--mp-accent-ink);
	transition: transform .25s, background-color .2s, color .2s;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--mp-navy); color: var(--mp-accent); }
.faq-answer { padding: 0 22px 20px; color: var(--mp-muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
	.faq-layout { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "intro" "list" "help"; }
}
@media (max-width: 520px) {
	.faq-question { padding: 18px; font-size: 1rem; }
	.faq-answer { padding: 0 18px 18px; }
	.faq-help { flex-direction: column; }
}

/* ==========================================================================
   11. Location
   ========================================================================== */
.location { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.location-map { min-height: 420px; border-radius: var(--mp-radius-lg); overflow: hidden; background: var(--mp-ice); }
.location-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.location-info { padding: clamp(24px, 4vw, 40px); border-radius: var(--mp-radius-lg); background: var(--mp-ice); }
.location-info h3 { font-size: 1.375rem; }

.contact-list { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { margin-top: 4px; color: var(--mp-accent-ink); }
.contact-list a { color: inherit; font-weight: 600; }
.contact-list a:hover { color: var(--mp-accent-ink); }

.access-list { display: grid; gap: 10px; margin: 0; padding: 20px 0 0; border-top: 1px solid rgba(34, 45, 63, .1); list-style: none; font-size: .9375rem; color: var(--mp-muted); }
.access-list li { display: flex; gap: 12px; align-items: center; }
.access-icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: var(--mp-white); color: var(--mp-accent-ink); }

@media (max-width: 900px) { .location { grid-template-columns: 1fr; } .location-map, .location-map iframe { min-height: 320px; } }

/* ==========================================================================
   12. CTA band
   ========================================================================== */
.cta-band { padding: clamp(44px, 6vw, 64px) 0; background: var(--mp-accent); color: var(--mp-navy); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-title { margin-bottom: 8px; color: var(--mp-navy); font-size: clamp(1.5rem, 3vw, 2.125rem); }
.cta-band p { margin: 0; max-width: 560px; font-weight: 500; }
.cta-band .btn-row { margin: 0; }
.cta-band .btn-dark:hover { background: var(--mp-white); color: var(--mp-navy); }
@media (max-width: 640px) { .cta-band .btn { width: 100%; } .cta-band .btn-row { width: 100%; } }

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer { background: var(--mp-ice); color: var(--mp-ink); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.25fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand p { margin: 18px 0; color: var(--mp-muted); max-width: 340px; }
.footer-brand .custom-logo { max-height: 64px; }
.footer-brand .site-branding.has-logo-tile .custom-logo-link { box-shadow: var(--mp-shadow); }
.footer-logo {
	display: inline-block;
	padding: 10px;
	width: var(--footer-logo-w, 140px);
	max-width: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: var(--mp-white);
	box-shadow: var(--mp-shadow);
	transition: transform .2s, box-shadow .2s;
}
.footer-logo:hover { transform: translateY(-2px); box-shadow: var(--mp-shadow-lg); }
.footer-logo img { width: 100%; height: auto; }

.footer-map-wrap { padding-bottom: 48px; }
.footer-map { position: relative; height: 320px; border-radius: var(--mp-radius-lg); overflow: hidden; background: var(--mp-white); box-shadow: var(--mp-shadow); }
.footer-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.footer-map-card {
	position: absolute; left: 20px; bottom: 20px;
	display: flex; gap: 14px; align-items: flex-start;
	max-width: 340px; padding: 16px 20px;
	border-radius: 16px; background: var(--mp-navy); color: rgba(255, 255, 255, .85);
	box-shadow: var(--mp-shadow-lg); font-size: .875rem; line-height: 1.5;
}
.footer-map-card strong { display: block; color: var(--mp-white); font-size: 1rem; }
.footer-map-card span { display: block; }
.footer-map-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--mp-accent); font-weight: 700; }
.footer-map-card a:hover { color: var(--mp-white); }
.footer-map-icon { display: inline-grid !important; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--mp-accent); color: var(--mp-navy); }
@media (max-width: 600px) {
	.footer-map { height: auto; display: flex; flex-direction: column; }
	.footer-map iframe { height: 240px; }
	.footer-map-card { position: static; max-width: none; border-radius: 0; box-shadow: none; }
}

.footer-title { margin-bottom: 18px; font-size: 1rem; letter-spacing: .02em; }
.footer-menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-menu a { color: var(--mp-muted); }
.footer-menu a:hover { color: var(--mp-accent-ink); }
.footer-title--spaced { margin-top: 32px; }
.footer-note { margin: 14px 0 0; font-size: .875rem; color: var(--mp-muted); }
.footer-note a { font-weight: 700; color: var(--mp-navy); white-space: nowrap; }
.footer-note a:hover { color: var(--mp-accent-ink); }
.footer-hours .hours-list li { border-bottom-color: rgba(34, 45, 63, .12); padding: 6px 0; font-size: .875rem; }
.footer-hours .hours-list .is-today { color: var(--mp-accent-ink); }
.footer-actions { display: grid; gap: 10px; max-width: 320px; margin-top: 4px; }
.footer-actions .btn { width: 100%; min-height: 44px; padding: .65em 1.1em; font-size: .875rem; white-space: normal; text-align: center; }
.footer-contact .hours-list li { border-bottom-color: rgba(34, 45, 63, .12); padding: 5px 0; font-size: .875rem; }
.footer-contact .hours-list .is-today { color: var(--mp-accent-ink); }

.social-links { display: flex; gap: 8px; }
.social-links a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mp-navy); color: var(--mp-white); transition: background-color .2s, color .2s; }
.social-links a:hover { background: var(--mp-accent); color: var(--mp-navy); }
.social-links--topbar a { width: 28px; height: 28px; background: transparent; color: rgba(255, 255, 255, .8); }
.social-links--topbar .icon { width: 15px; height: 15px; }

.footer-bottom { border-top: 1px solid rgba(34, 45, 63, .1); font-size: .875rem; color: var(--mp-muted); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--mp-navy); font-weight: 600; }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; } }

/* Mobile sticky bar */
.mobile-bar { display: none; }
@media (max-width: 900px) {
	.has-mobile-bar { padding-bottom: 84px; }
	.mobile-bar {
		position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
		display: flex; align-items: center; gap: 10px; padding: 8px;
		border-radius: 999px; background: var(--mp-navy); box-shadow: 0 10px 30px rgba(10, 16, 28, .35);
	}
	.mobile-bar-book { flex: 1; }
	.mobile-bar-icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--mp-white); }
	.mobile-bar-icon:hover { color: var(--mp-navy); background: var(--mp-accent); }
}

/* ==========================================================================
   14. Inner pages
   ========================================================================== */
.page-hero {
	position: relative;
	padding: clamp(48px, 7vw, 84px) 0 clamp(44px, 6vw, 72px);
	background: radial-gradient(circle at 90% 0%, rgba(40, 196, 245, .3), transparent 45%), var(--mp-navy);
	color: var(--mp-white);
	overflow: hidden;
}
.page-hero::after {
	content: ""; position: absolute; right: -80px; bottom: -180px;
	width: 380px; height: 380px; border-radius: 50%;
	border: 50px solid rgba(40, 196, 245, .1);
}
.page-hero--image {
	display: flex;
	align-items: flex-end;
	min-height: 320px;
	padding-top: clamp(48px, 6vw, 80px);
	background: var(--hero-image) center / cover no-repeat, #6b7685;
	isolation: isolate;
}
/* Neutral scrim (no navy) – strength set in Customize → Header → Page banner shading */
.page-hero--image::before {
	content: "";
	position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, var(--hero-shade, .45)) 0%, rgba(0, 0, 0, calc(var(--hero-shade, .45) * .35)) 60%, rgba(0, 0, 0, 0) 100%);
}
.page-hero--image::after { display: none; }
.page-hero--image > .container { position: relative; z-index: 1; }
.page-hero--image .page-hero-title,
.page-hero--image .page-hero-sub,
.page-hero--image .breadcrumbs { text-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 2px 16px rgba(0, 0, 0, .35); }
.page-hero--image .page-hero-sub { color: var(--mp-white); }
.page-hero--image .breadcrumbs li { color: rgba(255, 255, 255, .9); }
.page-hero--image .breadcrumbs a { color: var(--mp-white); font-weight: 600; }
.page-hero--image .breadcrumbs a:hover { color: var(--mp-accent); }
@media (max-width: 640px) {
	.page-hero--image { min-height: 300px; }
}
.page-hero-title { position: relative; z-index: 1; margin: 0; color: var(--mp-white); max-width: 880px; }
.page-hero-sub { position: relative; z-index: 1; max-width: 680px; margin: 16px 0 0; color: rgba(255, 255, 255, .8); font-size: 1.0625rem; }

.breadcrumbs { position: relative; z-index: 1; margin-bottom: 14px; font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { color: rgba(255, 255, 255, .7); }
.breadcrumbs li + li::before { content: "/"; margin: 0 6px 0 2px; opacity: .5; }
.breadcrumbs a { color: var(--mp-accent); }
.breadcrumbs a:hover { color: var(--mp-white); }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 1024px) { .layout-sidebar { grid-template-columns: 1fr; } }

.entry-thumb { margin: 0 0 32px; }
.entry-thumb img { width: 100%; border-radius: var(--mp-radius-lg); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; color: var(--mp-muted); font-size: .875rem; font-weight: 600; }
.posted-on { display: inline-flex; gap: 8px; align-items: center; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.entry-tags a { padding: 4px 12px; border-radius: 999px; background: var(--mp-ice); font-size: .8125rem; font-weight: 600; }
.entry-canvas > *:not(.alignfull) { max-width: calc(var(--mp-container) + var(--mp-gutter) * 2); margin-left: auto; margin-right: auto; padding-left: var(--mp-gutter); padding-right: var(--mp-gutter); }

/* Sidebar */
.sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--mp-header-h) + 24px); }
@media (max-width: 1024px) { .sidebar { position: static; } }
.side-card { padding: 26px; border-radius: var(--mp-radius); background: var(--mp-ice); }
.side-card .widget-title, .widget-title { font-size: 1.125rem; margin-bottom: 14px; }
.side-card--navy { background: var(--mp-navy); color: rgba(255, 255, 255, .8); display: grid; gap: 10px; }
.side-card--navy .widget-title { color: var(--mp-white); margin-bottom: 0; }
.side-card--navy p { margin: 0 0 8px; font-size: .9375rem; }
.side-card-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--mp-accent); color: var(--mp-navy); }
.side-card .hours-list li { border-bottom-color: rgba(34, 45, 63, .12); font-size: .875rem; padding: 6px 0; }
.side-card .hours-list .is-today { color: var(--mp-accent-ink); }
.side-menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.side-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--mp-white); color: var(--mp-navy); font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.side-menu a .icon { color: var(--mp-accent-ink); transition: transform .2s; }
.side-menu a:hover, .side-menu .is-current a { background: var(--mp-navy); color: var(--mp-white); }
.side-menu a:hover .icon, .side-menu .is-current a .icon { color: var(--mp-accent); transform: translateX(3px); }
.widget ul { margin: 0; padding-left: 1.1em; }

/* Blog / search */
.search-bar { max-width: 560px; margin: 0 auto 40px; }
.search-form { position: relative; display: flex; }
.search-form .search-field { padding-right: 56px; border-radius: 999px; }
.search-submit { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--mp-navy); color: var(--mp-white); cursor: pointer; }
.search-submit:hover { background: var(--mp-accent); color: var(--mp-navy); }
.empty-state { max-width: 620px; margin: 0 auto; text-align: center; }
.empty-state .search-form { margin: 28px 0 0; }
.empty-code { margin: 0; font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; color: var(--mp-accent); }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: var(--mp-ice); color: var(--mp-navy); font-weight: 700; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--mp-navy); color: var(--mp-white); }

.post-navigation { margin-top: 48px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; height: 100%; padding: 18px 20px; border-radius: var(--mp-radius); background: var(--mp-ice); color: var(--mp-navy); }
.post-navigation a:hover { background: var(--mp-navy); color: var(--mp-white); }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mp-accent-ink); }
.post-navigation a:hover .nav-label { color: var(--mp-accent); }
.nav-title { font-weight: 700; }

/* ==========================================================================
   15. Entry content (Gutenberg + classic)
   ========================================================================== */
.entry-content { font-size: 1.0625rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-bottom: 1em; font-size: 1.5em }
.entry-content h3, .entry-content h4 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content ul li::marker { color: var(--mp-accent-strong); }
.entry-content a:not(.btn):not(.wp-block-button__link) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--mp-radius-sm); }
.entry-content blockquote, .wp-block-quote {
	margin: 1.6em 0; padding: 20px 26px;
	border-left: 4px solid var(--mp-accent); border-radius: 0 var(--mp-radius-sm) var(--mp-radius-sm) 0;
	background: var(--mp-ice); color: var(--mp-navy); font-size: 1.125rem; font-weight: 500;
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .9375rem; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--mp-line); text-align: left; }
.entry-content th { background: var(--mp-ice); color: var(--mp-navy); }
.entry-content hr { border: 0; height: 1px; margin: 2.5em 0; background: var(--mp-line); }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
.wp-caption-text, figcaption.wp-element-caption { margin-top: 8px; font-size: .875rem; color: var(--mp-muted); text-align: center; }
.entry-content--full .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry-content--full .alignwide { margin-left: -60px; margin-right: -60px; max-width: calc(100% + 120px); }
@media (max-width: 1200px) { .entry-content--full .alignwide { margin-left: 0; margin-right: 0; max-width: 100%; } }

.has-cyan-color { color: var(--mp-accent) !important; }
.has-cyan-background-color { background-color: var(--mp-accent) !important; }
.has-navy-color { color: var(--mp-navy) !important; }
.has-navy-background-color { background-color: var(--mp-navy) !important; }
.has-ice-color { color: var(--mp-ice) !important; }
.has-ice-background-color { background-color: var(--mp-ice) !important; }
.has-ink-color { color: var(--mp-ink) !important; }
.has-ink-background-color { background-color: var(--mp-ink) !important; }
.has-white-color { color: #fff !important; }
.has-white-background-color { background-color: #fff !important; }

.page-links { margin-top: 2em; font-weight: 700; }
.sticky, .bypostauthor, .gallery-caption { display: block; }

/* ==========================================================================
   16. Forms
   ========================================================================== */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"],
input[type="password"], input[type="search"], input[type="date"], select, textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--mp-line);
	border-radius: 12px;
	background: var(--mp-white);
	color: var(--mp-ink);
	font-family: var(--mp-font);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--mp-accent); box-shadow: 0 0 0 4px rgba(40, 196, 245, .2); outline: none; }
textarea { min-height: 140px; resize: vertical; }
label { font-weight: 600; font-size: .9375rem; }
.wpcf7-form p { margin-bottom: 14px; }
.wpcf7-not-valid-tip { font-size: .8125rem; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; border-radius: 12px; }

/* Comments */
.comments-area { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--mp-line); }
.comment-list { margin: 0 0 32px; padding: 0; list-style: none; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { margin-bottom: 20px; padding: 20px; border-radius: var(--mp-radius); background: var(--mp-ice); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .8125rem; margin: 4px 0 10px; }
.comment-metadata a { color: var(--mp-muted); }

/* Print */
@media print {
	.site-header-wrap, .mobile-bar, .cta-band, .sidebar, .nav-overlay { display: none !important; }
	body { padding: 0 !important; }
}

@media (max-width: 640px) {
	.card-media { aspect-ratio: 16 / 8; }
	.card-body { padding: 20px; }
}

/* ==========================================================================
   17. Footer newsletter (added 1.4.7)
   ========================================================================== */
.footer-newsletter { margin: 0 0 22px; max-width: 360px; }
.footer-newsletter .footer-title { margin-bottom: 8px; }
.footer-brand .footer-newsletter-text { margin: 0 0 12px; color: var(--mp-muted); font-size: .875rem; }
.newsletter-row { position: relative; }
.newsletter-row input[type="email"] { padding: 13px 116px 13px 18px; border-radius: 999px; font-size: .9375rem; }
.newsletter-form .newsletter-row button.btn { position: absolute; top: 5px; right: 5px; bottom: 5px; padding: 0 1em; font-size: .8125rem; }
.newsletter-form { position: relative; }
.newsletter-hp { position: absolute; left: -5000px; }
