/*
	Style overrides for the 2026 branding refresh.
*/

/*
	Font registration — 2026 branding refresh.
	Source files live in src/fonts/. url() paths are relative to the theme root.
	Usage: font-family: "All Round Gothic" (headings) or "Poppins" (body),
	then set font-weight / font-style to pick the matching face.
*/

/* All Round Gothic */
@font-face {
	font-family: "All Round Gothic";
	src: url("src/fonts/all-round-gothic/All Round Gothic W03 Book.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "All Round Gothic";
	src: url("src/fonts/all-round-gothic/All Round Gothic W03 Book Obl.woff") format("woff");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "All Round Gothic";
	src: url("src/fonts/all-round-gothic/All Round Gothic W03 Medium Obl.woff") format("woff");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "All Round Gothic";
	src: url("src/fonts/all-round-gothic/All Round Gothic W03 Demi Obl.woff") format("woff");
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "All Round Gothic";
	src: url("src/fonts/all-round-gothic/All Round Gothic W03 Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "All Round Gothic";
	src: url("src/fonts/all-round-gothic/All Round Gothic Bold Obl.woff") format("woff");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

/* Poppins */
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-ExtraLight.woff") format("woff");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-ExtraLightItalic.woff") format("woff");
	font-weight: 200;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-Light.woff") format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-LightItalic.woff") format("woff");
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-Italic.woff") format("woff");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-MediumItalic.woff") format("woff");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-SemiBold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-SemiBoldItalic.woff") format("woff");
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("src/fonts/poppins/Poppins-BoldItalic.woff") format("woff");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

:root {
	--aao-color-primary: #0072CE;
	--aao-color-secondary: #E6E7E8;
	--aao-color-accent: #fac02e;
	--aao-color-blue: #005596;
	--aao-color-blue-dark: #00477D;
	--aao-color-cyan: #3DBCE6;
	--aao-color-cyan-dark: #00A5D9;
	--aao-color-cyan-light: #7FCBE2;
	--aao-color-cyan-lighter: #D6F5FD;
	--aao-color-cyan-lightest: #E8F5FA;
	--aao-color-green: #3FD48B;
	--aao-color-orange: #FE996B;
	--aao-color-purple: #846BFF;


	--aao-rounded-xs: 0.25rem;
	--aao-rounded-sm: 0.5rem;
	--aao-rounded-md: 1rem;
	--aao-rounded-lg: 1.5rem;
	--aao-rounded-full: calc(infinity * 1px);

	--aao-color-existing-blue: #005596; /* same as new blue */
	--aao-color-existing-blue-light: #1075c3;
	--aao-color-existing-cyan: #00a0d1;

	--aao-color-existing-cyan-light: #e3eff7;

	--aao-font-body: "Poppins", sans-serif;
	--aao-font-display: "All Round Gothic", sans-serif;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body, h6, .is-style-h6 {
	font-family: var(--aao-font-body);
}

.h1, .h2, .h3, .h4, .h5, .is-style-h1, .is-style-h2, .is-style-h3, .is-style-h4, .is-style-h5, .search-result .search-title, h1, h2, h3, h4, h5{
	font-family: var(--aao-font-display);
}

.he-stat .data-acc, .he-stat .data-label {
	font-family: var(--aao-font-display);
}

#commentform .form-submit #submit, .btn-gold, .btn-secondary, .login-form button, .login-form input[type=submit], .reply a, [id^=gform_wrapper].gform_wrapper .gform_footer input[type=button], [id^=gform_wrapper].gform_wrapper .gform_footer input[type=submit] {
	text-transform: none;
}

/* Buttons */
.btn-box {
	border-radius: var(--aao-rounded-full);
}

.btn-gold {
	background-color: var(--aao-color-blue);
	color: white;

	&:hover {
		background-color: var(--aao-color-blue-dark);
		color: white;
	}
}

/* Secondary button - For use on dark backgrounds.
Add the class "secondary-btn" to the additional style settings in the kadence button block. */
.secondary-btn > .btn-gold {
	background-color: var(--aao-color-secondary);
	color: var(--aao-color-blue);

	&:hover {
		background-color: var(--aao-color-secondary-dark);
		color: white;
	}
}

