/*
Theme Name:     AHTBE 27
Theme URI:      https://ahtbe.ca
Author:         AHTBE Organising Committee
Description:    Design system for the 3rd International Conference on Advancement in Healthcare Technology and Biomedical Engineering (AHTBE 27), Vancouver, August 20-22, 2027. Child theme of Neve.
Template:       neve
Version:        1.0.3
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve-ahtbe27
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* Brand ------------------------------------------------------------ */
	--a-teal:        #0f5257;
	--a-teal-deep:   #0a3b3f;
	--a-teal-dark:   #072a2d;
	--a-teal-mid:    #16696f;
	--a-teal-tint:   #e6f0ef;
	--a-teal-tint-2: #d3e3e2;

	--a-amber:       #e8a33d;
	--a-amber-deep:  #c4801f;
	--a-amber-tint:  #fdf3e2;

	--a-ink:         #10201f;
	--a-ink-soft:    #455856;
	--a-ink-mute:    #6d7f7d;

	--a-ground:      #f7f5f0;
	--a-ground-2:    #efece4;
	--a-white:       #ffffff;
	--a-line:        #e3ded4;
	--a-line-soft:   #efebe3;

	--a-alert:       #b3391c;

	/* Typography ------------------------------------------------------- */
	--a-font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--a-font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--a-fs-hero:  clamp(2rem, 1.15rem + 3.6vw, 4.15rem);
	--a-fs-h1:    clamp(1.8rem, 1.2rem + 2.5vw, 3.1rem);
	--a-fs-h2:    clamp(1.5rem, 1.1rem + 1.75vw, 2.45rem);
	--a-fs-h3:    clamp(1.2rem, 1rem + 0.9vw, 1.65rem);
	--a-fs-h4:    clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
	--a-fs-body:  clamp(1rem, 0.97rem + 0.16vw, 1.075rem);
	--a-fs-small: 0.875rem;
	--a-fs-eyebrow: 0.78rem;

	/* Space & shape ---------------------------------------------------- */
	--a-container: 1320px;
	--a-gutter:    clamp(1.15rem, 0.6rem + 2.2vw, 2.5rem);
	--a-section-y: clamp(3rem, 1.8rem + 5vw, 6.5rem);
	--a-gap:       clamp(1rem, 0.6rem + 1.4vw, 1.9rem);

	--a-radius:    14px;
	--a-radius-lg: 22px;
	--a-radius-sm: 9px;

	--a-shadow:    0 1px 2px rgba(10, 59, 63, .05), 0 10px 26px -12px rgba(10, 59, 63, .17);
	--a-shadow-lg: 0 2px 4px rgba(10, 59, 63, .05), 0 26px 55px -22px rgba(10, 59, 63, .3);

	--a-ease: cubic-bezier(.22, .61, .36, 1);

	/* ---- Remap Neve's palette so every legacy has-*-color class,
	        button and link across the site adopts the AHTBE 27 identity. --- */
	--nv-primary-accent:   #0f5257;
	--nv-secondary-accent: #0a3b3f;
	--nv-site-bg:          #ffffff;
	--nv-light-bg:         #f7f5f0;
	--nv-dark-bg:          #0a3b3f;
	--nv-text-color:       #10201f;
	--nv-text-dark-bg:     #ffffff;
	--nv-c-1:              #e8a33d;
	--nv-c-2:              #c4801f;

	--wp--preset--color--neve-link-color:       #0f5257;
	--wp--preset--color--neve-link-hover-color: #c4801f;
	--wp--preset--color--neve-text-color:       #10201f;
	--wp--preset--color--nv-site-bg:            #ffffff;
	--wp--preset--color--nv-light-bg:           #f7f5f0;
	--wp--preset--color--nv-dark-bg:            #0a3b3f;
	--wp--preset--color--nv-text-dark-bg:       #ffffff;
	--wp--preset--color--nv-c-1:                #e8a33d;
	--wp--preset--color--nv-c-2:                #c4801f;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body.ahtbe27 {
	font-family: var(--a-font-body);
	font-size: var(--a-fs-body);
	line-height: 1.68;
	color: var(--a-ink);
	background: var(--a-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

.ahtbe27 h1,
.ahtbe27 h2,
.ahtbe27 h3,
.ahtbe27 h4,
.ahtbe27 h5,
.ahtbe27 h6 {
	font-family: var(--a-font-display);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -.018em;
	color: var(--a-teal-deep);
	margin: 0 0 .55em;
	text-wrap: balance;
}

.ahtbe27 h1 { font-size: var(--a-fs-h1); }
.ahtbe27 h2 { font-size: var(--a-fs-h2); }
.ahtbe27 h3 { font-size: var(--a-fs-h3); }
.ahtbe27 h4 { font-size: var(--a-fs-h4); }
.ahtbe27 h5 { font-size: 1.08rem; }
.ahtbe27 h6 { font-size: .98rem; }

.ahtbe27 p { margin: 0 0 1.15em; }
.ahtbe27 p:last-child { margin-bottom: 0; }

.ahtbe27 a {
	color: var(--a-teal);
	text-decoration-color: color-mix(in srgb, var(--a-teal) 32%, transparent);
	text-underline-offset: .18em;
	transition: color .2s var(--a-ease), text-decoration-color .2s var(--a-ease);
}
.ahtbe27 a:hover,
.ahtbe27 a:focus-visible {
	color: var(--a-amber-deep);
	text-decoration-color: currentColor;
}

.ahtbe27 a:focus-visible,
.ahtbe27 button:focus-visible,
.ahtbe27 input:focus-visible,
.ahtbe27 textarea:focus-visible,
.ahtbe27 select:focus-visible {
	outline: 3px solid var(--a-amber);
	outline-offset: 3px;
	border-radius: 3px;
}

.ahtbe27 img { max-width: 100%; height: auto; }

.ahtbe27 strong, .ahtbe27 b { font-weight: 650; }

.ahtbe27 ::selection { background: var(--a-amber); color: var(--a-teal-dark); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ahtbe27 *,
	.ahtbe27 *::before,
	.ahtbe27 *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* ==========================================================================
   3. Layout scaffolding
   ========================================================================== */

.ahtbe27 .container,
.ahtbe27 .container.single-page-container {
	max-width: var(--a-container);
	padding-left: var(--a-gutter);
	padding-right: var(--a-gutter);
}

.ahtbe27 .neve-main > .container { padding-top: 0; }

.ahtbe27 .nv-single-page-wrap { padding: 0; }

.ahtbe27 .nv-content-wrap.entry-content > * { margin-block: 0; }

/* Full-bleed sections escape Neve's container. */
.ahtbe27 .entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Hide the theme's default page title; every page carries its own header band. */
.ahtbe27-front .nv-page-title,
.ahtbe27 .nv-page-title-wrap.nv-big-title { display: none; }

/* --------------------------------------------------------------------------
   WordPress wraps the inner blocks of every group in an extra
   .wp-block-group__inner-container div. Dissolving it lets each component's
   own grid/flex layout apply to the real children.
   -------------------------------------------------------------------------- */

.ahtbe-dates > .wp-block-group__inner-container,
.ahtbe-grid > .wp-block-group__inner-container,
.ahtbe-logos > .wp-block-group__inner-container,
.ahtbe-gcard > .wp-block-group__inner-container,
.ahtbe-gcard__body > .wp-block-group__inner-container,
.ahtbe-date > .wp-block-group__inner-container,
.ahtbe-track > .wp-block-group__inner-container,
.ahtbe-person > .wp-block-group__inner-container,
.ahtbe-logo > .wp-block-group__inner-container,
.ahtbe-note > .wp-block-group__inner-container,
.ahtbe-head > .wp-block-group__inner-container,
.ahtbe-cta > .wp-block-group__inner-container,
.ahtbe-hero__body > .wp-block-group__inner-container,
.ahtbe-pagehead__inner > .wp-block-group__inner-container,
.ahtbe-footer__grid > .wp-block-group__inner-container {
	display: contents;
}

/* Full-bleed bands manage their own gutters; WordPress otherwise caps the
   inner wrapper at the global content size (1140px). */
/* Neve caps these with #content.neve-main .container .alignfull > [__inner-container],
   so this must match that selector's specificity to win. */
#content.neve-main .container .ahtbe-section > [class*="__inner-container"],
#content.neve-main .container .ahtbe-hero > [class*="__inner-container"],
#content.neve-main .container .ahtbe-pagehead > [class*="__inner-container"],
#content.neve-main .container .ahtbe-footer > [class*="__inner-container"],
.ahtbe-section > .wp-block-group__inner-container,
.ahtbe-hero > .wp-block-group__inner-container,
.ahtbe-pagehead > .wp-block-group__inner-container,
.ahtbe-footer > .wp-block-group__inner-container {
	max-width: none;
	width: 100%;
	padding-inline: 0;
	margin-inline: 0;
}

.ahtbe27 .ahtbe-section,
.ahtbe27 .ahtbe-hero,
.ahtbe27 .ahtbe-pagehead,
.ahtbe27 .ahtbe-footer {
	padding-inline: 0;
	max-width: none;
}

/* Grid children must not carry core's flow margins. */
.ahtbe-dates .ahtbe-date,
.ahtbe-grid > .wp-block-group__inner-container > *,
.ahtbe-logos .ahtbe-logo,
.ahtbe-grid .ahtbe-track,
.ahtbe-grid .ahtbe-gcard,
.ahtbe-grid .ahtbe-person,
.ahtbe-grid .ahtbe-card {
	margin-block: 0;
}

/* ==========================================================================
   4. Section primitives
   ========================================================================== */

.ahtbe-section {
	padding-block: var(--a-section-y);
	position: relative;
}
.ahtbe-section--tight { padding-block: calc(var(--a-section-y) * .62); }
.ahtbe-section--ground { background: var(--a-ground); }
.ahtbe-section--tint   { background: var(--a-teal-tint); }

.ahtbe-section--deep {
	background: var(--a-teal-deep);
	color: rgba(255, 255, 255, .84);
}
.ahtbe-section--deep h1,
.ahtbe-section--deep h2,
.ahtbe-section--deep h3,
.ahtbe-section--deep h4 { color: #fff; }
.ahtbe-section--deep a { color: var(--a-amber); }
.ahtbe-section--deep a:hover { color: #fff; }

.ahtbe-inner {
	max-width: var(--a-container);
	margin-inline: auto;
	padding-inline: var(--a-gutter);
}
.ahtbe-inner--narrow { max-width: 860px; }

/* Section heading group ---------------------------------------------------- */

.ahtbe-head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto clamp(2rem, 1.2rem + 2.4vw, 3.4rem);
}
.ahtbe-head--left { text-align: left; margin-inline: 0; }

.ahtbe-eyebrow {
	display: block;
	font-family: var(--a-font-body);
	font-size: var(--a-fs-eyebrow);
	font-weight: 650;
	letter-spacing: .17em;
	text-transform: uppercase;
	color: var(--a-amber-deep);
	margin: 0 0 .8rem;
}
.ahtbe-section--deep .ahtbe-eyebrow { color: var(--a-amber); }

.ahtbe-head h2,
.ahtbe-head h1 { margin-bottom: .5rem; }

.ahtbe-head p {
	color: var(--a-ink-soft);
	font-size: 1.05rem;
	margin: 0;
}
.ahtbe-section--deep .ahtbe-head p { color: rgba(255, 255, 255, .78); }

/* Decorative rule under a heading */
.ahtbe27 .wp-block-separator.ahtbe-rule,
.ahtbe27 hr.ahtbe-rule {
	width: 62px;
	max-width: 62px;
	height: 3px;
	border: 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--a-amber), var(--a-amber-deep));
	margin: 1rem auto 1.15rem;
	opacity: 1;
}
.ahtbe27 .ahtbe-head--left .ahtbe-rule { margin-inline: 0; }

/* ==========================================================================
   5. Site header + navigation
   ========================================================================== */

/* Neve paints its header/footer rows from local custom properties, so the
   palette is retargeted at the source rather than fought with overrides. */
.ahtbe27 .header-main,
.ahtbe27 .header-top,
.ahtbe27 .header-bottom {
	--bgcolor: var(--a-teal-deep);
	--color: #ffffff;
	--rowbcolor: var(--a-amber);
}

.ahtbe27 .header-menu-sidebar-bg {
	--bgcolor: var(--a-teal-deep);
	--color: #ffffff;
}

.ahtbe27 .hfg_header.site-header {
	background: var(--a-teal-deep);
	box-shadow: 0 1px 0 rgba(10, 59, 63, .06);
}

.ahtbe27 .header--row.header-main {
	border-bottom: 3px solid var(--a-amber);
}

.ahtbe27 .header--row-inner { min-height: 74px; }

/* The logo already carries the wordmark; keep the site title for assistive
   technology but out of the header layout, which the nav needs in full. */
.ahtbe27 .site-header .site-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.ahtbe27 .site-header .builder-item--logo { flex: 0 0 auto; }

.ahtbe27 .site-header .neve-site-logo img,
.ahtbe27 .site-header .site-logo img {
	max-height: 52px;
	min-width: 150px;
	width: auto;
	height: auto;
}

/* Desktop menu ------------------------------------------------------------- */

/* Neve wraps each top-level anchor in a .wrap div. */
.ahtbe27 .nv-nav-wrap {
	--color: #ffffff;
	--hovercolor: var(--a-amber);
	--activecolor: var(--a-amber);
}

.ahtbe27 .nv-nav-wrap .primary-menu-ul > li > .wrap > a,
.ahtbe27 .nv-nav-wrap .primary-menu-ul > li > a {
	font-family: var(--a-font-body);
	font-size: .93rem;
	font-weight: 550;
	letter-spacing: .012em;
	color: rgba(255, 255, 255, .92);
	text-transform: uppercase;
	padding: .55rem .2rem;
	position: relative;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	white-space: nowrap;
}

.ahtbe27 .nv-nav-wrap .primary-menu-ul > li { margin-inline: .42rem; }

/* The primary menu carries eight top-level items; keep it on one line. */
.ahtbe27 .builder-item--primary-menu { --spacing: 12px; }
.ahtbe27 .nv-nav-wrap .primary-menu-ul { flex-wrap: nowrap; }

/* Nine top-level items no longer fit below ~1180px, so the drawer takes over
   there instead of at Neve's default 960px breakpoint. */
@media (min-width: 960px) and (max-width: 1179px) {
	.ahtbe27 .header--row.hide-on-desktop { display: block; }
	.ahtbe27 .header--row.hide-on-tablet { display: none; }
}

@media (min-width: 1180px) and (max-width: 1400px) {
	.ahtbe27 .nv-nav-wrap .primary-menu-ul > li > .wrap > a { font-size: .81rem; }
	.ahtbe27 .nv-nav-wrap .primary-menu-ul > li { margin-inline: .24rem; }
	.ahtbe27 .site-header .neve-site-logo img,
	.ahtbe27 .site-header .site-logo img { min-width: 118px; max-height: 44px; }
}

.ahtbe27 .nv-nav-wrap .primary-menu-ul > li > .wrap > a::after,
.ahtbe27 .nv-nav-wrap .primary-menu-ul > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--a-amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .26s var(--a-ease);
}
.ahtbe27 .nv-nav-wrap .primary-menu-ul > li:hover > .wrap > a::after,
.ahtbe27 .nv-nav-wrap .primary-menu-ul > li.current-menu-item > .wrap > a::after,
.ahtbe27 .nv-nav-wrap .primary-menu-ul > li.current-menu-ancestor > .wrap > a::after,
.ahtbe27 .nv-nav-wrap .primary-menu-ul > li.nv-active > .wrap > a::after {
	transform: scaleX(1);
}

