/* ==========================================================
   School website redesign — loaded after style.css / mediaquery.css
   ========================================================== */
:root {
  --sw-navy: #15305b;
  --sw-navy-deep: #0d1f3d;
  --sw-marigold: #f4a51c;
  --sw-marigold-dark: #d98a00;
  --sw-crimson: #c8102e;
  --sw-teal: #128f82;
  --sw-mist: #eef3f8;
  --sw-ink: #1b2333;
  --sw-slate: #566176;
  --sw-line: #dbe2ec;
  --sw-white: #ffffff;
  --sw-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sw-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --sw-radius-lg: 22px;
  --sw-radius: 14px;
  --sw-radius-sm: 8px;
  --sw-shadow: 0 18px 40px -18px rgba(13, 31, 61, 0.28);

  /* legacy theme variables, so inner pages pick up the new palette */
  --primary-color: var(--sw-navy);
  --secondary-color: var(--sw-marigold);
}

/* ---------- base ---------- */
body.sw {
  font-family: var(--sw-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--sw-ink);
  background: var(--sw-white);
  -webkit-font-smoothing: antialiased;
}
.sw p { font-family: var(--sw-body); color: inherit; }
.sw h1, .sw h2, .sw h3, .sw h4, .sw h5, .sw h6 {
  font-family: var(--sw-display);
  color: var(--sw-navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.sw a { color: var(--sw-navy); transition: color .2s ease; }
.sw a:hover { color: var(--sw-marigold-dark); text-decoration: none; }
.sw img { max-width: 100%; }
.sw :focus-visible { outline: 3px solid var(--sw-marigold); outline-offset: 3px; }

.sw-skip {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--sw-marigold); color: var(--sw-navy-deep) !important;
  padding: 10px 16px; border-radius: var(--sw-radius-sm); font-weight: 700;
}
.sw-skip:focus { top: 12px; }

/* ---------- buttons & links ---------- */
.sw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sw-body); font-weight: 700; font-size: 16px; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.sw-btn:hover { transform: translateY(-1px); }
.sw .sw-btn--accent { background: var(--sw-marigold); color: var(--sw-navy-deep); }
.sw .sw-btn--accent:hover { background: #ffb83d; color: var(--sw-navy-deep); }
.sw .sw-btn--primary { background: var(--sw-navy); color: #fff; }
.sw .sw-btn--primary:hover { background: var(--sw-navy-deep); color: #fff; }
.sw .sw-btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.sw .sw-btn--ghost:hover { background: #fff; color: var(--sw-navy); }
.sw .sw-btn--outline { border-color: var(--sw-navy); color: var(--sw-navy); }
.sw .sw-btn--outline:hover { background: var(--sw-navy); color: #fff; }

.sw .sw-link {
  font-weight: 700; color: var(--sw-navy);
  border-bottom: 2px solid var(--sw-marigold); padding-bottom: 2px;
}
.sw .sw-link:hover { color: var(--sw-marigold-dark); }

/* legacy buttons used on inner pages */
.sw .btn_1 {
  background: var(--sw-marigold); color: var(--sw-navy-deep) !important;
  border-radius: 999px; font-family: var(--sw-body); font-weight: 700;
  text-transform: none; letter-spacing: 0; padding: 13px 26px; border: 0;
}
.sw .btn_1:hover { background: #ffb83d; }
.sw .btn_4 {
  font-family: var(--sw-body); font-weight: 700; color: var(--sw-navy);
  text-transform: none; border-bottom: 2px solid var(--sw-marigold);
}

/* ---------- top bar ---------- */
.sw-topbar {
  background: var(--sw-navy-deep); color: rgba(255,255,255,.82);
  font-size: 14px; padding: 9px 0;
}
.sw-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.sw-topbar__contact { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.sw-topbar__contact i { color: var(--sw-marigold); margin-right: 8px; }
.sw .sw-topbar a { color: rgba(255,255,255,.88); }
.sw .sw-topbar a:hover { color: #fff; }
.sw-social { display: flex; gap: 8px; }
.sw .sw-social a {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #fff; font-size: 14px;
}
.sw .sw-social a:hover { background: var(--sw-marigold); color: var(--sw-navy-deep); }

/* ---------- header ---------- */
.sw-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--sw-line);
  backdrop-filter: saturate(150%) blur(8px);
}
.sw-nav { padding: 12px 0; }
.sw-brand img { height: 68px; width: auto; }
.sw .sw-nav .nav-link {
  font-family: var(--sw-body); font-weight: 700; font-size: 15.5px;
  color: var(--sw-ink); padding: 10px 14px !important; border-radius: var(--sw-radius-sm);
  text-transform: none;
}
.sw .sw-nav .nav-link:hover { color: var(--sw-navy); background: var(--sw-mist); }
.sw .sw-nav .nav-item.active > .nav-link { color: var(--sw-navy); box-shadow: inset 0 -3px 0 var(--sw-marigold); border-radius: 0; }
.sw .sw-nav .dropdown-menu {
  border: 1px solid var(--sw-line); border-radius: var(--sw-radius); padding: 8px;
  box-shadow: var(--sw-shadow); margin-top: 8px; min-width: 220px;
}
.sw .sw-nav .dropdown-item { border-radius: var(--sw-radius-sm); padding: 9px 14px; font-weight: 600; color: var(--sw-ink); }
.sw .sw-nav .dropdown-item:hover, .sw .sw-nav .dropdown-item:focus { background: var(--sw-mist); color: var(--sw-navy); }
.sw-nav__cta { margin-left: 14px; padding: 13px 22px; }

.sw-toggler {
  border: 1px solid var(--sw-line) !important; border-radius: var(--sw-radius-sm);
  width: 46px; height: 42px; padding: 0; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.sw-toggler span { display: block; width: 20px; height: 2px; background: var(--sw-navy); border-radius: 2px; }

/* ---------- section scaffolding ---------- */
.sw-section { padding: 96px 0; }
.sw-section--mist { background: var(--sw-mist); }
.sw-h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; margin-bottom: 18px; }
.sw-section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.sw-section-head .sw-h2 { margin-bottom: 0; }
.sw-empty { color: var(--sw-slate); }

/* ---------- hero ---------- */
.sw-hero { position: relative; background: var(--sw-navy-deep); }
.sw-hero__slide { position: relative; height: min(78vh, 680px); min-height: 460px; overflow: hidden; }
.sw .sw-hero .owl-item img.sw-hero__img,
.sw-hero__img { width: 100%; height: 100%; object-fit: cover; }
.sw-hero__overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(13,31,61,.88) 0%, rgba(13,31,61,.62) 42%, rgba(13,31,61,.08) 78%);
}
.sw-hero__content { max-width: 620px; padding-bottom: 40px; }
.sw .sw-hero__title {
  color: #fff; font-size: clamp(40px, 6vw, 76px); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 18px;
}
.sw .sw-hero__lead { color: rgba(255,255,255,.9); font-size: clamp(18px, 1.6vw, 21px); max-width: 32ch; margin-bottom: 30px; }
.sw-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sw-hero .owl-nav {
  position: absolute; right: max(24px, calc((100vw - 1140px) / 2)); bottom: 108px;
  display: flex; gap: 10px; margin: 0;
}
.sw .sw-hero .owl-nav button.owl-prev,
.sw .sw-hero .owl-nav button.owl-next {
  width: 48px; height: 48px; border-radius: 50%; margin: 0;
  background: rgba(255,255,255,.14) !important; color: #fff !important;
  font-size: 0 !important; border: 1px solid rgba(255,255,255,.4);
  position: relative;
}
.sw-hero .owl-nav button::before {
  font-family: FontAwesome; font-size: 18px; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.sw-hero .owl-nav button.owl-prev::before { content: "\f104"; }
.sw-hero .owl-nav button.owl-next::before { content: "\f105"; }
.sw .sw-hero .owl-nav button:hover { background: var(--sw-marigold) !important; color: var(--sw-navy-deep) !important; border-color: var(--sw-marigold); }
.sw-hero .owl-dots { display: none; }

/* ---------- pillars (overlaps hero) ---------- */
.sw-pillars { position: relative; z-index: 5; margin-top: -84px; }
.sw-pillars__panel {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--sw-radius-lg); box-shadow: var(--sw-shadow);
  border-top: 6px solid var(--sw-marigold); overflow: hidden;
}
.sw-pillar { padding: 34px 30px 32px; border-left: 1px solid var(--sw-line); }
.sw-pillar:first-child { border-left: 0; }
.sw-pillar__icon {
  width: 54px; height: 54px; border-radius: 16px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
  background: #fff4dd; color: var(--sw-marigold-dark);
}
.sw-pillar:nth-child(4n+2) .sw-pillar__icon { background: #fde7ea; color: var(--sw-crimson); }
.sw-pillar:nth-child(4n+3) .sw-pillar__icon { background: #e1f3f1; color: var(--sw-teal); }
.sw-pillar:nth-child(4n+4) .sw-pillar__icon { background: #e4ebf6; color: var(--sw-navy); }
.sw .sw-pillar__title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.sw-pillar__text, .sw-pillar__text p { font-size: 15.5px; line-height: 1.6; color: var(--sw-slate); margin: 0; }

/* ---------- about ---------- */
.sw-about__media { position: relative; margin: 0 28px 28px 0; }
.sw-about__media::before {
  content: ""; position: absolute; right: -28px; bottom: -28px; width: 70%; height: 70%;
  background: var(--sw-marigold); border-radius: var(--sw-radius-lg); z-index: 0;
}
.sw-about__media img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--sw-radius-lg);
}
.sw-about__body { padding-left: 24px; }
.sw-about__text {
  max-height: 15.5em; overflow: hidden; margin-bottom: 28px; color: var(--sw-slate);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
          mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.sw-about__text p { margin-bottom: 1em; }

/* ---------- notice board ---------- */
.sw-notices { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--sw-radius-lg); box-shadow: var(--sw-shadow); overflow: hidden; }
.sw-notice + .sw-notice { border-top: 1px solid var(--sw-line); }
.sw .sw-notice__link {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; color: var(--sw-ink);
}
.sw .sw-notice__link:hover { background: #fffaf0; color: var(--sw-navy); }
.sw-date {
  flex: 0 0 58px; text-align: center; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--sw-line); background: #fff; line-height: 1;
}
.sw-date__month {
  display: block; background: var(--sw-crimson); color: #fff; font-size: 12px;
  font-weight: 700; padding: 5px 0;
}
.sw-date__day { display: block; font-family: var(--sw-display); font-weight: 800; font-size: 24px; color: var(--sw-navy); padding: 7px 0 8px; }
.sw-notice__title { flex: 1; font-weight: 700; font-size: 16.5px; line-height: 1.4; }
.sw-notice__link .fa { color: var(--sw-slate); font-size: 20px; }

/* ---------- events ---------- */
.sw .sw-event { display: block; color: var(--sw-ink); height: 100%; }
.sw-event__media { display: block; border-radius: var(--sw-radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sw-line); }
.sw-event__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sw .sw-event:hover .sw-event__media img { transform: scale(1.04); }
.sw .sw-event__title { display: block; font-family: var(--sw-display); font-weight: 700; font-size: 19px; line-height: 1.3; margin-top: 14px; color: var(--sw-navy); }
.sw .sw-event:hover .sw-event__title { color: var(--sw-marigold-dark); }

/* ---------- alumni ---------- */
.sw-alumni { background: var(--sw-navy); color: #fff; overflow: hidden; position: relative; }
.sw-alumni::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -180px; top: -220px; border: 70px solid rgba(244,165,28,.10); pointer-events: none;
}
.sw-alumni .container { position: relative; }
.sw-alumni__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin-bottom: 44px;
}
.sw .sw-alumni .sw-h2 { color: #fff; margin-bottom: 10px; }
.sw .sw-alumni__intro { color: rgba(255,255,255,.78); font-size: 18px; max-width: 46ch; margin: 0; }

.sw-testimonial {
  position: relative; height: 100%; margin: 0; display: flex; flex-direction: column;
  background: #fff; color: var(--sw-ink); border-radius: var(--sw-radius-lg);
  padding: 46px 32px 28px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.45);
}
.sw-testimonial__mark {
  position: absolute; top: -26px; left: 28px; width: 56px; height: 56px; border-radius: 16px;
  background: var(--sw-marigold); color: var(--sw-navy-deep);
  font-family: Georgia, "Times New Roman", serif; font-size: 58px; line-height: 1;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 10px;
}
.sw .sw-testimonial__quote,
.sw .sw-testimonial__quote p {
  margin: 0; font-family: var(--sw-display); font-weight: 500;
  font-size: 20px; line-height: 1.5; color: var(--sw-ink);
}
.sw .sw-testimonial__quote { flex: 1; margin-bottom: 26px; }
.sw .sw-testimonial__quote p + p { margin-top: .8em; }
.sw-testimonial__person {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid var(--sw-line);
}
.sw img.sw-testimonial__photo {
  width: 60px !important; height: 60px; flex: 0 0 60px; border-radius: 50%;
  object-fit: cover; background: var(--sw-mist); border: 3px solid #fff4dd;
}
.sw-testimonial__who { display: flex; flex-direction: column; line-height: 1.35; }
.sw-testimonial__name { font-weight: 800; font-size: 17px; color: var(--sw-navy); }
.sw-testimonial__role { font-size: 15px; color: var(--sw-slate); }
.sw-testimonial__batch {
  align-self: flex-start; margin-top: 6px; font-size: 13px; font-weight: 700;
  color: var(--sw-marigold-dark); background: #fff4dd; border-radius: 999px; padding: 3px 10px;
}

/* carousel mode (more than three entries) */
.sw-alumni__carousel { padding-top: 28px; }
.sw-alumni__carousel .owl-stage { display: flex; }
.sw-alumni__carousel .owl-item { display: flex; }
.sw-alumni__slide { width: 100%; display: flex; }
.sw-alumni__carousel .owl-dots { text-align: center; margin-top: 34px !important; }
.sw .sw-alumni__carousel .owl-dots .owl-dot span { background: rgba(255,255,255,.3); width: 10px; height: 10px; margin: 0 4px; }
.sw .sw-alumni__carousel .owl-dots .owl-dot.active span { background: var(--sw-marigold); width: 28px; }


@media (max-width: 767.98px) {
  .sw-alumni__head { margin-bottom: 20px; }
  .sw-testimonial { padding: 42px 22px 24px; }
  .sw .sw-testimonial__quote, .sw .sw-testimonial__quote p { font-size: 18px; }
}

/* ---------- blog ---------- */
.sw-post { height: 100%; display: flex; flex-direction: column; bor/* alumni layout v2: heading left, cards right */
.sw-alumni__head { display: block; margin-bottom: 0; }
.sw .sw-alumni__intro { margin-bottom: 28px; max-width: 30ch; }
.sw-alumni__grid { padding-top: 28px; }
.sw-alumni__grid > [class*="col-"] { display: flex; }
.sw .sw-testimonial__quote { min-height: 4.5em; }
@media (max-width: 767.98px) {
  .sw-alumni__grid > [class*="col-"] + [class*="col-"] { margin-top: 52px; }
}

der: 1px solid var(--sw-line); border-radius: var(--sw-radius-lg); overflow: hidden; background: #fff; }
.sw-post__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sw-line); }
.sw-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sw-post:hover .sw-post__media img { transform: scale(1.04); }
.sw-post__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.sw-post__date { font-size: 14px; color: var(--sw-slate); margin-bottom: 8px; }
.sw .sw-post__title { font-size: 21px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.sw .sw-post__title a { color: var(--sw-navy); }
.sw .sw-post__title a:hover { color: var(--sw-marigold-dark); }
.sw-post__excerpt { color: var(--sw-slate); font-size: 15.5px; margin-bottom: 18px; }
.sw-post .sw-link { margin-top: auto; align-self: flex-start; }

/* ---------- admission band ---------- */
.sw-cta { padding: 0 0 96px; }
.sw-cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--sw-marigold); border-radius: var(--sw-radius-lg); padding: 44px 52px;
}
.sw .sw-cta__title { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: var(--sw-navy-deep); margin-bottom: 8px; }
.sw-cta__text { margin: 0; color: var(--sw-navy-deep); max-width: 52ch; font-size: 17.5px; }
.sw-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sw .sw-cta .sw-btn--outline { border-color: var(--sw-navy-deep); color: var(--sw-navy-deep); }
.sw .sw-cta .sw-btn--outline:hover { background: var(--sw-navy-deep); color: #fff; }

/* ---------- footer ---------- */
.sw-footer { background: var(--sw-navy-deep); color: rgba(255,255,255,.75); padding: 80px 0 0; font-size: 15.5px; }
.sw-footer__logo { max-height: 92px; max-width: 100%; width: auto; margin-bottom: 18px; background: #fff; padding: 10px 16px; border-radius: var(--sw-radius); }
.sw-footer__about { max-width: 34ch; margin-bottom: 22px; }
.sw .sw-footer h2 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.sw-footer__links { list-style: none; padding: 0; margin: 0; }
.sw-footer__links li + li { margin-top: 10px; }
.sw .sw-footer a { color: rgba(255,255,255,.8); }
.sw .sw-footer a:hover { color: var(--sw-marigold); }
.sw-footer__contact { list-style: none; padding: 0; margin: 0; }
.sw-footer__contact li { display: flex; gap: 12px; }
.sw-footer__contact li + li { margin-top: 12px; }
.sw-footer__contact .fa { color: var(--sw-marigold); width: 16px; margin-top: 5px; }
.sw-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;
}
.sw-footer__bottom p { margin: 0; }

/* back-to-top button (#button, toggled by custom.js) */
.sw #button {
  background: var(--sw-marigold); color: var(--sw-navy-deep); border-radius: 50%;
  width: 48px; height: 48px; box-shadow: var(--sw-shadow);
}
.sw #button::after { color: var(--sw-navy-deep); }

/* ---------- inner pages: page header ---------- */
.sw .breadcrumb {
  margin-top: 0 !important; border-radius: 0;
  background-color: var(--sw-navy) !important; background-image: none !important;
}
.sw .breadcrumb:after { background: var(--sw-navy) !important; opacity: 1; }
.sw #noticeInner.breadcrumb::after { background: var(--sw-navy) !important; }
.sw .breadcrumb .breadcrumb_inner { height: 240px; }
.sw .breadcrumb .breadcrumb_inner .breadcrumb_inner_item h2 {
  font-family: var(--sw-display); font-weight: 800; color: #fff; font-size: clamp(32px, 4vw, 50px);
}
.sw .breadcrumb .breadcrumb_inner .breadcrumb_inner_item p,
.sw .breadcrumb .breadcrumb_inner .breadcrumb_inner_item a { color: rgba(255,255,255,.85); }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .sw-pillars__panel { grid-template-columns: repeat(2, 1fr); }
  .sw-pillar:nth-child(odd) { border-left: 0; }
  .sw-pillar:nth-child(n+3) { border-top: 1px solid var(--sw-line); }
}
@media (max-width: 991.98px) {
  .sw-section { padding: 72px 0; }
  .sw-nav .navbar-collapse { padding: 12px 0 8px; }
  .sw .sw-nav .nav-item.active > .nav-link { box-shadow: none; background: var(--sw-mist); border-radius: var(--sw-radius-sm); }
  .sw-nav__cta { margin: 10px 0 4px; width: 100%; }
  .sw-about__body { padding-left: 0; }
  .sw-hero .owl-nav { bottom: 100px; }
  .sw-cta__inner { padding: 36px 30px; }
}
@media (max-width: 767.98px) {
  body.sw { font-size: 16px; }
  .sw-brand img { height: 52px; }
  .sw-hero__slide { height: 72vh; min-height: 440px; }
  .sw-hero__overlay { background: linear-gradient(180deg, rgba(13,31,61,.25) 0%, rgba(13,31,61,.85) 70%); align-items: flex-end; }
  .sw-hero__content { padding-bottom: 120px; }
  .sw-hero .owl-nav { display: none; }
  .sw-pillars { margin-top: -64px; }
  .sw-pillars__panel { grid-template-columns: 1fr; }
  .sw-pillar { border-left: 0 !important; border-top: 1px solid var(--sw-line); padding: 26px 22px; }
  .sw-pillar:first-child { border-top: 0; }
  .sw-section { padding: 60px 0; }
  .sw-about__media { margin: 0 16px 16px 0; }
  .sw-about__media::before { right: -16px; bottom: -16px; }
  .sw-notice__link { padding: 16px; gap: 14px; }
  .sw-quote__text { padding-left: 20px; }
  .sw-cta { padding-bottom: 60px; }
  .sw-footer { padding-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .sw *, .sw *::before, .sw *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================
   Inner pages
   ========================================================== */

/* page header band */
.sw-pagehead {
  position: relative; overflow: hidden;
  background: var(--sw-navy); color: #fff; padding: 56px 0 60px;
}
.sw-pagehead::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -140px; bottom: -260px; border: 60px solid rgba(244,165,28,.12); pointer-events: none;
}
.sw-pagehead .container { position: relative; }
.sw-crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14.5px; color: rgba(255,255,255,.7); }
.sw-crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,.4); }
.sw .sw-crumbs a { color: rgba(255,255,255,.85); }
.sw .sw-crumbs a:hover { color: var(--sw-marigold); }
.sw .sw-pagehead__title {
  color: #fff; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.08; margin: 0; max-width: 22ch;
}
.sw .sw-pagehead__lead { color: rgba(255,255,255,.82); font-size: 18.5px; max-width: 56ch; margin: 14px 0 0; }
.sw .sw-pagehead__meta {
  display: inline-block; margin: 16px 0 0; font-size: 15px; font-weight: 700;
  color: var(--sw-navy-deep); background: var(--sw-marigold); border-radius: 999px; padding: 5px 14px;
}

