/* Standardized copy and secondary typography for content pages. */
:root {
  --site-body-copy-font: "Poppins", sans-serif;
  --site-body-copy-size: 1rem;
  --site-body-copy-weight: 400;
  --site-body-copy-style: normal;
  --site-body-copy-line-height: 1.7;
  --site-secondary-heading-font: "Montserrat", sans-serif;
  --site-secondary-heading-size: 1.12rem;
  --site-secondary-heading-weight: 700;
  --site-secondary-heading-style: normal;
  --site-secondary-heading-line-height: 1.3;
}

p,
.desc,
.description,
.header-description,
.section-subtitle,
.subtitle,
[class*="__desc"],
[class*="-desc"],
[class*="__description"],
[class*="-description"],
[class*="__intro"],
[class*="-intro"],
[class*="__copy"],
[class*="-copy"],
[class*="__body"],
[class*="-body"],
[class*="__subtitle"],
[class*="-subtitle"] {
  font-family: var(--site-body-copy-font) !important;
  font-size: var(--site-body-copy-size) !important;
  font-weight: var(--site-body-copy-weight) !important;
  font-style: var(--site-body-copy-style) !important;
  line-height: var(--site-body-copy-line-height) !important;
}

@media (min-width:1200px) {
   .pta-tabs-scroll button.pta-tabs-arrow {
        display: none !important;
    }
}

main h3,
main h4,
main h5,
main h6,
.card-title,
.step-title,
.trip-title,
.question-heading,
.process-step__title,
.hoe-card__title,
.activity-card__title,
.activity-bento-card h3,
.discipline-card h3,
.pointer-card h3,
.programme-card h3,
.program-card h3,
.reveal-card h3,
.reveal-card h4,
[class*="card__title"],
[class*="card-title"],
[class*="card_title"],
[class*="item__title"],
[class*="item-title"] {
  font-family: var(--site-secondary-heading-font) !important;
  font-size: var(--site-secondary-heading-size) !important;
  font-weight: var(--site-secondary-heading-weight) !important;
  font-style: var(--site-secondary-heading-style) !important;
  line-height: var(--site-secondary-heading-line-height) !important;
}

/* Shared card calls to action: light cards use navy-to-blue feedback; dark cards invert to white. */
:is(.process-step__btn, .h-card-link, .hoe-card__cta, .jnis-team-card__more, .jnis-team-feature-card__button) {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: auto;
  padding: 11px 0 0;
  color: #17356f !important;
  background: transparent;
  border: 0;
  border-top: 1px dashed rgba(23, 53, 111, .22);
  font-family: "Montserrat", sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: .14em;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: capitalize;
  transition: color .25s ease, border-color .25s ease;
}