.ahtbe27 .nv-nav-wrap .primary-menu-ul > li:hover > .wrap > a,
.ahtbe27 .nv-nav-wrap .primary-menu-ul > li.current-menu-item > .wrap > a,
.ahtbe27 .nv-nav-wrap .primary-menu-ul > li.nv-active > .wrap > a {
	color: var(--a-amber);
}

/* Dropdown caret */
.ahtbe27 .nv-nav-wrap .caret svg,
.ahtbe27 .nv-nav-wrap .caret-wrap svg { fill: currentColor; }

/* Dropdowns ---------------------------------------------------------------- */

.ahtbe27 .primary-menu-ul .sub-menu {
	background: #fff;
	border: 1px solid var(--a-line);
	border-top: 3px solid var(--a-amber);
	border-radius: 0 0 var(--a-radius-sm) var(--a-radius-sm);
	box-shadow: var(--a-shadow-lg);
	padding: .4rem 0;
	min-width: 232px;
}

.ahtbe27 .primary-menu-ul .sub-menu { --color: var(--a-teal-deep); --spacing: 0px; }
.ahtbe27 .primary-menu-ul .sub-menu li {
	margin: 0;
	width: 100%;
}
/* Neve pads both .wrap and the anchor; keep the padding on the anchor only. */
.ahtbe27 .primary-menu-ul .sub-menu li .wrap {
	width: 100%;
	padding: 0;
}

