/* =========================================================================
   AFPLAN design 1.4
   Header and hero: navy, teal and cream, with an arch-framed portrait.
   Rest of the site: rounded cards, pill labels, navy bands, testimonial grid,
   FAQ with photo, call-to-action box above a dark footer.
   Colours come from Ari › Colours & fonts (or AFPLAN › Site settings).
   ========================================================================= */
:root {
	--af-muted: #5B6472;
	--af-line: #E4DED2;
	--af-beige: #ECE3D4;
	--af-radius: 8px;
	--af-r-card: 16px;
	--af-r-big: 22px;
	--af-shadow: 0 1px 2px rgba(20, 33, 58, .04), 0 8px 24px rgba(20, 33, 58, .06);
	--af-shadow-hover: 0 18px 40px rgba(20, 33, 58, .12);
	--af-header-h: 84px;
}

body { background: #fff; color: var(--af-text); }
h1, h2, h3, h4, h5, h6 { color: var(--af-primary); }
.afp-text--light h1, .afp-text--light h2, .afp-text--light h3, .afp-text--light h4 { color: #fff; }
a { color: var(--af-primary); }
a:hover { color: var(--af-accent); }
:focus-visible { outline-color: var(--af-accent); }

/* ---------- Labels (pill with a dot) ----------------------------------- */
.afp-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; width: auto;
	padding: 5px 14px; margin: 0 0 18px;
	border: 1px solid rgba(29, 45, 71, .18); border-radius: 999px; background: #fff;
	font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--af-primary);
}
.afp-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--af-accent); flex: none; }
.afp-bg--light .afp-eyebrow { background: #fff; }
.afp-text--light .afp-eyebrow, .afp-sec--hero .afp-eyebrow, .afp-ph-banner .afp-eyebrow { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
.afp-bg--accent .afp-eyebrow { color: #fff; opacity: 1; }
.afp-eyebrow--center, .afp-center .afp-eyebrow, .afp-align--center .afp-eyebrow { margin-left: auto; margin-right: auto; }
.afp-head.afp-center, .afp-align--center .afp-head, .afp-stats .afp-wrap { text-align: center; }
p.afp-eyebrow--center { display: flex; width: fit-content; }
.afp-head { margin-bottom: 40px; }
.afp-title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; }
.afp-intro { font-size: 17px; }

/* ---------- Buttons ---------------------------------------------------- */
.afp-btn { padding: 13px 24px; border-radius: var(--af-radius); border-width: 1.5px; font-size: 15px; font-weight: 700; }
.afp-btn--primary { background: var(--af-primary); color: #fff; }
.afp-btn--primary:hover { background: var(--af-accent); color: #fff; }
.afp-btn--accent { background: var(--af-accent); color: #fff; }
.afp-btn--accent:hover { background: var(--af-primary); color: #fff; }
.afp-btn--outline { border-color: var(--af-primary); color: var(--af-primary); }
.afp-btn--outline:hover { background: var(--af-primary); color: #fff; }
.afp-btn--light { background: var(--af-light); color: var(--af-primary); }
.afp-btn--light:hover { background: #fff; color: var(--af-primary); }
.afp-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
.afp-btn--ghost:hover { background: #fff; color: var(--af-primary); }
.afp-btn--outline-light { background: #fff; border-color: #fff; color: var(--af-primary); }
.afp-btn--outline-light:hover { background: transparent; color: #fff; }
.afp-sec--hero .afp-btn .afp-icon, .afp-header .afp-btn .afp-icon { display: none; }
.afp-textlink { color: var(--af-primary); }
.afp-textlink .afp-icon { color: var(--af-accent); }

/* ---------- Header (cream bar, one row) ------------------------------- */
.afp-header { background: var(--af-light); border-bottom: 1px solid rgba(29, 45, 71, .08); }
.afp-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 33, 58, .08); }
.afp-header__inner { gap: 24px; min-height: var(--af-header-h); }
.afp-emblem { height: 50px; }
.afp-textlogo__txt strong { color: var(--af-primary); font-size: 23px; }
.afp-nav { margin-left: auto; }
.afp-menu { gap: 4px; }
.afp-menu > li > a { white-space: nowrap; padding: 10px 12px; font-size: 15px; font-weight: 400; color: var(--af-text); border-radius: 6px; }
.afp-menu > li > a:hover { color: var(--af-primary); background: rgba(29, 45, 71, .05); box-shadow: none; }
.afp-menu > li.current-menu-item > a, .afp-menu > li.current-menu-ancestor > a, .afp-menu > li.current_page_item > a { color: var(--af-primary); font-weight: 700; box-shadow: none; }
.afp-menu .sub-menu, .afp-menu .children { border-top: 0; border-radius: 12px; padding: 8px; box-shadow: 0 18px 44px rgba(20, 33, 58, .14); }
.afp-menu .sub-menu a, .afp-menu .children a { border-radius: 8px; }
.afp-header__ctas { display: flex; align-items: center; gap: 10px; }
.afp-header__ctas .afp-btn { padding: 12px 20px; font-size: 14px; }
.afp-header .afp-search { border-radius: 999px; border-color: rgba(29, 45, 71, .15); background: #fff; }
.afp-header .afp-search input { width: 0; padding: 8px 0; font-size: 13px; transition: width .25s, padding .25s; }
.afp-header .afp-search:focus-within input, .afp-header .afp-search input:not(:placeholder-shown) { width: 150px; padding: 8px 4px 8px 14px; }
.afp-header .afp-search { border-color: transparent; background: transparent; }
.afp-header .afp-search:focus-within { border-color: rgba(29, 45, 71, .15); background: #fff; }
.afp-header .afp-search button { padding: 6px 12px 6px 4px; }
.afp-topbar { background: var(--af-primary); color: rgba(255, 255, 255, .82); border: 0; padding: 0; font-size: 12px; }
.afp-topbar__inner { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-height: 34px; flex-wrap: wrap; }
.afp-topbar a, .afp-topbar__text { color: rgba(255, 255, 255, .82); }
.afp-topbar a:hover { color: #fff; }
.afp-topbar__item .afp-icon { color: var(--af-accent); }
.afp-burger { background: var(--af-primary); border-radius: 10px; margin-left: auto; }
.afp-mobile { background: var(--af-light); }
.afp-mmenu li { border-color: var(--af-line); }
.afp-subtoggle { background: #fff; border-radius: 8px; }

.afp-follow { background: var(--af-accent); border-radius: 12px 0 0 12px; }

/* ---------- Hero: text left, arch portrait right ---------------------- */
.afp-sec.afp-hero--portrait { display: block; min-height: 0; padding: 0; background: var(--af-primary); color: #fff; overflow: hidden; }
.afp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; }
.afp-hero--portrait .afp-hero__content { max-width: 700px; padding: 104px 0 112px; align-self: center; }
.afp-hero--portrait .afp-hero__title { font-size: clamp(38px, 4.3vw, 60px); line-height: 1.06; margin-bottom: 26px; }
.afp-hero--portrait .afp-hero__sub { font-size: 19px; font-weight: 400; line-height: 1.55; color: rgba(255, 255, 255, .84); max-width: 520px; }
.afp-hero--portrait .afp-btns { margin-top: 36px; gap: 14px; }
.afp-hero__visual { position: relative; height: clamp(420px, 44vw, 560px); margin-top: 48px; }
.afp-hero__arch { position: absolute; left: 6%; bottom: 0; width: 48%; height: 74%; background: var(--af-accent); border-radius: 999px 999px 0 0; }
.afp-hero__panel { position: absolute; right: 0; top: 0; width: 56%; height: 92%; background: var(--af-beige); border-radius: var(--af-r-big) var(--af-r-big) 0 0; }
.afp-hero__photo { position: absolute; left: 10%; right: 4%; bottom: 0; height: 100%; }
.afp-hero__photo .afp-img { position: absolute; inset: 0; background: transparent; }
.afp-hero__photo img { object-fit: contain; object-position: bottom center; }
.afp-sec--hero .afp-hero__photo .afp-ph { background-color: transparent; background-image: none; border: 2px dashed rgba(255, 255, 255, .35); border-bottom: 0; border-radius: 200px 200px 0 0; background: rgba(255, 255, 255, .04); }
.afp-hero__photo .afp-ph__inner { max-width: 260px; }
.afp-hero__stat { position: absolute; right: 0; bottom: 40px; z-index: 2; padding: 16px 22px; border-radius: 14px; background: var(--af-light); box-shadow: 0 16px 40px rgba(0, 0, 0, .22); color: var(--af-primary); }
.afp-hero__stat strong { display: block; font-size: 32px; line-height: 1.1; }
.afp-hero__stat span { display: block; font-size: 14px; color: var(--af-muted); }
.afp-hero--split::after { background: var(--af-accent); }
.afp-sec--hero .afp-ph { background-color: #26395A; }

/* ---------- Page banner (inner pages) --------------------------------- */
.afp-ph-banner--green, .afp-ph-banner--split { background: var(--af-primary); }
.afp-ph-banner--green::after { width: 34%; right: -4%; top: auto; bottom: 0; height: 82%; background: var(--af-accent); opacity: .9; clip-path: none; border-radius: 999px 999px 0 0; }
.afp-ph-banner--green::before { content: ""; position: absolute; right: 14%; top: 18%; width: 22%; height: 64%; background: var(--af-beige); opacity: .12; border-radius: var(--af-r-big); }
.afp-ph-banner--photo .afp-ph-banner__media::after { background: linear-gradient(90deg, rgba(20, 33, 58, .9) 15%, rgba(20, 33, 58, .35)); }
.afp-ph-banner__wrap { padding-top: 88px; padding-bottom: 88px; }
.afp-ph-banner .afp-ph { background-color: #26395A; }
.afp-crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); }

/* ---------- Sections --------------------------------------------------- */
.afp-sec { padding: 96px 0; }
.afp-bg--light { background-color: var(--af-light); }
.afp-bg--primary { background-color: var(--af-primary); }
.afp-bg--dark { background-color: var(--af-dark); }
.afp-has-bgimg::before { background: rgba(20, 33, 58, .62); }
.afp-img { background: #E9E3D8; }
.afp-ph { background-color: #EFEAE0; background-image: repeating-linear-gradient(135deg, rgba(29, 45, 71, .05) 0 14px, rgba(29, 45, 71, 0) 14px 28px); border-color: rgba(29, 45, 71, .22); color: var(--af-primary); }
.afp-ph__icon { color: var(--af-accent); }
.afp-ph__inner { border-radius: 12px; }

/* ---------- Course cards (programmes) --------------------------------- */
.afp-progs { gap: 24px; }
.afp-prog { padding: 10px; border: 1px solid var(--af-line); border-bottom: 1px solid var(--af-line); border-radius: var(--af-r-card); background: #fff; box-shadow: var(--af-shadow); transition: transform .2s, box-shadow .2s; }
.afp-prog:hover { border-bottom-color: var(--af-line); transform: translateY(-3px); box-shadow: var(--af-shadow-hover); }
.afp-prog__img { border-radius: 11px; }
.afp-prog__body { padding: 16px 10px 12px; }
.afp-prog__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.afp-prog__icon { width: 32px; height: 32px; margin: 0 !important; border: 0; border-radius: 50%; background: var(--af-light); color: var(--af-primary); flex: none; }
.afp-prog__icon .afp-icon { width: 17px; height: 17px; }
.afp-prog__levels { display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; font-size: 13px; font-weight: 400; color: var(--af-muted); line-height: 1.35; }
.afp-prog__levels::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--af-beige); box-shadow: 0 0 0 1px rgba(29, 45, 71, .15); flex: none; }
.afp-prog__title { font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.afp-prog__title a { color: var(--af-primary); }
.afp-prog__title a:hover { color: var(--af-accent); }
.afp-prog__body > p { font-size: 14px; }

/* ---------- Learning paths (tiles) ------------------------------------ */
.afp-sec--tiles .afp-head { margin-bottom: 28px; }
.afp-tiles { gap: 22px; }
.afp-tile { min-height: 140px; align-items: flex-start; border-radius: var(--af-r-card); color: var(--af-primary); transition: transform .2s, box-shadow .2s; }
.afp-tile:hover { transform: translateY(-3px); box-shadow: var(--af-shadow-hover); color: var(--af-primary); }
.afp-tile__body { padding: 26px 28px; }
.afp-tile__title { font-size: 26px; font-weight: 700; }
.afp-tile__title .afp-icon { color: currentColor; opacity: .55; width: 18px; height: 18px; }
.afp-tile__text { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; opacity: .82; max-width: 320px; }
.afp-tile .afp-eyebrow { display: inline-flex; padding: 3px 10px; margin-bottom: 12px; font-size: 12px; background: rgba(255, 255, 255, .5); color: inherit; border-color: transparent; }
.afp-tile--soft { background: var(--af-beige); }
.afp-tile--teal, .afp-tile--accent { background: var(--af-accent); color: #fff; }
.afp-tile--teal:hover, .afp-tile--accent:hover { color: #fff; }
.afp-tile--primary, .afp-tile--primary:nth-child(even) { background: var(--af-primary); color: #fff; }
.afp-tile--dark { background: var(--af-dark); color: #fff; }
.afp-tile--primary:hover, .afp-tile--dark:hover, .afp-tile--image:hover { color: #fff; }
.afp-tile--image { color: #fff; min-height: 260px; align-items: flex-end; }
.afp-tile--teal .afp-eyebrow, .afp-tile--primary .afp-eyebrow, .afp-tile--dark .afp-eyebrow, .afp-tile--image .afp-eyebrow { background: rgba(255, 255, 255, .16); }

/* ---------- People ----------------------------------------------------- */
.afp-person { border: 0; border-radius: var(--af-r-card); overflow: hidden; box-shadow: var(--af-shadow); }
.afp-person__img { background: var(--af-beige); }
.afp-person__role { color: var(--af-accent); }
.afp-teamside { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.afp-teamside .afp-head { margin: 0; }
.afp-teamside .afp-person__body { padding: 16px 18px 20px; }

/* ---------- Stats band with bars ------------------------------------- */
.afp-stats__grid { margin-top: 48px; gap: 40px 36px; text-align: left; }
.afp-stat { flex-direction: column; gap: 10px; }
.afp-stat__icon { width: 30px; height: 30px; color: var(--af-accent); margin: 0; }
.afp-stat__num { font-size: clamp(38px, 4vw, 54px); font-weight: 700; color: #fff; }
.afp-stat__label { font-weight: 400; font-size: 14px; color: rgba(255, 255, 255, .78); }
.afp-stat__bar { position: relative; display: block; height: 3px; margin-top: 22px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.afp-stat__bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 3px; background: var(--af-accent); }
.afp-stat:nth-child(2n) .afp-stat__bar::after { width: 72%; }
.afp-stat:nth-child(3n) .afp-stat__bar::after { width: 55%; }
.afp-text--dark .afp-stat__num { color: var(--af-primary); }
.afp-text--dark .afp-stat__label { color: var(--af-muted); }
.afp-text--dark .afp-stat__bar { background: var(--af-line); }

/* ---------- Cards (why choose us, news, generic) --------------------- */
.afp-card { border: 1px solid var(--af-line); border-radius: 18px; overflow: hidden; box-shadow: none; }
.afp-card:hover { box-shadow: var(--af-shadow-hover); transform: translateY(-3px); }
.afp-bg--light .afp-card { border-color: transparent; box-shadow: var(--af-shadow); }
.afp-card__body { padding: 28px; }
.afp-card__icon { width: 72px; height: 72px; margin: 32px 28px 0; background: var(--af-light); color: var(--af-primary); }
.afp-card__icon .afp-icon { width: 34px; height: 34px; }
.afp-card__num { color: var(--af-accent); }
.afp-card__meta { color: var(--af-accent); }
.afp-card__title { font-size: 20px; color: var(--af-primary); }
.afp-cards--plain .afp-card { border-top: 1px solid var(--af-line); }
.afp-align--center .afp-card { text-align: center; }
.afp-align--center .afp-card__icon { margin-left: auto; margin-right: auto; }
.afp-card__body .afp-textlink { justify-content: center; width: 100%; margin-top: auto; padding: 11px 18px; border-radius: 999px; background: var(--af-light); color: var(--af-primary); }
.afp-card__body .afp-textlink:hover { background: var(--af-primary); color: #fff; }
.afp-card__body .afp-textlink:hover .afp-icon { color: #fff; }
.afp-align--center .afp-grid > li:nth-child(2) .afp-card, .afp-align--center .afp-grid > .afp-card:nth-child(2) { border: 2px solid var(--af-primary); }
.afp-align--center .afp-grid > li:nth-child(2) .afp-card .afp-textlink, .afp-align--center .afp-grid > .afp-card:nth-child(2) .afp-textlink { background: var(--af-primary); color: #fff; }
.afp-align--center .afp-grid > li:nth-child(2) .afp-card .afp-textlink .afp-icon, .afp-align--center .afp-grid > .afp-card:nth-child(2) .afp-textlink .afp-icon { color: #fff; }
.afp-card .afp-img { border-radius: 0; }

/* ---------- Feature panel ------------------------------------------- */
.afp-fpanel { border-radius: var(--af-r-big); overflow: hidden; margin-top: 56px; margin-bottom: 56px; box-shadow: var(--af-shadow); }
.afp-fpanel__lead { background: var(--af-primary); }
.afp-fpanel__item .afp-icon { color: var(--af-accent); }
.afp-fpanel__grid li { border-bottom-style: solid; border-color: var(--af-line); }
a.afp-fpanel__item:hover { background: var(--af-light); border-radius: 10px; }

/* ---------- Text & image, story (event banner) ------------------------ */
.afp-ti--boxed .afp-ti__media, .afp-ti--boxed .afp-img { border-radius: var(--af-r-big); }
.afp-sec--story { padding: 96px var(--af-gutter); }
.afp-story { position: relative; max-width: var(--af-wrap); min-height: 480px; margin: 0 auto; display: flex; align-items: flex-end; border-radius: var(--af-r-big); overflow: hidden; background: var(--af-primary); }
.afp-story__media { position: absolute !important; inset: 0; min-height: 0; order: 0 !important; }
.afp-story__media .afp-ph { border: 0; }
.afp-story__text { position: relative; z-index: 2; margin: 28px; padding: 36px 38px; max-width: 540px; border-radius: 18px; background: var(--af-primary); color: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.afp-story--right .afp-story { justify-content: flex-end; }
.afp-story__text .afp-eyebrow { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
.afp-story__quote { color: #fff; font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
.afp-story__body { color: rgba(255, 255, 255, .8) !important; }
.afp-story__text .afp-textlink { color: #fff; }

/* ---------- Highlight, CTA ------------------------------------------- */
.afp-seal { border-color: rgba(255, 255, 255, .5); }
.afp-seal__star .afp-icon { color: var(--af-accent); fill: var(--af-accent); }
.afp-strip__link .afp-icon, .afp-strip__link:hover { color: #A9DCD3 !important; }
.afp-sec--cta-block .afp-wrap > div, .afp-cta { border-radius: var(--af-r-big); }

/* ---------- Testimonials --------------------------------------------- */
.afp-sec--testimonials.afp-bg--white { background: var(--af-light); }
.afp-voices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.afp-voice { grid-column: span 1; position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--af-line); }
.afp-voice:nth-child(1), .afp-voice:nth-child(2) { grid-column: span 2; }
.afp-voices > .afp-voice:only-child { grid-column: span 4; }
.afp-voices:has(> .afp-voice:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.afp-voices:has(> .afp-voice:nth-child(3):last-child) > .afp-voice { grid-column: span 1; }
.afp-voice__mark { font-size: 48px; line-height: .6; height: 22px; color: var(--af-accent); font-family: Georgia, serif; }
.afp-voice__title { font-size: 17px; margin: 14px 0 8px; }
.afp-voice__quote { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--af-muted); flex: 1; }
.afp-voice__who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--af-line); }
.afp-voice__img { position: relative; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; background: var(--af-beige); }
.afp-voice__img .afp-img { position: absolute; inset: 0; min-height: 0; }
.afp-voice__initial { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-weight: 700; color: var(--af-primary); }
.afp-voice__who strong { display: block; font-size: 15px; color: var(--af-primary); }
.afp-voice__who small { display: block; font-size: 13px; color: var(--af-muted); }
.afp-voice__stars { display: block; color: #E9A23B; font-size: 13px; letter-spacing: normal; }
.afp-voice--featured { background: var(--af-primary); border-color: var(--af-primary); color: #fff; }
.afp-voice--featured .afp-voice__title, .afp-voice--featured .afp-voice__who strong { color: #fff; }
.afp-voice--featured .afp-voice__quote, .afp-voice--featured .afp-voice__who small { color: rgba(255, 255, 255, .78); }
.afp-voice--featured .afp-voice__who { border-color: rgba(255, 255, 255, .16); }

/* ---------- News rows (posts list) ---------------------------------- */
.afp-plist { border: 0; }
.afp-plist li { margin-bottom: 12px; }
.afp-plist a { grid-template-columns: 150px 1fr 40px; padding: 18px 22px; border: 1px solid var(--af-line); border-radius: 14px; background: #fff; transition: background .2s, color .2s; }
.afp-plist a:hover { background: var(--af-primary); color: #fff; border-color: var(--af-primary); }
.afp-plist a:hover .afp-plist__meta, .afp-plist a:hover .afp-icon { color: #fff; }
.afp-plist__meta { font-weight: 400; color: var(--af-muted); }
.afp-plist .afp-icon { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--af-light); color: var(--af-primary); }
.afp-text--light .afp-plist a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.afp-text--light .afp-plist__meta { color: rgba(255, 255, 255, .65); }
.afp-text--light .afp-plist .afp-icon { background: rgba(255, 255, 255, .12); color: #fff; }
.afp-text--light .afp-plist a:hover { background: #fff; color: var(--af-primary); }
.afp-text--light .afp-plist a:hover .afp-plist__meta { color: var(--af-muted); }
.afp-text--light .afp-plist a:hover .afp-icon { background: var(--af-primary); color: #fff; }
.afp-more .afp-btn, .afp-sec--posts .afp-btn { border-radius: 999px; }

/* ---------- FAQ / accordion ----------------------------------------- */
.afp-faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.afp-faq__img { position: relative; min-height: 420px; border-radius: var(--af-r-big); overflow: hidden; }
.afp-faq__img .afp-img { position: absolute; inset: 0; }
.afp-acc__item, .afp-acc__item:first-child { margin-bottom: 12px; padding: 0 22px; border: 1px solid var(--af-line); border-radius: 14px; background: #fff; }
.afp-acc__item[open] { background: var(--af-light); border-color: transparent; }
.afp-acc__q { padding: 20px 44px 20px 0; font-size: 17px; color: var(--af-primary); }
.afp-acc__sign { width: 28px; height: 28px; right: -4px; border-radius: 50%; background: var(--af-light); }
.afp-acc__item[open] .afp-acc__sign { background: #fff; }
.afp-acc__sign::before, .afp-acc__sign::after { left: 8px; top: 13px; width: 12px; background: var(--af-primary); }
.afp-acc__a { padding-bottom: 20px; }
.afp-text--light .afp-acc__item { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.afp-text--light .afp-acc__q { color: #fff; }

/* ---------- Tabs, table, steps, timeline, checklist, partners --------- */
.afp-tabs__nav { gap: 8px; border: 0; padding: 6px; border-radius: 999px; background: var(--af-light); width: fit-content; max-width: 100%; }
.afp-tabs__btn { border: 0; margin: 0; padding: 10px 20px; border-radius: 999px; font-size: 14px; }
.afp-tabs__btn.is-active, .afp-tabs__btn:hover { background: var(--af-primary); color: #fff; border: 0; }
.afp-table-wrap { border-radius: var(--af-r-card); border-color: var(--af-line); }
.afp-table thead th { background: var(--af-primary); }
.afp-table tbody th { color: var(--af-primary); }
.afp-table tbody tr:nth-child(even) { background: #FBF9F5; }
.afp-step__num { background: var(--af-primary); border-color: var(--af-light); }
.afp-step__count { color: var(--af-accent); }
.afp-steps__footer { border-left: 0; border-radius: var(--af-r-card); box-shadow: var(--af-shadow); }
.afp-tl::before { border-color: var(--af-primary); }
.afp-tl__date { color: var(--af-primary); }
.afp-tl__status { border-radius: 999px; padding: 2px 10px; }
.afp-tl--current::before { box-shadow: 0 0 0 6px rgba(78, 156, 144, .22); }
.afp-check__icon { background: var(--af-accent); }
.afp-logos li { border-radius: 14px; border-color: var(--af-line); }
.afp-pgroup { border-radius: var(--af-r-card); }
.afp-pgroup__head { border-bottom-color: var(--af-accent); }
.afp-org__node { border-radius: 12px; }
.afp-org__node--l3 { background: #EAF4F2; color: var(--af-primary); border-color: var(--af-accent); }
.afp-org__branch { border-radius: 14px; border-top-color: var(--af-accent); overflow: hidden; }
.afp-video__frame { border-radius: var(--af-r-big); overflow: hidden; }
.afp-video__play { background: var(--af-accent); border-color: var(--af-accent); }
.afp-gallery .afp-img { border-radius: 14px; }

/* ---------- Forms ---------------------------------------------------- */
.afp-form label { font-weight: 700; color: var(--af-primary); }
.afp-form input, .afp-form select, .afp-form textarea { padding: 13px 16px; border: 1px solid var(--af-line); border-radius: 12px; background: #fff; color: var(--af-text); }
.afp-form input:focus, .afp-form select:focus, .afp-form textarea:focus { outline: 0; border-color: var(--af-accent); box-shadow: 0 0 0 4px rgba(78, 156, 144, .18); }
.afp-form .afp-btn { border-radius: 999px; padding: 14px 28px; }
.afp-contact__form { border-radius: var(--af-r-big); background: var(--af-light); }
.afp-apply__form { border-top: 0; border-radius: var(--af-r-big); box-shadow: var(--af-shadow); }
.afp-contact__list li { border-color: var(--af-line); }
.afp-contact__list .afp-icon { color: var(--af-accent); }
.afp-notice { border-radius: 10px; }
.afp-subscribe input[type=email] { border-radius: 999px 0 0 999px; padding-left: 20px; }
.afp-subscribe .afp-btn { border-radius: 0 999px 999px 0; }
.afp-subscribe__arrow { border-radius: 50%; background: var(--af-primary); }
.afp-map iframe { border-radius: var(--af-r-big); }
.afp-facts { border-radius: var(--af-r-card); }
.afp-facts span { color: var(--af-accent); }
.afp-pagination .page-numbers { border-radius: 10px; }
.afp-pagination .current, .afp-pagination a:hover { background: var(--af-primary); border-color: var(--af-primary); }
.afp-single__img { border-radius: var(--af-r-big); overflow: hidden; }

/* ---------- Coming soon ---------------------------------------------- */
.afp-cs__bg::after { background: linear-gradient(160deg, rgba(20, 33, 58, .94), rgba(29, 45, 71, .82)); }
.afp-cs__shape { background: var(--af-accent); clip-path: none; width: 26%; height: 52%; left: -4%; border-radius: 0 999px 0 0; opacity: .85; }
.afp-countdown div { border-radius: 14px; }

/* ---------- Footer: call-to-action box, dark footer, newsletter ----- */
.afp-footer > .afp-wrap:first-child { padding-top: 8px; }
.afp-footer { position: relative; background: var(--af-primary-dark); color: rgba(255, 255, 255, .78); font-size: 14px; }
.afp-footer:has(.afp-footcta) { background: linear-gradient(180deg, transparent 0 120px, var(--af-primary-dark) 120px); }
.afp-footcta { position: relative; overflow: hidden; padding: 56px 40px; border-radius: var(--af-r-big); background: #fff; box-shadow: 0 24px 60px rgba(20, 33, 58, .16); text-align: center; border: 1px solid var(--af-line); }
.afp-footcta::before, .afp-footcta::after { content: ""; position: absolute; top: 0; bottom: 0; width: 22%; pointer-events: none; }
.afp-footcta::before { left: 0; background: linear-gradient(110deg, var(--af-light) 0 30%, transparent 70%); }
.afp-footcta::after { right: 0; background: linear-gradient(250deg, var(--af-light) 0 30%, transparent 70%); }
.afp-footcta > * { position: relative; z-index: 1; }
.afp-footcta__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; color: var(--af-primary); margin-bottom: 12px; }
.afp-footcta__text { max-width: 560px; margin: 0 auto 24px; color: var(--af-muted); }
.afp-footcta .afp-btn { border-radius: 999px; }
.afp-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); padding-top: 72px; padding-bottom: 48px; }
.afp-footer__about { color: rgba(255, 255, 255, .68); }
.afp-footer .afp-textlogo__txt strong, .afp-footer .afp-textlogo__txt small { color: #fff; }
.afp-footer__title { font-size: 15px; color: #fff; margin: 4px 0 16px; }
.afp-footer__title--news { margin-top: 24px; }
.afp-footer__menu li { color: rgba(255, 255, 255, .68); font-size: 14px; }
.afp-footer__menu a { color: rgba(255, 255, 255, .68); }
.afp-footer__menu a:hover { color: #fff; }
.afp-badge-ph { border-color: rgba(255, 255, 255, .5); color: #fff; }
.afp-footer .afp-social--light a { background: rgba(255, 255, 255, .1); }
.afp-footer .afp-social--light a:hover { background: var(--af-accent); }
.afp-subscribe--pill { flex-wrap: nowrap; padding: 4px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .06); }
.afp-footer__cols > * { min-width: 0; }
.afp-subscribe--pill input[type=email] { flex: 1 1 auto; width: 100%; min-width: 0; padding: 10px 14px; background: transparent; color: #fff; font-size: 14px; border-radius: 999px; }
.afp-subscribe--pill input::placeholder { color: rgba(255, 255, 255, .55); }
.afp-subscribe--pill .afp-btn { padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--af-primary); font-size: 13px; }
.afp-subscribe--pill .afp-btn:hover { background: var(--af-accent); color: #fff; }
.afp-footer__newsnote { margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, .55); }
.afp-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .6); }
.afp-footer__bottom .afp-wrap { justify-content: space-between; text-align: left; }
.afp-legal a { color: rgba(255, 255, 255, .6); }
.afp-legal a:hover { color: #fff; }

/* ---------- Ari widgets follow the same look ------------------------ */
.ari-button { border-radius: var(--af-radius); }
.ari-form__input { border-radius: 12px; }

/* ---------- Tablets and phones -------------------------------------- */
@media (max-width: 1320px) {
	.afp-header__ctas .afp-btn--outline { display: none; }
}
@media (max-width: 1180px) {
	.afp-header__ctas { display: none; }
	.afp-voices, .afp-voices:has(> .afp-voice:nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afp-voices > .afp-voice:nth-child(n) { grid-column: span 1; }
	.afp-voices > .afp-voice:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 960px) {
	.afp-sec { padding: 72px 0; }
	.afp-sec--hero, .afp-ph-banner { padding-top: 0; padding-bottom: 0; }
	.afp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.afp-hero--portrait .afp-hero__content { padding: 64px 0 8px; }
	.afp-hero__visual { height: 380px; margin-top: 32px; max-width: 520px; width: 100%; margin-left: auto; margin-right: auto; }
	.afp-teamside, .afp-faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.afp-faq__img { min-height: 260px; }
	.afp-sec--story { padding: 72px var(--af-gutter); }
	.afp-story { min-height: 420px; }
	.afp-story__text { margin: 16px; padding: 28px; }
	.afp-sec--story .afp-story__media { aspect-ratio: auto; }
	.afp-tiles { grid-template-columns: minmax(0, 1fr); }
	.afp-fpanel { margin: 0; border-radius: 0; }
	.afp-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.afp-ph-banner--green::after { width: 46%; height: 50%; opacity: .5; }
}
@media (max-width: 640px) {
	.afp-hero--portrait .afp-hero__title { font-size: 38px; }
	.afp-hero--portrait .afp-hero__sub { font-size: 17px; }
	.afp-hero__visual { height: 320px; }
	.afp-hero__stat { padding: 12px 16px; bottom: 20px; }
	.afp-hero__stat strong { font-size: 24px; }
	.afp-voices, .afp-voices:has(> .afp-voice:nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); }
	.afp-voices > .afp-voice:nth-child(n) { grid-column: span 1; }
	.afp-plist a { grid-template-columns: minmax(0, 1fr) 32px; padding: 14px 16px; }
	.afp-footcta { padding: 40px 22px; }
	.afp-footer:has(.afp-footcta) { background: linear-gradient(180deg, transparent 0 90px, var(--af-primary-dark) 90px); }
	.afp-footer__bottom .afp-wrap { flex-direction: column; text-align: center; }
	.afp-tabs__nav { border-radius: 14px; }
	.afp-teamside .afp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afp-footer__contact { grid-column: 1 / -1; }
}
.afp-crumbs { display: flex; width: fit-content; max-width: 100%; }
@media (min-width: 1181px) { .afp-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); } }