.btn-link-caps {
	font-family: var(--aao-font-body);
}

.box-arrow {
	border-radius: var(--aao-rounded-full);
	overflow: hidden;
}

/* Highlight button - For cta's to be highlighted.
Add the class "btn-highlight" to the additional style settings in the kadence button block. */
.btn-highlight > .btn-gold{
	background-color: var(--aao-color-accent);
	color: var(--aao-color-blue);

	&:hover {
		background-color: var(--aao-color-blue-dark);
		color: white;
	}
}

.link-row {
	border-radius: var(--aao-rounded-full);
}

.alertmessage {
	background-color: var(--aao-color-accent) !important;
}

.icon-link {
	.link-title {
		font-family: var(--aao-font-body);
		font-size: 0.875rem;
		letter-spacing: normal;
		text-decoration: none;
		text-transform: none;
	}
}

.rollover-card {

	.rc-body {
		border-radius: var(--aao-rounded-lg);

		.rc-front,
		.rc-back {
			background-position: center;
			border-radius: var(--aao-rounded-md);

			&::after {
				border-radius: var(--aao-rounded-md);
			}
		}
	}
}

.rollover-card .rc-body {
	border-width: 8px;
	border-style: solid;
	border-color: var(--aao-color-orange);
}

.rollover-card:nth-child(2) .rc-body {
	border-color: var(--aao-color-green);
}

.rollover-card:nth-child(3) .rc-body {
	border-color: var(--aao-color-purple);
}

.ft-post {
	border-radius: var(--aao-rounded-lg);

	&::after {
		border-radius: var(--aao-rounded-lg);
	}
}

.he-row {
	.he-img > img,
	.he-stat {
		border-radius: var(--aao-rounded-md);
	}
}

.login-box {
	border-radius: var(--aao-rounded-lg);
}

.mtgs-slider-wrap {
	.aao-arrow {
		border-radius: var(--aao-rounded-full);
	}

	.mtg-slide {
		border-radius: var(--aao-rounded-lg);
		overflow: hidden;
	}
}

.news-wrap,
.relatedposts,
.related-posts {
	.aao-arrows {
		border-radius: var(--aao-rounded-full);
		overflow: hidden;
	}

	.news-row {
		article,
		.blog-cta-wrap {
			border-radius: var(--aao-rounded-md);
			overflow: hidden;
		}
	}

	.news-callout {
		background-color: var(--aao-color-accent);
		border-radius: var(--aao-rounded-lg);
		overflow: hidden;
	}

	.post-img {
		background-color: var(--aao-color-secondary);
	}

}

.blog-cta-wrap {
	background-color: var(--aao-color-accent);
}

.single-post {
	.post-header {
		font-family: var(--aao-font-body);
	}

	.post-ftimg img {
		border-radius: var(--aao-rounded-lg);
		overflow: hidden;
	}

	.count-share-block {
		border-radius: var(--aao-rounded-md);
	}
}

.triblock {
	border-radius: var(--aao-rounded-lg);
	padding: 0;
	overflow: hidden;
}

.wp-block-gallery {
	.wp-block-image {
		border-radius: var(--aao-rounded-md);
		overflow: hidden;
	}
}

.pt-img {
	border-radius: var(--aao-rounded-md);
	overflow: hidden;
}

.pageheader {
	.square-image {
		border-radius: var(--aao-rounded-lg);
		overflow: hidden;
	}

	.square-stat {
		border-radius: var(--aao-rounded-md);
	}
}

.icon-links-wrap, .pt-icon-links, .link-block {
	border-radius: var(--aao-rounded-lg);
}

.custom-cta-img-img {
	border-radius: var(--aao-rounded-md) 0 0 var(--aao-rounded-md);
}

.custom-cta-img-content {
	border-radius: 0 var(--aao-rounded-md) var(--aao-rounded-md) 0;
}

article.blog-post > .post-img {
	border-radius: var(--aao-rounded-md) var(--aao-rounded-md) 0 0;
}

