/**
 * Addiction Treatment Template
 * External stylesheet – loaded only when template-addiction-treatment.php is used.
 *
 * Refactor notes:
 * - Shared styles are grouped into base blocks (constrained inners, 16:9 embeds, primary CTA shape, paragraph spacing). No new HTML classes: we use multi-selector rules so the template markup stays unchanged.
 * - Modifiers (e.g. .at-effects__cta--outline, .at-features__cta--environment) are used only where a section has a real variant; most sections use the shared base.
 * - Withdrawals box-content uses 12px paragraph margin (not 16px) so it stays section-specific with a short comment.
 */

.addiction-treatment { font-family: 'Montserrat', sans-serif; background-color: #45483b; overflow-x: hidden; max-width: 100%; }

:root {
	--at-sticky-header-height: 160px;
	--at-sticky-header-height-mobile: 100px;
	--at-olive: #45483b;
	--at-olive-dark: #3d4235;
	--at-yellow: #ffd26c;
	--at-white: #fff;
	--at-gray: #4a4a4a;
	--at-light: #f8f8f6;
	--at-tan: #f5f0e8;
	--at-h2-size: 36px;
	--at-h3-size: 20px;
}

/* Scroll offset: JS (scroll-anchor.js) overrides anchor behaviour and uses --scroll-offset; these are fallback only. */
html { scroll-padding-top: var(--scroll-offset, var(--at-sticky-header-height)); }
body.page-template-template-addiction-treatment-php { overflow-x: hidden; }
.addiction-treatment [id] { scroll-margin-top: var(--scroll-offset, var(--at-sticky-header-height)); }
.addiction-treatment section#hero { scroll-margin-top: 0; }

/* ========== Base: constrained section inners (deduplicated) ========== */
/* Shared max-width + center so we don’t repeat the same values in every section. */
.at-hero__container,
.at-intro__inner,
.at-what-we-treat__inner,
.at-images-quote__inner,
.at-journey__inner,
.at-specialist__inner,
.at-features__inner,
.at-withdrawals__inner,
.at-family-support__inner,
.addiction-treatment .faqs__inner { max-width: 1200px; margin: 0 auto; }

.at-review__inner,
.at-effects__inner { max-width: 900px; margin: 0 auto; }

.at-video__inner { max-width: 960px; margin: 0 auto; padding: 0 16px; }

.at-doctify-carousel__inner { max-width: 1000px; margin: 0 auto; text-align: center; }

/* ========== Base: 16:9 video embed (shared so layout stays identical) ========== */
.at-video__embed,
.at-effects__video,
.at-specialist__embed {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 12px;
}
.at-video__embed iframe,
.at-effects__video iframe,
.at-specialist__embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 12px;
	display: block;
}

/* ========== Base: primary CTA (yellow button) – shared shape, sections override color/bg ========== */
.at-intro__cta,
.at-specialist__cta,
.at-family-support__cta {
	display: inline-block;
	padding: 16px 32px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s;
}

/* ========== Base: content paragraph spacing (same margin in many sections) ========== */
.at-intro__text p,
.at-video__text p,
.at-effects__text p,
.at-images-quote__quote-text,
.addiction-treatment .faqs__answer-content p { margin: 0 0 16px; }
.at-intro__text p:last-child,
.at-video__text p:last-child,
.at-effects__text p:last-child,
.addiction-treatment .faqs__answer-content p:last-child { margin-bottom: 0; }
/* Withdrawals box uses 12px margin (not 16px) so kept section-specific. */
.at-withdrawals__box-content p { margin: 0 0 12px; }
.at-withdrawals__box-content p:last-child { margin-bottom: 0; }

/* 1em margin variant (journey, features, centralised, family-support) */
.at-journey__intro p,
.at-journey__section-text p,
.at-features__intro p,
.at-features__phase-text p,
.at-features__text-below p,
.at-family-support__content p,
.at-centralised-copy__text p { margin: 0 0 1em; }
.at-journey__intro p:last-child,
.at-journey__section-text p:last-child,
.at-features__intro p:last-child,
.at-features__phase-text p:last-child,
.at-features__text-below p:last-child,
.at-family-support__content p:last-child,
.at-centralised-copy__text p:last-child { margin-bottom: 0; }