/* page body */
.sw-page { padding: 72px 0 96px; }
.sw-page--mist { background: var(--sw-mist); }

/* article + rich text from the CMS */
.sw-article__media { margin: 0 0 32px; border-radius: var(--sw-radius-lg); overflow: hidden; background: var(--sw-line); }
.sw-article__media img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.sw-article__lead, .sw-article__lead p {
  font-family: var(--sw-display); font-size: 21px; line-height: 1.5; color: var(--sw-navy); font-weight: 500;
}
.sw-article__lead { margin-bottom: 26px; }
.sw-prose { font-size: 17.5px; line-height: 1.75; color: var(--sw-ink); max-width: 70ch; }
.sw .sw-prose p { margin: 0 0 1.1em; }
.sw .sw-prose h2 { font-size: 28px; font-weight: 800; margin: 1.6em 0 .6em; }
.sw .sw-prose h3 { font-size: 22px; font-weight: 700; margin: 1.5em 0 .5em; }
.sw .sw-prose h4, .sw .sw-prose h5, .sw .sw-prose h6 { font-size: 18px; font-weight: 700; margin: 1.4em 0 .5em; }
.sw .sw-prose > *:first-child { margin-top: 0; }
.sw .sw-prose ul, .sw .sw-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.sw .sw-prose li { margin-bottom: .4em; }
.sw .sw-prose li::marker { color: var(--sw-marigold-dark); }
.sw .sw-prose a { color: var(--sw-navy); text-decoration: underline; text-decoration-color: var(--sw-marigold); text-underline-offset: 3px; }
.sw .sw-prose img { height: auto; border-radius: var(--sw-radius); margin: .4em 0 1.2em; }
.sw .sw-prose blockquote {
  margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--sw-marigold);
  font-family: var(--sw-display); font-size: 20px; color: var(--sw-navy);
}
.sw .sw-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 16px; }
.sw .sw-prose th, .sw .sw-prose td { border: 1px solid var(--sw-line); padding: 10px 12px; text-align: left; }
.sw .sw-prose th { background: var(--sw-mist); color: var(--sw-navy); }
.sw-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(--sw-line);
}

