:root {
  --primary: #0345bf;
  --primary-dark: #002367;
  --primary-rgb: 3 69 191;
  --primary-dark-rgb: 0 35 103;
  --primary-soft: #ecf2ff;
  --ink: #252525;
  --muted: #667ba4;
  --line: #e4e9f2;
  --white: #fff;
  --footer: #171717;
  --shadow: 0 12px 32px rgb(0 35 103 / 12%);
  --radius: 12px;
  --container: 1320px;
  --header-height: 80px;
}

body.theme-green {
  --primary: #167c55;
  --primary-dark: #0b4f38;
  --primary-rgb: 22 124 85;
  --primary-dark-rgb: 11 79 56;
  --primary-soft: #eaf7f1;
  --muted: #557b6e;
  --line: #dcebe5;
  --shadow: 0 12px 32px rgb(11 79 56 / 12%);
}
body.theme-burgundy {
  --primary: #9b1c31;
  --primary-dark: #651020;
  --primary-rgb: 155 28 49;
  --primary-dark-rgb: 101 16 32;
  --primary-soft: #fbedf0;
  --muted: #87606a;
  --line: #eddce1;
  --shadow: 0 12px 32px rgb(101 16 32 / 12%);
}
body.theme-purple {
  --primary: #6b3fa0;
  --primary-dark: #43236b;
  --primary-rgb: 107 63 160;
  --primary-dark-rgb: 67 35 107;
  --primary-soft: #f2ecf9;
  --muted: #756486;
  --line: #e5dced;
  --shadow: 0 12px 32px rgb(67 35 107 / 12%);
}
body.theme-gold {
  --primary: #b7791f;
  --primary-dark: #744a0d;
  --primary-rgb: 183 121 31;
  --primary-dark-rgb: 116 74 13;
  --primary-soft: #fff7e6;
  --muted: #806d4d;
  --line: #eee2c9;
  --shadow: 0 12px 32px rgb(116 74 13 / 12%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Figtree", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.visually-hidden,
.menu-toggle b {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link { position: fixed; left: -9999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* Educon-inspired utility bar and responsive 80px header. */
.topbar { background: var(--primary-dark); color: #fff; font-size: .86rem; }
.topbar a { color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 7px; }
.topbar p { margin: 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgb(0 35 103 / 6%);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.brand { flex: 0 1 clamp(180px, 22vw, 300px); max-width: clamp(180px, 22vw, 300px); margin-right: auto; min-width: 0; }
.brand .moduletable, .brand .custom, .brand p { margin: 0; }
.brand a { display: inline-flex; align-items: center; max-width: 100%; color: var(--primary-dark); }
.brand img { display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 44px !important; object-fit: contain; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 700; }
.brand-name { margin-left: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 700; }

.site-menu { flex: 0 1 auto; margin-left: auto; }
.site-menu .moduletable { margin: 0; }
.site-menu ul { display: flex; align-items: center; gap: clamp(0px, .35vw, 5px); margin: 0; padding: 0; list-style: none; }
.site-menu li { position: relative; }
.site-menu a { display: block; padding: 29px clamp(7px, .8vw, 12px); color: var(--ink); font-size: clamp(.84rem, .85vw, .95rem); font-weight: 700; line-height: 22px; white-space: nowrap; }
.site-menu .current > a,
.site-menu .active > a,
.site-menu a:hover,
.site-menu a:focus { color: var(--primary); }
.site-menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 235px;
  padding: 8px;
  background: #fff;
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow);
}
.site-menu li:hover > ul,
.site-menu li:focus-within > ul { display: block; }
.site-menu ul ul a { padding: 10px 12px; font-size: .9rem; white-space: normal; }
.site-menu .mod-menu__toggle-sub { border: 0; background: transparent; color: var(--primary-dark); cursor: pointer; }
.site-menu li:has(> button.mod-menu__toggle-sub) > a { padding-right: 30px !important; }
.site-menu li > button.mod-menu__toggle-sub { position: absolute; right: 4px; top: 50%; display: grid; place-items: center; width: 24px; height: 40px; padding: 0; line-height: 1; transform: translateY(-50%); }
.site-menu li > button.mod-menu__toggle-sub .icon-chevron-down { margin: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--primary-dark); cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-search { flex: 0 1 170px; }
.header-search input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; }

/* Hero, cards and content positions. */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(110deg, rgb(var(--primary-dark-rgb) / 96%), rgb(var(--primary-rgb) / 76%)), var(--primary); }
.hero > .moduletable, .hero > div { width: min(calc(100% - 40px), var(--container)); min-height: clamp(350px, 42vw, 590px); margin: auto; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(55px, 8vw, 105px); }
.hero h1 { max-width: 900px; margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 7vw, 6.6rem); line-height: 1; }
.hero p { max-width: 700px; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.hero:has(.tt-hero-slider) { background: var(--primary-dark); }
.hero:has(.tt-hero-slider) > .moduletable,
.hero:has(.tt-hero-slider) > div { display: block; width: 100%; min-height: 0; padding: 0; }
.tt-hero-slider { position: relative; width: 100%; min-height: 320px; height: clamp(320px, 50vw, 620px); overflow: hidden; background: var(--primary-dark); isolation: isolate; }
.tt-slides, .tt-slide { position: absolute; inset: 0; }
.tt-slide { visibility: hidden; opacity: 0; transition: opacity .7s ease, visibility .7s ease; }
.tt-slide.is-active { visibility: visible; opacity: 1; z-index: 1; }
.tt-slide > img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.tt-slide-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; color: #fff; background: linear-gradient(0deg, rgb(var(--primary-dark-rgb) / 90%) 0%, rgb(var(--primary-rgb) / 58%) 32%, rgb(var(--primary-dark-rgb) / 0%) 68%); }
.tt-slide-content { width: min(calc(100% - 120px), var(--container)); margin-inline: auto; padding: 120px 0 48px; }
.tt-slide-content h2 { max-width: 820px; margin: 0 0 10px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.5vw, 2.25rem); font-weight: 400; line-height: 1.2; text-wrap: balance; }
.tt-slide-content p { max-width: 650px; margin: 0; color: #fff; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 400; }
.tt-slide-content .tt-eyebrow { margin-bottom: 8px; color: #fff; font-size: clamp(.95rem, 1.7vw, 1.35rem); font-weight: 400; letter-spacing: .12em; line-height: 1.15; }
.tt-slide-content .tt-eyebrow.tt-site-name { font-size: clamp(1.15rem, 2.2vw, 1.8rem); }
.tt-slide-cross { display: inline-block; margin-inline: .2em; font-size: .68em; line-height: 1; vertical-align: middle; }
.tt-slider-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; color: #fff; background: rgb(var(--primary-dark-rgb) / 48%); font-size: 1.45rem; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, border-color .2s ease; }
.tt-slider-arrow:hover, .tt-slider-arrow:focus-visible { border-color: #fff; background: var(--primary); }
.tt-slider-prev { left: 20px; }
.tt-slider-next { right: 20px; }
.tt-slider-dots { position: absolute; z-index: 3; left: 50%; bottom: 22px; display: flex; gap: 9px; transform: translateX(-50%); }
.tt-slider-dots button { width: 11px; height: 11px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.tt-slider-dots button.is-active { background: #fff; transform: scale(1.18); }
.button, .btn, .hero a[class*="btn"] { display: inline-block; border: 0; border-radius: 5px; background: var(--primary); color: #fff; font-weight: 700; padding: 12px 22px; }
.button:hover, .btn:hover { background: var(--primary-dark); color: #fff; }
.below-hero { position: relative; z-index: 5; margin-top: -44px; }
.below-hero .moduletable { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tt-class-links { padding: 8px; }
.tt-class-links-heading { max-width: 720px; margin: 0 auto 24px; text-align: center; }
.tt-class-links-heading .tt-section-label { margin: 0 0 4px; color: var(--primary); font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
.tt-class-links-heading h2 { margin: 0 0 6px; color: var(--primary-dark); font-family: "Crimson Pro", Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.tt-class-links-heading > p:last-child { margin: 0; color: var(--muted); }
.tt-class-links-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tt-class-links-grid a { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 86px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--primary-dark); box-shadow: 0 5px 16px rgb(0 35 103 / 6%); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.tt-class-links-grid a::after { content: "→"; position: absolute; right: 15px; top: 50%; color: var(--primary); font-weight: 800; transform: translateY(-50%); }
.tt-class-links-grid a:hover, .tt-class-links-grid a:focus-visible { border-color: var(--primary); color: var(--primary); box-shadow: 0 10px 24px rgb(0 35 103 / 13%); transform: translateY(-3px); }
.tt-class-links-grid span { padding-right: 24px; font-weight: 800; }
.tt-class-links-grid small { padding-right: 24px; color: var(--muted); font-size: .78rem; }
.features { padding-block: 70px; background: var(--primary-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--primary); box-shadow: 0 8px 24px rgb(0 35 103 / 7%); }
.feature-card h3 { margin-top: 0; color: var(--primary-dark); font-family: Georgia, serif; }
.main-area { padding-block: clamp(42px, 6vw, 72px); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.has-left .content-grid { grid-template-columns: 270px minmax(0, 1fr); }
.has-right .content-grid { grid-template-columns: minmax(0, 1fr) 300px; }
.has-both .content-grid { grid-template-columns: 230px minmax(0, 1fr) 270px; }
.component { min-width: 0; }
.component h1, .component h2, .moduletable h3 { color: var(--primary-dark); font-family: Georgia, "Times New Roman", serif; line-height: 1.15; }
.component h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.sidebar .moduletable, .content-top .moduletable, .content-bottom .moduletable { margin-bottom: 24px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 20px rgb(0 35 103 / 5%); }
.content-top .moduletable:has(.tt-welcome) { padding: 0; border: 0; box-shadow: none; }
.tt-welcome { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(34px, 6vw, 80px); margin-bottom: 60px; }
.tt-welcome-image { position: relative; overflow: hidden; border-radius: 16px; box-shadow: 0 18px 45px rgb(0 35 103 / 16%); }
.tt-welcome-image::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(0deg, rgb(0 35 103 / 32%), transparent); pointer-events: none; }
.tt-welcome-image img { display: block; width: 100%; height: clamp(340px, 40vw, 520px); object-fit: cover; }
.tt-welcome-content .tt-section-label { margin: 0 0 10px; color: var(--primary); font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
.tt-welcome-content h2 { margin: 0 0 20px; color: var(--primary-dark); font-family: "Crimson Pro", Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1; }
.tt-welcome-content > p:not(.tt-section-label) { margin: 0 0 16px; color: #496389; font-size: 1.05rem; }
.tt-welcome-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.tt-primary-button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 6px; background: var(--primary); color: #fff !important; font-weight: 800; box-shadow: 0 8px 20px rgb(3 69 191 / 20%); }
.tt-primary-button:hover { background: var(--primary-dark); transform: translateY(-2px); }
.tt-text-link { color: var(--primary-dark); font-weight: 800; }
.tt-text-link:hover { color: var(--primary); }
body:has(.tt-welcome) .content-grid,
body:has(.tt-welcome) .content-bottom { display: none !important; }
.tt-primary-button, .button, .btn, .hero a[class*="btn"],
button:not(.menu-toggle):not(.tt-slider-arrow):not(.tt-slider-dots button) {
  font-weight: 500 !important;
}
.item-image { overflow: hidden; border-radius: var(--radius); }
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--line); padding: 11px; text-align: left; }
tbody tr:nth-child(even) { background: #f3f6fb; }
.callout { padding-block: 48px; background: var(--primary); color: #fff; text-align: center; }
.callout h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 2rem; }

.site-footer { background: var(--footer); color: #fff; padding-top: 54px; }
.site-footer a { color: #d7e1f4; }
.site-footer h3 { color: #fff; font-family: Georgia, serif; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; padding-bottom: 44px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 8px 0; }
.footer-bottom { padding-block: 18px; border-top: 1px solid rgb(255 255 255 / 13%); font-size: .9rem; }
.site-footer:has(.tt-simple-footer) { padding-top: 0; }
.footer-grid:has(.tt-simple-footer) { display: block; padding: 16px 0; }
.tt-simple-footer { display: flex; align-items: center; justify-content: center; gap: 0; white-space: nowrap; }
.tt-simple-footer a { display: inline-block; padding: 0 18px; color: #fff; font-size: .9rem; line-height: 1.4; }
.tt-simple-footer a + a { border-left: 1px solid rgb(255 255 255 / 30%); }
.site-footer:has(.tt-simple-footer) .footer-bottom { padding: 10px 0; text-align: center; font-size: .82rem; }
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 30px; background: var(--primary-soft); }
.error-code { font-size: 7rem; line-height: 1; color: var(--primary); font-family: Georgia, serif; font-weight: 700; }
.content-only { padding: 25px; }

/* Switch before navigation becomes cramped, matching Educon's responsive intent. */
@media (max-width: 1240px) {
  .menu-toggle { display: block; }
  .site-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-height)); overflow-y: auto; margin: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-menu.is-open { display: block; }
  .site-menu ul { display: block; width: min(calc(100% - 40px), var(--container)); margin-inline: auto; padding: 12px 0; }
  .site-menu a { padding: 11px 4px; font-size: .95rem; white-space: normal; }
  .site-menu ul ul { display: block; position: static; width: auto; min-width: 0; margin: 0; padding: 0 0 0 20px; border: 0; box-shadow: none; }
  .site-menu .mod-menu__toggle-sub { display: none; }
  .header-search { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .has-left .content-grid, .has-right .content-grid, .has-both .content-grid { grid-template-columns: 1fr; }
  .sidebar-left { order: 2; }
  .sidebar-right { order: 3; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .tt-class-links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .tt-welcome { grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; }
  .tt-welcome-image img { height: clamp(280px, 65vw, 430px); }
  .tt-welcome-content h2 { font-size: clamp(2.3rem, 10vw, 3.5rem); }
}

@media (max-width: 600px) {
  :root { --header-height: 70px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar-inner { display: block; text-align: center; }
  .brand { flex-basis: min(68vw, 260px); max-width: min(68vw, 260px); }
  .brand img { max-height: 40px !important; }
  .hero > .moduletable, .hero > div { width: min(calc(100% - 28px), var(--container)); }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .tt-hero-slider { min-height: 360px; height: 72vw; max-height: 480px; }
  .tt-slide-content { width: calc(100% - 68px); padding-block: 35px; }
  .tt-slide-content h2 { font-size: clamp(1.15rem, 5vw, 1.65rem); }
  .tt-slide-content p:not(.tt-eyebrow) { display: none; }
  .tt-slider-arrow { width: 38px; height: 38px; font-size: 1.1rem; }
  .tt-slider-prev { left: 10px; }
  .tt-slider-next { right: 10px; }
  .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .below-hero { margin-top: -24px; }
  th, td { padding: 9px 7px; font-size: .9rem; }
  .tt-class-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-class-links-grid a { min-height: 78px; padding: 12px; }
  .tt-class-links-grid a::after { right: 10px; }
  .tt-class-links-grid span, .tt-class-links-grid small { padding-right: 18px; }
}

@media (max-width: 760px) {
  .tt-simple-footer { flex-wrap: wrap; row-gap: 8px; white-space: normal; }
  .tt-simple-footer a { padding: 0 10px; }
  .tt-simple-footer a + a { border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

body, button, input, select, textarea, .site-menu a, .brand-name,
.component h1, .component h2, .component h3, .component h4, .component h5, .component h6,
.moduletable h1, .moduletable h2, .moduletable h3, .hero h1,
.tt-slide-content h2, .tt-slide-content p, .tt-class-links-heading h2,
.tt-welcome-content h2, .callout h2, .site-footer h3, .feature-card h3 {
  font-family: Tahoma, Arial, sans-serif !important;
}

/* Two mission cards followed by a full-width, three-card events row. */
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.feature-grid > .feature-card:has(.mod-articles-items) { grid-column: 1 / -1 !important; }
.feature-grid > .feature-card:has(.mod-articles-items) .moduletable > h3 { text-align: center !important; }
.feature-grid > .feature-card:has(.mod-articles-items) .mod-articles-items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.feature-grid > .feature-card:has(.mod-articles-items) .mod-articles-items > li {
  min-width: 0;
  padding: 22px !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 35, 103, .08) !important;
}
.feature-grid > .feature-card:has(.mod-articles-items) img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}
.feature-grid > .feature-card:has(.mod-articles-items) .mod-articles-title {
  margin: 18px 0 6px !important;
  text-align: center !important;
}
.feature-grid > .feature-card:has(.mod-articles-items) .mod-articles-title a {
  display: block !important;
  text-align: center !important;
}
.feature-grid > .feature-card:has(.mod-articles-items) {
  padding: clamp(28px, 4vw, 48px) !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
  box-shadow: 0 18px 42px rgba(0, 35, 103, .22) !important;
}
.feature-grid > .feature-card:has(.mod-articles-items) .moduletable > h3 {
  margin: 0 0 26px !important;
  color: #fff !important;
}
.feature-grid > .feature-card:has(.mod-articles-items) .mod-articles-items {
  margin-top: 0 !important;
}
.feature-grid > .feature-card:has(.mod-articles-items) .mod-articles-items > li {
  border: 0 !important;
  box-shadow: 0 10px 28px rgba(0, 20, 70, .2) !important;
}

@media (max-width: 800px) {
  .feature-grid { grid-template-columns: 1fr !important; }
  .feature-grid > .feature-card:has(.mod-articles-items) .mod-articles-items {
    grid-template-columns: 1fr !important;
  }
}

/* Present all site and article titles consistently in uppercase. */
h1, h2, h3, h4, h5, h6,
.page-header, .item-title, .article-info-title,
.mod-articles-title, .moduletable > h3, .tt-section-label {
  text-transform: uppercase !important;
}

.below-hero h1, .below-hero h2, .below-hero h3,
.below-hero h4, .below-hero h5, .below-hero h6,
.tt-class-links-heading, .tt-class-links-grid span, .tt-class-links-grid small {
  text-transform: uppercase !important;
}

/* Refined below-hero heading hierarchy. */
.below-hero .tt-section-label {
  font-size: 1rem !important;
}
.below-hero #tt-class-links-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
}

/* Keep the larger site logo centered vertically beside navigation. */
.header-inner {
  align-items: center !important;
}
.brand {
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  flex: 0 1 clamp(250px, 30vw, 380px) !important;
  max-width: clamp(250px, 30vw, 380px) !important;
}
.brand img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 105px !important;
  height: auto !important;
  margin: auto 0 !important;
}

/* Flexible content blocks placed after the full-width Upcoming Events section. */
.feature-grid > .feature-card:has(.mod-articles-items) + .feature-card:last-child {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.feature-grid > .feature-card:has(.mod-articles-items) + .feature-card:last-child > .moduletable {
  min-width: 0;
  padding: 26px;
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgb(0 35 103 / 7%);
}
.feature-grid > .feature-card:has(.mod-articles-items) + .feature-card:last-child:has(> .moduletable:only-child) {
  grid-template-columns: 1fr;
}
.feature-grid > .feature-card:has(.mod-articles-items) + .feature-card:last-child:has(> .moduletable:nth-of-type(2):last-of-type) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature-grid > .feature-card:has(.mod-articles-items) + .feature-card:last-child:has(> .moduletable:nth-of-type(3):last-of-type) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .feature-grid > .feature-card:has(.mod-articles-items) + .feature-card:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 600px) {
  .feature-grid > .feature-card:has(.mod-articles-items) + .feature-card:last-child {
    grid-template-columns: 1fr !important;
  }
}