.ahtbe27 .primary-menu-ul .sub-menu li .wrap > a,
.ahtbe27 .primary-menu-ul .sub-menu li > a {
	color: var(--a-teal-deep);
	font-size: .9rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	padding: .62rem 1.1rem;
	display: block;
	text-decoration: none;
	transition: background .18s var(--a-ease), color .18s var(--a-ease), padding-left .18s var(--a-ease);
}
.ahtbe27 .primary-menu-ul .sub-menu li .wrap > a:hover,
.ahtbe27 .primary-menu-ul .sub-menu li > a:hover {
	background: var(--a-teal-tint);
	color: var(--a-teal);
	padding-left: 1.35rem;
}

.ahtbe27 .primary-menu-ul .sub-menu li a::after { display: none; }

/* Mobile drawer ------------------------------------------------------------ */

.ahtbe27 .navbar-toggle .bars .icon-bar { background-color: #fff; }

.ahtbe27 .header-menu-sidebar-inner {
	background: var(--a-teal-deep);
}
.ahtbe27 .header-menu-sidebar .nav-ul li a {
	color: rgba(255, 255, 255, .92);
	font-family: var(--a-font-body);
	font-weight: 550;
	font-size: 1rem;
	padding: .85rem .2rem;
	border-bottom: 1px solid rgba(255, 255, 255, .09);
	text-decoration: none;
}
.ahtbe27 .header-menu-sidebar .nav-ul li a:hover { color: var(--a-amber); }
.ahtbe27 .header-menu-sidebar .sub-menu {
	background: rgba(0, 0, 0, .16);
	border: 0;
	box-shadow: none;
	border-radius: 0;
	padding-left: .8rem;
}
.ahtbe27 .header-menu-sidebar .sub-menu li a { color: rgba(255, 255, 255, .82); font-size: .94rem; }
.ahtbe27 .header-menu-sidebar .sub-menu li a:hover { background: transparent; color: var(--a-amber); padding-left: .2rem; }
/* The caret is an inline SVG: tint the glyph, never its box. */
.ahtbe27 .header-menu-sidebar .caret-wrap svg,
.ahtbe27 .header-menu-sidebar .caret svg {
	fill: #fff;
	background: transparent;
}
.ahtbe27 .header-menu-sidebar .caret-wrap,
.ahtbe27 .header-menu-sidebar .caret {
	background: transparent;
	border: 0;
}
.ahtbe27 .header-menu-sidebar .navbar-toggle .bars .icon-bar { background-color: #fff; }

.ahtbe27 .close-sidebar-panel .navbar-toggle {
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 8px;
	background: transparent;
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.ahtbe27 .wp-block-button__link,
.ahtbe27 .wp-element-button,
.ahtbe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	font-family: var(--a-font-body);
	font-size: .95rem;
	font-weight: 650;
	letter-spacing: .012em;
	line-height: 1.2;
	text-transform: none;
	padding: .92rem 1.75rem;
	border-radius: 999px;
	border: 2px solid transparent;
	background: var(--a-amber);
	color: var(--a-teal-dark);
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s var(--a-ease), box-shadow .2s var(--a-ease),
	            background-color .2s var(--a-ease), color .2s var(--a-ease), border-color .2s var(--a-ease);
	box-shadow: 0 2px 0 rgba(10, 59, 63, .12);
}

.ahtbe27 .wp-block-button__link:hover,
.ahtbe27 .wp-element-button:hover,
.ahtbe-btn:hover {
	background: #f2b45a;
	color: var(--a-teal-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px -10px rgba(196, 128, 31, .75);
}

/* Outline / secondary */
.ahtbe27 .is-style-outline .wp-block-button__link,
.ahtbe-btn--ghost {
	background: transparent;
	border-color: currentColor;
	color: var(--a-teal);
	box-shadow: none;
}
.ahtbe27 .is-style-outline .wp-block-button__link:hover,
.ahtbe-btn--ghost:hover {
	background: var(--a-teal);
	border-color: var(--a-teal);
	color: #fff;
}

/* On dark backgrounds */
.ahtbe-on-dark .ahtbe-btn--ghost,
.ahtbe-section--deep .ahtbe-btn--ghost,
.ahtbe-hero .ahtbe-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, .55);
}
.ahtbe-on-dark .ahtbe-btn--ghost:hover,
.ahtbe-section--deep .ahtbe-btn--ghost:hover,
.ahtbe-hero .ahtbe-btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--a-teal-deep);
}

