/* ==========================================================
   school2 redesign: chalkboard green + pencil orange, Lexend
   Loaded after style.css. All new classes use the ed- prefix.
   ========================================================== */
:root {
  --ed-board: #1d3d38;
  --ed-board-deep: #142c28;
  --ed-teal: #2b5650;
  --ed-orange: #e56131;
  --ed-orange-dark: #c64d20;
  --ed-mint: #eef4f1;
  --ed-ink: #18211f;
  --ed-slate: #55625e;
  --ed-line: #d6e2dc;
  --ed-font: "Lexend", "Segoe UI", system-ui, sans-serif;
  --ed-leaf: 36px 6px 36px 6px;
  --ed-leaf-sm: 18px 4px 18px 4px;
  --ed-shadow: 0 20px 44px -22px rgba(20, 44, 40, .35);

  /* legacy theme variables */
  --main-color: var(--ed-orange);
  --sec-color: var(--ed-teal);
}

body.ed {
  font-family: var(--ed-font) !important;
  font-size: 17px; line-height: 1.7; color: var(--ed-ink); background: #fff;
  -webkit-font-smoothing: antialiased;
}
.ed p, .ed li, .ed span, .ed a, .ed label, .ed input, .ed textarea, .ed select, .ed button { font-family: var(--ed-font) !important; }
:where(.ed) p { font-size: inherit; line-height: inherit; color: inherit; }
.ed h1, .ed h2, .ed h3, .ed h4, .ed h5, .ed h6 {
  font-family: var(--ed-font) !important; color: var(--ed-board);
  letter-spacing: -0.02em; line-height: 1.15; text-transform: none;
}
.ed a { color: var(--ed-board); transition: color .2s ease; }
.ed a:hover { color: var(--ed-orange); text-decoration: none; }
.ed img { max-width: 100%; }
.ed :focus-visible { outline: 3px solid var(--ed-orange); outline-offset: 3px; }
.ed-skip { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--ed-orange); color: #fff !important; padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.ed-skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.ed-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16px; line-height: 1; padding: 16px 24px; border-radius: 8px;
  border: 2px solid transparent; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.ed .ed-btn--orange { background: var(--ed-orange); color: #fff; }
.ed .ed-btn--orange:hover { background: var(--ed-orange-dark); color: #fff; }
.ed .ed-btn--board { background: var(--ed-board); color: #fff; }
.ed .ed-btn--board:hover { background: var(--ed-board-deep); color: #fff; }
.ed .ed-btn--line { border-color: currentColor; color: var(--ed-board); }
.ed .ed-btn--line:hover { background: var(--ed-board); border-color: var(--ed-board); color: #fff; }
.ed .ed-btn--line-light { border-color: rgba(255,255,255,.6); color: #fff; }
.ed .ed-btn--line-light:hover { background: #fff; border-color: #fff; color: var(--ed-board); }
.ed .ed-more { font-weight: 600; color: var(--ed-orange); display: inline-flex; align-items: center; gap: 8px; }
.ed .ed-more::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .2s ease; }
.ed .ed-more:hover { color: var(--ed-orange-dark); }
.ed .ed-more:hover::after { width: 26px; }

/* ---------- top bar + header ---------- */
.ed-topbar { background: var(--ed-board-deep); color: rgba(255,255,255,.8); font-size: 14px; padding: 8px 0; }
.ed-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.ed-topbar ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.ed-topbar i { color: var(--ed-orange); margin-right: 8px; }
.ed .ed-topbar a { color: rgba(255,255,255,.85); }
.ed .ed-topbar a:hover { color: #fff; }
.ed-social { display: flex; gap: 6px; }
.ed .ed-social a {
  width: 32px; height: 32px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255,255,255,.08); font-size: 14px;
}
.ed .ed-social a:hover { background: var(--ed-orange); color: #fff; }

.ed-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--ed-line); }
.ed-nav { padding: 12px 0; }
.ed-nav .navbar-brand img { height: 56px; width: auto; }
.ed .ed-nav .nav-link {
  font-weight: 500; font-size: 15.5px; color: var(--ed-ink); padding: 10px 14px !important; position: relative;
}
.ed .ed-nav .nav-link:hover { color: var(--ed-orange); }
.ed .ed-nav .nav-item.active > .nav-link { color: var(--ed-board); font-weight: 600; }
.ed .ed-nav .nav-item.active > .nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--ed-orange); border-radius: 2px;
}
.ed-nav .fa-chevron-down { font-size: 11px; margin-left: 4px; }
.ed-has-sub { position: relative; }
.ed-sub {
  list-style: none; margin: 0; padding: 8px; min-width: 230px; background: #fff;
  border: 1px solid var(--ed-line); border-radius: var(--ed-leaf-sm); box-shadow: var(--ed-shadow);
}
.ed .ed-sub a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 15px; color: var(--ed-ink); }
.ed .ed-sub a:hover { background: var(--ed-mint); color: var(--ed-board); }
.ed-nav__cta { margin-left: 16px; padding: 13px 20px; }
.ed-toggler { border: 1px solid var(--ed-line) !important; border-radius: 8px; width: 46px; height: 42px; padding: 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.ed-toggler span { display: block; width: 20px; height: 2px; background: var(--ed-board); border-radius: 2px; }

@media (min-width: 992px) {
  .ed-sub { position: absolute; top: 100%; left: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
  .ed-has-sub:hover > .ed-sub, .ed-has-sub:focus-within > .ed-sub { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 991.98px) {
  .ed-nav .navbar-collapse { padding: 10px 0 6px; }
  .ed-sub { border: 0; box-shadow: none; padding: 0 0 6px 14px; }
  .ed .ed-nav .nav-item.active > .nav-link::after { display: none; }
  .ed-nav__cta { margin: 10px 0 4px; width: 100%; }
}

/* ---------- section scaffolding ---------- */
.ed-section { padding: 96px 0; }
.ed-section--mint { background: var(--ed-mint); }
.ed-h2 { font-size: clamp(30px, 3.3vw, 44px); font-weight: 700; margin-bottom: 18px; }
.ed-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.ed-head .ed-h2 { margin: 0; }
.ed-head__lead { color: var(--ed-slate); max-width: 52ch; margin: 10px 0 0; }
.ed-empty { color: var(--ed-slate); }

/* ---------- hero (slick .home-slider, fade) ---------- */
.ed-hero { background: var(--ed-board); }
.ed-hero .home-slider { margin: 0; }
.ed-slide { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); min-height: 560px; }
.ed-slide__panel {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: 72px 56px 110px max(24px, calc((100vw - 1140px) / 2 + 15px)); color: #fff; background: var(--ed-board);
}
.ed-slide__panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px);
  pointer-events: none;
}
.ed .ed-slide__kicker { position: relative; color: var(--ed-orange); font-weight: 600; font-size: 16px; margin-bottom: 14px; }
.ed .ed-slide__title { position: relative; color: #fff; font-size: clamp(36px, 4.4vw, 62px); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 30px; max-width: 14ch; }
.ed-slide__actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
.ed-slide__media { position: relative; overflow: hidden; border-radius: 120px 0 0 0; background: var(--ed-teal); }
.ed-slide__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-hero .slick-arrow {
  position: absolute; z-index: 5; top: auto; bottom: 40px; transform: none; width: 48px; height: 48px;
  border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
}
.ed-hero .slick-prev { left: max(24px, calc((100vw - 1140px) / 2 + 15px)); }
.ed-hero .slick-next { left: calc(max(24px, calc((100vw - 1140px) / 2 + 15px)) + 58px); right: auto; }
.ed-hero .slick-arrow:hover, .ed-hero .slick-arrow:focus { background: var(--ed-orange); border-color: var(--ed-orange); }
.ed-hero .slick-prev::before, .ed-hero .slick-next::before { font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 16px; color: #fff; opacity: 1; }
.ed-hero .slick-prev::before { content: "\f060"; }
.ed-hero .slick-next::before { content: "\f061"; }

/* ---------- welcome ---------- */
.ed-welcome__media { position: relative; }
.ed-welcome__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--ed-leaf); }
.ed-welcome__badge {
  position: absolute; right: -14px; bottom: 28px; background: var(--ed-orange); color: #fff; padding: 16px 20px;
  border-radius: var(--ed-leaf-sm); font-weight: 600; font-size: 15px; line-height: 1.3; box-shadow: var(--ed-shadow); max-width: 220px;
}
.ed-welcome__badge strong { display: block; font-size: 30px; font-weight: 700; line-height: 1.05; }
.ed-welcome__text { color: var(--ed-slate); margin-bottom: 28px; }
.ed-welcome__text p { margin-bottom: 1em; }

/* ---------- pillars ---------- */
.ed-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ed-pillar { background: #fff; border-radius: var(--ed-leaf); padding: 32px 28px; }
.ed-pillar__icon {
  width: 56px; height: 56px; border-radius: 18px 4px 18px 4px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ed-board); color: #fff; font-size: 22px; margin-bottom: 20px;
}
.ed-pillar:nth-child(even) .ed-pillar__icon { background: var(--ed-orange); }
.ed .ed-pillar__title { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.ed-pillar__text, .ed-pillar__text p { color: var(--ed-slate); font-size: 15.5px; line-height: 1.65; margin: 0; }

/* ---------- stats band ---------- */
.ed-stats { background: var(--ed-orange); color: #fff; padding: 52px 0; }
.ed-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ed-stat { padding: 6px 24px; border-left: 1px solid rgba(255,255,255,.35); }
.ed-stat:first-child { border-left: 0; padding-left: 0; }
.ed-stat__value { display: block; font-weight: 700; font-size: clamp(38px, 4vw, 54px); line-height: 1; letter-spacing: -0.03em; }
.ed-stat__label { display: block; margin-top: 10px; font-size: 16px; color: rgba(255,255,255,.9); }

/* ---------- principal ---------- */
.ed-principal__photo { position: relative; padding: 0 0 24px 24px; }
.ed-principal__photo::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; background: var(--ed-mint); border-radius: var(--ed-leaf); }
.ed-principal__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--ed-leaf); }
.ed-principal__quote {
  position: relative; font-size: 19px; line-height: 1.75; color: var(--ed-ink); margin: 0 0 28px;
  max-height: 14em; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.ed-principal__quote p { margin: 0 0 1em; }
.ed-principal__mark { display: block; font-size: 64px; line-height: .6; color: var(--ed-orange); font-weight: 700; margin-bottom: 12px; }

/* ---------- notices + events ---------- */
.ed-board-card { background: var(--ed-board); color: #fff; border-radius: var(--ed-leaf); padding: 32px; height: 100%; }
.ed .ed-board-card .ed-h2 { color: #fff; font-size: 30px; }
.ed .ed-board-card .ed-more { color: #ffb08f; }
.ed-noticelist { list-style: none; margin: 0 0 22px; padding: 0; }
.ed-noticelist li + li { border-top: 1px dashed rgba(255,255,255,.2); }
.ed .ed-noticelist a { display: flex; gap: 18px; align-items: baseline; padding: 15px 0; color: #fff; }
.ed .ed-noticelist a:hover .ed-noticelist__title { color: #ffb08f; }
.ed-noticelist__date { flex: 0 0 74px; font-size: 13.5px; font-weight: 600; color: var(--ed-orange); text-transform: uppercase; letter-spacing: .02em; }
.ed-noticelist__title { font-weight: 500; font-size: 16.5px; line-height: 1.45; transition: color .2s ease; }

.ed-eventlist { list-style: none; margin: 0; padding: 0; }
.ed-eventlist li + li { margin-top: 14px; }
.ed .ed-eventitem { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--ed-leaf-sm); padding: 12px; color: var(--ed-ink); border: 1px solid var(--ed-line); transition: border-color .2s ease; }
.ed .ed-eventitem:hover { border-color: var(--ed-orange); }
.ed-eventitem__thumb { flex: 0 0 96px; height: 76px; border-radius: 12px 3px 12px 3px; overflow: hidden; background: var(--ed-mint); }
.ed-eventitem__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ed-eventitem__date { display: block; font-size: 13.5px; font-weight: 600; color: var(--ed-orange); }
.ed-eventitem__title { display: block; font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--ed-board); }

/* ---------- alumni ---------- */
.ed-quote { margin: 0; height: 100%; background: #fff; border-radius: var(--ed-leaf); padding: 34px 32px 28px; display: flex; flex-direction: column; }
.ed .ed-quote__text, .ed .ed-quote__text p { font-size: 17px; line-height: 1.7; color: var(--ed-ink); margin: 0; }
.ed .ed-quote__text { flex: 1; margin-bottom: 24px; position: relative; padding-top: 34px; }
.ed .ed-quote__text::before { content: "\201C"; position: absolute; top: -8px; left: 0; font-size: 64px; line-height: 1; color: var(--ed-orange); font-weight: 700; }
.ed-quote--mint { background: var(--ed-mint); }
.ed-quote__who { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--ed-line); }
.ed .ed-quote__who img { width: 56px !important; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; }
.ed-quote__name { display: block; font-weight: 700; color: var(--ed-board); }
.ed-quote__meta { display: block; font-size: 14.5px; color: var(--ed-slate); }
.ed-alumni .owl-stage { display: flex; }
.ed-alumni .owl-item { display: flex; }
.ed-alumni .owl-item > * { width: 100%; }
.ed .ed-alumni .owl-dots { margin-top: 30px !important; text-align: left; }
.ed .ed-alumni .owl-dots .owl-dot span { width: 10px; height: 10px; margin: 0 8px 0 0; background: var(--ed-line); }
.ed .ed-alumni .owl-dots .owl-dot.active span { background: var(--ed-orange); width: 28px; }

/* ---------- news ---------- */
.ed .ed-feature { position: relative; display: block; border-radius: var(--ed-leaf); overflow: hidden; height: 100%; min-height: 440px; background: var(--ed-board); }
.ed-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ed .ed-feature:hover img { transform: scale(1.04); }
.ed-feature__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 30px 28px; background: linear-gradient(180deg, rgba(20,44,40,0) 0%, rgba(20,44,40,.92) 70%); color: #fff; }
.ed-feature__date { display: block; font-size: 14px; font-weight: 600; color: #ffb08f; margin-bottom: 8px; }
.ed .ed-feature__title { color: #fff; font-size: 26px; font-weight: 700; line-height: 1.25; margin: 0 0 10px; }
.ed-feature__text { color: rgba(255,255,255,.85); font-size: 15.5px; margin: 0; }
.ed .ed-post { display: flex; flex-direction: column; height: 100%; color: var(--ed-ink); }
.ed-post__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--ed-leaf-sm); overflow: hidden; background: var(--ed-mint); margin-bottom: 16px; }
.ed-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ed .ed-post:hover .ed-post__media img { transform: scale(1.04); }
.ed-post__date { font-size: 14px; font-weight: 600; color: var(--ed-orange); margin-bottom: 6px; }
.ed .ed-post__title { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; color: var(--ed-board); }
.ed .ed-post:hover .ed-post__title { color: var(--ed-orange); }
.ed-post__text { color: var(--ed-slate); font-size: 15.5px; margin: 0; }

/* ---------- admission band ---------- */
.ed-cta { background: var(--ed-board); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.ed-cta::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px); }
.ed-cta .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.ed .ed-cta__title { color: #fff; font-size: clamp(28px, 3vw, 40px); font-weight: 700; margin: 0 0 8px; }
.ed-cta__text { margin: 0; color: rgba(255,255,255,.85); max-width: 54ch; }
.ed-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.ed-footer { background: var(--ed-board-deep); color: rgba(255,255,255,.75); padding: 76px 0 0; font-size: 15.5px; }
.ed-footer__logo { max-height: 64px; width: auto; background: #fff; padding: 8px 12px; border-radius: var(--ed-leaf-sm); margin-bottom: 18px; }
.ed-footer__about { max-width: 36ch; margin-bottom: 22px; }
.ed .ed-footer h2 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.ed-footer ul { list-style: none; margin: 0; padding: 0; }
.ed-footer li + li { margin-top: 10px; }
.ed .ed-footer a { color: rgba(255,255,255,.8); }
.ed .ed-footer a:hover { color: #ffb08f; }
.ed-footer__contact li { display: flex; gap: 12px; }
.ed-footer__contact i { color: var(--ed-orange); width: 16px; margin-top: 6px; }
.ed-footer__bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14.5px; }
.ed-footer__bottom p { margin: 0; }
.ed .to-top-icon { background: var(--ed-orange) !important; border-radius: 8px !important; }

/* ==========================================================
   Inner pages
   ========================================================== */
.ed-pagehead { background: var(--ed-board); color: #fff; padding: 54px 0 58px; position: relative; overflow: hidden; }
.ed-pagehead::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px); }
.ed-pagehead::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; background: var(--ed-orange); border-radius: 120px 0 0 0; opacity: .9; }
.ed-pagehead .container { position: relative; z-index: 1; }
.ed-crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; font-size: 14.5px; color: rgba(255,255,255,.7); }
.ed-crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,.4); }
.ed .ed-crumbs a { color: rgba(255,255,255,.88); }
.ed .ed-crumbs a:hover { color: #ffb08f; }
.ed .ed-pagehead__title { color: #fff; font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; margin: 0; max-width: 22ch; line-height: 1.1; }
.ed .ed-pagehead__lead { color: rgba(255,255,255,.82); font-size: 18px; max-width: 56ch; margin: 14px 0 0; }
.ed .ed-pagehead__meta { display: inline-block; margin: 16px 0 0; font-size: 14.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.12); border-radius: 6px; padding: 6px 12px; }

.ed-page { padding: 72px 0 96px; }
.ed-page--mint { background: var(--ed-mint); }

.ed-article__media { margin: 0 0 32px; border-radius: var(--ed-leaf); overflow: hidden; background: var(--ed-mint); }
.ed-article__media img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.ed-prose { font-size: 17.5px; line-height: 1.8; max-width: 70ch; }
.ed .ed-prose p, .ed .ed-prose li, .ed .ed-prose td, .ed .ed-prose th, .ed .ed-prose span { font-size: inherit; line-height: inherit; }
.ed .ed-prose p { margin: 0 0 1.1em; }
.ed .ed-prose h2 { font-size: 28px; font-weight: 700; margin: 1.6em 0 .6em; }
.ed .ed-prose h3 { font-size: 22px; font-weight: 600; margin: 1.5em 0 .5em; }
.ed .ed-prose h4, .ed .ed-prose h5 { font-size: 18px; font-weight: 600; margin: 1.4em 0 .5em; }
.ed .ed-prose > *:first-child { margin-top: 0; }
.ed .ed-prose ul, .ed .ed-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.ed .ed-prose li { margin-bottom: .4em; }
.ed .ed-prose li::marker { color: var(--ed-orange); }
.ed .ed-prose a { text-decoration: underline; text-decoration-color: var(--ed-orange); text-underline-offset: 3px; }
.ed .ed-prose img { height: auto; border-radius: var(--ed-leaf-sm); margin: .4em 0 1.2em; }
.ed .ed-prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 4px solid var(--ed-orange); font-size: 20px; color: var(--ed-board); }
.ed .ed-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 16px; }
.ed .ed-prose th, .ed .ed-prose td { border: 1px solid var(--ed-line); padding: 10px 12px; }
.ed .ed-prose th { background: var(--ed-mint); }
.ed-article__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ed-line); }

