@charset "UTF-8";
/* ==========================================================================
   MediCare Bootstrap — sections built from block patterns (patterns/*.php)
   Loaded on the front end and inside the block editor (add_editor_style),
   so a section looks the same in both. Colours and fonts come from the
   Customizer through the --mc-* variables; fallbacks keep the editor safe.

   A section = Group "mc-band" (full width, background, vertical spacing)
             → Group "mc-band__inner" (site width).
   Backgrounds: add one of these to the outer Group's CSS class:
     mc-band--surface   soft tinted background
     mc-band--dark      dark background, white text
     mc-band--hero      top-of-page hero background
     mc-band--compact   less vertical space
   ========================================================================== */

/* ---------- Pages / front page in "Blocks" mode ---------- */
.mc-blocks { overflow-x: clip; }
.mc-blocks > * { margin-block: 0; }
.mc-blocks > .alignfull { margin-inline: 0; max-width: none; width: 100%; }
/* A block dropped directly on the page (not inside a section) still sits
   at the site width instead of touching the screen edges. */
.mc-blocks > :not(.alignfull) {
	max-width: 1320px; margin-inline: auto; padding-inline: .75rem; box-sizing: border-box;
}
.mc-blocks > :not(.alignfull):first-child { margin-top: var(--mc-section-gap, 5rem); }
.mc-blocks > :not(.alignfull):last-child { margin-bottom: var(--mc-section-gap, 5rem); }

