/* ABA Training Center: site styles layered on theme.json tokens. */

:root {
	--abatc-mist: #F8FBFA;
	--abatc-sea: #259D91;
	--abatc-deep: #165B54;
	--abatc-ink: #17332F;
	--abatc-sage: #E4F1EE;
	--abatc-line: #CFE3DE;
	--abatc-muted: #4E6965;
	--abatc-radius-lg: 28px;
	--abatc-radius-md: 18px;
	--abatc-radius-sm: 12px;
	--abatc-shadow: 0 1px 2px rgba(22, 91, 84, .06), 0 12px 32px -12px rgba(22, 91, 84, .18);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--abatc-sea); color: #fff; }
:where(a, button, summary, input, select, textarea):focus-visible {
	outline: 3px solid var(--abatc-sea);
	outline-offset: 3px;
	border-radius: 6px;
}
img { height: auto; }
.wp-site-blocks { overflow-x: clip; }

/* Post content sits flush against header and footer. */
.wp-site-blocks > main { margin-block-start: 0; }
.abatc-designed > .entry-content > *:first-child,
.abatc-designed .wp-block-post-content > *:first-child { margin-block-start: 0; }
.abatc-designed .wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0; }

/* ---------- Header ---------- */
.abatc-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(248, 251, 250, .88);
	backdrop-filter: saturate(140%) blur(12px);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid var(--abatc-line);
}
.admin-bar .abatc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .abatc-header { top: 46px; } }
.abatc-header__inner { min-height: 76px; gap: 1.5rem; }
.abatc-brand { gap: .75rem; }
.abatc-brand .wp-block-site-logo img { width: 52px; height: 52px; }
.abatc-brand__name { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; font-size: 1.125rem; }
.abatc-brand__name a { color: var(--abatc-deep); text-decoration: none; }
.abatc-brand__tag { margin: 0; font-size: .8125rem; color: var(--abatc-muted); line-height: 1.2; }
.abatc-header .wp-block-navigation a { text-decoration: none; }
.abatc-header .wp-block-navigation .wp-block-navigation-item__content { padding: .35rem .1rem; }
.abatc-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover { color: var(--abatc-sea); }
.abatc-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--abatc-line) !important;
	border-radius: var(--abatc-radius-sm);
	box-shadow: var(--abatc-shadow);
	padding: .5rem !important;
	min-width: 230px !important;
	background: #fff !important;
}
.abatc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: .55rem .8rem !important; border-radius: 8px; font-weight: 500;
}
.abatc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--abatc-sage); color: var(--abatc-deep); }
.abatc-header__actions { gap: .6rem; }
.abatc-header__actions .wp-block-button__link { padding: .6rem 1.2rem; font-size: .95rem; white-space: nowrap; }
@media (max-width: 600px) { .abatc-header__actions .wp-block-button__link { padding: .5rem 1rem; } .abatc-brand__name { font-size: 1rem; } .abatc-brand .wp-block-site-logo img { width: 44px; height: 44px; } }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--abatc-deep); border: 2px solid currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--abatc-deep); color: #fff; border-color: var(--abatc-deep); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--abatc-mist) !important; padding: 1.5rem !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.15rem; }
@media (max-width: 1100px) {
	.abatc-brand__tag { display: none; }
}
@media (max-width: 600px) {
	.abatc-header__actions .is-style-outline { display: none; }
}