/* sidebar */
.sw-aside {
  background: #fff; border: 1px solid var(--sw-line); border-radius: var(--sw-radius-lg);
  padding: 26px 24px; margin-bottom: 24px;
}
.sw-page--mist .sw-aside { border-color: transparent; }
.sw .sw-aside__title { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.sw-aside__list { list-style: none; margin: 0; padding: 0; }
.sw-aside__list li + li { border-top: 1px solid var(--sw-line); }
.sw .sw-aside__item { display: flex; align-items: center; gap: 14px; padding: 13px 0; color: var(--sw-ink); }
.sw .sw-aside__item:hover .sw-aside__text { color: var(--sw-marigold-dark); }
.sw-aside__thumb { flex: 0 0 72px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--sw-line); }
.sw-aside__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sw-aside__thumb--round { flex-basis: 52px; height: 52px; border-radius: 50%; }
.sw-aside__text { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.4; color: var(--sw-navy); transition: color .2s ease; }
.sw-aside__meta { display: block; font-size: 13.5px; color: var(--sw-slate); margin-top: 2px; }
.sw-date--sm { flex-basis: 48px; }
.sw-date--sm .sw-date__day { font-size: 19px; padding: 5px 0 6px; }
.sw-date--sm .sw-date__month { font-size: 11px; padding: 3px 0; }
.sw-aside--accent { background: var(--sw-marigold); border-color: var(--sw-marigold); }
.sw .sw-aside--accent .sw-aside__title, .sw-aside--accent p { color: var(--sw-navy-deep); }
.sw-aside--accent p { font-size: 16px; }

