/* Academy pages (/academy/* and /autism-scholarship-program).
   Small additions on top of the Webflow CSS; uses the site color variables. */
.ac-banner .about-us-section-wrap { height: auto; min-height: 380px; padding: 130px 0 60px; }
.ac-banner .banner-content-wrapper { text-align: center; }

.ac-subnav { background: #fff; border-bottom: 1px solid #f0e4e1; }
.ac-subnav ul { display: flex; flex-flow: row wrap; gap: 8px; list-style: none; margin: 0; padding: 14px 0; justify-content: center; }
.ac-subnav li, .ac-rows li, .ac-legend li, .ac-list li { background-image: none; }
.ac-subnav li { margin: 0; padding: 0; display: block; }
.ac-subnav a { display: block; padding: 8px 16px; border: 1px solid var(--primary); border-radius: 50px; color: var(--dark-blue); font-family: Roboto, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.2; }
.ac-subnav a:hover, .ac-subnav a[aria-current="page"] { background: var(--primary); color: #fff; }

.ac-section { padding: 70px 0; position: relative; }
.ac-section.ac-tint { background: var(--primary-light); }
.ac-section.ac-band { background: var(--dark-blue); }
.ac-section.ac-band p, .ac-section.ac-band li { color: #fff; }
.ac-section.ac-band .ac-h2 { color: #fff; }
.ac-section.ac-tight { padding: 40px 0; }

.ac-h2 { color: var(--dark-blue); font-family: Mplusrounded1c, sans-serif; font-size: 38px; line-height: 1.15; margin: 0 0 20px; text-transform: capitalize; }
.ac-h2 .pink-heading { color: var(--primary); }
.ac-h3 { color: var(--dark-blue); font-family: Mplusrounded1c, sans-serif; font-size: 24px; line-height: 1.2; margin: 0 0 12px; font-weight: 900; }
.ac-center { text-align: center; }
.ac-prose { max-width: 780px; }
.ac-prose.ac-center { margin-left: auto; margin-right: auto; }
.ac-prose p, .ac-p { color: var(--text-color); font-family: Roboto, sans-serif; font-size: 18px; line-height: 1.6; margin: 0 0 16px; }
.ac-note { color: var(--text-color); font-size: 15px; line-height: 1.5; }

.ac-list { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ac-list li { display: block; position: relative; padding-left: 32px; color: var(--text-color); font-family: Roboto, sans-serif; font-size: 18px; line-height: 1.4; }
.ac-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); }

.ac-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.ac-split img { width: 100%; height: auto; display: block; }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 30px; }
.ac-grid.ac-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.ac-card { background: var(--primary-light); border-radius: 30px; padding: 32px 28px; }
.ac-card.ac-white { background: #fff; box-shadow: 0 0 20px -11px #0003; }
.ac-card img { max-width: 100%; height: auto; display: block; }
.ac-card p { color: var(--text-color); font-size: 17px; line-height: 1.5; margin: 0 0 12px; }
a.ac-card { display: block; text-decoration: none; transition: box-shadow .3s; }
a.ac-card:hover { box-shadow: 0 6px 24px -10px #0005; }
a.ac-card .ac-h3 { margin-bottom: 8px; }

.ac-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.ac-btns a { text-align: center; }
.ac-center .ac-btns, .ac-btns.ac-center { justify-content: center; }
.ac-band .secondary-button { color: #fff; border-color: #fff; }
.ac-band .secondary-button:hover { background: #fff; color: var(--dark-blue); }

.ac-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.ac-gallery img { width: 100%; height: auto; display: block; border-radius: 16px; }
.ac-gallery figure { margin: 0; }
.ac-gallery a { display: block; }

.ac-rows { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; }
.ac-rows li { padding-left: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid #ecdcd8; color: var(--text-color); font-size: 17px; line-height: 1.4; }
.ac-rows li:last-child { border-bottom: 0; }
.ac-rows strong { color: var(--dark-blue); font-family: Mplusrounded1c, sans-serif; white-space: nowrap; }
.ac-amount { color: var(--dark-blue); font-family: Mplusrounded1c, sans-serif; font-size: 44px; font-weight: 900; line-height: 1; margin: 6px 0 4px; }

.ac-team { display: flex; flex-flow: row wrap; justify-content: center; gap: 36px 24px; margin-top: 30px; }
.ac-person { text-align: center; width: 210px; max-width: 100%; }
.ac-split img.ac-map { max-width: 420px; margin: 0 auto; }
.ac-avatar { width: 168px; height: 168px; border-radius: 50%; background: var(--primary); margin: 0 auto 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ac-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.ac-avatar span { color: #fff; font-family: Mplusrounded1c, sans-serif; font-size: 48px; font-weight: 900; }
.ac-person h3 { color: var(--dark-blue); font-family: Mplusrounded1c, sans-serif; font-size: 20px; line-height: 1.2; margin: 0 0 6px; }
.ac-person p { color: var(--text-color); font-size: 16px; margin: 0; }

.ac-address { font-style: normal; color: var(--text-color); font-size: 17px; line-height: 1.5; margin: 0 0 12px; }
.ac-fig { margin: 0; }
.ac-fig img { width: 100%; height: auto; display: block; }
.ac-calendar-img { max-width: 720px; margin: 24px auto 0; }
.ac-legend { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.ac-legend li { padding-left: 0; color: var(--text-color); font-size: 16px; display: flex; align-items: center; gap: 8px; }
.ac-legend i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; }

@media screen and (max-width: 991px) {
  .ac-split { grid-template-columns: 1fr; gap: 30px; }
  .ac-h2 { font-size: 32px; }
}
@media screen and (max-width: 479px) {
  .ac-section { padding: 48px 0; }
  .ac-h2 { font-size: 28px; }
  .ac-banner .about-us-section-wrap { min-height: 300px; padding: 110px 0 40px; }
  .ac-subnav a { font-size: 14px; padding: 7px 12px; }
  .ac-card { padding: 26px 20px; }
  .ac-grid, .ac-grid.ac-grid-2 { grid-template-columns: 1fr; }
  .ac-gallery { grid-template-columns: 1fr; }
  .ac-rows li { flex-direction: column; gap: 2px; }
}