:is(.process-step__btn-icon, .hoe-card__cta-icon, .jnis-team-card__arrow),
.h-card-link i,
.jnis-team-feature-card__button i {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: #17356f;
  background: rgba(23, 53, 111, .08);
  border-radius: 50%;
  font-size: .7rem;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

:is(.process-step__btn, .h-card-link, .hoe-card__cta, .jnis-team-card__more, .jnis-team-feature-card__button):hover,
:is(.process-step__btn, .h-card-link, .hoe-card__cta, .jnis-team-card__more, .jnis-team-feature-card__button):focus-visible {
  color: #38a6dd !important;
  border-top-color: #38a6dd;
}

:is(.process-step__btn, .h-card-link, .hoe-card__cta, .jnis-team-card__more, .jnis-team-feature-card__button):hover :is(.process-step__btn-icon, .hoe-card__cta-icon, .jnis-team-card__arrow, i),
:is(.process-step__btn, .h-card-link, .hoe-card__cta, .jnis-team-card__more, .jnis-team-feature-card__button):focus-visible :is(.process-step__btn-icon, .hoe-card__cta-icon, .jnis-team-card__arrow, i) {
  color: #fff;
  background: #38a6dd;
  transform: translateX(3px);
}

/* Image-overlay and dark cards keep white text; their hover state reverses for contrast. */
:is(.hoe-card__cta, .process-stepper > .process-step:nth-child(1) .process-step__btn, .process-stepper > .process-step:nth-child(3) .process-step__btn) {
  color: #fff !important;
  border-top-color: rgba(255, 255, 255, .45);
}

:is(.hoe-card__cta-icon, .process-stepper > .process-step:nth-child(1) .process-step__btn-icon, .process-stepper > .process-step:nth-child(3) .process-step__btn-icon) {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

:is(.hoe-card__cta, .process-stepper > .process-step:nth-child(1) .process-step__btn, .process-stepper > .process-step:nth-child(3) .process-step__btn):hover,
:is(.hoe-card__cta, .process-stepper > .process-step:nth-child(1) .process-step__btn, .process-stepper > .process-step:nth-child(3) .process-step__btn):focus-visible {
  color: #fff !important;
  border-top-color: #fff;
}

:is(.hoe-card__cta, .process-stepper > .process-step:nth-child(1) .process-step__btn, .process-stepper > .process-step:nth-child(3) .process-step__btn):hover :is(.hoe-card__cta-icon, .process-step__btn-icon),
:is(.hoe-card__cta, .process-stepper > .process-step:nth-child(1) .process-step__btn, .process-stepper > .process-step:nth-child(3) .process-step__btn):focus-visible :is(.hoe-card__cta-icon, .process-step__btn-icon) {
  color: #082652;
  background: #fff;
}

/* Shared arrow-only controls. Default: light surface. */
:is(.banner-nav-btn, .graduate-profile-nav, .pyp-nav-btn, .iyc-deck-btn, .nav-arrow, .hoe-nav, .mela-arrow, .pta-tabs-arrow, .awards-next, .awards-prev, .nav.prev, .nav.next) {
  display: inline-grid !important;
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  place-items: center;
  color: #082652 !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(8, 38, 82, .18) !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 24px rgba(8, 38, 82, .12);
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

:is(.banner-nav-btn, .graduate-profile-nav, .pyp-nav-btn, .iyc-deck-btn, .nav-arrow, .hoe-nav, .mela-arrow, .pta-tabs-arrow, .awards-next, .awards-prev, .nav.prev, .nav.next):hover,
:is(.banner-nav-btn, .graduate-profile-nav, .pyp-nav-btn, .iyc-deck-btn, .nav-arrow, .hoe-nav, .mela-arrow, .pta-tabs-arrow, .awards-next, .awards-prev, .nav.prev, .nav.next):focus-visible {
  color: #fff !important;
  background: #082652 !important;
  border-color: #082652 !important;
  box-shadow: 0 14px 30px rgba(8, 38, 82, .22);
  transform: translateY(-2px);
}

/* Dark sections and photo viewers: white outline first, then white fill with navy icon on hover. */
:is(.hoe-section--dark .hoe-nav, .modal-photo-frame .nav-arrow) {
  color: #fff !important;
  background: rgba(8, 38, 82, .26) !important;
  border-color: rgba(255, 255, 255, .72) !important;
}

:is(.hoe-section--dark .hoe-nav, .modal-photo-frame .nav-arrow):hover,
:is(.hoe-section--dark .hoe-nav, .modal-photo-frame .nav-arrow):focus-visible {
  color: #082652 !important;
  background: #fff !important;
  border-color: #fff !important;
}

/* Shared interaction finish: dark cards invert their CTA and navigation hover. */
.hoe-card:hover .hoe-card__cta-icon,
.process-stepper > .process-step:nth-child(1) .process-step__btn:hover .process-step__btn-icon,
.process-stepper > .process-step:nth-child(3) .process-step__btn:hover .process-step__btn-icon {
  background: #fff !important;
  color: #082652 !important;
  transform: translateX(3px);
}

#tripTimelineSection .nav-arrow:hover {
  background: #38a6dd !important;
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.iyc-deck-section .iyc-deck-btn:hover:not(:disabled) {
  background: #38a6dd !important;
  border-color: #38a6dd;
  color: #fff;
}