.ed-aside { background: var(--ed-mint); border-radius: var(--ed-leaf); padding: 28px 26px; margin-bottom: 24px; }
.ed-page--mint .ed-aside { background: #fff; }
.ed .ed-aside__title { font-size: 20px; font-weight: 600; margin: 0 0 14px; }
.ed-aside__list { list-style: none; margin: 0; padding: 0; }
.ed-aside__list li + li { border-top: 1px solid var(--ed-line); }
.ed .ed-aside__item { display: flex; gap: 14px; align-items: center; padding: 13px 0; color: var(--ed-ink); }
.ed .ed-aside__item:hover .ed-aside__text { color: var(--ed-orange); }
.ed-aside__thumb { flex: 0 0 72px; height: 56px; border-radius: 12px 3px 12px 3px; overflow: hidden; background: var(--ed-line); }
.ed-aside__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ed-aside__thumb--round { flex-basis: 52px; height: 52px; border-radius: 50%; }
.ed-aside__text { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.4; color: var(--ed-board); transition: color .2s ease; }
.ed-aside__meta { display: block; font-size: 13.5px; color: var(--ed-slate); margin-top: 2px; }
.ed-aside--orange { background: var(--ed-orange); color: #fff; }
.ed .ed-aside--orange .ed-aside__title { color: #fff; }
.ed-aside--orange p { font-size: 16px; }

/* notice list page */
.ed-noticerows { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--ed-leaf); overflow: hidden; box-shadow: var(--ed-shadow); }
.ed-noticerows li + li { border-top: 1px solid var(--ed-line); }
.ed .ed-noticerow { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 22px 28px; color: var(--ed-ink); }
.ed .ed-noticerow:hover { background: #fbf7f4; }
.ed-noticerow__date { font-weight: 600; font-size: 14px; color: var(--ed-orange); text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }
.ed-noticerow__date strong { display: block; font-size: 30px; color: var(--ed-board); letter-spacing: -0.02em; text-transform: none; }
.ed-noticerow__title { display: block; font-weight: 600; font-size: 18px; color: var(--ed-board); line-height: 1.4; }
.ed-noticerow__text { display: block; margin-top: 4px; color: var(--ed-slate); font-size: 15px; line-height: 1.5; }
.ed-noticerow .fa-arrow-right { color: var(--ed-orange); }

/* cards: events / blog / albums / people */
.ed .ed-card { display: flex; flex-direction: column; height: 100%; color: var(--ed-ink); }
.ed-card__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--ed-leaf-sm); overflow: hidden; background: var(--ed-mint); margin-bottom: 16px; position: relative; }
.ed-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ed .ed-card:hover .ed-card__media img { transform: scale(1.04); }
.ed-card__date { font-size: 14px; font-weight: 600; color: var(--ed-orange); margin-bottom: 6px; }
.ed .ed-card__title { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; color: var(--ed-board); }
.ed .ed-card:hover .ed-card__title { color: var(--ed-orange); }
.ed-card__text { color: var(--ed-slate); font-size: 15.5px; margin: 0; }
.ed-card__count { position: absolute; left: 14px; bottom: 14px; background: rgba(20,44,40,.85); color: #fff; font-size: 13.5px; font-weight: 600; padding: 5px 10px; border-radius: 6px; }

.ed-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.ed .ed-photo { display: block; aspect-ratio: 1 / 1; border-radius: var(--ed-leaf-sm); overflow: hidden; background: var(--ed-mint); }
.ed-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ed .ed-photo:hover img { transform: scale(1.05); }

.ed .ed-person { display: block; color: var(--ed-ink); }
.ed-person__photo { display: block; aspect-ratio: 4 / 5; border-radius: var(--ed-leaf); overflow: hidden; background: var(--ed-mint); margin-bottom: 14px; }
.ed-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.ed-person__name { display: block; font-weight: 600; font-size: 18px; color: var(--ed-board); }
.ed-person__role { display: block; font-size: 15px; color: var(--ed-slate); }
.ed-group-title { font-size: 26px; font-weight: 700; margin: 0 0 24px; }
.ed-profile__photo { float: left; width: 220px; max-width: 40%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--ed-leaf); margin: 0 28px 16px 0; }
.ed-profile::after { content: ""; display: table; clear: both; }

.ed-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--ed-leaf-sm); overflow: hidden; background: var(--ed-board-deep); }
.ed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* forms */
.ed-formcard { background: #fff; border-radius: var(--ed-leaf); padding: 36px; box-shadow: var(--ed-shadow); }
.ed .ed-formcard__title { font-size: 24px; font-weight: 700; margin: 0 0 22px; }
.ed-form label, .ed-label { display: block; font-weight: 600; font-size: 15px; color: var(--ed-board); margin-bottom: 7px; }
.ed-optional { font-weight: 400; color: var(--ed-slate); }
.ed .ed-form .form-control { height: auto; min-height: 50px; padding: 12px 16px; font-size: 16px; color: var(--ed-ink); border: 1.5px solid var(--ed-line); border-radius: 8px; background-color: #fff; box-shadow: none; }
.ed .ed-form textarea.form-control { min-height: 150px; }
.ed .ed-form .form-control:focus { border-color: var(--ed-board); box-shadow: 0 0 0 4px rgba(29,61,56,.12); }
.ed-fieldset { border: 0; margin: 0 0 30px; padding: 0 0 30px; border-bottom: 1px solid var(--ed-line); }
.ed .ed-fieldset legend { font-weight: 700; font-size: 20px; color: var(--ed-board); margin-bottom: 18px; width: auto; }
.ed-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.ed .ed-form .ed-choice { display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; border: 1.5px solid var(--ed-line); border-radius: 8px; padding: 12px 18px; font-weight: 500; color: var(--ed-ink); }
.ed-choice input { accent-color: var(--ed-orange); width: 18px; height: 18px; }
.ed .ed-form .ed-choice:has(input:checked) { border-color: var(--ed-orange); background: #fdf3ee; }
.ed-form__submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ed-form__note { margin: 0; color: var(--ed-slate); font-size: 15px; max-width: 44ch; }

.ed-contact { background: var(--ed-board); color: #fff; border-radius: var(--ed-leaf); padding: 36px; height: 100%; }
.ed .ed-contact .ed-formcard__title { color: #fff; }
.ed-contact__list { list-style: none; margin: 0 0 28px; padding: 0; }
.ed-contact__list li { display: flex; gap: 16px; }
.ed-contact__list li + li { margin-top: 22px; }
.ed-contact__icon { flex: 0 0 44px; height: 44px; border-radius: 12px 3px 12px 3px; display: inline-flex; align-items: center; justify-content: center; background: var(--ed-orange); color: #fff; }
.ed-contact__label { display: block; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.65); }
.ed .ed-contact a { color: #fff; }
.ed .ed-contact a:hover { color: #ffb08f; }
.ed-map { line-height: 0; }
.ed-map iframe { width: 100%; height: 420px; border: 0; }

.ed-pagination { margin-top: 32px; }
.ed .ed-pagination .page-link { border-radius: 6px; margin: 0 3px; color: var(--ed-board); border-color: var(--ed-line); }
.ed .ed-pagination .page-item.active .page-link { background: var(--ed-board); border-color: var(--ed-board); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .ed-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  .ed-section { padding: 72px 0; }
  .ed-slide { grid-template-columns: 1fr; min-height: 0; }
  .ed-slide__media { order: -1; height: 320px; border-radius: 0 0 0 80px; }
  .ed-slide__panel { padding: 44px 24px 110px; }
  .ed-hero .slick-prev { left: 24px; }
  .ed-hero .slick-next { left: 82px; }
  .ed-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .ed-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ed-welcome__badge { right: 12px; }
  .ed-page { padding: 56px 0 72px; }
}
@media (max-width: 767.98px) {
  body.ed { font-size: 16px; }
  .ed-nav .navbar-brand img { height: 46px; }
  .ed-section { padding: 60px 0; }
  .ed-pillars { grid-template-columns: 1fr; gap: 16px; }
  .ed-slide__media { height: 240px; }
  .ed .ed-noticerow { grid-template-columns: 1fr auto; padding: 18px; }
  .ed-noticerow__date { grid-column: 1 / -1; }
  .ed-noticerow__date strong { display: inline; font-size: 15px; color: var(--ed-orange); }
  .ed-feature { min-height: 360px; }
  .ed-formcard, .ed-contact, .ed-board-card { padding: 26px 20px; }
  .ed-photos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ed-profile__photo { float: none; width: 100%; max-width: 280px; margin: 0 0 22px; }
  .ed-form__submit .ed-btn { width: 100%; }
  .ed-pagehead::after { width: 140px; height: 140px; right: -50px; bottom: -50px; }
  .ed-map iframe { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .ed *, .ed *::before, .ed *::after { transition: none !important; animation: none !important; }
}

.ed .ed-aside__item[aria-current="page"] .ed-aside__text { color: var(--ed-orange); }

/* ---------- home: news & blog (v2) ---------- */
.ed-news__lead { background: #fff; border-radius: var(--ed-leaf); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--ed-shadow); }
.ed .ed-news__leadmedia { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ed-board); }
.ed-news__leadmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ed-news__lead:hover .ed-news__leadmedia img { transform: scale(1.03); }
.ed-news__tag { position: absolute; left: 20px; top: 20px; background: var(--ed-orange); color: #fff; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 10px 3px 10px 3px; }
.ed-news__leadbody { padding: 28px 32px 30px; display: flex; flex-direction: column; flex: 1; }
.ed-news__date { display: block; font-size: 14px; font-weight: 600; color: var(--ed-orange); margin-bottom: 8px; }
.ed .ed-news__leadtitle { font-size: clamp(24px, 2.3vw, 30px); font-weight: 700; line-height: 1.2; margin: 0 0 12px; }
.ed .ed-news__leadtitle a, .ed .ed-news__itemtitle a { color: var(--ed-board); }
.ed .ed-news__leadtitle a:hover, .ed .ed-news__itemtitle a:hover { color: var(--ed-orange); }
.ed .ed-news__excerpt { color: var(--ed-slate); font-size: 16.5px; line-height: 1.65; margin: 0 0 20px; max-width: 60ch; }
.ed-news__lead .ed-more { margin-top: auto; align-self: flex-start; }

.ed-news__list { list-style: none; margin: 0; padding: 8px 26px; background: #fff; border-radius: var(--ed-leaf); height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.ed-news__list li + li { border-top: 1px solid var(--ed-line); }
.ed-news__item { display: flex; gap: 18px; padding: 22px 0; }
.ed .ed-news__thumb { flex: 0 0 120px; height: 96px; border-radius: 16px 4px 16px 4px; overflow: hidden; background: var(--ed-mint); }
.ed-news__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ed-news__item:hover .ed-news__thumb img { transform: scale(1.05); }
.ed-news__itembody { min-width: 0; display: flex; flex-direction: column; }
.ed .ed-news__itemtitle { font-size: 17.5px; font-weight: 600; line-height: 1.35; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ed .ed-news__itemtext { color: var(--ed-slate); font-size: 15px; line-height: 1.55; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ed .ed-news__read { font-size: 14.5px; font-weight: 600; color: var(--ed-orange); margin-top: auto; }
.ed .ed-news__read i { font-size: 12px; margin-left: 4px; transition: transform .2s ease; }
.ed .ed-news__read:hover i { transform: translateX(3px); }
.ed-news .ed-btn--line { padding: 13px 20px; }

@media (max-width: 767.98px) {
  .ed-news__leadbody { padding: 22px 20px 24px; }
  .ed-news__list { padding: 4px 18px; }
  .ed .ed-news__thumb { flex-basis: 92px; height: 80px; }
  .ed-news__item { gap: 14px; padding: 18px 0; }
}

/* ---------- hero text (v2) ---------- */
.ed .ed-slide__panel { padding-right: 64px; }
.ed .ed-slide__kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 15px; font-weight: 500; letter-spacing: .02em; color: #ffb08f;
}
.ed .ed-slide__kicker::before { content: ""; width: 32px; height: 2px; background: var(--ed-orange); border-radius: 2px; }
.ed .ed-slide__title {
  font-size: clamp(34px, 3.7vw, 52px); font-weight: 600; line-height: 1.14; letter-spacing: -0.025em;
  max-width: 15ch; margin: 0 0 34px; text-wrap: balance;
}
.ed .ed-hero .slick-arrow { opacity: 1 !important; visibility: visible !important; }
@media (max-width: 991.98px) {
  .ed .ed-slide__panel { padding-right: 24px; }
  .ed .ed-slide__title { font-size: clamp(30px, 6.5vw, 40px); max-width: 18ch; }
}

.ed .ed-hero .slick-arrow { background: rgba(255,255,255,.1) !important; border: 1px solid rgba(255,255,255,.35) !important; border-radius: 8px !important; }
.ed .ed-hero .slick-arrow:hover, .ed .ed-hero .slick-arrow:focus-visible { background: var(--ed-orange) !important; border-color: var(--ed-orange) !important; }
.ed .ed-hero .slick-arrow::before { background: transparent !important; border-radius: 0 !important; width: auto !important; height: auto !important; position: absolute; inset: 0; display: flex !important; align-items: center; justify-content: center; line-height: 1 !important; }

/* ---------- hero alignment (v3): match the theme's 1300px container ---------- */
.ed-hero { --ed-edge: max(20px, calc((100vw - var(--ed-sbw, 0px) - 1300px) / 2 + 15px)); }
.ed .ed-hero .ed-slide__panel { padding: 64px 56px 116px var(--ed-edge); }
.ed .ed-hero .slick-arrow { top: auto !important; bottom: 44px !important; transform: none !important; margin: 0 !important; width: 46px !important; height: 46px !important; }
.ed .ed-hero .slick-prev { left: var(--ed-edge) !important; right: auto !important; }
.ed .ed-hero .slick-next { left: calc(var(--ed-edge) + 56px) !important; right: auto !important; }
.ed .ed-hero .slick-arrow::before { font-size: 15px !important; opacity: 1 !important; }
@media (max-width: 991.98px) {
  .ed-hero { --ed-edge: 15px; }
  .ed .ed-hero .ed-slide__panel { padding: 40px 15px 104px 15px; }
  .ed .ed-hero .slick-arrow { bottom: 36px !important; }
}

.ed .ed-hero .slick-arrow { transition: background-color .2s ease, border-color .2s ease !important; }
@media (max-width: 991.98px) {
  .ed .ed-hero .ed-slide__panel { padding-bottom: 128px; }
  .ed .ed-hero .slick-arrow { bottom: 40px !important; }
}

/* ---------- notice popup ---------- */
.ed-popup { border: 0; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; border-radius: 36px 6px 36px 6px; background: #fff; color: var(--ed-board); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.ed-popup::backdrop { background: rgba(20,44,40,.6); }
.ed-popup[open] { animation: ed-popup-in .28s ease-out; }
@keyframes ed-popup-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.ed-popup__inner { position: relative; }
.ed-popup__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.95); color: var(--ed-board); font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.ed-popup__close:hover { color: var(--ed-orange); }
.ed-popup__img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.ed-popup__band { background: var(--ed-board); color: #fff; padding: 22px 64px 20px 28px; }
.ed-popup .ed-popup__label { margin: 0; font-weight: 700; font-size: 14.5px; color: #ffb08f; }
.ed-popup .ed-popup__label i { margin-right: 6px; }
.ed-popup .ed-popup__date { margin: 4px 0 0; font-size: 15px; color: #fff; opacity: .85; }
.ed-popup__body { padding: 24px 28px 28px; }
.ed-popup .ed-popup__title { font-family: var(--ed-font) !important; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin: 0 0 10px; color: var(--ed-board); }
.ed-popup .ed-popup__text { color: var(--ed-slate); font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.ed-popup__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 575.98px) { .ed-popup__actions > * { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .ed-popup[open] { animation: none; } }

/* ---------- notice popup: image only (v2) ---------- */
.ed-popup { border: 0; padding: 0; background: transparent; overflow: visible; width: auto; max-width: min(720px, calc(100vw - 32px)); max-height: none; box-shadow: none; }
.ed-popup::backdrop { background: rgba(20,44,40,.7); }
.ed-popup__inner { position: relative; }
.ed-popup__link { display: block; line-height: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); background: #fff; }
.ed-popup__img { display: block; width: auto; height: auto; max-width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 80px); object-fit: contain; }
.ed-popup__close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ed-board); font-size: 28px; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.ed-popup__close:hover, .ed-popup__close:focus-visible { background: var(--ed-orange); color: #fff; }
/* small screens: keep the close button inside the image so it never runs off the edge */
@media (max-width: 800px) { .ed-popup__close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 26px; } }