/* The CNMI Area Health Education Center pages (template page-ahec.php, inc/ahec.php): the CTI page blocks
   (cti-program.css) and the Board of Regents hero (gofurther.css .dp-hero), in AHEC's green. */
.ahec { --navy: #0e4a3b; --blue: #217a63; --gold: #9fdcc4; --gold-ink: #217a63; --red: #217a63; --tint: #e6f3ee; }
.ahec .ctip-btn:hover { background: var(--navy); }
.ahec .ctip-grad { background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 55%, #4fb08f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ahec .ctip-cta { background: radial-gradient(120% 120% at 50% 0%, #2a8a70 0%, var(--navy) 55%, #072a21 100%); }
.ahec .ctip-cta a:not(.ctip-btn) { color: #cdeee1; }
.ahec .dp-hero-title { color: var(--navy); }
.ahec .ahec-crumb a { color: inherit; }
.ahec-seals { margin: 0 auto 26px; }
.ahec-seals img { width: 220px; height: auto; display: block; margin: 0 auto; }
.ahec-seals--sm img { width: 170px; }
.ahec-img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* a box sized by aspect-ratio grows to its photo's height unless it clips (automatic minimum size) */
.ahec-wide, .ahec-ph, .ahec-offer-ph, .ahec-news-ph, .ahec-person-ph, .ahec-gallery figure { overflow: hidden; }

/* photos */
.ahec-lead { padding: 0 0 110px; }
.ahec-wide { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--gray); }
.ahec-ph { display: block; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #e8e8ed; }
.ahec-flyer { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.ahec-flyer .ahec-img { height: auto; object-fit: contain; }
.ahec-row + .ahec-row { margin-top: 96px; }
.ahec-row--flip > :first-child { order: 2; }
.ahec .ctip-split-text .ctip-h3 { margin-top: 0; }
.ahec .ctip-split-text .ctip-h3 a { color: inherit; }
.ahec .ctip-split--media .ctip-split-text p { font-size: 19px; }
.ahec-doors .ctip-h2 { margin: 0; }
.ahec-intro-sec { padding: 0 0 110px; }
.ahec-big { font-size: clamp(19px, 1.7vw, 21px); line-height: 1.5; color: var(--muted); }
.ahec-intro-sec .ctip-statement { margin-bottom: 28px; }

/* what we offer: photo cards */
.ahec-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ahec-offer-card { background: var(--gray); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ahec-offer-ph { display: block; aspect-ratio: 3 / 2; }
.ahec-offer-text { padding: 26px 28px 30px; }
.ahec-offer-text h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin: 0 0 8px; letter-spacing: -.01em; }
.ahec-offer-text p { color: var(--muted); margin: 0; }

/* news cards */
.ahec-newsgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ahec-news { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; color: var(--ink) !important;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.ctip-section:not(.ctip-section--gray) .ahec-news { background: var(--gray); }
.ahec-news:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.ahec-news-ph { display: block; aspect-ratio: 16 / 10; background: #e8e8ed; }
.ahec-news-text { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.ahec-news-date { font-size: 14px; color: var(--muted); }
.ahec-news-title { font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--navy); flex: 1; }
.ahec-news .ctip-link { color: var(--blue); }
.ahec-more { margin: 48px 0 0; }

/* teams */
.ahec-people { display: grid; gap: 20px; justify-content: center; }
.ahec-people--2 { grid-template-columns: repeat(2, minmax(0, 260px)); }
.ahec-people--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ahec-person { background: #fff; border-radius: var(--radius); padding: 30px 22px 28px; text-align: center; }
.ahec-person-ph { display: block; width: 132px; height: 132px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; background: #e8e8ed; }
.ahec-person-ph .ahec-img { object-position: 50% 20%; }
.ahec-person h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.ahec-person-role { font-size: 15px; color: var(--muted); margin: 0; }
.ahec-person-tel { font-size: 15px; margin: 6px 0 0; }
.ahec-team-cti { margin-top: 96px; }
.ahec-team-cti .ctip-h2 a { color: inherit; }

/* program pages */
.ahec-cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ahec-listcard h3 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 0 0 16px; letter-spacing: -.015em; }
.ahec-listcard .ctip-checks { flex: 0; }
.ahec-listcard .ctip-checks li { font-size: 16px; }
.ahec-apply .ctip-h2 { max-width: 820px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.ahec-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ahec-gallery figure { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: #e8e8ed; }

/* contact */
.ahec-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 980px; margin: 36px auto 28px; text-align: left; }
.ahec-facts div { background: rgba(255,255,255,.08); border-radius: 18px; padding: 20px 22px; }
.ahec-facts dt { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--gold); margin: 0 0 6px; }
.ahec-facts dd { margin: 0; font-size: 16px; color: #fff; }
.ahec-facts dd a { white-space: nowrap; }
.ahec-back { margin: 0 0 16px; }

@media (max-width: 1023px) {
  .ahec-offers, .ahec-newsgrid { grid-template-columns: repeat(2, 1fr); }
  .ahec-people--4, .ahec-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .ahec-lead, .ahec-intro-sec { padding-bottom: 72px; }
  .ahec-wide { aspect-ratio: 4 / 3; border-radius: 22px; }
  .ahec-row + .ahec-row { margin-top: 64px; }
  .ahec-row--flip > :first-child { order: 0; }
  .ahec-offers, .ahec-newsgrid, .ahec-cards2, .ahec-facts { grid-template-columns: 1fr; }
  .ahec-people--2, .ahec-people--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ahec-person { padding: 22px 14px; }
  .ahec-person-ph { width: 104px; height: 104px; }
  .ahec-gallery { grid-template-columns: repeat(2, 1fr); }
  .ahec-team-cti { margin-top: 72px; }
}
.ahec .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