.ahtbe-btnrow {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	align-items: center;
}
.ahtbe-btnrow--center { justify-content: center; }

/* ==========================================================================
   7. Hero (front page)
   ========================================================================== */

.ahtbe-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: center;
	min-height: clamp(500px, 74vh, 760px);
	padding-block: clamp(3.5rem, 2rem + 8vw, 7rem);
	background-color: var(--a-teal-dark);
	background-size: cover;
	background-position: center 32%;
	color: #fff;
	overflow: hidden;
}

.ahtbe-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(100deg, rgba(6, 36, 39, .94) 0%, rgba(8, 48, 52, .82) 38%, rgba(12, 68, 73, .42) 72%, rgba(14, 78, 83, .2) 100%),
		radial-gradient(120% 90% at 90% 10%, rgba(232, 163, 61, .2) 0%, transparent 60%);
}

/* Hero type sits on dark artwork, so it overrides the global heading colour. */
.ahtbe27 .ahtbe-hero h1,
.ahtbe27 .ahtbe-hero h2,
.ahtbe27 .ahtbe-hero h3,
.ahtbe27 .ahtbe-hero .ahtbe-hero__title,
.ahtbe27 .ahtbe-pagehead h1,
.ahtbe27 .ahtbe-pagehead h2,
.ahtbe27 .ahtbe-cta h2,
.ahtbe27 .ahtbe-section--deep h2,
.ahtbe27 .ahtbe-section--deep h3 {
	color: #fff;
}

.ahtbe27 .ahtbe-hero p,
.ahtbe27 .ahtbe-pagehead p { color: rgba(255, 255, 255, .88); }

.ahtbe27 .ahtbe-hero .ahtbe-hero__kicker { color: var(--a-amber); }

/* Outline buttons standing on dark artwork. */
.ahtbe27 .ahtbe-hero .is-style-outline .wp-block-button__link,
.ahtbe27 .ahtbe-pagehead .is-style-outline .wp-block-button__link,
.ahtbe27 .ahtbe-cta .is-style-outline .wp-block-button__link,
.ahtbe27 .ahtbe-section--deep .is-style-outline .wp-block-button__link {
	color: #fff;
	border-color: rgba(255, 255, 255, .6);
	background: transparent;
}
.ahtbe27 .ahtbe-hero .is-style-outline .wp-block-button__link:hover,
.ahtbe27 .ahtbe-pagehead .is-style-outline .wp-block-button__link:hover,
.ahtbe27 .ahtbe-cta .is-style-outline .wp-block-button__link:hover,
.ahtbe27 .ahtbe-section--deep .is-style-outline .wp-block-button__link:hover {
	background: #fff;
	border-color: #fff;
	color: var(--a-teal-deep);
}