/* ---------- Sections ---------- */
.abatc-section { padding-block: var(--wp--preset--spacing--60); }
.abatc-section--tight { padding-block: var(--wp--preset--spacing--50); }
.abatc-bg-sage { background: var(--abatc-sage); }
.abatc-bg-white { background: #fff; }
.abatc-bg-deep { background: var(--abatc-deep); color: #EAF5F2; }
.abatc-bg-deep :where(h1, h2, h3, h4) { color: #fff; }
.abatc-bg-deep a:where(:not(.wp-element-button)) { color: #BDEBE3; }
.abatc-bg-deep .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: #fff; color: var(--abatc-deep); }
.abatc-bg-deep .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: var(--abatc-sage); }
.abatc-bg-deep .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }
.abatc-bg-deep .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--abatc-deep); border-color: #fff; }

.abatc-lead { font-size: var(--wp--preset--font-size--large); color: var(--abatc-muted); max-width: 62ch; line-height: 1.55; }
.abatc-bg-deep .abatc-lead { color: #CFE8E2; }
.abatc-kicker { font-weight: 700; color: var(--abatc-sea); margin-bottom: .5rem !important; font-size: 1rem; }
.abatc-bg-deep .abatc-kicker { color: #8FD9CD; }
.abatc-measure { max-width: 62ch; }
.abatc-head { max-width: 760px; margin-bottom: var(--wp--preset--spacing--50) !important; }
.abatc-head > * + * { margin-top: .75rem; }
.abatc-small { font-size: var(--wp--preset--font-size--small); color: var(--abatc-muted); }

/* ---------- Home hero ---------- */
.abatc-hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--wp--preset--spacing--60); }
.abatc-hero .wp-block-columns { gap: clamp(2rem, 5vw, 4.5rem); align-items: center !important; }
.abatc-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 13ch; margin-top: 0; }
.abatc-hero .abatc-lead { margin-block: 1.5rem 2rem; }
.abatc-hero__media { position: relative; align-self: center; }
.abatc-hero__media .wp-block-image { margin: 0; }
.abatc-hero__media .wp-block-image img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center;
	border-radius: 220px 220px var(--abatc-radius-lg) var(--abatc-radius-lg);
}
.abatc-hero__badge {
	position: absolute; left: -1.5rem; bottom: 2rem; margin: 0 !important;
	background: #fff; border-radius: var(--abatc-radius-md); box-shadow: var(--abatc-shadow);
	padding: 1rem 1.25rem; max-width: 260px; font-size: .95rem; line-height: 1.35; color: var(--abatc-ink);
}
.abatc-hero__badge strong { display: block; color: var(--abatc-deep); font-size: 1.05rem; }
.abatc-credline { display: flex; align-items: center; gap: .9rem; margin-top: 2rem !important; color: var(--abatc-muted); font-size: .95rem; }
@media (max-width: 781px) {
	.abatc-hero__media { order: -1; }
	.abatc-hero__media .wp-block-image img { aspect-ratio: 5 / 4; border-radius: var(--abatc-radius-lg); }
	.abatc-hero__badge { display: none; }
}

/* ---------- Inner page hero ---------- */
.abatc-pagehero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.abatc-pagehero:not(:has(.abatc-pagehero__img)) { padding-bottom: var(--wp--preset--spacing--50); }
.abatc-pagehero h1 { margin: 0; max-width: 18ch; }
.abatc-pagehero .abatc-lead { margin-top: 1rem; }
.abatc-pagehero__img { margin-top: var(--wp--preset--spacing--50) !important; margin-bottom: 0 !important; }
.abatc-pagehero__img img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: var(--abatc-radius-lg); display: block; }
@media (max-width: 600px) { .abatc-pagehero__img img { aspect-ratio: 4 / 3; } }
.abatc-crumb { font-size: .9rem; margin-bottom: 1rem !important; color: var(--abatc-muted); }
.abatc-crumb a { color: var(--abatc-sea); text-decoration: none; font-weight: 600; }

/* ---------- Facts ---------- */
.abatc-facts { gap: 0 !important; border-top: 2px solid var(--abatc-deep); }
.abatc-facts > .wp-block-column { padding: 1.5rem 1.5rem 0 0; }
.abatc-facts > .wp-block-column + .wp-block-column { padding-left: 1.5rem; border-left: 1px solid var(--abatc-line); }
.abatc-fact__num { font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--abatc-deep); margin: 0 !important; }
.abatc-fact__label { margin-top: .5rem !important; color: var(--abatc-muted); }
@media (max-width: 781px) {
	.abatc-facts > .wp-block-column + .wp-block-column { padding-left: 0; border-left: 0; border-top: 1px solid var(--abatc-line); }
}