article.blog-post > .post-info {
	border-radius: 0 0 var(--aao-rounded-md) var(--aao-rounded-md);
}

.link-grid-row {
	.link-grid-card {
		border-radius: var(--aao-rounded-md);

		.box-arrow {
			border-radius: var(--aao-rounded-full);
			overflow: hidden;
		}
	}
}

/**
 * #.# Navigation overrides
 *
 */

#main-nav {
	.nav-item .nav-link {
		font-family: var(--aao-font-body);
		letter-spacing: 0.075em;

		&:before {
			background-color: var(--aao-color-accent);
		}
	}

	.mm-content-wrap img{
		border-radius: var(--aao-rounded-md);
	}

	/* 
	* Override the "Learn More" link styling on the Advocacy, Careers, and Practice
	* Management megamenu title section.
	*/
	.mm-title-link {
		font-family: var(--aao-font-body);
		font-weight: 600;

		.box-arrow {
			box-shadow: none;

			svg {
				rect {
					display: none;
				}

				line {
					stroke: var(--aao-color-blue);
					stroke-width: 2px;
				}
			}
		}
	}

	.mm-content-wrap ul a {
		font-weight: 600;
	}

	.mm-content-wrap ul ul a {
		font-weight: 400;
	}

}

.breadcrumbs {
	font-family: var(--aao-font-body);
	font-weight: 500;
}

.wp-block-image img, .wp-block-media-text.is-image-fill .wp-block-media-text__media {
	border-radius: var(--aao-rounded-md);
	overflow: hidden;
}

.wp-block-media-text:not(.is-image-fill) .wp-block-media-text__media img {
	border-radius: var(--aao-rounded-md);
}

/* Aligned Column Buttons 
Add the class "aligned-column-buttons" to the additional style settings in the columns block in a flex container. To force the buttons to be aligned to the bottom of the column. */
.aligned-column-buttons > .wp-block-column {
	display: flex;
	flex-direction: column;
}

.aligned-column-buttons > .wp-block-column > .buttonbootstrap {
	margin-top: auto;
}

/**
 * #.# Events overrides
 *
 */

.mtg-event {

	.mtg-date {
		font-size: 1rem;
		font-weight: 600;
		line-height: 30px; /* Match the height of the box-arrow */
		margin-bottom: 0;
		
		&:before {
			display: none;
		}
	}

	.mtg-name {
		color: var(--aao-color-blue);
		font-size: 1.25rem;
		font-weight: 400;
	}

	.mtg-location {
		color: var(--aao-color-cyan-dark);
		font-size: 0.875rem;
	}

	.mtg-icon {
		width: 16px;
		height: 16px;
	}
}

/**
 * #.# Kadence overrides
 *
 * This section is used for all overrides specific to Kadence blocks where theme
 * classes are not used.
 */

.kadence-column8828_b98820-c3 > .kt-inside-inner-col {
	border-radius: var(--aao-rounded-lg);
}

/* /advocacy/advocacy-efforts/ */
.kadence-column8904_2def19-46 > .kt-inside-inner-col,
.kadence-column8828_c0e422-d5 > .kt-inside-inner-col {
	background-color: var(--aao-color-accent) !important;
	border-radius: var(--aao-rounded-lg);
}

#home-feature {
	background-color: var(--aao-color-cyan);
	padding: 8rem 0 12rem;

	&:before {
		display: none;
	}

	&:after {
		content: "";
		background-color: var(--aao-color-cyan-dark);
		background-image: url('img/smile-pattern.svg');
		background-size: 150%;
		background-position: 0 -8px;
		position: absolute;
		bottom: -1px;
		left: 0;
		right: 0;
		width: 100%;
		height: 92px;
	}

	.ft-post:after {
		display: none;
	}

	.ft-post-content {
		color: inherit;
		
		h2 {
			color: var(--aao-color-blue-dark);
		}
	}
}

#home-resources {
	padding: 8rem 0;

	h3 {
		font-size: 2.625rem;
		max-width: 600px;
	}
}