/* Fine grid texture */
.ahtbe-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: .16;
	background-image:
		linear-gradient(rgba(255, 255, 255, .28) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .28) 1px, transparent 1px);
	background-size: 76px 76px;
	mask-image: radial-gradient(85% 70% at 72% 42%, #000 0%, transparent 78%);
	-webkit-mask-image: radial-gradient(85% 70% at 72% 42%, #000 0%, transparent 78%);
}

/* Hero artwork. Swap this one URL to change the front-page background. */
.ahtbe-hero {
	background-image: url("/wp-content/uploads/2025/02/AHTBE_Medical_AI_9.jpg");
}

.ahtbe-hero__inner {
	position: relative;
	max-width: var(--a-container);
	margin-inline: auto;
	padding-inline: var(--a-gutter);
	width: 100%;
}

.ahtbe-hero__body { max-width: 940px; }

.ahtbe-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-size: var(--a-fs-eyebrow);
	font-weight: 650;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--a-amber);
	margin-bottom: 1.15rem;
}
.ahtbe-hero__kicker::before {
	content: "";
	width: 34px;
	height: 2px;
	background: var(--a-amber);
	border-radius: 2px;
}

.ahtbe-hero__title {
	font-family: var(--a-font-display);
	font-size: var(--a-fs-hero);
	font-weight: 800;
	line-height: 1.03;
	letter-spacing: -.032em;
	color: #fff;
	margin: 0 0 .45rem;
	text-wrap: balance;
}

/* The short-form conference designation, set as a rule-flanked badge. */
.ahtbe-hero__full {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	font-family: var(--a-font-display);
	font-size: clamp(1.05rem, .92rem + .55vw, 1.5rem);
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.2;
	color: var(--a-amber);
	margin: .35rem 0 1.75rem;
}
.ahtbe-hero__full::after {
	content: "";
	width: clamp(40px, 8vw, 96px);
	height: 1px;
	background: rgba(255, 255, 255, .35);
}

/* Meta chips */
.ahtbe-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}
.ahtbe-hero__meta li {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .22);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 999px;
	padding: .5rem 1.05rem;
	font-size: .9rem;
	font-weight: 550;
	color: #fff;
}
.ahtbe-hero__meta li strong { font-weight: 700; color: var(--a-amber); }

/* ==========================================================================
   8. Page header band (inner pages)
   ========================================================================== */

.ahtbe-pagehead {
	position: relative;
	isolation: isolate;
	padding-block: clamp(2.75rem, 1.8rem + 4.5vw, 5.25rem);
	background-color: var(--a-teal-deep);
	background-size: cover;
	background-position: center 38%;
	color: #fff;
	overflow: hidden;
	border-bottom: 3px solid var(--a-amber);
}
.ahtbe-pagehead::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(7, 42, 45, .95) 0%, rgba(10, 59, 63, .88) 46%, rgba(15, 82, 87, .7) 100%);
}
.ahtbe-pagehead__inner {
	max-width: var(--a-container);
	margin-inline: auto;
	padding-inline: var(--a-gutter);
}
.ahtbe-pagehead h1 {
	color: #fff;
	font-size: var(--a-fs-h1);
	margin: 0 0 .55rem;
}
.ahtbe-pagehead p {
	color: rgba(255, 255, 255, .82);
	max-width: 62ch;
	margin: 0;
	font-size: 1.03rem;
}
.ahtbe-pagehead .ahtbe-eyebrow { color: var(--a-amber); }

/* Per-page header artwork. */
.ahtbe-pagehead--team      { background-image: url("/wp-content/uploads/2025/09/IMG_8175-scaled.jpg"); }
.ahtbe-pagehead--submit    { background-image: url("/wp-content/uploads/2025/02/AHTBE_Medical_AI_8.jpg"); }
.ahtbe-pagehead--papers    { background-image: url("/wp-content/uploads/2025/02/AHTBE_Medical_AI_7.jpg"); }
.ahtbe-pagehead--program   { background-image: url("/wp-content/uploads/2025/09/IMG_8204-scaled.jpg"); }
.ahtbe-pagehead--publish   { background-image: url("/wp-content/uploads/2025/02/AHTBE_Medical_AI_4.jpg"); }
.ahtbe-pagehead--register  { background-image: url("/wp-content/uploads/2025/02/AHTBE_Medical_AI_9.jpg"); }
.ahtbe-pagehead--venue     { background-image: url("/wp-content/uploads/2025/02/Aerial-Sunset-Vancouver_2000.jpg"); }
.ahtbe-pagehead--visa      { background-image: url("/wp-content/uploads/2025/02/AHTBE_Van_Au.jpg"); }
.ahtbe-pagehead--sponsors  { background-image: url("/wp-content/uploads/2025/09/IMG_8233-scaled.jpg"); }
.ahtbe-pagehead--contact   { background-image: url("/wp-content/uploads/2025/02/Aerial-Sunset-Vancouver_2000.jpg"); }

/* ==========================================================================
   9. Important dates
   ========================================================================== */

/* Six milestones read best as two rows of three. */
.ahtbe-dates {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--a-gap);
}
@media (min-width: 620px)  { .ahtbe-dates { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px)  { .ahtbe-dates { grid-template-columns: repeat(3, 1fr); } }

.ahtbe-date {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	background: #fff;
	border: 1px solid var(--a-line);
	border-radius: var(--a-radius);
	padding: 1.7rem 1.35rem 1.5rem;
	text-align: center;
	overflow: hidden;
	transition: transform .24s var(--a-ease), box-shadow .24s var(--a-ease), border-color .24s var(--a-ease);
}
.ahtbe-date::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--a-amber), var(--a-amber-deep));
}
.ahtbe-date:hover {
	transform: translateY(-4px);
	box-shadow: var(--a-shadow-lg);
	border-color: var(--a-teal-tint-2);
}

/* Reserve two lines so every date value lands on the same baseline. */
.ahtbe-date__label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.9em;
	font-size: .76rem;
	font-weight: 650;
	letter-spacing: .13em;
	line-height: 1.35;
	text-transform: uppercase;
	color: var(--a-ink-mute);
	margin: 0 0 .7rem;
}
.ahtbe-date__value {
	display: block;
	font-family: var(--a-font-display);
	font-size: 1.22rem;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--a-teal-deep);
	line-height: 1.25;
}
.ahtbe-date__note {
	display: inline-block;
	align-self: center;
	margin-top: .6rem;
	font-size: .74rem;
	font-weight: 650;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--a-amber-deep);
	background: var(--a-amber-tint);
	border-radius: 999px;
	padding: .2rem .7rem;
}
.ahtbe-date--open .ahtbe-date__note { color: #10604a; background: #e2f3ec; }

/* ==========================================================================
   10. Cards & grids
   ========================================================================== */

.ahtbe-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: var(--a-gap);
}
.ahtbe-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.ahtbe-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); }