/* ---------- Split (text + image) ---------- */
.abatc-split { gap: clamp(2rem, 5vw, 4.5rem) !important; align-items: center !important; }
.abatc-split > .wp-block-column > .wp-block-image img { border-radius: var(--abatc-radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.abatc-pair .wp-block-image img { border-radius: var(--abatc-radius-lg); width: 100%; object-fit: cover; }
.abatc-pair { gap: 1rem !important; }
.abatc-pair .wp-block-image { margin: 0; }
.abatc-pair .wp-block-image img { aspect-ratio: 3 / 4; }
.abatc-pair > .wp-block-column:last-child { margin-top: 3rem; }
@media (max-width: 781px) { .abatc-pair { flex-wrap: nowrap !important; } .abatc-pair > .wp-block-column { flex-basis: 50% !important; } .abatc-pair > .wp-block-column:last-child { margin-top: 1.5rem; } }

/* Columns that align to the top, with a sticky intro column */
.abatc-split.abatc-top { align-items: flex-start !important; }
@media (min-width: 782px) { .abatc-top > .wp-block-column:first-child { position: sticky; top: 110px; } }

/* Tick list */
.abatc-ticks { list-style: none; padding-left: 0; display: grid; gap: .7rem; }
.abatc-ticks li { position: relative; padding-left: 2rem; }
.abatc-ticks li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
	background: var(--abatc-sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.abatc-bg-deep .abatc-ticks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23165B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.abatc-ticks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
@media (max-width: 781px) { .abatc-ticks--two { grid-template-columns: 1fr; } }

/* ---------- Career ladder (the signature element) ---------- */
.abatc-ladder { gap: 1.25rem !important; align-items: flex-end !important; }
.abatc-step {
	position: relative; border-radius: var(--abatc-radius-lg); padding: 2rem 1.75rem 1.75rem;
	display: flex; flex-direction: column;
}
.abatc-step > * { margin-block: 0; }
.abatc-step > * + * { margin-top: .85rem; }
.abatc-step:nth-child(1) { background: #fff; border: 1px solid var(--abatc-line); min-height: 25rem; }
.abatc-step:nth-child(2) { background: var(--abatc-sage); min-height: 29rem; }
.abatc-step:nth-child(3) { background: var(--abatc-deep); color: #EAF5F2; min-height: 33rem; }
.abatc-step:nth-child(3) :where(h3, .abatc-step__num) { color: #fff; }
.abatc-step:nth-child(3) .abatc-step__level { color: #8FD9CD; }
.abatc-step:nth-child(3) a:where(:not(.wp-element-button)) { color: #BDEBE3; }
.abatc-step__num { font-size: 4.5rem; font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--abatc-sea); }
.abatc-step__level { font-weight: 700; color: var(--abatc-sea); font-size: .95rem; }
.abatc-step h3 { font-size: 2rem; margin-top: .25rem !important; }
.abatc-step .wp-block-buttons { margin-top: auto !important; padding-top: 1.25rem; }
.abatc-step:nth-child(3) .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: #fff; color: var(--abatc-deep); }
.abatc-step:nth-child(3) .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }
@media (max-width: 781px) {
	.abatc-step:nth-child(n) { min-height: 0; }
	.abatc-step:nth-child(2) { margin-left: 1rem; }
	.abatc-step:nth-child(3) { margin-left: 2rem; }
}

/* ---------- Quotes ---------- */
.abatc-quotes { gap: 1.25rem !important; }
.abatc-quotes > .wp-block-column { display: flex; flex-direction: column; }
.abatc-quotes > .wp-block-column > p:last-child { margin-top: auto; padding-top: 1rem; }
.abatc-quote { margin: 0; padding: 0 0 0 1.25rem !important; border-left: 3px solid var(--abatc-sea) !important; }
.abatc-quote p { font-size: 1.125rem; line-height: 1.55; color: var(--abatc-ink); }
.abatc-quote cite { display: block; margin-top: .75rem; font-style: normal; font-weight: 700; color: var(--abatc-deep); font-size: .95rem; }
.abatc-bigquote { margin: 0; padding: 0 !important; border: 0 !important; }
.abatc-bigquote p { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: inherit; }
.abatc-bigquote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; opacity: .8; }

/* ---------- Cards / tiles ---------- */
.abatc-tiles { gap: 1.25rem !important; }
.abatc-tile { background: #fff; border: 1px solid var(--abatc-line); border-radius: var(--abatc-radius-md); padding: 1.75rem; }
.abatc-tile > * { margin-block: 0; }
.abatc-tile > * + * { margin-top: .7rem; }
.abatc-tile h3 { font-size: 1.3rem; }
.abatc-bg-sage .abatc-tile { border-color: transparent; }
.abatc-tile--link { position: relative; transition: border-color .15s ease, transform .15s ease; }
.abatc-tile--link:hover { border-color: var(--abatc-sea); }
.abatc-tile--link a.abatc-stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.abatc-tile .wp-block-image img { border-radius: var(--abatc-radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.abatc-more { font-weight: 700; text-decoration: none !important; color: var(--abatc-sea) !important; }

/* Pricing */
.abatc-price { font-size: 2.75rem; font-weight: 800; letter-spacing: -.04em; color: var(--abatc-deep); line-height: 1; }
.abatc-price small, .abatc-price span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--abatc-muted); }
.abatc-strike { text-decoration: line-through; color: var(--abatc-muted); font-weight: 500; }

/* Logos / badges */
.abatc-logos { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: center; }
.abatc-logos .wp-block-image { margin: 0; }
.abatc-logos .wp-block-image img { max-height: 92px; width: auto; }
.abatc-badge-sm img { max-height: 64px !important; width: auto; }

/* ---------- People ---------- */
.abatc-people { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.5rem; }
.abatc-person { background: #fff; border: 1px solid var(--abatc-line); border-radius: var(--abatc-radius-md); padding: 1.25rem; }
.abatc-person > * { margin-block: 0; }
.abatc-person > * + * { margin-top: .6rem; }
.abatc-person .wp-block-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; border-radius: var(--abatc-radius-sm); }
.abatc-person h3 { font-size: 1.2rem; margin-top: 1rem !important; }
.abatc-person__role { color: var(--abatc-sea); font-weight: 700; font-size: .9rem; }
.abatc-person__links a { font-weight: 600; font-size: .9rem; }
.abatc-person .wp-block-details summary { font-weight: 700; color: var(--abatc-deep); cursor: pointer; }
.abatc-person .wp-block-details[open] summary { margin-bottom: .6rem; }
.abatc-person .wp-block-details p { font-size: .97rem; }

/* ---------- FAQ / details ---------- */
.abatc-faq { border-top: 1px solid var(--abatc-line); }
.abatc-faq .wp-block-details { border-bottom: 1px solid var(--abatc-line); margin: 0 !important; }
.abatc-faq summary {
	list-style: none; cursor: pointer; padding: 1.25rem 3rem 1.25rem 0; position: relative;
	font-weight: 700; font-size: 1.15rem; color: var(--abatc-deep); line-height: 1.35;
}
.abatc-faq summary::-webkit-details-marker { display: none; }
.abatc-faq summary::after {
	content: ""; position: absolute; right: .25rem; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -.8rem; border-radius: 50%;
	background: var(--abatc-sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%23165B54' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat;
	transition: transform .2s ease;
}
.abatc-faq details[open] summary::after { transform: rotate(45deg); }
.abatc-faq .wp-block-details > p { padding-bottom: 1.25rem; margin-top: 0; max-width: 70ch; }

/* ---------- Tables ---------- */
.abatc-table { overflow-x: auto; }
.abatc-table table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .95rem; background: #fff; border-radius: var(--abatc-radius-md); overflow: hidden; }
.abatc-table th { background: var(--abatc-deep); color: #fff; text-align: left; font-weight: 700; padding: .9rem 1rem; border: 0; }
.abatc-table td { padding: .85rem 1rem; border: 0; border-top: 1px solid var(--abatc-line); vertical-align: top; }
.abatc-table tr:nth-child(even) td { background: #FBFDFC; }
.abatc-table td:first-child { font-weight: 700; color: var(--abatc-deep); }

/* ---------- Timeline ---------- */
.abatc-timeline { list-style: none; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--abatc-sea); margin-left: .5rem; }
.abatc-timeline li { position: relative; padding: 0 0 1.5rem 1.75rem; }
.abatc-timeline li::before { content: ""; position: absolute; left: -.5rem; top: .35rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--abatc-mist); border: 3px solid var(--abatc-sea); }
.abatc-timeline strong { display: block; color: var(--abatc-deep); }

/* ---------- Link lists (resources) ---------- */
.abatc-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: .75rem; }
.abatc-links li { margin: 0; }
.abatc-links a {
	display: block; background: #fff; border: 1px solid var(--abatc-line); border-radius: var(--abatc-radius-sm);
	padding: 1rem 1.1rem; text-decoration: none; font-weight: 700; color: var(--abatc-deep); height: 100%;
}
.abatc-links a:hover { border-color: var(--abatc-sea); }
.abatc-links a span { display: block; font-weight: 400; color: var(--abatc-muted); font-size: .9rem; margin-top: .2rem; }

/* ---------- Events ---------- */
.abatc-event { background: #fff; border: 1px solid var(--abatc-line); border-radius: var(--abatc-radius-md); padding: 1.75rem; }
.abatc-event > * { margin-block: 0; }
.abatc-event > * + * { margin-top: .7rem; }
.abatc-event__meta { font-weight: 600; color: var(--abatc-sea); }
.abatc-placeholder { background: #FFF8E1; border: 1px dashed #E0B341; color: #6B5000; border-radius: 10px; padding: .6rem .8rem; font-size: .92rem; }

/* ---------- CTA band ---------- */
.abatc-cta { border-radius: var(--abatc-radius-lg); padding: clamp(2rem, 5vw, 3.5rem) !important; }
.abatc-cta h2 { max-width: 18ch; margin-top: 0; }

/* ---------- Contact ---------- */
.abatc-contact dl, .abatc-contactlist { margin: 0; }
.abatc-form .wpcf7 input:not([type=submit]), .abatc-form .wpcf7 textarea, .abatc-form .wpcf7 select {
	width: 100%; border: 1px solid var(--abatc-line); border-radius: 10px; padding: .8rem .9rem; font: inherit; background: #fff;
}
.abatc-form .wpcf7 input[type=submit] {
	background: var(--abatc-sea); color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.6rem; font: inherit; font-weight: 700; cursor: pointer;
}
.abatc-form .wpcf7 input[type=submit]:hover { background: var(--abatc-deep); }
.abatc-form .wpcf7 label { font-weight: 600; color: var(--abatc-deep); display: block; }

/* ---------- Footer ---------- */
.abatc-footer { background: var(--abatc-deep); color: #D6ECE7; padding-block: var(--wp--preset--spacing--60) 2rem; margin-block-start: 0 !important; }
.abatc-footer a { color: #fff; text-decoration: none; }
.abatc-footer a:hover { text-decoration: underline; }
.abatc-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; font-weight: 700; margin-bottom: 1rem; }
.abatc-footer .abatc-footer__big { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; max-width: 22ch; }
.abatc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.abatc-footer .wp-block-site-logo img { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 4px; }
.abatc-footer__base { border-top: 1px solid rgba(255,255,255,.18); margin-top: var(--wp--preset--spacing--50) !important; padding-top: 1.5rem; font-size: .9rem; gap: 1rem; }
.abatc-footer__base p { margin: 0; }
.abatc-footer__base p a + a { margin-left: 1.25rem; }

/* ---------- Classic templates (LMS) ---------- */
.abatc-classic-main { max-width: 1200px; margin-inline: auto; padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) 4rem; }
.abatc-page { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--wp--preset--spacing--60); }

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

/* ---------- Legacy Elementor pages ---------- */
/* Policy pages carry an inline "body { max-width: 850px }" style; keep the site chrome full width. */
body.elementor-template-full-width { max-width: none; margin: 0; padding: 0; font-family: var(--wp--preset--font-family--open-sauce-sans); color: var(--abatc-ink); }
body:is(.page-id-3422, .page-id-3430, .page-id-3449, .page-id-3415) .abatc-classic-main { max-width: 850px; }

/* ---------- Mobile menu (1.0.2) ---------- */
/* backdrop-filter on the header traps the fixed-position overlay menu; blur a pseudo-element instead. */
.abatc-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.abatc-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(248, 251, 250, .88); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); }
.abatc-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.25rem 1.5rem 2rem !important; }
.abatc-header .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 3rem !important; }
.abatc-header .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: 1.1rem !important; width: 100%; }
.abatc-header .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; width: 100%; }
.abatc-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-size: 1.25rem !important; font-weight: 700; color: var(--abatc-deep); }
.abatc-header .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; border-left: 2px solid var(--abatc-line) !important; box-shadow: none !important; background: transparent !important; padding: .35rem 0 0 1rem !important; min-width: 0 !important; gap: .15rem !important; margin-top: .35rem !important; }
.abatc-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1rem !important; font-weight: 500 !important; padding: .35rem .5rem !important; color: var(--abatc-ink); }
.abatc-header .is-menu-open .wp-block-navigation__responsive-container-close { top: 1.25rem; right: 1.25rem; }