#home-events {
	padding-top: 8rem;

	&:before {
		display: none;
	}
	
	.he-heading {
		margin-top: 0;
	}
}

/**
 * #.# Home grid (2026 refresh)
 *
 * Full rebuild of the home page member-data + testimonial section.
 * Markup: template-parts/home/home-grid.php
 * The legacy SCSS layout (.hg-data-block, .home-grid-wrap, .left-marg, etc.)
 * no longer matches the markup and is simply inert.
 */
#home-grid {
	position: relative;
	display: block;
	background-color: var(--aao-color-cyan-lightest);
	padding: clamp(3rem, 6vw, 6rem) 1.25rem clamp(4rem, 8vw, 7rem);
	overflow: hidden;
}

#home-grid .hg-inner {
	position: relative;
	width: min(1200px, 100%);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 1024px) {
	#home-grid .hg-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		align-items: start;
		column-gap: clamp(2rem, 4vw, 4rem);
	}
}

/* ---- Left column ------------------------------------------------------ */

#home-grid .hg-left {
	margin-top: 5rem;
	position: relative;
}

/* Stat cards */
#home-grid .hg-cards {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.25rem);
}

@media (max-width: 460px) {
	#home-grid .hg-cards {
		grid-template-columns: 1fr;
	}
}

#home-grid .hg-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.75rem) clamp(1.5rem, 3.5vw, 2.25rem);
	border-radius: var(--aao-rounded-lg);
	color: #fff;
}

#home-grid .hg-card--1 {
	background-color: var(--aao-color-primary);
}

#home-grid .hg-card--2 {
	background-color: var(--aao-color-blue);
}

#home-grid .hg-card-num {
	align-self: flex-start;
	width: 100%;
	text-align: center;
	font-family: var(--aao-font-display);
	font-weight: 700;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1;
	letter-spacing: -0.01em;
}

#home-grid .hg-card-label {
	display: inline-block;
	margin-top: clamp(0.75rem, 2vw, 1.1rem);
	padding: 0.5em 1.5em;
	background-color: #fff;
	color: var(--aao-color-blue);
	font-family: var(--aao-font-display);
	font-weight: 700;
	font-size: clamp(1.1rem, 2.4vw, 1.5rem);
	line-height: 1.2;
	border-radius: var(--aao-rounded-full);
}

#home-grid .hg-card-copy {
	margin: clamp(0.75rem, 2vw, 1.1rem) 0 0;
	color: #fff;
	font-size: clamp(0.85rem, 1.6vw, 1rem);
	line-height: 1.5;
}

/* White feature panel (link + quote) — tucks under the cards */
#home-grid .hg-feature {
	position: relative;
	z-index: 1;
	margin-top: -2.5rem;
	padding: clamp(3.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 2.75rem) clamp(2rem, 4vw, 3rem);
	background-color: #fff;
	border-radius: var(--aao-rounded-lg);
}

/* On wide screens the white panel bleeds to the left viewport edge.
   Math holds while the inner container is capped at its 1200px max. */
@media (min-width: 1024px) {
	#home-grid .hg-feature {
		margin-left: -60px;
		margin-right: -80px;
		padding-left: 60px;
		padding-right: 80px;
		margin-top: -8rem;
		padding-top: 8.5rem;
	}
}

#home-grid .hg-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-family: var(--aao-font-body);
	font-weight: 600;
	font-size: 1rem;
	color: var(--aao-color-cyan-dark);
	text-decoration: none;
	transition: color 0.2s ease;
}

#home-grid .hg-link::after {
	content: ">";
	font-size: 1.2em;
	line-height: 1;
	transition: transform 0.2s ease;
}

#home-grid .hg-link:hover {
	color: var(--aao-color-blue);
}

#home-grid .hg-link:hover::before {
	transform: translateX(3px);
}

#home-grid .hg-quote {
	margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

#home-grid .hg-quote-text {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--aao-font-display);
	font-weight: 600;
	font-size: 2rem;
	line-height: 1.1;
	color: var(--aao-color-blue);
}