.ahtbe-card {
	background: #fff;
	border: 1px solid var(--a-line);
	border-radius: var(--a-radius);
	padding: 1.75rem;
	transition: transform .24s var(--a-ease), box-shadow .24s var(--a-ease), border-color .24s var(--a-ease);
}
.ahtbe-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--a-shadow);
	border-color: var(--a-teal-tint-2);
}
.ahtbe-card h3 { margin-bottom: .55rem; }
.ahtbe-card p { color: var(--a-ink-soft); }

/* Gallery card (past-conference highlights) ------------------------------- */

.ahtbe-gcard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--a-line);
	border-radius: var(--a-radius);
	overflow: hidden;
	transition: transform .26s var(--a-ease), box-shadow .26s var(--a-ease);
}
.ahtbe-gcard:hover { transform: translateY(-5px); box-shadow: var(--a-shadow-lg); }

.ahtbe-gcard__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--a-teal-tint);
}
.ahtbe-gcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .55s var(--a-ease);
}
.ahtbe-gcard:hover .ahtbe-gcard__media img { transform: scale(1.055); }

.ahtbe-gcard__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(7, 42, 45, .6) 0%, rgba(7, 42, 45, .06) 45%, transparent 70%);
}

.ahtbe-gcard__tag {
	position: absolute;
	top: .85rem;
	left: .85rem;
	z-index: 2;
	background: var(--a-amber);
	color: var(--a-teal-dark);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: .3rem .72rem;
}

.ahtbe-gcard__body {
	padding: 1.35rem 1.4rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.ahtbe-gcard__body h3 {
	font-size: 1.16rem;
	margin: 0 0 .5rem;
}
.ahtbe-gcard__body h3 a {
	color: var(--a-teal-deep);
	text-decoration: none;
}
.ahtbe-gcard__body h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
}
.ahtbe-gcard:hover .ahtbe-gcard__body h3 a { color: var(--a-teal); }

.ahtbe-gcard__body p {
	color: var(--a-ink-soft);
	font-size: .95rem;
	line-height: 1.6;
	margin: 0 0 1.1rem;
}

.ahtbe27 .ahtbe-gcard .ahtbe-gcard__more {
	margin: auto 0 0;
	font-size: .84rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--a-amber-deep);
	display: inline-flex;
	align-items: center;
	gap: .45rem;
}
.ahtbe-gcard__more::after {
	content: "→";
	transition: transform .24s var(--a-ease);
}
.ahtbe-gcard:hover .ahtbe-gcard__more::after { transform: translateX(4px); }

/* Track cards -------------------------------------------------------------- */

.ahtbe-track {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--a-line);
	border-radius: var(--a-radius);
	padding: 1.75rem 1.6rem 1.6rem;
	height: 100%;
	transition: transform .24s var(--a-ease), box-shadow .24s var(--a-ease), border-color .24s var(--a-ease);
}
.ahtbe-track:hover {
	transform: translateY(-3px);
	box-shadow: var(--a-shadow);
	border-color: var(--a-teal-tint-2);
}
.ahtbe-track__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--a-teal-tint);
	color: var(--a-teal);
	font-family: var(--a-font-display);
	font-size: 1.02rem;
	font-weight: 800;
	margin-bottom: 1rem;
}
.ahtbe-track h3 {
	font-size: 1.1rem;
	line-height: 1.28;
	margin-bottom: .85rem;
}
.ahtbe-track ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ahtbe-track li {
	position: relative;
	padding-left: 1.15rem;
	margin-bottom: .42rem;
	font-size: .93rem;
	line-height: 1.5;
	color: var(--a-ink-soft);
}
.ahtbe-track li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--a-amber);
}

/* Card actions sit on a common baseline across a row of cards. */
.ahtbe27 .ahtbe-track .wp-block-buttons,
.ahtbe27 .ahtbe-card > .wp-block-group__inner-container > .wp-block-buttons:last-child {
	margin-top: auto;
	padding-top: 1.35rem;
}
.ahtbe27 .ahtbe-track .wp-block-button__link { width: 100%; }

/* People (committee / speakers) ------------------------------------------- */

.ahtbe-person {
	background: #fff;
	border: 1px solid var(--a-line);
	border-radius: var(--a-radius);
	padding: 1.75rem 1.35rem;
	text-align: center;
	transition: transform .24s var(--a-ease), box-shadow .24s var(--a-ease), border-color .24s var(--a-ease);
}
.ahtbe-person:hover {
	transform: translateY(-3px);
	box-shadow: var(--a-shadow);
	border-color: var(--a-teal-tint-2);
}
.ahtbe-person img,
.ahtbe-person .wp-block-image img {
	width: 132px;
	height: 132px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto .95rem;
	display: block;
	border: 3px solid var(--a-white);
	box-shadow: 0 0 0 2px var(--a-teal-tint-2);
}
.ahtbe-person h3,
.ahtbe-person h4 {
	font-size: 1.06rem;
	margin: 0 0 .3rem;
}
.ahtbe-person p {
	font-size: .9rem;
	line-height: 1.55;
	color: var(--a-ink-soft);
	margin: 0;
}
/* Role label, used in person cards and in the contact cards. */
.ahtbe27 .ahtbe-person__role {
	color: var(--a-amber-deep);
	font-weight: 650;
	font-size: .84rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: .4rem;
}

/* Logo wall ---------------------------------------------------------------- */

.ahtbe-logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
	gap: var(--a-gap);
	align-items: stretch;
}
.ahtbe-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .9rem;
	text-align: center;
	background: #fff;
	border: 1px solid var(--a-line);
	border-radius: var(--a-radius);
	padding: 1.6rem 1.2rem;
	min-height: 172px;
	transition: transform .24s var(--a-ease), box-shadow .24s var(--a-ease), border-color .24s var(--a-ease);
}
.ahtbe-logo:hover {
	transform: translateY(-3px);
	box-shadow: var(--a-shadow);
	border-color: var(--a-teal-tint-2);
}
.ahtbe-logo img {
	max-height: 74px;
	width: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .78;
	transition: filter .28s var(--a-ease), opacity .28s var(--a-ease);
}
.ahtbe-logo:hover img { filter: grayscale(0); opacity: 1; }
.ahtbe-logo span,
.ahtbe-logo p {
	font-size: .85rem;
	line-height: 1.45;
	color: var(--a-ink-soft);
	margin: 0;
}