/* notice list (full page) */
.sw-notice__body { flex: 1; display: block; }
.sw-notice__body .sw-notice__title { display: block; }
.sw-notice__excerpt { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--sw-slate); line-height: 1.5; }
.sw-notices--full .sw-notice__link { padding: 22px 26px; }

/* event list */
.sw-event__text { display: block; margin-top: 6px; font-size: 15.5px; color: var(--sw-slate); line-height: 1.55; }

/* gallery albums */
.sw .sw-album {
  position: relative; display: block; border-radius: var(--sw-radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--sw-navy);
}
.sw-album img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.sw .sw-album:hover img { transform: scale(1.04); opacity: .85; }
.sw-album__label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 20px;
  background: linear-gradient(180deg, rgba(13,31,61,0) 0%, rgba(13,31,61,.88) 100%);
  display: flex; flex-direction: column; gap: 4px;
}
.sw-album__title { font-family: var(--sw-display); font-weight: 700; font-size: 21px; color: #fff; line-height: 1.25; }
.sw-album__cta { font-size: 14px; font-weight: 700; color: var(--sw-marigold); }

/* gallery photos */
.sw-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.sw .sw-photo { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--sw-radius); overflow: hidden; background: var(--sw-line); }
.sw-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sw-photo__zoom {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(13,31,61,.45); color: #fff; font-size: 26px; opacity: 0; transition: opacity .25s ease;
}
.sw .sw-photo:hover img { transform: scale(1.05); }
.sw .sw-photo:hover .sw-photo__zoom, .sw .sw-photo:focus-visible .sw-photo__zoom { opacity: 1; }