@media (min-width: 1240px) {
	#home-grid .hg-quote-text {
	max-width: 360px;
	}
}

#home-grid .hg-quote-text::before {
	content: "“";
	margin-left: -0.5em;
}

#home-grid .hg-quote-cite {
	display: block;
	margin-top: clamp(1rem, 2.5vw, 1.75rem);
	font-family: var(--aao-font-display);
	font-style: normal;
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--aao-color-cyan-dark);
}

/* ---- Right column (media) --------------------------------------------- */

#home-grid .hg-media {
	position: relative;
	z-index: 1;
}

#home-grid .hg-media-group,
#home-grid .hg-media-portrait {
	margin: 0;
	border-radius: var(--aao-rounded-lg);
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

@media (max-width: 1240px) {

	#home-grid .hg-media-group {
		display: none;
	}
}

#home-grid .hg-media-portrait {
	position: relative;
	z-index: 2;
}

@media (min-width: 1240px) {
	#home-grid .hg-media-portrait {
	max-width: 420px;
	margin-top: -10rem;
	margin-left: -30%;
	}
}

#home-grid .hg-media-group img,
#home-grid .hg-media-portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---- Decorative brand "smile" arcs ------------------------------------ */

/* Hidden for now. To bring the smile arcs back, restore the
   `@media (min-width: 992px) { #home-grid .hg-arc { display: block; } }` rule. */
#home-grid .hg-arc {
	position: absolute;
	display: none;
	z-index: 0;
	pointer-events: none;
}

/* outline frown (∩) — top left */
#home-grid .hg-arc--purple {
	top: -0.75rem;
	left: 3%;
	width: 116px;
	height: 58px;
	border: 13px solid var(--aao-color-purple);
	border-bottom: 0;
	border-radius: 116px 116px 0 0;
}

/* filled frown (∩) — peeking above the second card */
#home-grid .hg-arc--green {
	top: -1.25rem;
	left: 31%;
	width: 84px;
	height: 42px;
	background-color: var(--aao-color-green);
	border-radius: 84px 84px 0 0;
}

/* filled smile (∪) — group photo, lower right */
#home-grid .hg-arc--cyan {
	top: 42%;
	right: -0.5rem;
	width: 104px;
	height: 52px;
	background-color: var(--aao-color-cyan);
	border-radius: 0 0 104px 104px;
	z-index: 3;
}

/* outline frown ring (∩) — between the photos */
#home-grid .hg-arc--white {
	top: 50%;
	left: 44%;
	width: 92px;
	height: 46px;
	border: 12px solid #fff;
	border-bottom: 0;
	border-radius: 92px 92px 0 0;
	z-index: 3;
}

/* filled smile (∪) — bottom right */
#home-grid .hg-arc--orange {
	bottom: 1rem;
	right: 5%;
	width: 150px;
	height: 75px;
	background-color: var(--aao-color-orange);
	border-radius: 0 0 150px 150px;
}

#home-intro {
	background-color: var(--aao-color-cyan-lightest);
	padding: 8rem 0;
}

blockquote {
	background-color: transparent;
	max-width: 100%;
}

blockquote.kt-testimonial-content {
	padding: 20px !important;
} 

.footer-logo {
	max-width: 360px;
}

#home-cta {
	background-color: var(--aao-color-cyan-dark);
	padding-top: 2rem;
	color: #fff;

	.cta-content {

		h3 {
			color: #fff;
		}
	}

	/* Peach pill button to match the screenshot */
	/* .btn-box {
		background: var(--aao-color-orange);
		color: #fff;

		&:hover {
			background: #f97f4d;
			color: #fff;
		}
	} */

	/* Horizontal layout on tablet/desktop (md and up). Stays stacked on mobile. */
	@media (min-width: 768px) {
		.cta-content {
			display: flex;
			align-items: center;
			gap: 2.5rem;

			h3 {
				flex-shrink: 0;
				margin: 0;
			}

			p {
				flex: 0 1 36rem;
				margin: 0;
				padding-left: 2.5rem;
				border-left: 2px solid rgba(255, 255, 255, 0.5);
			}

			.btn-box {
				flex-shrink: 0;
				margin: 0 0 0 auto;
				white-space: nowrap;
			}
		}
	}
}