/* ==========================================================================
   11. Callouts
   ========================================================================== */

.ahtbe-note {
	background: var(--a-teal-tint);
	border: 1px solid var(--a-teal-tint-2);
	border-left: 4px solid var(--a-teal);
	border-radius: var(--a-radius-sm);
	padding: 1.3rem 1.5rem;
	color: var(--a-ink);
}
.ahtbe-note--amber {
	background: var(--a-amber-tint);
	border-color: #f2ddb6;
	border-left-color: var(--a-amber);
}
.ahtbe-note p:last-child { margin-bottom: 0; }

/* CTA band ----------------------------------------------------------------- */

.ahtbe-cta {
	position: relative;
	isolation: isolate;
	background: var(--a-teal-deep);
	color: #fff;
	border-radius: var(--a-radius-lg);
	padding: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
	overflow: hidden;
	text-align: center;
}
.ahtbe-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(80% 130% at 88% 8%, rgba(232, 163, 61, .3) 0%, transparent 60%);
}
.ahtbe-cta h2 { color: #fff; }
.ahtbe-cta p {
	color: rgba(255, 255, 255, .82);
	max-width: 62ch;
	margin-inline: auto;
}

/* Inline links inside the dark CTA band (buttons keep their own styling). */
.ahtbe-cta a:not(.wp-block-button__link):not(.ahtbe-btn) {
	color: var(--a-amber);
	text-decoration-color: color-mix(in srgb, var(--a-amber) 45%, transparent);
}
.ahtbe-cta a:not(.wp-block-button__link):not(.ahtbe-btn):hover,
.ahtbe-cta a:not(.wp-block-button__link):not(.ahtbe-btn):focus-visible {
	color: #fff;
	text-decoration-color: currentColor;
}

/* ==========================================================================
   12. Tables (registration & fees)
   ========================================================================== */

.ahtbe-tablewrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: var(--a-radius);
	border: 1px solid var(--a-line);
	background: #fff;
}

.ahtbe27 .ahtbe-table,
.ahtbe27 .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
	background: #fff;
}

.ahtbe27 .ahtbe-table thead th,
.ahtbe27 .wp-block-table thead th {
	background: var(--a-teal-deep);
	color: #fff;
	font-family: var(--a-font-display);
	font-size: .82rem;
	font-weight: 650;
	letter-spacing: .09em;
	text-transform: uppercase;
	text-align: left;
	padding: .95rem 1.1rem;
	border: 0;
}

.ahtbe27 .ahtbe-table td,
.ahtbe27 .wp-block-table td {
	padding: .92rem 1.1rem;
	border: 0;
	border-bottom: 1px solid var(--a-line-soft);
	vertical-align: middle;
	color: var(--a-ink);
}

.ahtbe27 .ahtbe-table tbody tr:nth-child(even),
.ahtbe27 .wp-block-table tbody tr:nth-child(even) { background: var(--a-ground); }

.ahtbe27 .ahtbe-table tbody tr:hover,
.ahtbe27 .wp-block-table tbody tr:hover { background: var(--a-teal-tint); }

.ahtbe27 .ahtbe-table tbody tr:last-child td { border-bottom: 0; }

/* Deadline column + amount column emphasis */
.ahtbe27 .ahtbe-table td:nth-child(2) {
	font-weight: 600;
	color: var(--a-amber-deep);
	white-space: nowrap;
}
.ahtbe27 .ahtbe-table td:nth-child(3) {
	font-family: var(--a-font-display);
	font-weight: 700;
	color: var(--a-teal-deep);
	white-space: nowrap;
}

.ahtbe27 .wp-block-table {
	margin: 0;
	background: #fff;
	border: 1px solid var(--a-line);
	border-radius: var(--a-radius);
	overflow: hidden;
}
@media (max-width: 700px) {
	.ahtbe27 .wp-block-table { border-radius: var(--a-radius-sm); }
}
.ahtbe27 .wp-block-table figcaption {
	font-size: .85rem;
	color: var(--a-ink-mute);
	margin-top: .7rem;
	text-align: left;
}

/* Stack tables into cards on small screens. */
@media (max-width: 700px) {
	.ahtbe27 .ahtbe-table,
	.ahtbe27 .ahtbe-table tbody,
	.ahtbe27 .ahtbe-table tr,
	.ahtbe27 .ahtbe-table td { display: block; width: 100%; }

	.ahtbe27 .ahtbe-table thead { display: none; }

	.ahtbe27 .ahtbe-table tr {
		border-bottom: 1px solid var(--a-line);
		padding: .35rem 0;
	}
	.ahtbe27 .ahtbe-table tbody tr:nth-child(even) { background: var(--a-ground); }

	.ahtbe27 .ahtbe-table td {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 1rem;
		border-bottom: 0;
		padding: .5rem 1rem;
		text-align: right;
	}
	.ahtbe27 .ahtbe-table td::before {
		content: attr(data-label);
		font-size: .72rem;
		font-weight: 700;
		letter-spacing: .09em;
		text-transform: uppercase;
		color: var(--a-ink-mute);
		text-align: left;
		flex: 0 0 auto;
	}
	.ahtbe27 .ahtbe-table td:first-child {
		font-family: var(--a-font-display);
		font-weight: 700;
		color: var(--a-teal-deep);
		display: block;
		text-align: left;
		padding-top: .9rem;
	}
	.ahtbe27 .ahtbe-table td:first-child::before { display: none; }

	/* Column labels for the fee tables, which all share Category/Deadline/Amount. */
	.ahtbe-table--fees td:nth-child(2)::before { content: "Deadline"; }
	.ahtbe-table--fees td:nth-child(3)::before { content: "Amount (USD)"; }
}

/* ==========================================================================
   13. Content-level block polish
   ========================================================================== */