/* ---------- People v2 (1.0.4): round photos, collapsible bios ---------- */
.abatc-people { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1.5rem; align-items: start; }
.abatc-person { text-align: center; padding: 2rem 1.5rem 1.6rem; border-radius: 24px; transition: border-color .15s ease, box-shadow .15s ease; }
.abatc-person:hover, .abatc-person:has(.abatc-bio[open]) { border-color: var(--abatc-sea); box-shadow: var(--abatc-shadow); }
.abatc-person .abatc-avatar { margin: 0 auto !important; width: 152px; }
.abatc-person .abatc-avatar img {
	width: 152px; height: 152px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%;
	border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--abatc-sea); display: block;
}
.abatc-person h3 { font-size: 1.15rem; line-height: 1.25; margin-top: 1.35rem !important; }
.abatc-person .abatc-person__role {
	display: inline-block; margin-top: .6rem !important; padding: .3rem .8rem; border-radius: 999px;
	background: var(--abatc-sage); color: var(--abatc-deep); font-size: .8rem; font-weight: 700; line-height: 1.3;
}
.abatc-person .abatc-bio { margin-top: 1.1rem !important; text-align: left; }
.abatc-person .abatc-bio summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: .45rem; width: max-content; margin-inline: auto;
	padding: .5rem 1.1rem; border: 2px solid var(--abatc-line); border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--abatc-deep);
}
.abatc-person .abatc-bio summary::-webkit-details-marker { display: none; }
.abatc-person .abatc-bio summary::after {
	content: ""; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.abatc-person .abatc-bio summary:hover { border-color: var(--abatc-sea); }
.abatc-person .abatc-bio[open] summary { background: var(--abatc-sage); border-color: var(--abatc-sage); margin-bottom: 1rem; }
.abatc-person .abatc-bio[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.abatc-person .abatc-bio p { font-size: .95rem; line-height: 1.6; margin: .7rem 0 0; }
.abatc-person .abatc-bio p:last-child a { font-weight: 700; }
.abatc-people > * { margin-block: 0 !important; }