/**
 * #.# Home aao-for (2026 refresh)
 *
 * "Tailored support for every stage of your career" — a two-column
 * "select your role" section. Left: intro + Member Center callout.
 * Right: role cards, divided from the left by a vertical brand rule.
 * Markup: template-parts/home/home-aao-for.php
 */
#home-aao-for {
	position: relative;
	background-color: var(--aao-color-cyan);
	padding: clamp(3rem, 6vw, 6rem) 1.25rem;
	overflow: hidden;
}

/* Decorative smile-pattern band — mirrors #home-feature's :after, but anchored
   as a :before filling the bottom half of the section behind the white card. */
#home-aao-for::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	height: 50%;
	background-color: var(--aao-color-cyan-dark);
	background-image: url('img/smile-pattern.svg');
	background-size: 150%;
	background-position: 0 -8px;
	z-index: 0;
}

/* The inner wrapper reads as a white card floating on the cyan section. */
#home-aao-for .af-inner {
	position: relative;
	z-index: 1;
	width: min(1200px, 100%);
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 3.5rem);
	background-color: #fff;
	border-radius: var(--aao-rounded-lg);
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 992px) {
	#home-aao-for {
		padding-block: 8rem;
	}

	#home-aao-for .af-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: clamp(2.5rem, 5vw, 4rem);
		align-items: stretch;
	}

	/* Stretch the left column to match the cards, then push the callout to the
	   bottom so the intro text and CTA sit space-between. */
	#home-aao-for .af-intro {
		display: flex;
		flex-direction: column;
	}

	#home-aao-for .af-intro .af-callout {
		margin-top: auto;
	}

	/* Vertical brand rule between the two columns (rides the taller column). */
	#home-aao-for .af-roles {
		border-left: 2px solid var(--aao-color-primary);
		padding-left: clamp(2.5rem, 5vw, 4rem);
	}
}

/* ---- Left column: intro + callout ------------------------------------- */

#home-aao-for .af-heading {
	margin: 0;
	font-family: var(--aao-font-display);
	font-weight: 700;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.1;
	color: var(--aao-color-blue);
}

#home-aao-for .af-lead {
	margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
	font-size: clamp(1rem, 1.6vw, 1.125rem);
	line-height: 1.6;
}

#home-aao-for .af-callout {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding: clamp(1.75rem, 3.5vw, 2.5rem);
	background-color: var(--aao-color-orange);
	border-radius: var(--aao-rounded-lg);
}

#home-aao-for .af-callout-title {
	margin: 0;
	font-family: var(--aao-font-display);
	font-weight: 700;
	font-size: clamp(1.4rem, 2.6vw, 1.75rem);
	color: var(--aao-color-blue-dark);
}

#home-aao-for .af-callout-copy {
	margin: 0.75rem 0 0;
	font-size: 1.0625rem;
	line-height: 1.5;
}

#home-aao-for .af-callout .btn-gold {
	margin-top: clamp(1.25rem, 3vw, 1.75rem);
	margin-bottom: 0;
}

/* ---- Right column: role cards ----------------------------------------- */

#home-aao-for .af-roles {
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 2vw, 1.5rem);
}

#home-aao-for .af-role {
	padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
	background-color: var(--aao-color-cyan-lightest);
	border-radius: var(--aao-rounded-lg);

	&:hover {
		background-color: var(--aao-color-cyan-lighter);
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
		text-decoration: none;

		.af-role-title {
			color: var(--aao-color-blue-dark);
		}
	}
}

#home-aao-for .af-role-title {
	margin: 0;
	font-family: var(--aao-font-display);
	font-weight: 700;
	font-size: clamp(1.3rem, 2.4vw, 1.6rem);
	color: var(--aao-color-blue);
}

#home-aao-for .af-role-copy {
	margin: 0.6rem 0 0;
	font-size: 1.0625rem;
	line-height: 1.5;
}