/*
Theme Name: Joy Dominion Academy
Theme URI: https://joydominion.ac.ug/
Author: Dell Wall Technologies
Author URI: https://dellwall.com/
Description: A fast, accessible and responsive WordPress theme for Joy Dominion Academy, a mixed day and boarding secondary school in Musita, Uganda.
Version: 1.6.2
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: joy-dominion-academy
Tags: education, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
  --jda-navy: #092d52;
  --jda-blue: #0d5ea6;
  --jda-gold: #f0b323;
  --jda-cream: #fff8e7;
  --jda-ink: #172433;
  --jda-muted: #66717e;
  --jda-pale: #eef5fa;
  --jda-white: #ffffff;
  --jda-border: #dce5ec;
  --jda-topbar-bg: #061f38;
  --jda-header-bg: #ffffff;
  --jda-header-text: #092d52;
  --jda-nav-bg: #092d52;
  --jda-nav-text: #ffffff;
  --jda-footer-bg: #071827;
  --jda-footer-text: #b8c0c8;
  --jda-footer-heading: #ffffff;
  --jda-shadow: 0 18px 45px rgba(9, 45, 82, 0.12);
  --jda-radius: 18px;
  --jda-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--jda-ink);
  background: var(--jda-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
html, body { max-width: 100%; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
iframe, video, embed, object { max-width: 100%; }
table { width: 100%; border-collapse: collapse; }
.entry-content { overflow-wrap: anywhere; }
a { color: var(--jda-blue); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--jda-navy); }
button, input, textarea, select { font: inherit; }
button, .button, .wp-element-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.65em;
  color: var(--jda-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3vw, 3.25rem); }
h3 { font-size: clamp(1.28rem, 2vw, 1.7rem); }
p { margin: 0 0 1.15em; }
.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;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 8px; left: 8px;
  width: auto; height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--jda-navy);
  background: var(--jda-white);
  border-radius: 8px;
  box-shadow: var(--jda-shadow);
}
:focus-visible { outline: 3px solid var(--jda-gold); outline-offset: 3px; }
.jda-container { width: min(calc(100% - 40px), var(--jda-container)); margin-inline: auto; }
.jda-section { padding: clamp(64px, 8vw, 110px) 0; }
.jda-section--pale { background: var(--jda-pale); }
.jda-section--navy { color: rgba(255,255,255,.84); background: var(--jda-navy); }
.jda-section--navy h2, .jda-section--navy h3 { color: var(--jda-white); }
.jda-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--jda-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.jda-eyebrow::before { width: 32px; height: 3px; content: ""; background: var(--jda-gold); border-radius: 9px; }
.jda-section--navy .jda-eyebrow { color: var(--jda-gold); }
.jda-section-heading { max-width: 760px; margin-bottom: 42px; }
.jda-section-heading p { max-width: 650px; color: var(--jda-muted); font-size: 1.05rem; }
.jda-section--navy .jda-section-heading p { color: rgba(255,255,255,.72); }

/* Buttons */
.jda-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  color: var(--jda-navy);
  background: var(--jda-gold);
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.jda-button:hover { color: var(--jda-navy); background: #ffc540; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(240,179,35,.28); }
.jda-button--outline { color: var(--jda-white); background: transparent; border: 1px solid rgba(255,255,255,.52); }
.jda-button--outline:hover { color: var(--jda-white); background: rgba(255,255,255,.1); }
.jda-button--blue { color: var(--jda-white); background: var(--jda-blue); }
.jda-button--blue:hover { color: var(--jda-white); background: var(--jda-navy); }

/* Header */
.site-header { position: relative; z-index: 50; background: var(--jda-header-bg); }
.jda-topbar { color: rgba(255,255,255,.84); background: var(--jda-topbar-bg); font-size: .78rem; }
.jda-topbar__inner { min-height: 44px; display: flex; align-items: stretch; justify-content: space-between; gap: 28px; }
.jda-utility-links { display: flex; align-items: stretch; }
.jda-utility-links a { min-width: 92px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--jda-white); border-right: 1px solid rgba(255,255,255,.13); font-weight: 750; text-decoration: none; transition: background .2s ease, color .2s ease; }
.jda-utility-links a:first-child { border-left: 1px solid rgba(255,255,255,.13); }
.jda-utility-links a:hover { color: var(--jda-navy); background: var(--jda-gold); }
.jda-topbar__right { position: relative; display: flex; align-items: center; gap: 18px; }
.jda-topbar__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--jda-white); font-weight: 750; text-decoration: none; }
.jda-topbar__phone:hover { color: var(--jda-gold); }
.jda-topbar__phone svg { width: 15px; height: 15px; fill: currentColor; }
.jda-social-links { display: flex; align-items: center; }
.jda-social-links a, .jda-search-toggle { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; color: rgba(255,255,255,.82); background: transparent; border-left: 1px solid rgba(255,255,255,.1); border-radius: 0; }
.jda-social-links a:hover, .jda-search-toggle:hover { color: var(--jda-gold); background: rgba(255,255,255,.06); }
.jda-social-links svg { width: 15px; height: 15px; fill: currentColor; }
.jda-header-search { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; width: min(390px, calc(100vw - 28px)); padding: 15px; background: var(--jda-white); border: 1px solid var(--jda-border); border-radius: 12px; box-shadow: var(--jda-shadow); }
.jda-header-search[hidden] { display: none; }
.jda-brand-band { color: var(--jda-header-text); background: var(--jda-header-bg); }
.jda-brand-band__inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.site-branding { min-width: 280px; display: flex; align-items: center; gap: 16px; }
.custom-logo-link img { width: auto; max-width: 360px; max-height: 92px; }
.jda-brand-mark { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; color: var(--jda-navy); background: var(--jda-gold); border-radius: 50%; font-family: Georgia, serif; font-weight: 800; }
.jda-brand-text { line-height: 1.15; }
.site-title { margin: 0; font-family: Georgia, serif; font-size: 1.28rem; font-weight: 800; }
.site-title a { color: var(--jda-header-text); text-decoration: none; }
.site-description { margin: 4px 0 0; color: var(--jda-muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.jda-brand-actions { display: flex; align-items: center; gap: 12px; }
.jda-header-action { min-width: 190px; min-height: 62px; padding: 10px 18px; display: flex; align-items: center; gap: 13px; border-radius: 10px; font-weight: 800; line-height: 1.1; text-decoration: none; box-shadow: 0 9px 24px rgba(9,45,82,.1); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.jda-header-action:hover { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(9,45,82,.16); }
.jda-header-action svg { width: 24px; height: 24px; flex: 0 0 auto; fill: currentColor; }
.jda-header-action small { display: block; margin-bottom: 5px; font-size: .63rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.jda-header-action--portal { color: var(--jda-white); background: var(--jda-blue); }
.jda-header-action--portal:hover { color: var(--jda-white); background: var(--jda-navy); }
.jda-header-action--apply { color: var(--jda-navy); background: var(--jda-gold); }
.jda-header-action--apply:hover { color: var(--jda-navy); background: #ffc540; }
.jda-nav-band { color: var(--jda-nav-text); background: var(--jda-nav-bg); border-bottom: 4px solid var(--jda-gold); }
.jda-nav-band.is-sticky { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; box-shadow: 0 8px 24px rgba(3,18,32,.22); animation: jda-nav-drop .18s ease-out; }
.jda-nav-spacer { height: 0; }
@keyframes jda-nav-drop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.jda-nav-band__inner { min-height: 54px; }
.main-navigation { width: 100%; }
.main-navigation ul { margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; list-style: none; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; padding: 16px 15px; color: var(--jda-nav-text); font-size: .86rem; font-weight: 750; text-decoration: none; }
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a { color: var(--jda-navy); background: var(--jda-gold); }
.main-navigation .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  width: 240px;
  padding: 10px;
  display: block;
  visibility: hidden;
  opacity: 0;
  background: var(--jda-white);
  border: 1px solid var(--jda-border);
  border-radius: 12px;
  box-shadow: var(--jda-shadow);
  transform: translateY(8px);
  transition: .2s ease;
}
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.main-navigation .sub-menu a { padding: 10px 12px; color: var(--jda-ink); border-radius: 7px; }
.main-navigation .sub-menu a:hover { color: var(--jda-navy); background: var(--jda-cream); }
.main-navigation .sub-menu .sub-menu { top: -10px; left: calc(100% + 10px); }
.jda-menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; background: var(--jda-pale); }
.jda-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--jda-navy); border-radius: 3px; transition: .2s ease; }

/* Full-width homepage slider */
.jda-slider { position: relative; width: 100%; min-height: clamp(570px, 45vw, 800px); overflow: hidden; color: var(--jda-white); background: var(--jda-navy); }
.jda-slider__track, .jda-slide { position: absolute; inset: 0; }
.jda-slide { visibility: hidden; opacity: 0; background-position: center; background-size: cover; transition: opacity .7s ease, visibility .7s ease; }
.jda-slide:nth-child(1) { background: linear-gradient(120deg, #061f38, #0d5ea6); }
.jda-slide:nth-child(2) { background: linear-gradient(120deg, #0b3b68, #1684bd); }
.jda-slide:nth-child(3) { background: linear-gradient(120deg, #132e4c, #466a80); }
.jda-slide__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jda-slide.is-active { visibility: visible; opacity: 1; }
.jda-slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,22,40,.9) 0%, rgba(6,36,64,.72) 48%, rgba(6,31,56,.2) 100%); }
.jda-slide__inner { position: relative; z-index: 2; min-height: clamp(570px, 45vw, 800px); display: flex; align-items: center; padding: clamp(82px, 9vw, 128px) 0 clamp(150px, 14vw, 190px); }
.jda-slide__content { width: min(760px, 78%); padding-left: clamp(22px, 3vw, 38px); border-left: 6px solid var(--jda-gold); }
.jda-slide h1, .jda-slide h2 { max-width: 760px; margin-bottom: 22px; color: var(--jda-white); font-size: clamp(2.6rem, 4.6vw, 5.1rem); }
.jda-slide__content p { max-width: 660px; margin-bottom: 30px; color: rgba(255,255,255,.84); font-size: clamp(1.02rem, 1.7vw, 1.28rem); }
.jda-slider__arrow { position: absolute; z-index: 5; top: 50%; width: 48px; height: 64px; display: grid; place-items: center; color: var(--jda-white); background: rgba(6,31,56,.6); border: 1px solid rgba(255,255,255,.25); border-radius: 4px; font-size: 2.4rem; line-height: 1; transform: translateY(-50%); transition: background .2s ease; }
.jda-slider__arrow:hover { background: var(--jda-blue); }
.jda-slider__arrow--prev { left: 18px; }
.jda-slider__arrow--next { right: 18px; }
.jda-slider__dots { position: absolute; z-index: 5; bottom: 82px; left: 50%; display: flex; gap: 9px; transform: translateX(-50%); }
.jda-slider__dots button { width: 32px; height: 5px; padding: 0; background: rgba(255,255,255,.5); border-radius: 99px; }
.jda-slider__dots button.is-active { background: var(--jda-gold); }
.jda-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.jda-hero__card { align-self: end; padding: 26px; color: var(--jda-ink); background: rgba(255,255,255,.96); border-top: 5px solid var(--jda-gold); border-radius: var(--jda-radius); box-shadow: var(--jda-shadow); }
.jda-hero__card h2 { font-size: 1.45rem; }
.jda-hero__card p { color: var(--jda-muted); font-size: .93rem; }
.jda-hero__card a:not(.jda-button) { font-weight: 750; }

/* Homepage blocks */
.jda-quicklinks { position: relative; z-index: 5; margin-top: -42px; }
.jda-quicklinks__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--jda-white); border-radius: var(--jda-radius); box-shadow: var(--jda-shadow); overflow: hidden; }
.jda-quicklink { min-height: 126px; padding: 25px; color: var(--jda-ink); text-decoration: none; border-right: 1px solid var(--jda-border); transition: background .2s ease; }
.jda-quicklink:last-child { border: 0; }
.jda-quicklink:hover { color: var(--jda-ink); background: var(--jda-cream); }
.jda-quicklink strong { display: block; margin-bottom: 5px; color: var(--jda-navy); font-family: Georgia, serif; font-size: 1.2rem; }
.jda-quicklink span { color: var(--jda-muted); font-size: .85rem; }

/* Benevolence-inspired homepage hierarchy, rebuilt for JDA */
.jda-benevolence-home .jda-slider { min-height: clamp(520px, 43vw, 700px); }
.jda-benevolence-home .jda-slide__inner { min-height: clamp(520px, 43vw, 700px); align-items: flex-end; padding: 90px 0 0; }
.jda-benevolence-home .jda-slide__overlay { background: linear-gradient(180deg, rgba(3,22,40,.08) 18%, rgba(3,22,40,.25) 56%, rgba(2,15,27,.88) 100%); }
.jda-benevolence-home .jda-slide__content { width: 100%; max-width: none; min-height: 150px; padding: 28px clamp(26px, 4vw, 52px) 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 50px; background: rgba(3,18,32,.86); border-left: 7px solid var(--jda-gold); }
.jda-benevolence-home .jda-slide__content .jda-eyebrow { grid-column: 1; margin-bottom: 8px; }
.jda-benevolence-home .jda-slide h1, .jda-benevolence-home .jda-slide h2 { grid-column: 1; max-width: 100%; margin: 0 0 7px; overflow: hidden; font-size: clamp(1.35rem, 2.15vw, 2.35rem); text-overflow: ellipsis; white-space: nowrap; }
.jda-benevolence-home .jda-slide__content p { grid-column: 1; max-width: 760px; margin: 0; font-size: clamp(.92rem, 1.3vw, 1.08rem); }
.jda-benevolence-home .jda-slide__content .jda-button { grid-column: 2; grid-row: 1 / 4; min-width: 190px; color: var(--jda-white); background: transparent; border: 2px solid rgba(255,255,255,.75); border-radius: 0; }
.jda-benevolence-home .jda-slide__content .jda-button:hover { color: var(--jda-navy); background: var(--jda-gold); border-color: var(--jda-gold); }
.jda-benevolence-home .jda-slider__dots { bottom: 18px; }
.jda-benevolence-home .jda-slider__arrow { width: 42px; height: 58px; background: rgba(3,18,32,.72); border: 0; border-radius: 0; }
.jda-home-builder-content > .entry-content { margin: 0; }
.jda-home-builder-content > .entry-content:empty { display: none; }
.jda-home-overview { padding: 64px 0 46px; background: #f7f8fa; }
.jda-home-overview__grid { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(280px, .85fr); gap: clamp(30px, 4vw, 52px); }
.jda-lined-heading { margin-bottom: 22px; display: flex; align-items: center; gap: 18px; }
.jda-lined-heading::after { min-width: 20px; height: 1px; flex: 1; content: ""; background: var(--jda-border); }
.jda-lined-heading h2 { margin: 0; color: var(--jda-ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .95rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.jda-lined-heading a { order: 3; padding: 6px 10px; color: var(--jda-white); background: var(--jda-blue); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.jda-home-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.jda-home-news-card { min-width: 0; background: var(--jda-white); border: 1px solid var(--jda-border); }
.jda-home-news-card__media { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; background: var(--jda-pale); }
.jda-home-news-card__media img, .jda-home-news-card__media .jda-card__placeholder { width: 100%; height: 100%; object-fit: cover; }
.jda-home-news-card__media time { position: absolute; bottom: 0; left: 0; padding: 7px 10px; color: var(--jda-white); background: rgba(13,94,166,.92); font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.jda-home-news-card__body { padding: 20px; }
.jda-home-news-card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.jda-home-news-card h3 a { color: var(--jda-navy); text-decoration: none; }
.jda-home-news-card p { color: var(--jda-muted); font-size: .82rem; }
.jda-home-event-list { display: grid; gap: 12px; }
.jda-home-event-row { min-height: 106px; padding: 12px; display: grid; grid-template-columns: 54px 82px minmax(0, 1fr); align-items: stretch; gap: 12px; background: var(--jda-white); border: 1px solid var(--jda-border); }
.jda-home-event-row__date { align-self: stretch; display: grid; place-content: center; color: var(--jda-white); background: var(--jda-blue); text-align: center; line-height: 1; }
.jda-home-event-row__date span { margin-bottom: 5px; font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.jda-home-event-row__date strong { font-family: Georgia, serif; font-size: 1.55rem; }
.jda-home-event-row__media { min-height: 80px; overflow: hidden; display: grid; place-items: center; background: var(--jda-pale); }
.jda-home-event-row__media img, .jda-home-event-row__media .jda-card__placeholder { width: 100%; height: 100%; object-fit: cover; }
.jda-home-event-row__media .jda-card__placeholder { font-size: 1rem; }
.jda-home-event-row__content { align-self: center; min-width: 0; }
.jda-home-event-row h3 { margin: 0; font-size: .98rem; line-height: 1.28; }
.jda-home-event-row h3 a { color: var(--jda-ink); text-decoration: none; }
.jda-home-event-row p { margin: 6px 0 0; color: var(--jda-muted); font-size: .7rem; line-height: 1.35; }
.jda-home-event-row .jda-home-event-row__location { display: flex; align-items: center; gap: 5px; }
.jda-home-event-row svg { width: 13px; height: 13px; flex: 0 0 auto; fill: var(--jda-gold); }
.jda-home-panel-empty { min-height: 120px; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 6px; color: var(--jda-muted); background: var(--jda-white); border: 1px solid var(--jda-border); }
.jda-home-panel-empty strong { color: var(--jda-navy); }
.jda-benevolence-home .jda-quicklinks { margin-top: 0; padding: 0 0 56px; background: #f7f8fa; }
.jda-benevolence-home .jda-quicklinks__grid { border-radius: 0; box-shadow: none; border: 1px solid var(--jda-border); }
.jda-benevolence-home .jda-quicklink { min-height: 104px; padding: 21px 24px; }
.jda-intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(45px, 7vw, 90px); }
.jda-intro-visual { position: relative; min-height: 480px; overflow: hidden; background: linear-gradient(145deg, var(--jda-blue), var(--jda-navy)); border-radius: 28px; box-shadow: var(--jda-shadow); }
.jda-intro-visual::before, .jda-intro-visual::after { position: absolute; content: ""; border-radius: 50%; }
.jda-intro-visual::before { width: 330px; height: 330px; top: -80px; right: -70px; background: rgba(240,179,35,.94); }
.jda-intro-visual::after { width: 260px; height: 260px; bottom: -85px; left: -75px; border: 50px solid rgba(255,255,255,.12); }
.jda-intro-visual__words { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; color: var(--jda-white); }
.jda-intro-visual__words strong { max-width: 350px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; }
.jda-intro-visual__words span { margin-top: 18px; color: var(--jda-gold); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jda-values { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.jda-value { padding: 18px; background: var(--jda-pale); border-radius: 12px; }
.jda-value strong { display: block; color: var(--jda-navy); }
.jda-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.jda-card { overflow: hidden; background: var(--jda-white); border: 1px solid var(--jda-border); border-radius: var(--jda-radius); box-shadow: 0 9px 30px rgba(9,45,82,.07); transition: transform .22s ease, box-shadow .22s ease; }
.jda-card:hover { transform: translateY(-5px); box-shadow: var(--jda-shadow); }
.jda-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #dcebf5, #b9d7e9); }
.jda-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.jda-card:hover .jda-card__media img { transform: scale(1.035); }
.jda-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(9,45,82,.45); font-family: Georgia, serif; font-size: 3rem; }
.jda-card__body { padding: 26px; }
.jda-card__body p { color: var(--jda-muted); font-size: .94rem; }
.jda-card__meta { margin-bottom: 10px; color: var(--jda-blue); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jda-card__link { font-weight: 800; text-decoration: none; }
.jda-academic-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 0; }
.jda-academic-link { padding: 24px; color: var(--jda-ink); background: var(--jda-white); border: 1px solid var(--jda-border); border-top: 4px solid var(--jda-gold); border-radius: 14px; text-decoration: none; box-shadow: 0 8px 24px rgba(9,45,82,.06); }
.jda-academic-link:hover { color: var(--jda-ink); border-top-color: var(--jda-blue); box-shadow: var(--jda-shadow); }
.jda-academic-link strong { display: block; margin-bottom: 7px; color: var(--jda-navy); font-family: Georgia, serif; font-size: 1.2rem; }
.jda-program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.jda-program-card { padding: 34px; background: var(--jda-white); border: 1px solid var(--jda-border); border-radius: var(--jda-radius); }
.jda-program-card__level { display: inline-flex; margin-bottom: 18px; padding: 6px 11px; color: var(--jda-navy); background: var(--jda-cream); border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jda-department-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.jda-department-card { min-height: 235px; display: flex; flex-direction: column; }
.jda-department-card .jda-card__body { flex: 1; display: flex; flex-direction: column; }
.jda-department-card .jda-card__link { margin-top: auto; }
.jda-event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.jda-event-card { overflow: hidden; color: var(--jda-ink); background: var(--jda-white); border-radius: var(--jda-radius); box-shadow: 0 10px 32px rgba(0,0,0,.13); }
.jda-event-card__media { position: relative; aspect-ratio: 16 / 10; display: block; overflow: hidden; background: var(--jda-pale); }
.jda-event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.jda-event-card:hover .jda-event-card__media img { transform: scale(1.04); }
.jda-event-card__date { position: absolute; bottom: 16px; left: 16px; min-width: 68px; padding: 11px 12px; color: var(--jda-white); background: var(--jda-blue); border-bottom: 4px solid var(--jda-gold); border-radius: 9px; text-align: center; line-height: 1; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.jda-event-card__date strong { display: block; margin-bottom: 6px; font-family: Georgia, serif; font-size: 1.8rem; }
.jda-event-card__date span { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jda-event-card__body { padding: 26px; }
.jda-event-card h3 { margin-bottom: 12px; font-size: 1.32rem; }
.jda-event-card h3 a { color: var(--jda-navy); text-decoration: none; }
.jda-event-card__body > p { color: var(--jda-muted); font-size: .9rem; }
.jda-event-card__meta { margin-bottom: 14px; display: grid; gap: 7px; color: var(--jda-muted); font-size: .8rem; }
.jda-event-card__meta span { display: flex; align-items: center; gap: 8px; }
.jda-event-card__meta svg { width: 15px; height: 15px; flex: 0 0 auto; fill: var(--jda-gold); }

/* Staff directory */
.jda-staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.jda-staff-card { overflow: hidden; background: var(--jda-white); border: 1px solid var(--jda-border); border-radius: var(--jda-radius); box-shadow: 0 10px 32px rgba(9,45,82,.08); transition: transform .22s ease, box-shadow .22s ease; }
.jda-staff-card:hover { transform: translateY(-5px); box-shadow: var(--jda-shadow); }
.jda-staff-card__trigger { width: 100%; padding: 0; display: block; color: inherit; background: transparent; border-radius: 0; text-align: left; text-decoration: none; cursor: pointer; }
.jda-staff-card__trigger:hover { color: inherit; }
.jda-staff-card__photo { aspect-ratio: 4 / 4.6; display: block; overflow: hidden; background: var(--jda-pale); }
.jda-staff-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.jda-staff-card:hover .jda-staff-card__photo img { transform: scale(1.035); }
.jda-staff-card__body { min-height: 190px; padding: 25px; display: flex; flex-direction: column; }
.jda-staff-card__department { margin-bottom: 9px; color: var(--jda-blue); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.jda-staff-card__name { color: var(--jda-navy); font-family: Georgia, serif; font-size: 1.42rem; line-height: 1.2; }
.jda-staff-card__position { margin-top: 7px; color: var(--jda-muted); font-size: .88rem; }
.jda-staff-card__action { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; color: var(--jda-blue); font-size: .82rem; font-weight: 800; }
.jda-staff-card__action span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--jda-white); background: var(--jda-blue); border-radius: 50%; font-size: 1.2rem; }
.jda-staff-dialog { width: min(980px, calc(100% - 30px)); max-height: min(86vh, 820px); padding: 0; overflow: auto; color: var(--jda-ink); background: var(--jda-white); border: 0; border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.jda-staff-dialog::backdrop { background: rgba(3,18,32,.78); backdrop-filter: blur(4px); }
.jda-staff-dialog__close { position: sticky; z-index: 3; top: 16px; float: right; width: 42px; height: 42px; margin: 16px 16px -58px 0; display: grid; place-items: center; color: var(--jda-white); background: rgba(6,31,56,.82); }
.jda-staff-dialog__close svg { width: 20px; height: 20px; fill: currentColor; }
.jda-staff-dialog__layout { display: grid; grid-template-columns: minmax(280px, .82fr) 1.18fr; min-height: 560px; }
.jda-staff-dialog__portrait { min-height: 100%; background: var(--jda-pale); }
.jda-staff-dialog__portrait img, .jda-staff-dialog__portrait .jda-card__placeholder { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.jda-staff-dialog__content { padding: clamp(38px, 6vw, 70px); }
.jda-staff-dialog__content h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.jda-staff-dialog__position { margin-top: -10px; color: var(--jda-blue); font-weight: 800; }
.jda-staff-dialog__bio { color: var(--jda-muted); }
.jda-staff-dialog__contacts { margin-top: 28px; padding-top: 24px; display: grid; gap: 11px; border-top: 1px solid var(--jda-border); }
.jda-staff-dialog__contacts a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: .9rem; }
.jda-staff-dialog__contacts svg { width: 17px; height: 17px; fill: currentColor; }

/* Video gallery */
.jda-video-section { color: rgba(255,255,255,.78); background: #061f38; }
.jda-video-section h2, .jda-video-section h3 { color: var(--jda-white); }
.jda-video-section .jda-section-heading p { color: rgba(255,255,255,.66); }
.jda-video-gallery { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr); gap: 24px; }
.jda-video-feature { overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--jda-radius); }
.jda-video-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; background: #020b12; }
.jda-video-stage > img, .jda-video-stage iframe, .jda-video-stage video { width: 100%; height: 100%; object-fit: cover; border: 0; }
.jda-video-stage::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.48)); }
.jda-video-stage.is-playing::after { display: none; }
.jda-video-stage__placeholder { color: rgba(255,255,255,.22); font-family: Georgia, serif; font-size: 5rem; }
.jda-video-play { position: absolute; z-index: 2; width: 76px; height: 76px; padding: 0; display: grid; place-items: center; color: var(--jda-navy); background: var(--jda-gold); box-shadow: 0 14px 35px rgba(0,0,0,.34); transition: transform .2s ease, background .2s ease; }
.jda-video-play:hover { background: var(--jda-white); transform: scale(1.08); }
.jda-video-play svg { width: 34px; height: 34px; fill: currentColor; }
.jda-video-feature__copy { padding: 25px 28px 28px; }
.jda-video-feature__copy h3 { margin-bottom: 8px; }
.jda-video-feature__copy p { margin: 0; color: rgba(255,255,255,.66); font-size: .9rem; }
.jda-video-playlist { max-height: 560px; padding-right: 6px; display: grid; align-content: start; gap: 10px; overflow: auto; }
.jda-video-thumb { width: 100%; padding: 10px; display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 13px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.055); border: 1px solid transparent; border-radius: 12px; text-align: left; }
.jda-video-thumb:hover, .jda-video-thumb.is-active { background: rgba(255,255,255,.11); border-color: rgba(240,179,35,.65); }
.jda-video-thumb__image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; background: var(--jda-navy); border-radius: 8px; }
.jda-video-thumb__image img { width: 100%; height: 100%; object-fit: cover; }
.jda-video-thumb__image i { position: absolute; width: 30px; height: 30px; display: grid; place-items: center; color: var(--jda-navy); background: var(--jda-gold); border-radius: 50%; }
.jda-video-thumb__image svg { width: 15px; height: 15px; fill: currentColor; }
.jda-video-thumb strong, .jda-video-thumb small { display: block; }
.jda-video-thumb strong { font-family: Georgia, serif; font-size: .92rem; line-height: 1.2; }
.jda-video-thumb small { margin-top: 7px; color: var(--jda-gold); font-size: .6rem; font-weight: 800; letter-spacing: .12em; }

/* Partners */
.jda-section-heading--center { margin-inline: auto; text-align: center; }
.jda-section-heading--center .jda-eyebrow { justify-content: center; }
.jda-partner-section { overflow: hidden; }
.jda-partner-marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.jda-partner-track { width: max-content; display: flex; animation: jda-partners-left var(--jda-partner-duration, 38s) linear infinite; }
.jda-partner-marquee--right .jda-partner-track { animation-name: jda-partners-right; }
.jda-partner-marquee:hover .jda-partner-track, .jda-partner-marquee:focus-within .jda-partner-track { animation-play-state: paused; }
.jda-partner-group { min-width: 100vw; padding: 8px 36px; display: flex; align-items: center; justify-content: space-around; gap: clamp(28px, 5vw, 72px); }
.jda-partner-logo { width: clamp(150px, 16vw, 220px); height: 92px; padding: 14px 20px; display: grid; place-items: center; flex: 0 0 auto; background: var(--jda-white); border: 1px solid var(--jda-border); border-radius: 13px; box-shadow: 0 7px 24px rgba(9,45,82,.06); }
.jda-partner-logo img { width: auto; max-width: 100%; height: 58px; object-fit: contain; }
@keyframes jda-partners-left { to { transform: translateX(-50%); } }
@keyframes jda-partners-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.jda-newsletter { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 44px; color: rgba(255,255,255,.8); background: var(--jda-blue); border-radius: 24px; }
.jda-newsletter h2 { color: var(--jda-white); }
.jda-newsletter p { margin: 0; }

/* Inner pages */
.jda-page-hero { position: relative; min-height: 300px; padding: 76px 0; display: flex; align-items: center; color: rgba(255,255,255,.76); background: linear-gradient(120deg, var(--jda-navy), var(--jda-blue)); background-position: center; background-size: cover; }
.jda-page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,22,40,.9), rgba(6,36,64,.58) 62%, rgba(3,22,40,.3)); }
.jda-page-hero > .jda-container { position: relative; z-index: 1; }
.jda-page-hero--image { min-height: clamp(320px, 34vw, 500px); }
.jda-page-hero h1 { margin-bottom: 12px; color: var(--jda-white); font-size: clamp(2.4rem, 5vw, 4.2rem); }
.jda-breadcrumbs { color: rgba(255,255,255,.68); font-size: .85rem; }
.jda-breadcrumbs a { color: var(--jda-white); }
.site-main { min-height: 50vh; }
.jda-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; }
.jda-content-layout, .jda-page-frame { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--jda-border); }
.site-main:not(.jda-benevolence-home) > .jda-section > .jda-container:not(.jda-page-frame) { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--jda-border); }
.jda-benevolence-home > section, .jda-benevolence-home > nav { border-bottom: 1px solid var(--jda-border); }
.no-sidebar .jda-content-layout { grid-template-columns: minmax(0, 1fr); }
.jda-content, .entry-content { min-width: 0; }
.entry-content > * { max-width: 780px; margin-inline: auto; }
.entry-content > .alignwide { max-width: var(--jda-container); }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.page-template-full-width .site-main > article > .entry-content { max-width: var(--jda-container); margin: clamp(28px, 5vw, 70px) auto; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--jda-border); }
.entry-featured { margin-bottom: 36px; overflow: hidden; border-radius: var(--jda-radius); }
.jda-single-event-meta { margin-bottom: 32px; padding: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; background: var(--jda-pale); border-left: 5px solid var(--jda-gold); border-radius: 12px; }
.jda-single-event-meta span { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 2px 9px; color: var(--jda-muted); font-size: .88rem; }
.jda-single-event-meta svg { width: 18px; height: 18px; grid-row: 1 / 3; fill: var(--jda-blue); }
.jda-single-event-meta strong { color: var(--jda-navy); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; }
.entry-content h2, .entry-content h3 { margin-top: 1.35em; }
.entry-content img { border-radius: 14px; }
.entry-content blockquote { margin: 2em 0; padding: 18px 0 18px 28px; color: var(--jda-navy); border-left: 5px solid var(--jda-gold); font-family: Georgia, serif; font-size: 1.28rem; }
.jda-sidebar .widget { margin-bottom: 24px; padding: 24px; background: var(--jda-pale); border-radius: 14px; }
.jda-sidebar .widget-title { font-size: 1.25rem; }
.jda-sidebar ul { padding-left: 20px; }
.jda-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.jda-pagination { margin-top: 44px; }
.jda-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.jda-pagination a, .jda-pagination span { min-width: 42px; padding: 8px 13px; display: grid; place-items: center; background: var(--jda-pale); border-radius: 8px; text-decoration: none; }
.jda-pagination .current { color: var(--jda-white); background: var(--jda-blue); }
.jda-empty { max-width: 700px; padding: 50px; background: var(--jda-pale); border-radius: var(--jda-radius); }