/* alumni page */
.sw-testimonial--bordered { box-shadow: var(--sw-shadow); }

/* team */
.sw-tabs { border: 0; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.sw .sw-tabs .nav-link {
  border: 2px solid var(--sw-line); border-radius: 999px; padding: 10px 22px;
  font-weight: 700; color: var(--sw-ink); background: #fff;
}
.sw .sw-tabs .nav-link:hover { border-color: var(--sw-navy); }
.sw .sw-tabs .nav-link.active { background: var(--sw-navy); border-color: var(--sw-navy); color: #fff; }
.sw .sw-person { display: block; text-align: center; color: var(--sw-ink); }
.sw-person__photo { display: block; aspect-ratio: 4 / 5; border-radius: var(--sw-radius-lg); overflow: hidden; background: var(--sw-mist); margin-bottom: 16px; }
.sw-person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sw .sw-person:hover .sw-person__photo img { transform: scale(1.04); }
.sw-person__name { display: block; font-family: var(--sw-display); font-weight: 700; font-size: 19px; color: var(--sw-navy); }
.sw-person__role { display: block; font-size: 15px; color: var(--sw-slate); margin-top: 2px; }
.sw-profile__photo { float: left; width: 220px; max-width: 40%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--sw-radius-lg); margin: 0 28px 16px 0; }
.sw-profile::after { content: ""; display: table; clear: both; }

/* videos */
.sw-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--sw-radius); overflow: hidden; background: var(--sw-navy-deep); }
.sw-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sw .sw-video__title { font-size: 18px; font-weight: 700; margin: 14px 0 0; }

