/* This stylesheet is loaded only by the affiliation page. */
main { padding: 0; }
main > .wrap { max-width: none; padding: 0; }
.affiliation-page { background: #fff; letter-spacing: 0; }
.affiliation-page * { min-width: 0; }
.af-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 30px; padding-right: 30px; }
.affiliation-page h1, .affiliation-page h2, .affiliation-page h3, .affiliation-page p { margin-top: 0; }
.affiliation-page a:focus-visible { outline: 3px solid #e9b83b; outline-offset: 5px; }
.affiliation-page section[id] { scroll-margin-top: 100px; }
.af-breadcrumb { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: #475569; }
.af-breadcrumb a { color: var(--blue-700); }
.af-breadcrumb i { font-size: 9px; }
.af-hero { position: relative; isolation: isolate; background: #07533c; color: #fff; }
.af-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; z-index: -2; }
.af-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0, 31, 24, .17); z-index: -1; }
.af-hero-inner { min-height: 440px; display: flex; align-items: center; padding-top: 42px; padding-bottom: 38px; }
.af-hero-copy { max-width: 570px; }
.af-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--blue-700); margin-bottom: 12px; }
.af-hero .af-eyebrow { color: #fff; }
.af-hero h1 { font-size: 48px; line-height: 1.1; font-weight: 750; margin-bottom: 20px; text-wrap: balance; }
.af-hero-lead { font-size: 19px; line-height: 1.5; margin-bottom: 26px; }
.af-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.af-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 12px 18px; border-radius: 6px; font-size: 14px; font-weight: 650; line-height: 1.4; text-align: center; transition: background .15s ease; }
.af-button-gold { background: #f3c64c; color: #162331; }
.af-button-gold:hover { background: #ffda74; }
.af-button-blue { background: var(--blue-700); color: #fff; }
.af-button-blue:hover { background: #083d82; }
.af-hero-link { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; min-height: 44px; }
.af-hero-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.af-hero .af-motto { margin: 26px 0 0; font-size: 14px; font-style: italic; }
.af-numbers { background: #f3f7fc; border-bottom: 1px solid #e2eaf5; }
.af-numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 26px; padding-bottom: 26px; }
.af-numbers-grid > div { display: flex; align-items: center; gap: 15px; padding: 0 24px; border-left: 1px solid #d4dfec; }
.af-numbers-grid > div:first-child { border: 0; padding-left: 0; }
.af-numbers-grid > div:last-child { padding-right: 0; }
.af-numbers-grid i { font-size: 27px; color: var(--blue-700); }
.af-numbers-grid > div:first-child i { color: #a4770a; }
.af-numbers-grid > div:last-child i { color: #137b53; }
.af-numbers-grid p { margin: 0; }
.af-numbers-grid strong { display: block; font-size: 26px; line-height: 1.3; color: var(--blue-900); font-weight: 750; }
.af-numbers-grid span { display: block; font-size: 13px; line-height: 1.5; color: #475569; margin-top: 3px; }
.af-benefits { padding-top: 52px; padding-bottom: 52px; }
.af-section-heading { margin-bottom: 28px; }
.affiliation-page h2 { font-size: 30px; line-height: 1.2; font-weight: 700; color: var(--blue-900); margin-bottom: 12px; text-wrap: balance; }
.af-section-heading > p:last-child { color: #475569; line-height: 1.65; font-size: 16px; margin-bottom: 0; }
.af-benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.af-benefit { --accent: #0b4da2; --tint: #f2f7fe; --edge: #cfdef0; display: flex; flex-direction: column; border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(10, 37, 64, .08); }
.af-green { --accent: #166748; --tint: #f0f8f4; --edge: #cce4d8; }
.af-red { --accent: #a8283a; --tint: #fff4f5; --edge: #eed3d8; }
.af-gold { --accent: #845e0f; --tint: #fffaed; --edge: #e7ddc4; --heading-bg: #f1ca63; --heading-ink: #213349; }
.af-benefit-heading { background: var(--heading-bg, var(--accent)); color: var(--heading-ink, #fff); padding: 20px; border-bottom: 4px solid var(--edge); }
.af-benefit-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.af-benefit-top > i { display: inline-flex; width: 46px; height: 46px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 8px; color: inherit; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: 23px; }
.af-benefit-top > span { font-size: 34px; line-height: 1; color: rgba(255, 255, 255, .5); font-weight: 650; font-variant-numeric: tabular-nums; }
.af-gold .af-benefit-top > span { color: #75602a; }
.af-benefit h3 { font-size: 19px; line-height: 1.3; font-weight: 650; margin-bottom: 0; color: inherit; min-height: 50px; text-wrap: balance; }
.af-benefit-body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 0; background: var(--tint); }
.af-benefit ul { margin: 0; padding: 0; list-style: none; }
.af-benefit li { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; color: #34465c; }
.af-benefit li + li { margin-top: 13px; }
.af-benefit li i { display: inline-flex; flex: 0 0 19px; width: 19px; height: 19px; align-items: center; justify-content: center; border: 1px solid var(--edge); border-radius: 50%; background: #fff; font-size: 10px; color: var(--accent); margin-top: 2px; }
.af-benefit ul { padding-bottom: 20px; }
.af-benefit-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 57px; margin-top: auto; padding: 14px 0; border-top: 1px solid var(--edge); font-size: 13px; line-height: 1.4; font-weight: 650; color: var(--accent); }
.af-benefit-link i { flex: 0 0 14px; text-align: right; }
.af-benefit-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.af-benefit-link:focus-visible { outline-offset: -3px; }
.af-digital { background: #f3f7fc; padding: 44px 0; border-top: 1px solid #e2eaf5; border-bottom: 1px solid #e2eaf5; }
.af-digital-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.af-digital-grid section { padding: 0 32px; border-left: 1px solid #d4dfec; display: flex; align-items: flex-start; flex-direction: column; }
.af-digital-grid section:first-child { padding-left: 0; border: 0; }
.af-digital-grid section:last-child { padding-right: 0; }
.af-digital-grid img { width: 96px; height: 84px; object-fit: contain; object-position: left center; margin-bottom: 16px; }
.af-digital-grid h3 { font-size: 20px; font-weight: 700; color: var(--blue-900); margin-bottom: 9px; }
.af-digital-grid p { font-size: 15px; line-height: 1.6; color: #475569; margin-bottom: 16px; }
.af-text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; color: var(--blue-700); min-height: 44px; }
.af-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.af-digital-grid .af-text-link { margin-top: auto; }
.af-together { text-align: center; padding-top: 50px; padding-bottom: 46px; }
.af-together p { font-size: 17px; line-height: 1.5; color: #475569; margin-bottom: 12px; }
.af-together h2 { font-size: 34px; margin-bottom: 22px; }
.af-tricolour { display: flex; width: 84px; height: 4px; margin: 0 auto 18px; }
.af-tricolour span { flex: 1; background: #198250; }
.af-tricolour span:nth-child(2) { background: #e2e8f0; }
.af-tricolour span:nth-child(3) { background: #cd2637; }
.af-contact { padding: 42px 0; background: #edf4fd; border-top: 1px solid #d7e4f5; }
.af-contact-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 60px; align-items: start; }
.af-contact h2 { font-size: 28px; }
.af-contact p:not(.af-eyebrow) { color: #475569; font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
.af-contact .af-actions { gap: 18px; }
.af-phone { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--blue-900); white-space: nowrap; }
.af-email { display: inline-block; font-size: 14px; color: var(--blue-700); margin-top: 12px; padding: 5px 0; }
.af-email:hover { text-decoration: underline; }
.af-start { padding-left: 32px; border-left: 1px solid #cbdced; }
.af-start > i { font-size: 24px; color: #16704b; margin-bottom: 14px; }
.af-start h3 { font-size: 20px; line-height: 1.35; font-weight: 650; color: var(--blue-900); margin-bottom: 10px; }
.af-start p { margin-bottom: 10px !important; }
@media (max-width: 1100px) {
  .af-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-benefit-heading { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 18px; }
  .af-benefit-top { position: relative; margin: 0; padding-bottom: 22px; }
  .af-benefit-top > span { position: absolute; bottom: 0; left: 0; width: 46px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .8); }
  .af-benefit h3 { min-height: 0; }
  .af-numbers-grid > div { gap: 10px; padding: 0 16px; }
  .af-numbers-grid strong { font-size: 23px; }
  .af-numbers-grid i { font-size: 22px; }
  .af-contact-grid { gap: 32px; }
}
@media (max-width: 760px) {
  .af-inner { padding-left: 20px; padding-right: 20px; }
  .af-hero-inner { min-height: 410px; }
  .af-hero h1 { font-size: 38px; }
  .af-hero-copy { max-width: 420px; }
  .af-hero-image { object-position: 32% center; }
  .af-hero::after { background: rgba(0, 31, 24, .3); }
  .af-numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; padding-top: 24px; padding-bottom: 24px; }
  .af-numbers-grid > div { padding: 0 0 0 16px; }
  .af-numbers-grid > div:nth-child(odd) { border: 0; padding: 0 12px 0 0; }
  .af-numbers-grid strong { font-size: 23px; }
  .af-numbers-grid span { font-size: 12px; }
  .af-benefits { padding-top: 36px; padding-bottom: 36px; }
  .af-benefits-grid { gap: 14px; }
  .af-benefit-heading { padding: 18px; gap: 12px; }
  .af-benefit-body { padding: 18px 18px 0; }
  .af-digital-grid { grid-template-columns: 1fr; gap: 24px; }
  .af-digital-grid section, .af-digital-grid section:first-child { padding: 0 0 24px; border: 0; border-bottom: 1px solid #d4dfec; }
  .af-digital-grid section:last-child { padding-bottom: 0; border: 0; }
  .af-digital-grid img { width: 90px; height: 74px; margin-bottom: 12px; }
  .af-digital-grid p { margin-bottom: 8px; }
  .af-contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .af-start { border-left: 0; border-top: 1px solid #cbdced; padding: 26px 0 0; }
  .af-together h2 { font-size: 28px; }
  .affiliation-page h2 { font-size: 27px; }
}
@media (max-width: 600px) {
  .af-benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .af-inner { padding-left: 18px; padding-right: 18px; }
  .af-breadcrumb { font-size: 12px; }
  .af-hero-inner { min-height: 430px; padding-top: 34px; padding-bottom: 30px; }
  .af-hero h1 { font-size: 34px; }
  .af-hero-lead { font-size: 17px; }
  .af-hero-copy { max-width: 300px; }
  .af-hero .af-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .af-hero .af-motto { margin-top: 16px; }
  .af-hero-image { object-position: 30% center; }
  .af-numbers-grid > div { gap: 10px; }
  .af-numbers-grid strong { font-size: 21px; }
  .af-numbers-grid i { font-size: 20px; }
  .af-benefits-grid { grid-template-columns: 1fr; gap: 20px; }
  .af-benefit h3 { font-size: 20px; margin-bottom: 0; }
  .af-benefit li { font-size: 14px; }
  .af-section-heading > p:last-child { font-size: 15px; }
  .af-contact .af-actions { gap: 8px 16px; }
  .af-contact, .af-digital { padding-top: 34px; padding-bottom: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .af-button { transition: none; }
}