/* Contact page */
.jda-contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .72fr); gap: clamp(30px, 5vw, 64px); }
.jda-contact-form-wrap { padding: clamp(25px, 4vw, 44px); background: var(--jda-pale); border-top: 5px solid var(--jda-blue); }
.jda-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.jda-form-grid label { display: grid; gap: 7px; color: var(--jda-navy); font-size: .78rem; font-weight: 800; }
.jda-form-grid__wide { grid-column: 1 / -1; }
.jda-contact-form input, .jda-contact-form textarea { width: 100%; padding: 12px 14px; color: var(--jda-ink); background: var(--jda-white); border: 1px solid var(--jda-border); border-radius: 6px; }
.jda-contact-form textarea { resize: vertical; }
.jda-contact-form .jda-button { margin-top: 22px; }
.jda-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.jda-form-notice { margin-bottom: 20px; padding: 13px 16px; border-left: 4px solid; }
.jda-form-notice--success { color: #174f2d; background: #e6f6eb; border-color: #2f8a4d; }
.jda-form-notice--error { color: #7a2020; background: #fff0f0; border-color: #b83333; }
.jda-contact-details { display: grid; align-content: start; gap: 14px; }
.jda-contact-details > div { padding: 24px; background: var(--jda-white); border: 1px solid var(--jda-border); border-left: 4px solid var(--jda-gold); }
.jda-contact-details > div > span { width: 42px; height: 42px; margin-bottom: 16px; display: grid; place-items: center; color: var(--jda-white); background: var(--jda-blue); border-radius: 50%; }
.jda-contact-details svg { width: 19px; height: 19px; fill: currentColor; }
.jda-contact-details h3 { margin-bottom: 7px; font-size: 1.15rem; }
.jda-contact-details p { margin-bottom: 7px; color: var(--jda-muted); font-size: .86rem; }
.jda-contact-extra { max-width: none; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--jda-border); }
.jda-contact-map { width: 100%; height: clamp(380px, 48vw, 620px); border-top: 1px solid var(--jda-border); }
.jda-contact-map iframe { width: 100%; height: 100%; display: block; border: 0; }
.jda-search-form { display: flex; gap: 8px; }
.jda-search-form label { flex: 1; }
.jda-search-form input[type="search"] { width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid var(--jda-border); border-radius: 999px; }
.jda-search-form button { min-height: 48px; padding: 10px 20px; color: var(--jda-white); background: var(--jda-blue); }
.comments-area { max-width: 780px; margin: 60px auto 0; }
.comment-list { padding: 0; list-style: none; }
.comment-body { margin-bottom: 20px; padding: 22px; background: var(--jda-pale); border-radius: 12px; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--jda-border); border-radius: 8px; }
.comment-form .submit { padding: 12px 24px; color: var(--jda-white); background: var(--jda-blue); }

