/* ==========================================================================
   Nexa – content components
   Restyles page-content building blocks (hero, trust strip, FAQ, related
   services, CTA banner, sections, cards, contact layout) in the Nexa design.
   ========================================================================== */

html, body { overflow-x: clip; }

/* Shared full-bleed helper */
.entry-content .alcair-hero,
.entry-content .alcair-related,
.entry-content .alcair-cta-banner,
.entry-content .alcair-section {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: max(var(--gutter), calc(50vw - var(--container) / 2));
	padding-right: max(var(--gutter), calc(50vw - var(--container) / 2));
}
.entry-content > * + .alcair-related,
.entry-content > * + .alcair-cta-banner,
.entry-content > * + .alcair-section { margin-top: clamp(64px, 8vw, 110px); }

/* Page container adjustments */
.section-sm.has-content-hero { padding-top: 0; }
.section-sm:has(> .entry-content > .alcair-cta-banner:last-child),
.section-sm:has(> .entry-content > .alcair-section:last-child),
.section-sm:has(> .entry-content > .alcair-related:last-child) { padding-bottom: 0; }
.alcair-reveal { opacity: 1; transform: none; }

/* Buttons */
.entry-content .alcair-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 24px;
	border: 1px solid var(--c-black); border-radius: 0;
	font-family: var(--f-sans); font-size: 0.875rem; font-weight: 500; line-height: 1;
	text-decoration: none; white-space: nowrap;
	transition: background-color .25s, color .25s, border-color .25s;
}
.entry-content .alcair-btn--primary { background: var(--c-black); color: #fff; }
.entry-content .alcair-btn--primary:hover { background: #333; border-color: #333; }
.entry-content .alcair-btn--secondary { background: transparent; color: var(--c-ink); }
.entry-content .alcair-btn--secondary:hover { background: var(--c-ink); color: #fff; }
.entry-content .alcair-btn--primary::after { content: "→"; font-size: 0.9375rem; transition: transform .25s var(--ease); }
.entry-content .alcair-btn:hover::after { transform: translateX(3px); }
.entry-content .alcair-btn .icon { width: 15px; height: 15px; }

/* Hero – same as the Nexa inner-page title band */
.entry-content .alcair-hero {
	display: block;
	padding-top: clamp(72px, 9vw, 120px);
	padding-bottom: clamp(56px, 6vw, 80px);
	margin-bottom: clamp(48px, 6vw, 80px);
	background: var(--c-soft);
}
.entry-content .alcair-hero__content { max-width: 780px; }
.entry-content .alcair-hero__icon-badge,
.entry-content .alcair-section__eyebrow,
.entry-content .alcair-chip {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 18px;
	font-family: var(--f-sans); font-size: 0.75rem; font-weight: 500;
	letter-spacing: .22em; text-transform: uppercase; color: var(--c-ink);
	background: none; border: 0; padding: 0;
}
.entry-content .alcair-hero__icon-badge .icon { width: 14px; height: 14px; }
.entry-content .alcair-hero h1 {
	margin: 0 0 22px;
	font-family: var(--f-serif); font-weight: 400;
	font-size: clamp(2.375rem, 4.6vw, 4rem); line-height: 1.1; color: var(--c-ink);
}
.entry-content .alcair-hero__subtitle { max-width: 560px; margin: 0 0 34px; font-size: 1.0625rem; line-height: 1.75; color: var(--c-text); }
.entry-content .alcair-hero__ctas,
.entry-content .alcair-cta-banner__ctas,
.entry-content .alcair-contact__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0; }
.entry-content .alcair-hero__visual,
.entry-content .alcair-hero-art { display: none; }

/* Trust strip – a row like the Nexa services grid */
.entry-content .alcair-trust-strip {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 clamp(40px, 5vw, 64px);
	border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
}
.entry-content .alcair-trust-strip__item { display: flex; flex-direction: column; gap: 14px; padding: 26px 22px; font-size: 0.875rem; line-height: 1.5; color: var(--c-ink); }
.entry-content .alcair-trust-strip__item + .alcair-trust-strip__item { border-left: 1px solid var(--c-line); }
.entry-content .alcair-trust-strip__item:first-child { padding-left: 0; }
.entry-content .alcair-trust-strip__icon { color: var(--c-ink); line-height: 0; }

/* Generic content sections */
.entry-content .alcair-seo-content h2,
.entry-content .alcair-section__title { font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.15; margin: 1.4em 0 .6em; }
.entry-content .alcair-section { padding-top: clamp(72px, 8vw, 110px); padding-bottom: clamp(72px, 8vw, 110px); }
.entry-content .alcair-section--alt { background: var(--c-soft); }
.entry-content .alcair-section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.entry-content .alcair-section__head .alcair-section__title { margin-top: 0; }
.entry-content .alcair-section__lead { font-size: 1rem; color: var(--c-text); margin: 0; }
.entry-content .alcair-home { max-width: none; }

/* FAQ */
.entry-content .alcair-faq { border-top: 1px solid var(--c-line); margin-top: 24px; }
.entry-content .alcair-faq__item { border-bottom: 1px solid var(--c-line); padding: 22px 0; margin: 0; }
.entry-content .alcair-faq__item summary { font-family: var(--f-sans); font-size: 1.0625rem; font-weight: 500; }
.entry-content .alcair-faq__answer { font-size: 1rem; color: var(--c-text); }
.entry-content .alcair-faq__answer p:last-child { margin-bottom: 0; }
.entry-content .alcair-faq-section__heading { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.entry-content .alcair-faq-section__subtext { color: var(--c-text); }

/* Related services – dark band like the Nexa services section */
.entry-content .alcair-related {
	padding-top: clamp(80px, 9vw, 110px); padding-bottom: clamp(80px, 9vw, 110px);
	background: var(--c-dark); color: rgba(255, 255, 255, .7);
}
.entry-content .alcair-related > h2 { margin: 0 0 clamp(40px, 5vw, 64px); color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); }
.entry-content .alcair-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.entry-content .alcair-related__card {
	display: block; padding: 6px 32px 8px; margin: 0;
	border-left: 1px solid var(--c-line-dark);
	color: rgba(255, 255, 255, .66); text-decoration: none;
}
.entry-content .alcair-related__card:first-child { padding-left: 0; border-left: 0; }
.entry-content .alcair-related__card-icon { display: block; margin-bottom: 18px; color: #fff; line-height: 0; }
.entry-content .alcair-related__card h4 { margin: 0 0 10px; font-family: var(--f-sans); font-size: 1.0625rem; font-weight: 500; color: #fff; }
.entry-content .alcair-related__card p { margin: 0 0 20px; font-size: 0.875rem; line-height: 1.7; }
.entry-content .alcair-related__card::after { content: "Learn More →"; font-size: 0.8125rem; font-weight: 500; color: #fff; }
.entry-content .alcair-related__card:hover h4 { text-decoration: underline; text-underline-offset: 4px; }

/* CTA banner – same as the Nexa "Get in touch" section */
.entry-content .alcair-cta-banner {
	padding-top: clamp(64px, 7vw, 90px); padding-bottom: clamp(64px, 7vw, 90px);
	background: var(--c-dark); color: rgba(255, 255, 255, .8);
}
.entry-content .alcair-cta-banner::before {
	content: "Get In Touch"; display: block; margin-bottom: 14px;
	font-size: 0.75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
}
.entry-content .alcair-cta-banner h2,
.entry-content .alcair-cta-banner h3 { max-width: 560px; margin: 0 0 18px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.14; color: #fff; }
.entry-content .alcair-cta-banner p { max-width: 520px; margin: 0 0 30px; font-size: 0.9375rem; }
.entry-content .alcair-cta-banner .alcair-btn--primary { background: #fff; border-color: #fff; color: var(--c-black); }
.entry-content .alcair-cta-banner .alcair-btn--primary:hover { background: #e9e9e9; border-color: #e9e9e9; }
.entry-content .alcair-cta-banner .alcair-btn--secondary { border-color: rgba(255, 255, 255, .5); color: #fff; }
.entry-content .alcair-cta-banner .alcair-btn--secondary:hover { background: #fff; color: var(--c-black); }
.entry-content .alcair-cta-banner svg { width: 15px; height: 15px; }

/* Cards (doctor, staff, reviews, directions, contact) – flat Nexa cards */
.entry-content .alcair-doctor-card,
.entry-content .alcair-staff-card,
.entry-content .alcair-review-card,
.entry-content .alcair-direction-card,
.entry-content .alcair-contact__cta-card,
.entry-content .alcair-contact__item {
	background: #fff; border: 1px solid var(--c-line); border-radius: 0; box-shadow: none;
	padding: 28px;
}
.entry-content .alcair-doctor-portrait img,
.entry-content .alcair-staff-portrait img { width: 100%; height: auto; border-radius: 0; object-fit: cover; }
.entry-content .alcair-doctor-title,
.entry-content .alcair-staff-role,
.entry-content .alcair-reviewer { font-size: 0.8125rem; color: var(--c-muted); }
.entry-content .alcair-direction-card__icon,
.entry-content .alcair-contact__item-icon { display: inline-block; margin-bottom: 14px; color: var(--c-ink); line-height: 0; }
.entry-content .alcair-directions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.entry-content .alcair-review-card { font-family: var(--f-serif); font-size: 1.25rem; line-height: 1.5; color: var(--c-ink); }

/* Contact layout */
.entry-content .alcair-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.entry-content .alcair-contact__details { display: grid; gap: 16px; }
.entry-content .alcair-contact__item { display: flex; gap: 16px; padding: 22px; }
.entry-content .alcair-contact__item-icon { margin: 0; }
.entry-content .alcair-contact__map iframe { width: 100%; min-height: 360px; border: 0; filter: grayscale(1); }
.entry-content .alcair-contact__cta-card { background: var(--c-dark); border-color: var(--c-dark); color: rgba(255, 255, 255, .8); }
.entry-content .alcair-contact__cta-card h2,
.entry-content .alcair-contact__cta-card h3 { color: #fff; }
.entry-content .alcair-contact__cta-card .alcair-btn--primary { background: #fff; color: var(--c-black); border-color: #fff; }
.entry-content .alcair-contact__cta-card .alcair-btn--secondary { color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Kill any leftover gradients / rounded shadows from old markup */
.entry-content [class^="alcair-"] { background-image: none; }

/* Responsive */
@media (max-width: 960px) {
	.entry-content .alcair-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.entry-content .alcair-related__card:nth-child(odd) { padding-left: 0; border-left: 0; }
	.entry-content .alcair-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.entry-content .alcair-trust-strip__item:nth-child(odd) { padding-left: 0; border-left: 0; }
	.entry-content .alcair-trust-strip__item:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
	.entry-content .alcair-contact-layout, .entry-content .alcair-directions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.entry-content .alcair-related__grid { grid-template-columns: minmax(0, 1fr); }
	.entry-content .alcair-related__card, .entry-content .alcair-related__card:nth-child(n) { padding: 0 0 32px; border-left: 0; border-bottom: 1px solid var(--c-line-dark); }
	.entry-content .alcair-related__card:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* Two dark bands in a row sit flush, separated by a hairline. */
.entry-content .alcair-related + .alcair-cta-banner,
.entry-content .alcair-cta-banner + .alcair-related { margin-top: 0; border-top: 1px solid var(--c-line-dark); }

/* FAQ intro line under the centred FAQ heading. */
.entry-content .alcair-seo-content > .nexa-faq-intro { text-align: center; color: var(--c-text); margin: 10px auto 0; max-width: 560px; }