/* ---------- Section band ---------- */
.mc-band {
	--mc-band-gap: var(--mc-section-gap, 5rem);
	padding-block: var(--mc-band-gap);
	padding-inline: 0;
	background: #fff;
	color: var(--mc-text, #1b2a30);
	box-sizing: border-box;
}
.mc-band--surface { background: var(--mc-surface, #eaf4f6); }
.mc-band--compact { --mc-band-gap: 2.25rem; }
/* Two plain white sections in a row share their spacing instead of doubling it. */
.mc-band:not(.mc-band--surface):not(.mc-band--dark):not(.mc-band--hero) + .mc-band:not(.mc-band--surface):not(.mc-band--dark):not(.mc-band--hero) { padding-top: 0; }

.mc-band__inner {
	width: 100%;
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: .75rem;
	box-sizing: border-box;
}
@media (min-width: 576px) { .mc-band__inner { padding-inline: 1.5rem; } }

.mc-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
.mc-band h3 { font-size: 1.2rem; }
/* Space between blocks comes from the block gap (WordPress layout), not
   from Bootstrap's bottom margins — only for blocks placed in the editor,
   so cards, accordions and other shortcode output keep their own spacing. */
.mc-band :is(.is-layout-flow, .is-layout-flex, .is-layout-constrained) > :is(p, h1, h2, h3, h4, h5, h6, ul, ol, figure) { margin-bottom: 0; }
.mc-band__inner > h2 + *,
.mc-band__inner > .mc-band__head + * { margin-top: 1rem; }

.mc-band__head { gap: .75rem 2rem; }
.mc-band__link { font-weight: 600; }
.mc-band__link a { text-decoration: none; }
.mc-band__link a::after { content: " \203A"; }
.mc-band__intro {
	max-width: 60ch;
	font-size: 1.1rem;
	color: rgba(var(--bs-body-color-rgb, 27, 42, 48), .75);
}
.mc-band__intro + * { margin-top: 2.25rem !important; }
.mc-note { font-size: .875rem; color: rgba(var(--bs-body-color-rgb, 27, 42, 48), .6); }

/* Buttons inside sections follow the theme buttons. */
.mc-band .wp-block-button__link {
	background: var(--mc-primary, #0f5c6e);
	color: #fff;
	border: 2px solid var(--mc-primary, #0f5c6e);
	border-radius: var(--bs-border-radius, .75rem);
	padding: .8rem 1.6rem;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.mc-band .wp-block-button__link:hover { background: var(--mc-primary-dark, #0b4552); border-color: var(--mc-primary-dark, #0b4552); color: #fff; }
.mc-band .is-style-outline > .wp-block-button__link { background: transparent; color: var(--mc-primary, #0f5c6e); }
.mc-band .is-style-outline > .wp-block-button__link:hover { background: var(--mc-primary, #0f5c6e); color: #fff; }
.mc-band .wp-block-buttons { gap: .75rem; }

/* Columns: a little more air than the core default, stacked below 782px. */
.mc-band .wp-block-columns { gap: 2rem 3rem; margin-bottom: 0; }

/* ---------- Hero ---------- */
.mc-band--hero {
	--mc-band-gap: clamp(3rem, 2rem + 4vw, 5.5rem);
	background:
		radial-gradient(55% 80% at 100% 0%, rgba(var(--bs-secondary-rgb, 127, 209, 197), .35), transparent 70%),
		var(--mc-surface, #eaf4f6);
	overflow: hidden;
}
.mc-band .mc-hero-title {
	font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.7rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	max-width: 15ch;
}
.mc-band .mc-hero-text {
	margin-top: 1.25rem;
	font-size: 1.15rem;
	max-width: 46ch;
	color: rgba(var(--bs-body-color-rgb, 27, 42, 48), .78);
}
.mc-band--hero .wp-block-buttons { margin-top: 2rem; }

.mc-trust { margin-top: 2.75rem; gap: 1.25rem 2.5rem; }
.mc-trust__item { padding-left: 1rem; border-left: 3px solid var(--mc-secondary, #7fd1c5); }
.mc-band .mc-trust__num {
	font-family: var(--mc-font-heading, Georgia, serif);
	font-size: 1.45rem; font-weight: 600; line-height: 1.2;
	color: var(--mc-primary-dark, #0b4552);
}
.mc-band .mc-trust__label { font-size: .9rem; color: rgba(var(--bs-body-color-rgb, 27, 42, 48), .7); }
.mc-trust__item > * + * { margin-top: .1rem !important; }

/* Portrait with an arched top — the one bold shape on the page — and the
   doctor's name tag overlapping its lower edge. */
.mc-hero-cols > .wp-block-column:last-child { position: relative; }
.mc-band .mc-hero-photo { margin: 0; }
.mc-band .mc-hero-photo img {
	display: block; width: 100%; height: auto;
	aspect-ratio: 4 / 5; object-fit: cover;
	border-radius: 999px 999px var(--bs-border-radius-lg, 1.1rem) var(--bs-border-radius-lg, 1.1rem);
	max-width: 30rem; margin-inline: auto;
}
.mc-hero-tag {
	position: relative;
	margin: -2.5rem auto 0 !important;
	width: fit-content; max-width: 90%;
	background: #fff;
	border-radius: var(--bs-border-radius-lg, 1.1rem);
	box-shadow: 0 18px 40px rgba(11, 69, 82, .16);
	padding: .9rem 1.4rem;
	border-left: 4px solid var(--mc-accent, #f2b441);
}
.mc-band .mc-hero-tag__name { font-family: var(--mc-font-heading, Georgia, serif); font-weight: 600; color: var(--mc-primary-dark, #0b4552); font-size: 1.1rem; }
.mc-band .mc-hero-tag__role { font-size: .9rem; color: rgba(var(--bs-body-color-rgb, 27, 42, 48), .7); }
.mc-hero-tag > * + * { margin-top: 0 !important; }

/* ---------- Doctor ---------- */
.mc-band .mc-doctor-photo { margin: 0; }
.mc-band .mc-doctor-photo img {
	display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
	border-radius: var(--bs-border-radius-lg, 1.1rem);
}
.mc-band .mc-doctor-name { margin-top: 1.75rem; font-size: 1.5rem; }
.mc-band .mc-doctor-role { margin-top: .25rem; color: var(--mc-primary, #0f5c6e); font-weight: 500; }
.mc-band .mc-doctor-quote {
	margin-top: 1.5rem;
	font-family: var(--mc-font-heading, Georgia, serif);
	font-size: 1.2rem; line-height: 1.6;
	max-width: 52ch;
	color: var(--mc-primary-dark, #0b4552);
}
.mc-doctor-cols .wp-block-buttons { margin-top: 2rem; }

.mc-checklist { list-style: none; padding-left: 0; margin: 1.5rem 0 0; }
.mc-checklist li { position: relative; padding-left: 1.9rem; margin: 0; }
.mc-checklist li + li { margin-top: .55rem; }
.mc-checklist li::before {
	content: ""; position: absolute; left: 0; top: .3em;
	width: 1.15rem; height: 1.15rem; border-radius: 50%;
	background: var(--mc-secondary, #7fd1c5)
		url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230b4552' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m4 8.5 2.6 2.5L12 5.5'/%3e%3c/svg%3e") center / 70% no-repeat;
}

/* ---------- Icon block ---------- */
.mc-icon { line-height: 1; color: var(--mc-primary, #0f5c6e); }
.mc-icon--badge {
	display: inline-grid; place-items: center;
	width: 3.25rem; height: 3.25rem;
	background: var(--mc-surface, #eaf4f6);
	border-radius: 30% / 40%;
	font-size: 1.45rem;
}
.mc-icon--badge.mc-icon--s { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; }
.mc-icon--badge.mc-icon--l { width: 4.25rem; height: 4.25rem; font-size: 2rem; }
.mc-icon--plain { font-size: 1.75rem; }
.mc-icon--plain.mc-icon--s { font-size: 1.25rem; }
.mc-icon--plain.mc-icon--l { font-size: 2.5rem; }
.mc-band--surface .mc-icon--badge { background: #fff; }

/* ---------- Why us ---------- */
.mc-features { margin-top: 2.5rem !important; }
.mc-band .mc-feature__title { margin-top: 1.1rem; margin-bottom: .5rem; }
.mc-features p { color: rgba(var(--bs-body-color-rgb, 27, 42, 48), .78); }

/* ---------- Steps (numbered automatically) ---------- */
.mc-steps { counter-reset: mc-step; position: relative; }
.mc-steps > .wp-block-column { counter-increment: mc-step; position: relative; }
.mc-steps > .wp-block-column::before {
	content: counter(mc-step);
	display: grid; place-items: center;
	width: 3.25rem; height: 3.25rem;
	margin-bottom: 1.1rem;
	border-radius: 50%;
	background: var(--mc-primary, #0f5c6e);
	color: #fff;
	font-family: var(--mc-font-heading, Georgia, serif);
	font-size: 1.4rem; font-weight: 600;
	position: relative; z-index: 1;
	box-shadow: 0 0 0 6px var(--mc-surface, #eaf4f6);
}
/* The line that joins the numbers (desktop only). */
@media (min-width: 782px) {
	.mc-steps > .wp-block-column:not(:last-child)::after {
		content: ""; position: absolute; top: 1.625rem; left: 3.25rem; right: -3rem;
		height: 2px; background: rgba(var(--bs-primary-rgb, 15, 92, 110), .22);
	}
}
.mc-band .mc-step__title { margin-bottom: .5rem; }
.mc-steps p { color: rgba(var(--bs-body-color-rgb, 27, 42, 48), .78); }

/* ---------- Reviews ---------- */
.mc-reviews { margin-top: 2.25rem !important; }
.mc-review {
	height: 100%;
	background: #fff;
	border-radius: var(--bs-border-radius-lg, 1.1rem);
	padding: 1.75rem;
	box-sizing: border-box;
	display: flex; flex-direction: column;
}
.mc-review::before {
	content: "\2605 \2605 \2605 \2605 \2605";
	color: var(--mc-accent, #f2b441);
	letter-spacing: .15em;
	font-size: 1rem;
	margin-bottom: .9rem;
}
.mc-band .mc-review__text {
	font-family: var(--mc-font-heading, Georgia, serif);
	font-size: 1.08rem; line-height: 1.6;
	color: var(--mc-primary-dark, #0b4552);
	flex: 1 1 auto;
}
.mc-band .mc-review__name { margin-top: 1.25rem; font-weight: 600; font-size: .95rem; }

/* ---------- FAQ ---------- */
.mc-faq-cols .wp-block-buttons { margin-top: 1.5rem; }
.mc-faq-cols > .wp-block-column:first-child p { margin-top: 1rem; color: rgba(var(--bs-body-color-rgb, 27, 42, 48), .78); }

/* ---------- Dark CTA band ---------- */
.mc-band--dark { background: var(--mc-primary-dark, #0b4552); color: rgba(255, 255, 255, .88); --mc-band-gap: clamp(3rem, 2rem + 3vw, 4.5rem); }
.mc-band--dark h2, .mc-band--dark h3 { color: #fff; }
.mc-band--dark p { color: rgba(255, 255, 255, .85); }
.mc-band--dark h2 + p { margin-top: .75rem; font-size: 1.1rem; }
.mc-band--dark a:not(.wp-block-button__link) { color: #fff; }
.mc-cta-cols .wp-block-buttons { justify-content: flex-start; }
@media (min-width: 782px) { .mc-cta-cols .wp-block-buttons { justify-content: flex-end; } }
.mc-band .mc-btn-light > .wp-block-button__link { background: var(--mc-accent, #f2b441); border-color: var(--mc-accent, #f2b441); color: var(--mc-primary-dark, #0b4552); }
.mc-band .mc-btn-light > .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--mc-primary-dark, #0b4552); }
.mc-band--dark .is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .6); }
.mc-band--dark .is-style-outline > .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--mc-primary-dark, #0b4552); }

/* ---------- Contact ---------- */
.mc-contact-cols > .wp-block-column:first-child > p { margin-top: 1rem; color: rgba(var(--bs-body-color-rgb, 27, 42, 48), .78); }
.mc-form-card {
	background: var(--mc-surface, #eaf4f6);
	border-radius: var(--bs-border-radius-lg, 1.1rem);
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.mc-form-card > h3 { margin-bottom: 1.25rem; }
.mc-contact-cols + * { margin-top: 3rem !important; }

/* ---------- Contact page (contact-*.php patterns) ---------- */
.mc-contact-hero {
	--mc-band-gap: clamp(2.5rem, 1.75rem + 3vw, 4rem);
	background:
		radial-gradient(50% 90% at 100% 0%, rgba(var(--bs-secondary-rgb, 127, 209, 197), .3), transparent 70%),
		var(--mc-surface, #eaf4f6);
}
.mc-contact-hero .mc-hero-title { max-width: none; }
.mc-contact-hero .mc-hero-text { max-width: 60ch; }
.mc-contact-hero .wp-block-buttons { margin-top: 1.75rem; }

.mc-band .mc-contact-cards { gap: 1.25rem; }
.mc-contact-card {
	padding: 1.5rem;
	background: #fff;
	border: 1px solid rgba(var(--bs-primary-rgb, 15, 92, 110), .12);
	border-radius: var(--bs-border-radius-lg, 1.1rem);
}
.mc-band--surface .mc-contact-card { border-color: transparent; }
.mc-band .mc-contact-card__title { margin-top: 1rem; margin-bottom: .4rem; font-size: 1.1rem; }
.mc-contact-card a { font-weight: 600; overflow-wrap: anywhere; }
.mc-contact-card__value { font-size: 1.15rem; }
.mc-contact-card .mc-note { margin-top: .5rem; }
.mc-contact-card .mc-hours-row { font-size: .95rem; }
@media (min-width: 782px) and (max-width: 1199.98px) {
	.mc-band .mc-contact-cards { flex-wrap: wrap !important; }
	.mc-contact-cards > .wp-block-column { flex-basis: calc(50% - .625rem) !important; flex-grow: 0; }
}

.mc-band--surface .mc-form-card { background: #fff; }
.mc-form-card > h2 { margin-bottom: 1.25rem; font-size: 1.6rem; }
.mc-form-aside__urgent {
	margin-top: 1.75rem;
	padding: 1.25rem 1.25rem 1.25rem 1.1rem;
	border-left: 4px solid var(--mc-accent, #f2b441);
	border-radius: 0 var(--bs-border-radius, .6rem) var(--bs-border-radius, .6rem) 0;
	background: rgba(var(--bs-warning-rgb, 242, 180, 65), .12);
}
.mc-form-aside__urgent p { margin: 0; }
.mc-form-aside__urgent .mc-phone { display: inline-block; margin-top: .5rem; font-size: 1.2rem; font-weight: 700; }

.mc-directions-cols .mc-address { margin-top: 1rem; font-size: 1.05rem; }
.mc-directions { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.mc-direction {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: .9rem;
	align-items: start;
}
.mc-direction > .mc-icon { grid-row: span 2; }
.mc-band .mc-direction__title { margin: 0; font-size: 1rem; }
.mc-band .mc-direction p { margin: .15rem 0 0; color: rgba(var(--bs-body-color-rgb, 27, 42, 48), .78); }
.mc-directions-cols .wp-block-buttons { margin-top: 1.75rem; }

/* ---------- Payment pills ---------- */
.mc-pills { gap: 1rem 2rem; }
.mc-band .mc-pills__title { font-size: 1.05rem; }
.mc-pills__list { gap: .5rem; }
.mc-band .mc-pill {
	background: var(--mc-surface, #eaf4f6);
	color: var(--mc-primary-dark, #0b4552);
	padding: .4rem 1rem; border-radius: 999px;
	font-size: .95rem; font-weight: 500;
}

/* ---------- Mobile ---------- */
@media (max-width: 781.98px) {
	.mc-band .wp-block-columns { gap: 2rem; }
	.mc-band .mc-hero-photo img { max-width: 20rem; }
	.mc-trust { margin-top: 2rem; }
	.mc-doctor-cols .mc-doctor-photo img { max-width: 24rem; }
}

/* ---------- Editor only ---------- */
.editor-styles-wrapper .mc-band { margin-block: 0; }
.editor-styles-wrapper .mc-band .wp-block-button__link { cursor: text; }

/* Title + text pairs sit closer than separate blocks. */
.mc-band .mc-feature__title + p,
.mc-band .mc-step__title + p { margin-top: .5rem; }
@media (max-width: 781.98px) { .mc-trust { gap: .9rem 1.75rem; } }