.ahtbe27 .entry-content ul,
.ahtbe27 .entry-content ol { padding-left: 1.35rem; }

.ahtbe27 .entry-content li { margin-bottom: .4rem; }

.ahtbe27 .entry-content blockquote,
.ahtbe27 .wp-block-quote {
	border-left: 4px solid var(--a-amber);
	background: var(--a-ground);
	border-radius: 0 var(--a-radius-sm) var(--a-radius-sm) 0;
	margin: 1.8rem 0;
	padding: 1.25rem 1.5rem;
	font-style: normal;
	color: var(--a-ink);
}
.ahtbe27 .wp-block-quote cite {
	display: block;
	margin-top: .7rem;
	font-size: .87rem;
	font-style: normal;
	color: var(--a-ink-mute);
}

.ahtbe27 .wp-block-image img { border-radius: var(--a-radius-sm); }
.ahtbe27 .ahtbe-logo .wp-block-image img,
.ahtbe27 .ahtbe-person img { border-radius: inherit; }
.ahtbe27 .ahtbe-person img { border-radius: 50%; }

.ahtbe27 .wp-block-separator {
	border: 0;
	height: 1px;
	background: var(--a-line);
	max-width: 100%;
	margin: 2.5rem auto;
}

/* Legacy cover blocks kept from the old build get the new veil. */
.ahtbe27 .wp-block-cover { border-radius: 0; }
.ahtbe27 .entry-content > .wp-block-cover.alignfull { margin-block: 0; }

/* ==========================================================================
   14. Footer
   ========================================================================== */

/* The stock footer-bottom row shipped white text on a white background. */
.ahtbe27 .footer-bottom,
.ahtbe27 .footer-main,
.ahtbe27 .footer-top {
	--bgcolor: var(--a-teal-dark);
	--color: rgba(255, 255, 255, .78);
	--rowbcolor: var(--a-amber);
	--rowbwidth: 0px;
}

.ahtbe27 .hfg_footer.site-footer {
	background: var(--a-teal-dark);
	color: rgba(255, 255, 255, .72);
	border-top: 3px solid var(--a-amber);
}
.ahtbe27 .site-footer a { color: rgba(255, 255, 255, .84); text-decoration: none; }
.ahtbe27 .site-footer a:hover { color: var(--a-amber); }
.ahtbe27 .site-footer .footer-menu li a {
	font-size: .92rem;
	font-weight: 500;
}
.ahtbe27 .site-footer .nv-footer-content { padding-block: 1.5rem; }

/* Rich footer authored in page content */
.ahtbe-footer {
	background: var(--a-teal-dark);
	color: rgba(255, 255, 255, .74);
	padding-block: clamp(2.75rem, 2rem + 3vw, 4.25rem) 2rem;
	border-top: 3px solid var(--a-amber);
}
.ahtbe-footer h2,
.ahtbe-footer h3,
.ahtbe-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.ahtbe-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.ahtbe-footer a:hover { color: var(--a-amber); }
.ahtbe-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
	gap: var(--a-gap);
	margin-bottom: 2.25rem;
}
.ahtbe-footer__grid > div { min-width: 0; }

.ahtbe-footer h3 {
	margin: 0 0 .9rem;
	font-family: var(--a-font-display);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .15em;
	color: var(--a-amber);
}
.ahtbe-footer h3.ahtbe-footer__past { margin-top: 1.6rem; }

.ahtbe-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ahtbe-footer li { margin-bottom: .5rem; font-size: .93rem; }

.ahtbe-footer p { font-size: .93rem; line-height: 1.65; margin-bottom: .9rem; }

.ahtbe-footer__mark {
	font-family: var(--a-font-display);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: .04em;
	color: #fff;
	margin-bottom: .7rem;
}

.ahtbe-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .13);
	padding-top: 1.5rem;
	font-size: .87rem;
	text-align: center;
	color: rgba(255, 255, 255, .6);
}
.ahtbe-footer__bottom p { margin: 0; font-size: .87rem; }

/* Neve's own bottom row would repeat the copyright underneath. */
.ahtbe27 .hfg_footer .footer--row.footer-bottom { display: none; }

/* ==========================================================================
   15. Utilities
   ========================================================================== */

.ahtbe-center { text-align: center; }
.ahtbe-mt-0 { margin-top: 0 !important; }
.ahtbe-stack > * + * { margin-top: var(--a-gap); }
.ahtbe-lead {
	font-size: clamp(1.03rem, .98rem + .3vw, 1.18rem);
	line-height: 1.62;
	color: var(--a-ink-soft);
}
.ahtbe-muted { color: var(--a-ink-mute); }
.ahtbe-amber { color: var(--a-amber-deep); font-weight: 650; }

.ahtbe-visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

/* ==========================================================================
   16. Responsive refinements
   ========================================================================== */

@media (max-width: 960px) {
	.ahtbe-hero { min-height: auto; background-position: center 30%; }
	.ahtbe-hero__full { max-width: 100%; }
}

@media (max-width: 782px) {
	.ahtbe27 .nv-nav-wrap .primary-menu-ul > li { margin-inline: .3rem; }
	.ahtbe-hero__meta li { font-size: .84rem; padding: .42rem .85rem; }
	.ahtbe-btnrow .wp-block-button,
	.ahtbe-btnrow .ahtbe-btn { width: 100%; }
	.ahtbe27 .wp-block-button__link,
	.ahtbe-btn { width: 100%; }
	.ahtbe-btnrow { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
	.ahtbe-card,
	.ahtbe-track,
	.ahtbe-person { padding: 1.35rem 1.15rem; }
	.ahtbe-date { padding: 1.4rem 1rem 1.25rem; }
	.ahtbe-date__label { min-height: 0; }
	.ahtbe-person img,
	.ahtbe-person .wp-block-image img { width: 108px; height: 108px; }
	.ahtbe-cta { border-radius: var(--a-radius); }
}

/* Print -------------------------------------------------------------------- */
@media print {
	.ahtbe27 .site-header,
	.ahtbe27 .site-footer,
	.ahtbe-hero::after { display: none !important; }
	.ahtbe27 body { color: #000; background: #fff; }
	.ahtbe-section { padding-block: 1rem; }
}