/* ========== Hero Section ========== */
.at-hero { background: linear-gradient(135deg, var(--at-olive) 0%, var(--at-olive-dark) 100%); color: var(--at-white); padding: 55px 24px 48px; }
.at-breadcrumb { margin-bottom: 16px; }
.at-breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.at-breadcrumb__item { display: inline-flex; align-items: center; }
.at-breadcrumb__item:not(:last-child)::after { content: '\00a0/\00a0'; margin-left: 2px; opacity: .8; }
.at-breadcrumb__item a { color: var(--at-white); text-decoration: none; }
.at-breadcrumb__item a:hover { text-decoration: none; }
.at-breadcrumb__item span[aria-current="page"] { opacity: .9; }
.at-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.at-hero__headline { font-size: 50px; font-weight: 500; color: #ffffff; line-height: 1.25; letter-spacing: -0.4px; margin: 0 0 16px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.at-hero__subtitle { font-size: 16px; line-height: 1.6; margin: 0 0 24px; opacity: 0.95; }
.at-hero__features { list-style: none; margin: 0 0 24px; padding: 0; }
.at-hero__feature { margin-bottom: 12px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.at-hero__feature:last-child { margin-bottom: 0; }
.at-hero__check { color: var(--at-yellow); font-weight: bold; }
.at-hero__cta { display: inline-block; background: var(--at-yellow); color: #3d4235; padding: 18px 40px; border-radius: 8px; font-size: 18px; font-weight: 600; text-decoration: none; transition: background .2s; margin-bottom: 24px; }
.at-hero__cta:hover, .at-hero__cta:focus { background: #ffc84a; color: #3d4235; }

/* Hero Doctify rating – match homepage v2 layout/sizing */
.addiction-treatment .at-hero__rating {
	margin-top: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 600px;
}
.addiction-treatment .at-hero__rating .doctify-hero-widget-wrap {
	width: 100%;
	max-width: 100%;
}
.at-hero__media { display: flex; flex-direction: column; align-items: center; }
.at-hero__img-wrap { position: relative; overflow: visible; box-shadow: 0 8px 32px rgba(0,0,0,.3); aspect-ratio: 3/2; width: 100%; max-width: 100%; border-radius: 8px; }
.at-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px; }
.at-hero__badge { position: absolute; top: -12px; right: -12px; width: 180px; height: auto; max-width: 45%; z-index: 2; }
.at-hero__bottom { width: 100%; padding-top: 36px; }
.at-hero__nav { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: stretch; gap: 12px; width: 100%; }
.at-hero__nav-link { flex: 1 1 0; min-width: 0; color: var(--at-white); text-decoration: none; font-weight: 600; font-size: 18px; padding: 16px 20px; border-radius: 8px; background: rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s, color .2s; }
.at-hero__nav-link::after { content: '↓'; font-size: 20px; color: var(--at-yellow); transition: transform .3s ease; }
.at-hero__nav-link:hover { background: rgba(255,210,108,.2); color: var(--at-yellow); }
.at-hero__nav-link:hover::after { transform: translateY(4px); }

/* Authors section – equal space above (from at-hero) and below (to at-intro), white background */
.addiction-treatment .authors {
	margin-top: 0;
	margin-bottom: 0;
	background-color: #ffffff;
	padding: 32px 24px;
}

/* Ensure no dark strip/border from global .outline styles inside authors */
.addiction-treatment .authors .outline {
	background-color: #ffffff;
	border: 0;
}

/* Authors: circle image that fits, and never overlaps text */
.addiction-treatment .authors .wrapper .row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 24px;
}
.addiction-treatment .authors .column.column-image {
	flex: 0 0 116px;
	min-width: 116px;
	max-width: 116px;
	flex-shrink: 0;
	box-sizing: border-box;
}
/* Perfect circle: fixed 1:1 aspect so it can't become an oval */
.addiction-treatment .authors .column.column-image > a,
.addiction-treatment .authors .column.column-image > picture {
	display: block;
	width: 112px;
	height: 112px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: none;
	outline: none;
	box-sizing: border-box;
}
.addiction-treatment .authors .column.column-image > a:focus {
	outline: none;
}
/* When link wraps picture, picture must fill the circle */
.addiction-treatment .authors .column.column-image > a picture {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
}
.addiction-treatment .authors .column.column-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center center;
	display: block;
	vertical-align: middle;
	border-radius: 50%;
}
.addiction-treatment .authors .column.column-author {
	flex: 1 1 auto;
	min-width: 0;
}

/* Introduction Section */
.at-intro { background: var(--at-white); padding: 0 24px 40px; }
.at-intro__inner { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
.at-intro__content { grid-column: 1 / -1; max-width: 100%; text-align: left; }
.at-intro__title { font-size: var(--at-h2-size); color: #767A4C; margin: 0 0 40px; font-weight: 600; }
.at-intro__text { font-size: 16px; line-height: 1.8; color: var(--at-olive); max-width: 100%; }
.at-intro__cta { display: block; width: fit-content; margin-top: 24px; margin-left: auto; margin-right: auto; background: var(--at-yellow); color: #3d4235; }
.at-intro__cta:hover, .at-intro__cta:focus { background: #ffc84a; color: #3d4235; }
.at-intro__image img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,.1); }

/* Video Section – standard 16:9 videos, grid layout, multiple videos from ACF */
.at-video { background: #f5f0e8; padding: 40px 24px 40px; }
.at-video__title { font-size: var(--at-h2-size); font-weight: 600; color: #596645; margin: 0 0 40px; text-align: center; letter-spacing: -0.02em; }
.at-video__grid-wrap { margin-top: 0; margin-bottom: 8px; }
.at-video__grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 0; justify-items: center; }
.at-video__item { min-width: 0; max-width: 900px; width: 100%; }
.at-video__embed { background: #2a2d26; box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.at-video__text { margin-top: 36px; font-size: 16px; line-height: 1.75; color: var(--at-olive); text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.at-video__text a { color: var(--at-olive); text-decoration: underline; text-underline-offset: 3px; }
.at-video__text a:hover { color: var(--at-olive-dark); }
.at-video__channel-link-wrap { margin: 28px 0 0; text-align: center; }
.at-video__channel-link { color: var(--at-olive); text-decoration: underline; text-underline-offset: 3px; font-size: 16px; }
.at-video__channel-link:hover { color: var(--at-olive-dark); }

@media (max-width: 768px) {
	.at-video { padding: 40px 0 56px; }
	.at-video__inner { padding: 0 16px; max-width: 100%; box-sizing: border-box; width: 100%; }
	.at-video__title { margin-bottom: 40px; }
	.at-video__grid-wrap { margin-bottom: 4px; }
	.at-video__grid { gap: 20px; }
	.at-video__embed { border-radius: 10px; }
	.at-video__text { margin-top: 28px; font-size: 16px; padding: 0 4px; }
	.at-video__channel-link-wrap { margin-top: 20px; }
	.at-video__channel-link { font-size: 15px; }
}

/* Mid-page Doctify Review Section (replaces quote) – use default homepage widget styles */
.at-review { background: #3D423F; padding: 60px 24px 40px; }
.at-review__inner { text-align: center; }
.at-review__inner .doctify-hero-widget-wrap { margin: 0 auto; }

/* Affects Section (3 cards + CTA – image style) */
.at-what-we-treat { background: #fff; color: var(--at-olive); padding: 64px 24px 40px; }
.at-what-we-treat__title { font-size: var(--at-h2-size); font-weight: 600; color: #596645; margin: 0 0 40px; text-align: center; line-height: 1.25; }
.at-what-we-treat__subtitle { font-size: 16px; font-weight: 400; color: var(--at-olive); margin: 0 0 40px; text-align: center; line-height: 1.5; }
.at-what-we-treat__subtitle sup { font-size: 0.75em; }
.at-what-we-treat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
/* Fewer than 3 cards: keep grid centralised on the page */
.at-what-we-treat__grid--count-1 { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
.at-what-we-treat__grid--count-2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
.at-what-we-treat__block { border-radius: 12px; padding: 28px 24px 32px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.at-what-we-treat__block:nth-child(1),
.at-what-we-treat__block:nth-child(3) { background: #596645; }
.at-what-we-treat__block:nth-child(2) { background: #42473D; }
.at-what-we-treat__block-title { font-size: var(--at-h3-size); font-weight: 700; color: #ffd26c; margin: 0 0 16px; line-height: 1.3; text-align: center; width: 100%; }
.at-what-we-treat__desc { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.95); margin: 0; flex-grow: 1; }
.at-what-we-treat__desc a { color: rgba(255,255,255,.95); text-decoration: underline; }
.at-what-we-treat__desc a:hover { color: #fff; }
.at-what-we-treat__desc sup { font-size: 0.75em; }
.at-what-we-treat__cta-wrap { margin: 40px 0 0; text-align: center; color: #3d4235; }
.at-what-we-treat__cta { display: inline-block; background: #FAD277; color: #3d4235; padding: 16px 32px; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.at-what-we-treat__cta:hover { background: #f5c85a; color: #3d4235; }

@media (max-width: 900px) {
	.at-what-we-treat__grid { grid-template-columns: 1fr; gap: 24px; }
	.at-what-we-treat__block { padding: 28px 24px; }
	.at-what-we-treat__title { margin-bottom: 40px; }
	.at-what-we-treat__subtitle { margin-bottom: 40px; }
	.at-what-we-treat__block:nth-child(1),
	.at-what-we-treat__block:nth-child(2),
	.at-what-we-treat__block:nth-child(3) { background: #596645; }
}

/* Doctify review carousel (below Affects) */
.at-doctify-carousel { background: #ffffff; padding: 48px 24px 56px; }
.at-doctify-carousel__inner .doctify-widget { min-height: 80px; }
.at-doctify-carousel__cta-wrap { margin: 32px 0 0; }
.at-doctify-carousel__cta { display: inline-block; background: #FAD277; color: #3d4235; padding: 16px 32px; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.at-doctify-carousel__cta:hover { background: #f5c85a; color: #3d4235; }

/* Approach Section – dark olive, video, 3 CTAs */
.at-effects { background: #45483b; padding: 80px 24px 40px; }
.at-effects__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.at-effects__title { font-size: var(--at-h2-size); color: #f9faf8; margin: 0 0 40px; font-weight: 600; }
.at-effects__video { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; background: #2a2d26; margin-bottom: 28px; }
.at-effects__video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.at-effects__text { font-size: 16px; line-height: 1.8; color: rgba(249, 250, 248, 0.9); text-align: left; margin-bottom: 24px; }
.at-effects__text p { margin: 0 0 16px; }
.at-effects__text a { color: #FFD26D; text-decoration: underline; }
.at-effects__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; align-items: center; }
.at-effects__cta { display: inline-block; padding: 14px 28px; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.at-effects__cta--outline { background: transparent; color: #f9faf8; border: 2px solid rgba(249, 250, 248, 0.6); }
.at-effects__cta--outline:hover { border-color: #f9faf8; color: #f9faf8; background: rgba(249, 250, 248, 0.08); }
.at-effects__cta--primary { background: #FFD26D; color: #3d4235; border: 2px solid #FFD26D; }
.at-effects__cta--primary:hover { background: #ffc84a; color: #3d4235; border-color: #ffc84a; }

/* Images and Quote Section */
.at-images-quote { background: var(--at-white); padding: 48px 24px 64px; }
.at-images-quote__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.at-images-quote__image-wrap { position: relative; overflow: hidden; border-radius: 8px; }
.at-images-quote__image-wrap::before { content: ''; display: block; padding-bottom: 66.67%; }
.at-images-quote__image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.at-images-quote__quote-block { display: grid; grid-template-columns: auto 1fr; gap: 0; align-items: stretch; background: #3d4235; border-radius: 16px; overflow: hidden; }
.at-images-quote__quote-block,
.at-images-quote__quote-block .at-images-quote__quote-text,
.at-images-quote__quote-block .at-images-quote__quote-title,
.at-images-quote__quote-block a { color: #fff; }
.at-images-quote__quote-block a:hover { color: rgba(255,255,255,0.9); }
.at-images-quote__quote-photo { flex-shrink: 0; padding: 24px 0 24px 24px; display: flex; align-items: center; }
.at-images-quote__quote-headshot { width: 180px; height: 180px; object-fit: cover; border-radius: 12px; display: block; }
.at-images-quote__quote-content { min-width: 0; color: #fff; padding: 48px 56px 48px 40px; text-align: left; }
.at-images-quote__quote-content blockquote,
.at-images-quote__quote-text { background: transparent; border: none; padding: 0; }
.at-images-quote__quote-text { font-size: 16px; line-height: 1.65; margin: 0 0 20px; font-style: normal; font-weight: 400; }
.at-images-quote__quote-text::before { content: '"'; }
.at-images-quote__quote-text::after { content: '"'; }
.at-images-quote__quote-attribution { display: flex; flex-direction: column; gap: 4px; }
.at-images-quote__quote-block .at-images-quote__quote-name { font-size: 16px; font-weight: 400; color: var(--at-yellow); }
.at-images-quote__quote-title { font-size: 16px; font-weight: 400; opacity: 0.95; }

/* Signs and Symptoms Section */
.at-journey { background: var(--at-tan); padding: 80px 24px 40px; }
.at-journey__inner { text-align: center; }
.at-journey__title { font-size: var(--at-h2-size); color: #767A4C; margin: 0 0 40px; font-weight: 600; }
.at-journey__intro { font-size: 16px; color: var(--at-olive); margin: 0 0 48px; text-align: left; }
.at-journey__sections { display: flex; flex-direction: column; gap: 48px; text-align: left; }
.at-journey__section { display: grid; gap: 32px; align-items: start; }
.at-journey__section--image-left { grid-template-columns: minmax(140px, 1fr) 2fr; grid-template-areas: "img content"; }
.at-journey__section--image-right { grid-template-columns: 2fr minmax(140px, 1fr); grid-template-areas: "content img"; }
.at-journey__section--no-image { grid-template-columns: 1fr; grid-template-areas: "content"; }
.at-journey__section-image { grid-area: img; text-align: center; }
.at-journey__section-image img { max-width: 100%; height: auto; display: block; margin: 0 auto; max-height: 200px; object-fit: contain; }
.at-journey__section-content { grid-area: content; }
.at-journey__section-title { font-size: var(--at-h3-size); color: #767A4C; margin: 0 0 16px; font-weight: 600; text-align: left; }
.at-journey__section-text { font-size: 16px; color: var(--at-olive); line-height: 1.7; }
.at-journey__section-text ul { margin: 0 0 1em; padding-left: 1.25em; }
.at-journey__section-text li { margin-bottom: 0.5em; }
.at-journey__centralised { margin-top: 48px; }

/* Specialist Section */
.at-specialist { background: var(--at-white); padding: 80px 24px 40px; }
.at-specialist__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.at-specialist__title { font-size: var(--at-h2-size); color: #767A4C; margin: 0 0 40px; font-weight: 600; }
.at-specialist__text { font-size: 16px; line-height: 1.8; color: var(--at-olive); margin-bottom: 24px; }
.at-specialist__cta { background: var(--at-yellow); color: #3d4235; }
.at-specialist__cta:hover { background: #ffc84a; color: #3d4235; }
.at-specialist__media { width: 100%; max-width: 500px; margin: 0 auto; text-align: center; }
.at-specialist__embed { background: #1a1a1a; margin-bottom: 16px; }

/* Features Section. Modifier --environment only here (dark CTA variant). */
.at-features { background: #fff; padding: 80px 24px 40px; }
.at-features__inner { text-align: left; }
.at-features__title { font-size: var(--at-h2-size); color: #767A4C; margin: 0 0 40px; font-weight: 600; }
.at-features__intro { font-size: 16px; color: #767A4C; line-height: 1.7; margin: 0 0 48px; }
.at-features__phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.at-features__phase { text-align: center; }
.at-features__phase-image { margin-bottom: 20px; }
.at-features__phase-icon { width: 80px; height: 80px; object-fit: contain; display: block; margin: 0 auto; }
.at-features__phase-title { font-size: var(--at-h3-size); font-weight: 600; color: #767A4C; margin: 0 0 16px; line-height: 1.3; }
.at-features__phase-text { font-size: 16px; color: #767A4C; line-height: 1.65; margin: 0; }
.at-features__text-below { margin-top: 40px; text-align: left; font-size: 16px; line-height: 1.7; color: #767A4C; }
.at-features__cta-wrap { margin-top: 48px; text-align: center; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.at-features__cta { display: inline-block; background: var(--at-yellow); color: var(--at-olive-dark); padding: 16px 32px; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; transition: background .2s, border-color .2s, box-shadow .2s; }
.at-features__cta:hover { background: #ffc84a; color: var(--at-olive-dark); }
.at-features__cta--environment { background: var(--at-olive-dark); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.at-features__cta--environment:hover { background: #3d4235; color: #fff; border-color: rgba(255, 255, 255, 0.45); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }

/* Withdrawals Section (Detox / Withdrawal phases) */
.at-withdrawals { background: #f5f0e8; padding: 80px 24px 64px; }
.at-withdrawals__inner { text-align: left; }
.at-withdrawals__title { font-size: var(--at-h2-size); color: #767A4C; margin: 0 0 32px; font-weight: 600; }
.at-withdrawals__intro { font-size: 16px; line-height: 1.75; color: var(--at-olive); margin: 0 0 40px; }
.at-withdrawals__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.at-withdrawals__box { padding: 28px 24px; border-radius: 12px; }
.at-withdrawals__box--light { background-color: #6A6E45; color: #fff; }
.at-withdrawals__box--dark { background-color: #3d4235; color: #fff; }
.at-withdrawals__box-title { font-size: var(--at-h3-size); font-weight: 600; color: var(--at-yellow); margin: 0 0 16px; line-height: 1.3; }
.at-withdrawals__box-content { font-size: 16px; line-height: 1.65; }
.at-withdrawals__box-content ul { margin: 0 0 12px; padding-left: 1.25em; }
.at-withdrawals__box-content li { margin-bottom: 4px; }
.at-withdrawals__cta-wrap { text-align: center; }
.at-withdrawals__cta { display: inline-block; background: var(--at-yellow); color: var(--at-olive-dark); padding: 16px 32px; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; transition: background .2s; }
.at-withdrawals__cta:hover { background: #ffc84a; color: var(--at-olive-dark); }

/* Family Support Section (above FAQs) */
.at-family-support { background: #6A6E45; padding: 80px 24px 64px; }
.at-family-support__inner { padding: 0 24px; text-align: left; box-sizing: border-box; }
.at-family-support__title { font-family: 'Montserrat', sans-serif; font-size: var(--at-h2-size); font-weight: 600; color: var(--at-yellow); margin: 0 0 28px; line-height: 1.3; }
.at-family-support__content { font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.95); margin: 0 0 32px; }
.at-family-support__content a { color: var(--at-yellow); text-decoration: underline; text-underline-offset: 3px; }
.at-family-support__content a:hover { color: #ffc84a; }
.at-family-support__cta-wrap { text-align: center; margin-top: 40px; }
.at-family-support__cta { background: var(--at-yellow); color: #3d4235; border-radius: 10px; }
.at-family-support__cta:hover { background: #ffc84a; color: #3d4235; }

/* Desktop: shared CTA width – reusable for all primary CTAs on this template */
@media (min-width: 769px) {
	.at-hero__cta,
	.at-intro__cta,
	.at-doctify-carousel__cta,
	.at-effects__cta,
	.at-specialist__cta,
	.at-features__cta,
	.at-what-we-treat__cta,
	.at-withdrawals__cta,
	.at-family-support__cta {
		width: 270px;
		min-width: 270px;
		box-sizing: border-box;
		text-align: center;
	}
}

/* FAQs Section (reusing room-rates-2026 styles). Inner width from base. */
.addiction-treatment .faqs { padding: 80px 0; background-color: #ffffff; }
.addiction-treatment .faqs__inner { padding: 0 24px; }
.addiction-treatment .faqs__heading { text-align: center; font-family: 'Montserrat', sans-serif; font-size: 44px; font-weight: 600; color: #767A4C; margin: 0 0 60px 0; letter-spacing: -0.3px; line-height: 1.2; }
.addiction-treatment .faqs__list { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; }
.addiction-treatment .faqs__item { display: flex; flex-direction: column; border: 1px solid #e5e5e5; border-radius: 8px; background-color: #ffffff; transition: all 0.3s ease; }
.addiction-treatment .faqs__item:hover { border-color: #767A4C; box-shadow: 0 2px 8px rgba(118, 122, 76, 0.1); }
.addiction-treatment .faqs__item.active { border-color: #767A4C; box-shadow: 0 4px 12px rgba(118, 122, 76, 0.15); }
.addiction-treatment .faqs__question { width: 100%; height: auto; padding: 24px 28px; background-color: #ffffff; border: none; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 600; color: #767A4C; transition: all 0.3s ease; outline: none; box-sizing: border-box; }
.addiction-treatment .faqs__question:hover { background-color: #f9f9f9; color: #767A4C; }
.addiction-treatment .faqs__question:focus { outline: 2px solid #767A4C; outline-offset: -2px; color: #767A4C; }
.addiction-treatment .faqs__question:active { background-color: #ffffff; color: #767A4C; }
.addiction-treatment .faqs__item.active .faqs__question { background-color: #ffffff; color: #767A4C; }
.addiction-treatment .faqs__item.active .faqs__question:hover { background-color: #ffffff; color: #767A4C; }
.addiction-treatment .faqs__question-text { flex: 1; min-width: 0; line-height: 1.5; white-space: normal; overflow: visible; color: inherit; }
.addiction-treatment .faqs__icon { font-size: 28px; font-weight: 300; color: #767A4C; line-height: 1; transition: transform 0.3s ease; flex-shrink: 0; width: 28px; height: 28px; margin-left: 12px; display: flex; align-items: center; justify-content: center; }
.addiction-treatment .faqs__item.active .faqs__icon { transform: rotate(45deg); }
.addiction-treatment .faqs__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; background-color: #ffffff; }
.addiction-treatment .faqs__item.active .faqs__answer { max-height: 2000px; padding: 0 28px 24px 28px; }
.addiction-treatment .faqs__answer-content { font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.7; color: #45483b; padding-top: 8px; }
.addiction-treatment .faqs__answer-content p { margin: 0 0 12px 0; }
.addiction-treatment .faqs__answer-content p:last-child { margin-bottom: 0; }

/* Bottom CTA */
.at-bottom-cta { background: #ffffff; width: 100%; min-height: 400px; }
.at-bottom-cta__container { display: grid; grid-template-columns: 50% 50%; max-width: 1400px; margin: 0 auto; gap: 0; }
.at-bottom-cta__image-wrapper { width: 100%; height: 100%; overflow: hidden; }
.at-bottom-cta__image { width: 100%; height: 100%; min-height: 400px; object-fit: cover; display: block; }
.at-bottom-cta__content { padding: 60px 50px; display: flex; flex-direction: column; justify-content: center; background: #ffffff; }
.at-bottom-cta__heading { font-family: 'Montserrat', sans-serif; font-size: 36px; font-weight: 600; color: #45483b; margin: 0 0 24px; line-height: 1.2; }
.at-bottom-cta__text { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 400; color: #5c6154; line-height: 1.6; margin: 0 0 16px; }
.at-bottom-cta__attributes { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 400; color: #5c6154; line-height: 1.6; margin: 0 0 32px; }
.at-bottom-cta__contact { display: flex; flex-direction: column; gap: 16px; }
.at-bottom-cta__contact .cta__phone, .at-bottom-cta__link { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; color: #45483b; text-decoration: underline; text-underline-offset: 3px; }
.at-bottom-cta__contact .cta__phone:hover, .at-bottom-cta__link:hover { color: #3d4235; }

/* Centralised copy (bottom) */
.at-centralised-copy { background: #f5f0e8; padding: 48px 24px 64px; }
.at-centralised-copy__inner { width: 100%; max-width: none; margin: 0; text-align: left; }
.at-centralised-copy__text { font-size: 16px; line-height: 1.7; color: var(--at-olive); }
.at-centralised-copy__text p { margin: 0 0 1em; }
.at-centralised-copy__text p:last-child { margin-bottom: 0; }

/* Text link styling – scoped under .addiction-treatment so global links don’t change */
.addiction-treatment a { color: #ffd26c; text-decoration: none; }
.addiction-treatment a:hover { color: #ffc84a; }
.addiction-treatment .blog-feed__title a { color: #3d4235; }
.addiction-treatment .blog-feed__title a:hover,
.addiction-treatment .blog-feed__title a:focus { color: #45483b; text-decoration: underline; }
.addiction-treatment .at-breadcrumb__item a { color: #fff; text-decoration: none; }
.addiction-treatment .at-breadcrumb__item a:hover { color: #fff; text-decoration: none; }
.addiction-treatment .at-hero__nav-link { color: #fff; text-decoration: none; }
.addiction-treatment .at-hero__nav-link:hover { color: var(--at-yellow); text-decoration: none; }
.addiction-treatment .at-hero__cta { color: #3d4235; text-decoration: none; font-weight: 600; }
.addiction-treatment .at-intro__cta { color: #3d4235; text-decoration: none; font-weight: 600; }
.addiction-treatment .at-what-we-treat__cta,
.addiction-treatment .at-doctify-carousel__cta,
.addiction-treatment .at-withdrawals__cta,
.addiction-treatment .at-features__cta,
.addiction-treatment .at-family-support__cta { color: #3d4235; }
.addiction-treatment .at-bottom-cta .cta__phone,
.addiction-treatment .at-bottom-cta .at-bottom-cta__link { color: #45483b; text-decoration: underline; font-weight: 700; }
.addiction-treatment .at-bottom-cta .cta__phone:hover,
.addiction-treatment .at-bottom-cta .at-bottom-cta__link:hover { color: #3d4235; }
.addiction-treatment .at-video__channel-link,
.addiction-treatment .at-video__text a { color: var(--at-olive); text-decoration: underline; }
.addiction-treatment .at-video__channel-link:hover,
.addiction-treatment .at-video__text a:hover { color: var(--at-olive-dark); }
.addiction-treatment .at-effects__cta--outline { color: #f9faf8; border-color: rgba(249, 250, 248, 0.6); }
.addiction-treatment .at-effects__cta--primary { color: #3d4235; background: #FFD26D; border-color: #FFD26D; }
.addiction-treatment .at-effects__cta--primary:hover { color: #3d4235; background: #ffc84a; border-color: #ffc84a; }
.addiction-treatment .at-features__cta--environment { color: #fff; }
.addiction-treatment .at-hero__cta:hover,
.addiction-treatment .at-hero__cta:focus,
.addiction-treatment .at-intro__cta:hover,
.addiction-treatment .at-intro__cta:focus,
.addiction-treatment .at-what-we-treat__cta:hover,
.addiction-treatment .at-what-we-treat__cta:focus,
.addiction-treatment .at-doctify-carousel__cta:hover,
.addiction-treatment .at-doctify-carousel__cta:focus,
.addiction-treatment .at-withdrawals__cta:hover,
.addiction-treatment .at-withdrawals__cta:focus,
.addiction-treatment .at-features__cta:hover,
.addiction-treatment .at-features__cta:focus,
.addiction-treatment .at-family-support__cta:hover,
.addiction-treatment .at-family-support__cta:focus,
.addiction-treatment .at-specialist__cta:hover,
.addiction-treatment .at-specialist__cta:focus { color: #3d4235; }
.addiction-treatment .at-features__cta--environment:hover,
.addiction-treatment .at-features__cta--environment:focus { color: #fff; }
.addiction-treatment .at-effects__cta--outline:hover,
.addiction-treatment .at-effects__cta--outline:focus { color: #f9faf8; }

/* ========== Mobile Responsive ========== */
@media (max-width: 768px) {
	:root { --at-h2-size: 28px; --at-h3-size: 18px; }
	html { scroll-padding-top: var(--scroll-offset, var(--at-sticky-header-height-mobile)); }
	.addiction-treatment [id] { scroll-margin-top: var(--scroll-offset, var(--at-sticky-header-height-mobile)); }

	.at-hero { padding: 36px 16px 40px; }
	.at-hero__container { display: flex; flex-direction: column; }
	.at-breadcrumb { order: 1; font-size: 15px; }
	.at-breadcrumb__list { font-size: 15px; }
	.at-hero__grid { order: 2; display: flex; flex-direction: column; grid-template-columns: unset; gap: 32px; margin-bottom: 40px; }
	.at-hero__content { display: contents; }
	.at-hero__headline { order: 1; font-size: 32px; text-align: center; }
	.at-hero__subtitle { order: 2; text-align: center; font-size: 16px; }
	.at-hero__media { order: 3; }
	.at-hero__features { order: 4; margin-bottom: 20px; }
	.at-hero__cta { order: 5; display: block; text-align: center; padding: 16px 24px; }
	.at-hero__feature { font-size: 15px; margin-bottom: 10px; }
	.at-hero__rating { display: flex; justify-content: center; }
	.at-hero__badge { width: 140px; top: -8px; right: -8px; }
	.at-hero__bottom { order: 3; padding-top: 28px; width: 100%; }
	.at-hero__nav { flex-direction: column; flex-wrap: wrap; gap: 12px; width: 100%; justify-content: stretch; }
	.at-hero__nav-link { flex: none; width: 100%; justify-content: center; min-height: 48px; font-size: 16px; padding: 14px 20px; }

	.at-intro { padding: 0 16px 40px; }
	.at-intro__inner { grid-template-columns: 1fr; gap: 32px; }
	.at-intro__image { order: -1; }

	.at-review { padding: 48px 16px; }

	.at-effects { padding: 60px 16px 40px; }
	.at-effects__title { margin-bottom: 32px; }
	.at-effects__video { margin-bottom: 24px; }
	.at-effects__ctas { flex-direction: column; gap: 12px; }
	.at-effects__cta { width: 100%; max-width: 320px; text-align: center; box-sizing: border-box; }

	.at-images-quote { padding: 40px 16px 48px; }
	.at-images-quote__row { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
	.at-images-quote__quote-block { grid-template-columns: 1fr; gap: 0; text-align: center; padding: 24px; }
	.at-images-quote__quote-content { padding: 24px 24px 32px; }
	.at-images-quote__quote-photo { padding: 0; justify-content: center; }
	.at-images-quote__quote-headshot { width: 140px; height: 140px; border-radius: 12px; }
	.at-images-quote__quote-text { font-size: 16px; margin-bottom: 16px; }
	.at-images-quote__quote-name { font-size: 16px; }
	.at-images-quote__quote-title { font-size: 14px; }

	.at-journey { padding: 60px 16px; }
	.at-journey__intro { font-size: 16px; margin-bottom: 32px; }
	.at-journey__sections { gap: 36px; }
	.at-journey__section--image-left,
	.at-journey__section--image-right { grid-template-columns: 1fr; grid-template-areas: "img" "content"; gap: 20px; }
	.at-journey__section--image-right .at-journey__section-title,
	.at-journey__section--image-left .at-journey__section-title { text-align: left; }
	.at-journey__section-image img { max-height: 160px; }
	.at-journey__centralised { margin-top: 36px; }

	.at-specialist { padding: 60px 16px; }
	.at-specialist__inner { grid-template-columns: 1fr; gap: 32px; }
	.at-specialist__media { order: -1; max-width: 100%; }

	.at-features { padding: 60px 16px; overflow: visible; }
	.at-features__inner { width: 100%; max-width: 100%; box-sizing: border-box; }
	.at-features__intro { font-size: 16px; margin-bottom: 36px; }
	.at-features__phases { display: grid; grid-template-columns: 1fr; gap: 40px; width: 100%; margin-top: 0; }
	.at-features__phase { display: block; width: 100%; min-width: 0; }
	.at-features__phase-image { margin-bottom: 16px; }
	.at-features__phase-icon { max-width: 100%; height: auto; }
	.at-features__phase-title { margin-bottom: 12px; }
	.at-features__phase-text { font-size: 16px; }

	.at-withdrawals { padding: 60px 16px 48px; }
	.at-withdrawals__title { margin-bottom: 24px; }
	.at-withdrawals__intro { font-size: 16px; margin-bottom: 32px; }
	.at-withdrawals__grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
	.at-withdrawals__box { padding: 24px 20px; }
	.at-withdrawals__cta { padding: 16px 32px; font-size: 16px; }

	.at-family-support { padding: 60px 16px 48px; }
	.at-family-support__title { font-size: 28px; margin-bottom: 24px; }
	.at-family-support__content { font-size: 16px; margin-bottom: 28px; }
	.at-family-support__cta-wrap { margin-top: 32px; }
	.at-family-support__cta { width: 100%; max-width: 320px; padding: 16px 32px; font-size: 16px; }

	.addiction-treatment .faqs { padding: 60px 0; }
	.addiction-treatment .faqs__inner { padding: 0 16px; }
	.addiction-treatment .faqs__heading { font-size: 34px; margin-bottom: 40px; }
	.addiction-treatment .faqs__question { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 16px; gap: 16px; color: #767A4C; }
	.addiction-treatment .faqs__question-text { flex: 1; min-width: 0; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; overflow: visible; }
	.addiction-treatment .faqs__icon { flex-shrink: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; align-self: flex-start; font-size: 24px; }
	.addiction-treatment .faqs__item.active .faqs__answer { padding: 0 16px 20px 16px; }

	.at-bottom-cta { min-height: 0; }
	.at-bottom-cta__container { grid-template-columns: 1fr; }
	.at-bottom-cta__image { min-height: 260px; }
	.at-bottom-cta__content { padding: 36px 20px; }
	.at-bottom-cta__text, .at-bottom-cta__attributes { font-size: 16px; }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
	.at-hero__headline { font-size: 42px; }
	.at-intro__inner,
	.at-specialist__inner { gap: 40px; }
}

/* Small phones */
@media (max-width: 480px) {
	:root { --at-h2-size: 24px; --at-h3-size: 18px; }
	.at-hero__headline { font-size: 28px; }
	.at-hero__cta { padding: 14px 20px; font-size: 16px; }
	.at-quote__text { font-size: 16px; }
	.at-bottom-cta__content { padding: 28px 16px; }
	.at-centralised-copy { padding: 36px 16px 48px; }
	.at-centralised-copy__text { font-size: 16px; }
}