/* cards + forms */
.sw-card { background: #fff; border: 1px solid var(--sw-line); border-radius: var(--sw-radius-lg); padding: 36px; }
.sw-page--mist .sw-card { border-color: transparent; box-shadow: var(--sw-shadow); }
.sw .sw-card__title { font-size: 24px; font-weight: 800; margin: 0 0 22px; }
.sw-form label, .sw-label { display: block; font-weight: 700; font-size: 15px; color: var(--sw-navy); margin-bottom: 7px; }
.sw-optional { font-weight: 400; color: var(--sw-slate); }
.sw .sw-form .form-control {
  height: auto; min-height: 50px; padding: 12px 16px; font-size: 16px; color: var(--sw-ink);
  border: 1.5px solid var(--sw-line); border-radius: 10px; background-color: #fff; box-shadow: none;
}
.sw .sw-form textarea.form-control { min-height: 150px; }
.sw .sw-form .form-control:focus { border-color: var(--sw-navy); box-shadow: 0 0 0 4px rgba(21,48,91,.12); }
.sw .sw-form .custom-select { background-position: right 16px center; }
.sw-fieldset { border: 0; margin: 0 0 30px; padding: 0 0 30px; border-bottom: 1px solid var(--sw-line); }
.sw .sw-fieldset legend {
  font-family: var(--sw-display); font-weight: 800; font-size: 21px; color: var(--sw-navy);
  margin-bottom: 18px; width: auto;
}
.sw-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.sw .sw-form .sw-choice {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer;
  border: 1.5px solid var(--sw-line); border-radius: 10px; padding: 12px 18px; font-weight: 600; color: var(--sw-ink);
}
.sw-choice input { accent-color: var(--sw-navy); width: 18px; height: 18px; }
.sw .sw-form .sw-choice:has(input:checked) { border-color: var(--sw-navy); background: #f2f6fb; }
.sw-form__submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.sw-form__note { margin: 0; color: var(--sw-slate); font-size: 15px; max-width: 42ch; }

/* contact */
.sw-contact { background: var(--sw-navy); color: #fff; border-radius: var(--sw-radius-lg); padding: 36px; height: 100%; }
.sw .sw-contact .sw-card__title { color: #fff; }
.sw-contact__list { list-style: none; margin: 0; padding: 0; }
.sw-contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.sw-contact__list li + li { margin-top: 22px; }
.sw-contact__icon {
  flex: 0 0 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(244,165,28,.16); color: var(--sw-marigold); font-size: 18px;
}
.sw-contact__label { display: block; font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.65); margin-bottom: 2px; }
.sw .sw-contact a { color: #fff; }
.sw .sw-contact a:hover { color: var(--sw-marigold); }
.sw-map { line-height: 0; }
.sw-map iframe { width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* pagination */
.sw-pagination { margin-top: 32px; }
.sw .sw-pagination .page-link { border-radius: 8px; margin: 0 3px; color: var(--sw-navy); border-color: var(--sw-line); }
.sw .sw-pagination .page-item.active .page-link { background: var(--sw-navy); border-color: var(--sw-navy); color: #fff; }

@media (max-width: 991.98px) {
  .sw-page { padding: 56px 0 72px; }
}
@media (max-width: 767.98px) {
  .sw-pagehead { padding: 40px 0 44px; }
  .sw .sw-pagehead__lead { font-size: 17px; }
  .sw-card, .sw-contact { padding: 26px 20px; }
  .sw-notices--full .sw-notice__link { padding: 18px 16px; }
  .sw-photos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sw-profile__photo { float: none; width: 100%; max-width: 280px; margin: 0 0 22px; }
  .sw-form__submit .sw-btn { width: 100%; }
  .sw-map iframe { height: 320px; }
}

/* override the legacy theme's fixed 14px paragraphs inside our layouts */
.sw .sw-prose p, .sw .sw-prose li, .sw .sw-prose td, .sw .sw-prose th, .sw .sw-prose span { font-size: inherit; line-height: inherit; }
.sw .sw-footer p, .sw .sw-about__text p, .sw .sw-article__lead p { font-size: inherit; }
.sw .sw-footer__about { line-height: 1.65; }

/* ---------- notice popup ---------- */
.sw-popup { border: 0; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; border-radius: 22px; background: #fff; color: var(--sw-navy); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.sw-popup::backdrop { background: rgba(13,31,61,.6); }
.sw-popup[open] { animation: sw-popup-in .28s ease-out; }
@keyframes sw-popup-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.sw-popup__inner { position: relative; }
.sw-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(--sw-navy); font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.sw-popup__close:hover { color: var(--sw-marigold-dark); }
.sw-popup__img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.sw-popup__band { background: var(--sw-navy); color: #fff; padding: 22px 64px 20px 28px; }
.sw-popup .sw-popup__label { margin: 0; font-weight: 700; font-size: 14.5px; color: var(--sw-marigold); }
.sw-popup .sw-popup__label i { margin-right: 6px; }
.sw-popup .sw-popup__date { margin: 4px 0 0; font-size: 15px; color: #fff; opacity: .85; }
.sw-popup__body { padding: 24px 28px 28px; }
.sw-popup .sw-popup__title { font-family: var(--sw-display) !important; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin: 0 0 10px; color: var(--sw-navy); }
.sw-popup .sw-popup__text { color: var(--sw-slate); font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.sw-popup__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 575.98px) { .sw-popup__actions > * { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .sw-popup[open] { animation: none; } }

/* ---------- notice popup: image only (v2) ---------- */
.sw-popup { border: 0; padding: 0; background: transparent; overflow: visible; width: auto; max-width: min(720px, calc(100vw - 32px)); max-height: none; box-shadow: none; }
.sw-popup::backdrop { background: rgba(13,31,61,.7); }
.sw-popup__inner { position: relative; }
.sw-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; }
.sw-popup__img { display: block; width: auto; height: auto; max-width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 80px); object-fit: contain; }
.sw-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(--sw-navy); font-size: 28px; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.sw-popup__close:hover, .sw-popup__close:focus-visible { background: var(--sw-marigold); color: #fff; }
/* small screens: keep the close button inside the image so it never runs off the edge */
@media (max-width: 800px) { .sw-popup__close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 26px; } }