/* Footer */
.site-footer { color: var(--jda-footer-text); background: var(--jda-footer-bg); }
.jda-footer__main { padding: 76px 0 54px; display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: clamp(28px, 3.5vw, 50px); }
.site-footer h2, .site-footer h3 { color: var(--jda-footer-heading); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1rem; font-weight: 800; }
.site-footer a { color: var(--jda-footer-text); text-decoration: none; }
.site-footer a:hover { color: var(--jda-gold); }
.jda-footer__brand p { max-width: 330px; }
.jda-footer__identity { margin-bottom: 22px; display: flex; align-items: center; gap: 13px; }
.jda-footer__identity .custom-logo-link img { max-width: 64px; max-height: 64px; }
.jda-footer-logo { width: auto; max-width: 180px; max-height: 78px; object-fit: contain; }
.jda-footer__identity h2 { margin: 0 0 4px; font-family: Georgia, serif; font-size: 1.1rem; }
.jda-footer__identity span { color: var(--jda-gold); font-size: .69rem; font-style: italic; }
.jda-footer__menu { margin: 0; padding: 0; list-style: none; }
.jda-footer__menu li { margin-bottom: 10px; }
.jda-footer__menu a { position: relative; display: inline-flex; gap: 8px; font-size: .84rem; }
.jda-footer__menu a::before { color: var(--jda-gold); content: "›"; transition: transform .2s ease; }
.jda-footer__menu a:hover::before { transform: translateX(3px); }
.jda-footer__socials { display: flex; gap: 8px; }
.jda-footer__socials a { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,255,255,.07); border-radius: 8px; }
.jda-footer__socials svg { width: 15px; height: 15px; fill: currentColor; }
.jda-footer__contact-bar { padding: 30px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.jda-footer__contact-item { display: flex; align-items: flex-start; gap: 14px; }
.jda-footer__contact-item h3 { margin: 0 0 6px; font-size: .85rem; }
.jda-footer__contact-item p { margin: 0; font-size: .82rem; }
.jda-footer__contact-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; color: var(--jda-gold); background: rgba(255,255,255,.07); border-radius: 9px; }
.jda-footer__contact-icon svg { width: 18px; height: 18px; fill: currentColor; }
.jda-footer__bottom { padding: 27px 0; font-size: .78rem; }
.jda-footer__bottom-inner { display: flex; justify-content: space-between; gap: 20px; }
.jda-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 1050px) {
  .jda-menu-toggle { display: block; margin-left: auto; }
  .jda-brand-band__inner { min-height: 100px; }
  .jda-brand-actions { margin-left: auto; }
  .jda-header-action { min-width: 165px; }
  .jda-nav-band { border-bottom-width: 3px; }
  .jda-nav-band__inner { min-height: 0; width: 100%; }
  .main-navigation { display: none; max-height: min(72vh, 680px); max-height: min(72dvh, 680px); padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--jda-header-bg); box-shadow: var(--jda-shadow); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: block; }
  .main-navigation a { padding: 13px 10px; color: var(--jda-ink); border-bottom: 1px solid var(--jda-border); }
  .main-navigation .sub-menu { position: static; width: auto; padding: 0 0 0 18px; display: block; visibility: visible; opacity: 1; border: 0; box-shadow: none; transform: none; }
  .main-navigation .sub-menu .sub-menu { position: static; }
  .jda-quicklinks__grid { grid-template-columns: repeat(2, 1fr); }
  .jda-quicklink:nth-child(2) { border-right: 0; }
  .jda-quicklink:nth-child(-n+2) { border-bottom: 1px solid var(--jda-border); }
  .jda-card-grid, .jda-post-grid, .jda-department-grid, .jda-event-grid, .jda-staff-grid { grid-template-columns: repeat(2, 1fr); }
  .jda-video-gallery { grid-template-columns: 1fr; }
  .jda-video-playlist { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jda-home-overview__grid { grid-template-columns: 1fr; }
  .jda-home-event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jda-footer__main { grid-template-columns: repeat(2, 1fr); }
  .jda-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .jda-container { width: min(calc(100% - 28px), var(--jda-container)); }
  .jda-topbar__inner { padding: 8px 0; flex-wrap: wrap; gap: 7px 12px; }
  .jda-utility-links { width: 100%; }
  .jda-utility-links a { min-width: 0; min-height: 34px; flex: 1; padding: 0 9px; font-size: .7rem; }
  .jda-topbar__right { width: 100%; justify-content: space-between; gap: 8px; }
  .jda-social-links a, .jda-search-toggle { width: 30px; height: 30px; }
  .jda-brand-band__inner { min-height: 90px; padding-block: 12px; flex-wrap: wrap; gap: 12px; }
  .site-branding { min-width: 0; }
  .custom-logo-link img { max-width: 210px; max-height: 68px; }
  .site-description { display: none; }
  .jda-brand-mark { width: 46px; height: 46px; }
  .jda-brand-actions { width: 100%; order: 3; gap: 8px; }
  .jda-header-action { min-width: 0; min-height: 54px; flex: 1; padding: 8px 11px; font-size: .82rem; }
  .jda-header-action svg { width: 19px; height: 19px; }
  .jda-header-action small { font-size: .55rem; }
  .jda-menu-toggle { margin-left: auto; }
  .jda-slider, .jda-slide__inner { min-height: 650px; min-height: min(760px, 82svh); }
  .jda-slide__inner { align-items: flex-start; padding: 92px 0 180px; }
  .jda-slide__content { width: calc(100% - 32px); margin-left: 22px; padding-left: 20px; }
  .jda-slide h1, .jda-slide h2 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
  .jda-slider__arrow { width: 36px; height: 48px; font-size: 1.8rem; }
  .jda-slider__arrow--prev { left: 6px; }
  .jda-slider__arrow--next { right: 6px; }
  .jda-benevolence-home .jda-slider, .jda-benevolence-home .jda-slide__inner { min-height: 620px; min-height: min(720px, 82svh); }
  .jda-benevolence-home .jda-slide__inner { align-items: flex-end; padding: 70px 0 0; }
  .jda-benevolence-home .jda-slide__content { width: calc(100% - 28px); min-height: 0; margin: 0 auto 48px; padding: 24px; display: block; border-left-width: 5px; }
  .jda-benevolence-home .jda-slide h1, .jda-benevolence-home .jda-slide h2 { font-size: clamp(1.8rem, 8vw, 2.7rem); }
  .jda-benevolence-home .jda-slide h1, .jda-benevolence-home .jda-slide h2 { overflow: visible; text-overflow: clip; white-space: normal; }
  .jda-benevolence-home .jda-slide__content p { margin-bottom: 20px; }
  .jda-benevolence-home .jda-slide__content .jda-button { min-width: 0; }
  .jda-benevolence-home .jda-slider__dots { bottom: 18px; }
  .jda-home-overview { padding: 46px 0 34px; }
  .jda-home-news__grid, .jda-home-event-list { grid-template-columns: 1fr; }
  .jda-lined-heading { gap: 10px; }
  .jda-quicklinks { margin-top: 0; padding-top: 14px; background: var(--jda-pale); }
  .jda-quicklinks__grid, .jda-card-grid, .jda-post-grid, .jda-department-grid, .jda-program-grid, .jda-academic-links, .jda-intro-grid, .jda-content-layout, .jda-event-grid, .jda-staff-grid, .jda-video-playlist { grid-template-columns: 1fr; }
  .jda-quicklink { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--jda-border); }
  .jda-quicklink:nth-child(2) { border-bottom: 1px solid var(--jda-border); }
  .jda-intro-visual { min-height: 350px; }
  .jda-intro-visual__words { padding: 32px; }
  .jda-values { grid-template-columns: 1fr; }
  .jda-staff-dialog__layout { grid-template-columns: 1fr; }
  .jda-staff-dialog__portrait { min-height: 360px; max-height: 480px; }
  .jda-staff-dialog__content { padding: 32px 24px 38px; }
  .jda-single-event-meta { grid-template-columns: 1fr; }
  .jda-video-thumb { grid-template-columns: 100px 1fr; }
  .jda-video-play { width: 64px; height: 64px; }
  .jda-video-feature__copy { padding: 20px; }
  .jda-partner-group { padding-inline: 18px; }
  .jda-newsletter { grid-template-columns: 1fr; padding: 30px; }
  .jda-contact-layout, .jda-form-grid { grid-template-columns: 1fr; }
  .jda-form-grid__wide { grid-column: auto; }
  .jda-page-hero, .jda-page-hero--image { min-height: 270px; }
  .jda-footer__main { grid-template-columns: 1fr; }
  .jda-footer__brand { grid-column: auto; }
  .jda-footer__contact-bar { grid-template-columns: 1fr; }
  .jda-footer__bottom-inner { display: block; }
  .jda-footer__legal { margin-top: 12px; }
}
@media (max-width: 480px) {
  .jda-container { width: min(calc(100% - 22px), var(--jda-container)); }
  .jda-utility-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jda-utility-links a { width: 100%; padding-inline: 5px; text-align: center; }
  .jda-topbar__phone span { font-size: .74rem; }
  .jda-social-links { gap: 2px; }
  .jda-brand-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .jda-header-action { width: 100%; }
  .jda-slide__content { width: calc(100% - 38px); margin-left: 19px; padding-left: 16px; }
  .jda-slide__inner { padding-bottom: 156px; }
  .jda-benevolence-home .jda-slide__inner { padding-bottom: 0; }
  .jda-slider__dots { bottom: max(24px, env(safe-area-inset-bottom)); }
  .jda-video-thumb { grid-template-columns: 88px minmax(0, 1fr); }
  .jda-staff-dialog { width: calc(100% - 18px); max-height: 92vh; max-height: 92dvh; border-radius: 15px; }
  .jda-staff-dialog__portrait { min-height: 290px; }
  .jda-newsletter { padding: 24px 20px; }
  .jda-content-layout, .jda-page-frame, .site-main:not(.jda-benevolence-home) > .jda-section > .jda-container:not(.jda-page-frame) { padding: 20px; }
  .jda-contact-form-wrap { padding: 22px 18px; }
  .jda-home-event-row { grid-template-columns: 48px 68px minmax(0, 1fr); gap: 8px; padding: 8px; }
  .jda-home-event-row__summary { display: none; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .jda-slider, .jda-slide__inner { min-height: 520px; }
  .jda-slide__inner { padding-top: 54px; padding-bottom: 118px; }
  .main-navigation { max-height: 70dvh; }
  .jda-staff-dialog { max-height: 94dvh; }
}
@media (hover: none), (pointer: coarse) {
  .jda-social-links a, .jda-search-toggle, .jda-menu-toggle { min-width: 44px; min-height: 44px; }
  .main-navigation a { min-height: 48px; display: flex; align-items: center; }
  .jda-card:hover, .jda-staff-card:hover { transform: none; }
  .jda-slider { touch-action: pan-y pinch-zoom; }
}
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .jda-partner-track { animation: none !important; transform: none !important; }
  .jda-partner-group[aria-hidden="true"] { display: none; }
}
