:root {
  --ink: #1c2265;
  --muted: #4f5688;
  --line: #dfe5e8;
  --paper: #ffffff;
  --soft: #f7f8f4;
  --green: #1c2265;
  --gold: #b8892f;
}

body {
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
}

sup {
  font-size: 0.68em;
  line-height: 0;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.navbar {
  min-height: 78px;
}

.nav-container {
  padding-left: 28px;
  padding-right: 28px;
}

.navbar-brand {
  color: var(--green);
  display: grid;
  font-weight: 750;
  line-height: 1.2;
  max-width: 330px;
}

.navbar-brand small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.nav-link {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  padding-left: 0.42rem !important;
  padding-right: 0.42rem !important;
  position: relative;
  white-space: nowrap;
}

.nav-link.active {
  color: var(--green) !important;
}

.nav-link.active::before {
  background: var(--gold);
  border-radius: 999px;
  bottom: 0.12rem;
  content: "";
  height: 3px;
  left: 0.42rem;
  position: absolute;
  right: 0.42rem;
}

.navbar-nav {
  align-items: center;
  flex-wrap: nowrap;
}

.dropdown-subitem {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 2rem;
  position: relative;
}

.dropdown-subitem::before {
  background: var(--gold);
  content: "";
  height: 1px;
  left: 0.9rem;
  position: absolute;
  top: 50%;
  width: 0.65rem;
}

.activities-menu {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(24, 36, 50, 0.12);
  min-width: 280px;
  padding: 12px;
}

.activities-menu.show {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.activities-menu-group {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
}

.activities-menu-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.activities-menu-group span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 2px 8px 4px;
  text-transform: uppercase;
}

.activities-menu .dropdown-item {
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.28;
  padding: 8px 10px;
  white-space: normal;
}

.activities-menu .dropdown-item:hover,
.activities-menu .dropdown-item:focus {
  background: var(--soft);
  color: var(--green);
}

.activities-menu .dropdown-item.active,
.activities-menu .dropdown-item:active {
  background: var(--green);
  color: #fff;
}

.biodata-menu {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(24, 36, 50, 0.12);
  min-width: 220px;
  padding: 8px;
}

.biodata-menu .dropdown-item {
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  padding: 8px 10px;
}

.biodata-menu .dropdown-item:hover,
.biodata-menu .dropdown-item:focus {
  background: var(--soft);
  color: var(--green);
}

.biodata-menu .dropdown-item.active,
.biodata-menu .dropdown-item:active {
  background: var(--green);
  color: #fff;
}

.content-page,
.admin-shell {
  background: linear-gradient(120deg, var(--soft), #fff);
  min-height: 68vh;
  padding: 64px 0;
}

.content-page .container,
.admin-shell .container {
  max-width: 980px;
}

.home-hero {
  background:
    linear-gradient(120deg, rgba(247, 248, 244, 0.98), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 85% 15%, rgba(184, 137, 47, 0.14), transparent 32%);
  border-bottom: 1px solid var(--line);
  padding: 76px 0 64px;
}

.home-grid {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  max-width: 1120px;
}

.home-copy {
  padding-top: 26px;
}

.home-copy h1 {
  color: var(--green);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 26px;
}

.home-copy p:not(.eyebrow) {
  color: #252a63;
  font-size: 1.16rem;
  line-height: 1.85;
  max-width: 700px;
}

.home-photo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 36, 50, 0.08);
  margin: 0;
  overflow: hidden;
  padding: 12px;
}

.home-photo img {
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  width: 100%;
}

.home-photo figcaption {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding: 16px 6px 4px;
}

.home-photo figcaption p {
  color: #1c2265;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.42;
  margin-bottom: 7px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-primary {
  background: var(--green);
  border-color: var(--green);
}

.btn-primary:hover {
  background: #0f3e2e;
  border-color: #0f3e2e;
}

.content-page h1,
.admin-shell h1 {
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.12;
  margin-bottom: 24px;
}

.content-page h2 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 28px 0 14px;
}

.content-page p,
.content-page li,
.admin-shell p {
  color: #252a63;
  font-size: 1.05rem;
  line-height: 1.72;
}

.home-section {
  background: #fff;
  padding: 58px 0;
}

.home-section .container {
  max-width: 1120px;
}

.home-section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.home-feature-grid h2 {
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 760;
  letter-spacing: 0;
}

.home-card-grid,
.home-feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-programme-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-programme-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(24, 36, 50, 0.05);
  padding: 24px;
}

.home-programme-card .eyebrow {
  margin-bottom: 16px;
}

.home-programme-links {
  display: grid;
  gap: 10px;
}

.home-programme-links a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  display: flex;
  font-size: 0.98rem;
  font-weight: 750;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 14px;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-programme-links a::after {
  color: var(--gold);
  content: "›";
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.home-programme-links a:hover,
.home-programme-links a:focus {
  background: var(--soft);
  border-color: rgba(184, 137, 47, 0.5);
  color: var(--ink);
}

.home-card-grid a,
.home-feature-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 750;
  min-height: 92px;
  padding: 22px;
  text-decoration: none;
}

.home-feature-grid article {
  color: var(--ink);
}

.home-feature-grid a {
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.about-hero {
  background: linear-gradient(120deg, rgba(247, 248, 244, 0.98), #fff);
  border-bottom: 1px solid var(--line);
  padding: 68px 0 54px;
}

.about-hero .container,
.about-content .container {
  max-width: 1120px;
}

.about-hero h1 {
  color: var(--green);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 22px;
  max-width: 900px;
}

.about-hero p:not(.eyebrow) {
  color: #252a63;
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 920px;
}

.about-content {
  background: #fff;
  padding: 58px 0;
}

.about-grid {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.about-main {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}

.objective-list {
  border-left: 4px solid var(--gold);
  margin: 20px 0;
  padding-left: 32px;
}

.objective-list li {
  margin-bottom: 10px;
}

.about-side {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 26px;
}

.about-side span {
  color: var(--muted);
  font-weight: 650;
}

.about-side strong {
  color: var(--green);
  font-size: 1.6rem;
  line-height: 1.2;
}

.about-side a {
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.bio-hero {
  background: linear-gradient(120deg, rgba(247, 248, 244, 0.98), #fff);
  border-bottom: 1px solid var(--line);
  padding: 68px 0 54px;
}

.bio-hero-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) 320px;
  max-width: 1120px;
}

.bio-hero h1 {
  color: var(--green);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 22px;
}

.bio-hero p:not(.eyebrow) {
  color: #252a63;
  font-size: 1.14rem;
  line-height: 1.8;
}

.bio-fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.bio-fact-strip span {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #252a63;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 11px 14px;
}

.bio-photo {
  max-width: 320px;
  justify-self: end;
}

.bio-content,
.bio-family-section {
  background: #fff;
  padding: 58px 0;
}

.bio-family-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.bio-grid,
.bio-family-section .container {
  max-width: 1120px;
}

.bio-grid {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.bio-main,
.bio-timeline,
.bio-family {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}

.bio-main h2,
.bio-timeline h2,
.bio-family h2 {
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 760;
  margin-top: 0;
}

.bio-timeline {
  border-left: 4px solid var(--gold);
  position: sticky;
  top: 96px;
}

.bio-timeline ol {
  counter-reset: bio-position;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.bio-timeline li {
  border-bottom: 1px solid var(--line);
  color: #252a63;
  counter-increment: bio-position;
  display: grid;
  font-size: 0.98rem;
  gap: 12px;
  grid-template-columns: 34px 1fr;
  line-height: 1.55;
  margin-bottom: 0;
  padding: 14px 0;
}

.bio-timeline li::before {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  content: counter(bio-position);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.bio-timeline li:last-child {
  border-bottom: 0;
}

.bio-prose {
  display: grid;
  gap: 14px;
}

.bio-highlight {
  background: var(--soft);
  border-left: 4px solid var(--gold);
  margin: 18px 0 22px;
  padding: 18px 20px;
}

.bio-highlight p {
  color: #252a63;
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.68;
  margin: 0;
}

.bio-prose p,
.bio-family p {
  margin-bottom: 0;
}

.family-lines {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.family-lines p {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 160px 1fr;
  padding-bottom: 12px;
}

.family-lines p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.family-lines span {
  color: var(--green);
  font-weight: 750;
}

.family-lines strong {
  color: #252a63;
  font-weight: 650;
  line-height: 1.55;
}

.official-bio-section {
  background: var(--soft);
}

.official-bio-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
}

.official-bio-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 36, 50, 0.06);
  padding: 30px;
}

.official-bio-card-wide {
  grid-column: 1 / -1;
}

.official-bio-card h2 {
  color: var(--green);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.official-bio-card ul,
.official-bio-card ol {
  color: #252a63;
  display: grid;
  gap: 12px;
  line-height: 1.65;
  margin: 0;
  padding-left: 22px;
}

.official-bio-card li::marker {
  color: var(--gold);
  font-weight: 800;
}

.official-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.official-source-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  font-weight: 760;
  padding: 11px 14px;
  text-decoration: none;
}

.official-source-links a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.lecture-hero {
  background: linear-gradient(120deg, rgba(247, 248, 244, 0.98), #fff);
  border-bottom: 1px solid var(--line);
  padding: 68px 0 54px;
}

.lecture-hero .container,
.lecture-content .container {
  max-width: 1120px;
}

.lecture-hero h1 {
  color: var(--green);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 0;
}

.lecture-content {
  background: #fff;
  padding: 58px 0;
}

.lecture-table-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 36, 50, 0.06);
  overflow: hidden;
}

.lecture-table {
  margin-bottom: 0;
}

.lecture-table th {
  background: var(--soft);
  color: var(--green);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 18px 22px;
  text-transform: uppercase;
  white-space: nowrap;
}

.lecture-table td {
  color: #252a63;
  line-height: 1.55;
  padding: 20px 22px;
  vertical-align: top;
}

.lecture-table sup {
  font-size: 0.68em;
  line-height: 0;
}

.lecture-table td:first-child {
  color: var(--green);
  font-weight: 760;
  width: 36%;
}

.lecture-title-link {
  color: var(--green);
  text-decoration: none;
}

.lecture-title-link:hover {
  color: var(--gold);
}

.lecture-table td:nth-child(2) {
  width: 24%;
}

.lecture-table td:nth-child(3) {
  white-space: nowrap;
  width: 18%;
}

.lecture-table td:nth-child(4) {
  white-space: nowrap;
  width: 22%;
}

.lecture-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.lecture-no-resources {
  color: #9aa1b9;
  font-weight: 750;
}

.download-link,
.video-link,
.gallery-link {
  align-items: center;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  width: 38px;
}

.video-link,
.gallery-link {
  background: #fff;
  color: var(--green);
}

.download-link:hover,
.video-link:hover,
.gallery-link:hover {
  background: #0f3e2e;
  border-color: #0f3e2e;
  color: #fff;
}

.download-link::before,
.video-link::before,
.gallery-link::before,
.download-unavailable::before {
  align-items: center;
  display: flex;
  font-weight: 850;
  justify-content: center;
  line-height: 1;
}

.download-link::before {
  content: "PDF";
  font-size: 0.68rem;
  letter-spacing: 0;
}

.video-link::before {
  content: "▶";
  font-size: 1rem;
  padding-left: 2px;
}

.gallery-link::before {
  content: "IMG";
  font-size: 0.68rem;
  letter-spacing: 0;
}

.download-unavailable {
  align-items: center;
  border: 1px solid #d9dde7;
  border-radius: 8px;
  color: #9aa1b9;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.download-unavailable::before {
  content: "-";
  font-size: 1rem;
}

.lecture-table tbody tr:hover td {
  background: #fbfbf7;
}

.gallery-hero p:not(.eyebrow) {
  color: #252a63;
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 780px;
}

.gallery-back-link {
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.lecture-gallery-section {
  background: #fff;
  padding: 58px 0;
}

.lecture-gallery-section .container {
  max-width: 1120px;
}

.lecture-gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lecture-gallery-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.lecture-gallery-item img {
  aspect-ratio: 4 / 3;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.empty-gallery-message {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #252a63;
  padding: 28px;
}

.empty-gallery-message p {
  margin: 0;
}

.lecture-detail-section {
  background: #fff;
  padding: 58px 0;
}

.lecture-detail-section .container {
  max-width: 1120px;
}

.lecture-detail-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 36, 50, 0.06);
  padding: 30px;
}

.lecture-detail-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.lecture-detail-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 160px 1fr;
  padding-bottom: 18px;
}

.lecture-detail-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.lecture-detail-list dt {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lecture-detail-list dd {
  color: #252a63;
  font-size: 1.05rem;
  font-weight: 720;
  line-height: 1.55;
  margin: 0;
}

.lecture-detail-list sup {
  font-size: 0.68em;
}

.lecture-detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.lecture-points-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 28px;
  padding: 30px;
}

.lecture-points-card h2 {
  color: var(--green);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.lecture-points-list {
  color: #252a63;
  display: grid;
  gap: 12px;
  line-height: 1.65;
  margin: 0;
  padding-left: 22px;
}

.lecture-points-list li::marker {
  color: var(--gold);
}

.lecture-detail-gallery {
  margin-top: 30px;
}

.content-table {
  background: var(--paper);
  border: 1px solid var(--line);
}

.content-table th {
  color: var(--green);
}

.jobs-section {
  background: #fff;
  padding: 58px 0;
}

.jobs-section .container {
  max-width: 1120px;
}

.jobs-table-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 36, 50, 0.07);
  overflow: hidden;
}

.jobs-table {
  border-collapse: collapse;
  margin: 0;
  width: 100%;
}

.jobs-table th,
.jobs-table td {
  border-bottom: 1px solid var(--line);
  color: #252a63;
  font-size: 1rem;
  line-height: 1.45;
  padding: 15px 20px;
  vertical-align: middle;
}

.jobs-table th {
  background: var(--soft);
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 760;
  text-align: left;
  text-transform: uppercase;
}

.jobs-table td:first-child,
.jobs-table th:first-child {
  color: var(--gold);
  font-weight: 760;
  text-align: center;
  width: 96px;
}

.jobs-table tbody tr:last-child td {
  border-bottom: 0;
}

.jobs-table tbody tr:nth-child(even) td {
  background: #fafbf7;
}

.jobs-table tbody tr:hover td {
  background: #f4f6ee;
}

.jobs-gallery {
  margin-top: 44px;
}

.jobs-gallery-category {
  margin-top: 26px;
}

.jobs-gallery-category h3 {
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.jobs-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jobs-photo-grid a {
  background: var(--paper);
}

.jobs-photo-grid span {
  border-top: 1px solid var(--line);
  color: var(--green);
  display: block;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.4;
  padding: 12px 14px;
}

.careers-section,
.contact-section {
  background: #fff;
  padding: 58px 0;
}

.careers-section .container,
.contact-section .container {
  max-width: 1120px;
}

.careers-grid,
.contact-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.careers-card,
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 36, 50, 0.06);
  padding: 32px;
}

.careers-card-feature,
.contact-card-accent {
  background: var(--soft);
  border-left: 4px solid var(--gold);
}

.careers-card h2 {
  color: var(--green);
  font-size: 1.45rem;
  font-weight: 760;
  line-height: 1.25;
  margin-bottom: 18px;
}

.careers-card h3 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
  margin: 24px 0 10px;
}

.careers-card p,
.careers-card li,
.contact-card p,
.contact-card address {
  color: #252a63;
  font-size: 1.04rem;
  line-height: 1.72;
}

.careers-card a,
.contact-card a {
  color: var(--green);
  font-weight: 760;
  text-decoration-color: rgba(28, 34, 101, 0.28);
  text-underline-offset: 4px;
}

.careers-card ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.careers-lead {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 20px;
}

.contact-card address {
  font-style: normal;
  margin: 0;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.gallery-section {
  background: #fff;
  padding: 58px 0;
}

.gallery-section .container {
  max-width: 1120px;
}

.gallery-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 36, 50, 0.08);
  color: var(--green);
  margin: 0 0 40px;
  overflow: hidden;
}

.gallery-feature img {
  background: #f3f4ef;
  display: block;
  max-height: 620px;
  object-fit: contain;
  width: 100%;
}

.gallery-feature figcaption,
.gallery-photo-grid span {
  color: var(--green);
  display: block;
  font-weight: 760;
  line-height: 1.45;
}

.gallery-feature figcaption {
  font-size: 1.08rem;
  margin: 0;
  padding: 18px 22px;
}

.gallery-photo-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-photo-grid a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.gallery-photo-grid img {
  aspect-ratio: 4 / 3;
  background: #f3f4ef;
  display: block;
  object-fit: contain;
  width: 100%;
}

.gallery-photo-grid span {
  font-size: 0.96rem;
  min-height: 72px;
  padding: 14px 16px;
}

.activity-links {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 24px;
}

.activity-links a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.activity-hero {
  background: linear-gradient(120deg, rgba(247, 248, 244, 0.98), #fff);
  border-bottom: 1px solid var(--line);
  padding: 68px 0 54px;
}

.activity-hero .container,
.activity-detail-section .container,
.activity-gallery-section .container {
  max-width: 1120px;
}

.activity-hero h1 {
  color: var(--green);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 22px;
}

.activity-hero p:not(.eyebrow) {
  color: #252a63;
  font-size: 1.14rem;
  line-height: 1.8;
  max-width: 820px;
}

.activity-detail-section {
  background: #fff;
  padding: 58px 0;
}

.training-section {
  background: #fff;
  padding: 58px 0;
}

.training-section .container {
  max-width: 1120px;
}

.training-grid {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.training-main,
.training-side {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.training-side {
  background: var(--soft);
  border-left: 4px solid var(--gold);
  position: sticky;
  top: 96px;
}

.training-main h2,
.training-side h2 {
  color: var(--green);
  font-size: 1.22rem;
  font-weight: 760;
  margin: 24px 0 12px;
}

.training-main h2:first-child,
.training-side h2:first-child {
  margin-top: 0;
}

.training-main p,
.training-main li,
.training-side li {
  color: #252a63;
  font-size: 1.03rem;
  line-height: 1.7;
}

.training-main ul,
.training-side ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.training-columns {
  columns: 2;
  column-gap: 36px;
}

.activity-detail-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.activity-feature-photo {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 36, 50, 0.08);
  margin: 0;
  overflow: hidden;
}

.activity-feature-photo img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.activity-detail-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}

.activity-detail-panel h2 {
  color: var(--green);
  font-size: 1.6rem;
  font-weight: 760;
  margin-bottom: 16px;
}

.activity-detail-panel p:not(.eyebrow) {
  color: #252a63;
  font-size: 1.05rem;
  line-height: 1.72;
}

.activity-stat-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
}

.activity-stat-row span {
  color: var(--gold);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
}

.activity-stat-row strong {
  color: var(--green);
  font-size: 0.96rem;
  line-height: 1.45;
}

.activity-gallery-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding: 58px 0;
}

.project-support-section {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 58px 0;
}

.project-support-section .container {
  max-width: 1120px;
}

.support-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-grid article {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 150px;
  padding: 24px;
}

.support-grid span {
  color: var(--gold);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
}

.support-grid strong {
  color: var(--green);
  font-size: 1rem;
  line-height: 1.5;
}

.support-link {
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 800;
  margin-top: auto;
  text-decoration: none;
}

.scholarship-count-section {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 58px 0;
}

.scholarship-count-section .container {
  max-width: 1120px;
}

.scholarship-count-section .section-heading p:not(.eyebrow) {
  color: #252a63;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 860px;
}

.scholarship-summary-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.scholarship-summary-grid article {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 24px;
}

.scholarship-summary-grid span {
  color: var(--gold);
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.scholarship-summary-grid strong,
.scholarship-summary-grid small {
  display: block;
}

.scholarship-summary-grid strong {
  color: var(--green);
  line-height: 1.4;
}

.scholarship-summary-grid small {
  color: var(--muted);
  font-weight: 650;
  margin-top: 8px;
}

.scholarship-timeline {
  display: grid;
  gap: 12px;
}

.scholarship-timeline-header,
.scholarship-timeline article {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 96px repeat(2, minmax(0, 1fr));
}

.scholarship-timeline-header {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 14px 20px;
  text-transform: uppercase;
}

.scholarship-timeline article {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px 20px;
}

.scholarship-timeline article > span {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 850;
}

.scholarship-timeline div {
  background: var(--soft);
  border-radius: 8px;
  padding: 14px 16px;
}

.scholarship-timeline small {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  font-weight: 750;
  margin-bottom: 6px;
}

.scholarship-timeline strong {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
}

.irfc-summary-section,
.irfc-branding-section,
.irfc-objectives-section,
.irfc-school-list-section,
.irfc-media-section,
.irfc-tab-section {
  background: #fff;
  padding: 58px 0;
}

.irfc-school-list-section,
.irfc-tab-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.irfc-media-section {
  border-top: 1px solid var(--line);
}

.irfc-summary-section .container,
.irfc-branding-section .container,
.irfc-objectives-section .container,
.irfc-school-list-section .container,
.irfc-media-section .container,
.irfc-tab-section .container {
  max-width: 1120px;
}

.irfc-summary-section {
  border-top: 1px solid var(--line);
  padding-bottom: 28px;
  padding-top: 28px;
}

.irfc-objectives-section {
  padding-top: 0;
}

.irfc-branding-section {
  padding-bottom: 28px;
  padding-top: 28px;
}

.irfc-branding-card {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 220px;
  padding: 28px;
}

.irfc-branding-card h2 {
  color: var(--green);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 14px;
}

.irfc-branding-card p:not(.eyebrow) {
  color: #252a63;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.irfc-branding-card figure {
  margin: 0;
}

.irfc-branding-card img {
  display: block;
  margin: 0 auto;
  max-width: 220px;
  width: 100%;
}

.irfc-objectives-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 36, 50, 0.06);
  padding: 30px;
}

.irfc-objectives-card h2 {
  color: var(--green);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.irfc-objectives-card ul {
  color: #252a63;
  display: grid;
  gap: 12px;
  line-height: 1.65;
  margin: 0;
  padding-left: 22px;
}

.irfc-objectives-card li::marker {
  color: var(--gold);
}

.irfc-totals,
.irfc-mandal-grid {
  display: grid;
  gap: 16px;
}

.irfc-totals {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

.irfc-school-total {
  max-width: 100%;
}

.irfc-school-total.irfc-totals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sutherland-totals.irfc-school-total.irfc-totals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-totals-three.irfc-school-total.irfc-totals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.irfc-totals article,
.irfc-mandal-grid a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 22px;
  text-decoration: none;
}

.irfc-school-total article {
  align-items: center;
  background: #f8faf7;
  grid-template-columns: auto 1fr;
  padding: 18px 22px;
}

.irfc-totals span,
.irfc-mandal-grid span {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.irfc-totals strong,
.irfc-mandal-grid strong {
  color: var(--green);
  font-size: 1rem;
}

.irfc-mandal-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.irfc-mandal-grid small {
  color: var(--muted);
  font-weight: 650;
}

.irfc-tab-buttons {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.irfc-tab-button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 18px;
  text-align: left;
}

.irfc-tab-button span {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.irfc-tab-button strong {
  color: var(--green);
  font-size: 0.98rem;
}

.irfc-tab-button small {
  color: var(--muted);
  font-weight: 650;
}

.irfc-tab-button.is-active {
  background: var(--green);
  border-color: var(--green);
}

.irfc-tab-button.is-active span,
.irfc-tab-button.is-active strong,
.irfc-tab-button.is-active small {
  color: #fff;
}

.irfc-tab-panel {
  display: none;
}

.irfc-tab-panel.is-active {
  display: grid;
  gap: 30px;
}

.irfc-media-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.irfc-mandal-section {
  border-bottom: 1px solid var(--line);
  padding: 0 0 54px;
}

.irfc-mandal-section + .irfc-mandal-section {
  padding-top: 54px;
}

.irfc-mandal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.irfc-category-section {
  margin-top: 28px;
}

.irfc-category-heading {
  align-items: baseline;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.irfc-category-heading h3 {
  color: var(--green);
  font-size: 1.18rem;
  font-weight: 760;
  margin: 0;
}

.irfc-category-heading span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.irfc-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.irfc-video-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.irfc-video-grid figure {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.irfc-video-grid video {
  aspect-ratio: 16 / 9;
  background: #111;
  display: block;
  width: 100%;
}

.irfc-video-grid figcaption {
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 14px;
}

.school-list-stack {
  display: grid;
  gap: 24px;
}

.school-list-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.school-list-heading {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 24px;
}

.school-list-heading h3 {
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 780;
  margin: 0;
}

.school-list-heading .eyebrow {
  margin-bottom: 6px;
}

.school-list-heading span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
  white-space: nowrap;
}

.school-list-table {
  margin-bottom: 0;
}

.school-list-table th {
  background: var(--soft);
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 13px 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.school-list-table td {
  color: #252a63;
  font-size: 0.94rem;
  line-height: 1.45;
  padding: 13px 16px;
  vertical-align: top;
}

.school-list-table td:nth-child(3) {
  color: var(--green);
  font-weight: 700;
  min-width: 360px;
}

.school-list-table th:nth-child(4),
.school-list-table td:nth-child(4) {
  text-align: center;
  white-space: nowrap;
}

.activity-photo-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.activity-photo-grid a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.activity-photo-grid img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.contain-activity-images .activity-feature-photo img,
.contain-activity-images .activity-photo-grid img {
  background: #f3f4ef;
  object-fit: contain;
}

.swachh-newspaper-grid img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.training-photo-grid a {
  text-decoration: none;
}

.training-photo-grid span {
  color: var(--green);
  display: block;
  font-weight: 760;
  padding: 14px 16px;
}

.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  align-items: center;
  background: rgba(12, 17, 35, 0.88);
  display: none;
  gap: 18px;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 2000;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-frame {
  display: grid;
  gap: 12px;
  margin: 0;
  max-height: calc(100vh - 90px);
  max-width: min(1080px, calc(100vw - 160px));
}

.image-lightbox-img {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  display: block;
  max-height: calc(100vh - 140px);
  max-width: 100%;
  object-fit: contain;
}

.image-lightbox-caption {
  color: #f4f6fb;
  font-size: 0.94rem;
  font-weight: 650;
  text-align: center;
}

.image-lightbox-close,
.image-lightbox-nav {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 999px;
  color: var(--green);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.image-lightbox-close {
  position: fixed;
  right: 24px;
  top: 24px;
}

.image-lightbox-close::before,
.image-lightbox-nav::before {
  background: currentColor;
  content: "";
  display: block;
  height: 22px;
  width: 22px;
}

.image-lightbox-close::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.image-lightbox-prev::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.image-lightbox-next::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.image-lightbox-close:hover,
.image-lightbox-nav:hover {
  background: var(--gold);
  color: #fff;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  background: var(--ink);
  color: #dbe2e7;
  padding: 26px 0;
}

.scroll-top-button {
  align-items: center;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 16px 36px rgba(24, 36, 50, 0.22);
  color: #fff;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 24px;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
  width: 46px;
  z-index: 1200;
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-button:hover {
  background: var(--gold);
}

.scroll-top-button::before {
  background: currentColor;
  content: "";
  display: block;
  height: 22px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 22px;
}

@media (max-width: 900px) {
  .content-page,
  .admin-shell {
    padding: 42px 0;
  }

  .home-hero,
  .home-section {
    padding: 42px 0;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-card-grid,
  .home-programme-grid,
  .home-feature-grid,
  .official-bio-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .activity-detail-grid,
  .activity-photo-grid,
  .careers-grid,
  .contact-grid,
  .gallery-photo-grid,
  .training-grid,
  .support-grid,
  .irfc-totals,
  .irfc-mandal-grid,
  .irfc-tab-buttons,
  .irfc-photo-grid,
  .irfc-video-grid {
    grid-template-columns: 1fr;
  }

  .irfc-category-heading {
    align-items: flex-start;
    display: grid;
  }

  .school-list-heading {
    align-items: flex-start;
    display: grid;
  }

  .school-list-heading span {
    white-space: normal;
  }

  .training-side {
    position: static;
  }

  .training-columns {
    columns: 1;
  }

  .image-lightbox {
    gap: 10px;
    padding: 18px 12px;
  }

  .image-lightbox-frame {
    max-width: calc(100vw - 96px);
  }

  .image-lightbox-img {
    max-height: calc(100vh - 150px);
  }

  .image-lightbox-close,
  .image-lightbox-nav {
    height: 38px;
    width: 38px;
  }

  .bio-hero-grid,
  .bio-grid {
    grid-template-columns: 1fr;
  }

  .bio-photo {
    justify-self: start;
  }

  .bio-timeline {
    position: static;
  }

  .family-lines p {
    grid-template-columns: 1fr;
  }

  .family-lines span:empty {
    display: none;
  }

  .lecture-table th,
  .lecture-table td {
    padding: 15px 16px;
  }

  .lecture-table td:nth-child(3),
  .lecture-table td:nth-child(4) {
    white-space: normal;
  }

  .lecture-actions {
    gap: 8px;
  }

  .lecture-detail-list div {
    grid-template-columns: 1fr;
  }

  .lecture-gallery-grid {
    grid-template-columns: 1fr;
  }

  .lecture-video-grid {
    grid-template-columns: 1fr;
  }

  .jobs-section {
    padding: 42px 0;
  }

  .jobs-table th,
  .jobs-table td {
    padding: 13px 14px;
  }

  .jobs-table td:first-child,
  .jobs-table th:first-child {
    width: 70px;
  }

  .navbar-nav {
    align-items: flex-start;
  }

  .activities-menu {
    box-shadow: none;
    min-width: 100%;
    width: 100%;
  }

  .nav-link.active::before {
    left: 0;
    right: auto;
    width: 42px;
  }

  .irfc-school-total {
    max-width: none;
  }

  .irfc-school-total.irfc-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sutherland-totals.irfc-school-total.irfc-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-totals-three.irfc-school-total.irfc-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activities-menu-group {
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
  }

  .activities-menu-group:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .scholarship-timeline-header,
  .scholarship-timeline article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sutherland-totals.irfc-school-total.irfc-totals {
    grid-template-columns: 1fr;
  }

  .project-totals-three.irfc-school-total.irfc-totals {
    grid-template-columns: 1fr;
  }

  .scholarship-summary-grid {
    grid-template-columns: 1fr;
  }
}

.swachh-details-section {
  padding: 58px 0;
}

.swachh-details-section + .swachh-details-section {
  border-top: 1px solid var(--line);
}

.swachh-details-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swachh-details-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.swachh-details-card-wide {
  grid-column: 1 / -1;
}

.swachh-details-card h2 {
  color: var(--green);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin: 0 0 16px;
}

.swachh-details-card p {
  color: var(--ink);
  line-height: 1.8;
}

.swachh-details-card ul {
  color: var(--green);
  line-height: 1.8;
  margin: 18px 0 0;
  padding-left: 20px;
}

.swachh-model-figure,
.swachh-monitoring-figure {
  margin: 26px 0 0;
}

.swachh-model-figure a,
.swachh-monitoring-figure a {
  background: #f3f4ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.swachh-model-figure img,
.swachh-monitoring-figure img {
  display: block;
  width: 100%;
}

.swachh-model-figure figcaption,
.swachh-monitoring-figure figcaption {
  color: var(--green);
  font-weight: 750;
  line-height: 1.55;
  margin-top: 12px;
}

.swachh-growth-section {
  background: var(--soft);
}

.swachh-growth-summary {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 26px;
}

.swachh-growth-summary article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.swachh-growth-summary span {
  color: var(--gold);
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.swachh-growth-summary strong {
  color: var(--green);
  display: block;
  line-height: 1.45;
}

.swachh-timeline {
  display: grid;
  gap: 14px;
}

.swachh-timeline article {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 92px 1fr;
  padding: 20px 22px;
}

.swachh-timeline span {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 800;
}

.swachh-timeline p {
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
}

.swachh-press-section {
  background: var(--soft);
}

.swachh-highlight-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swachh-highlight-list article {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px 1fr;
  padding: 20px;
}

.swachh-highlight-list span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.swachh-highlight-list p {
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
}

.swachh-video-section {
  background: var(--soft);
}

.swachh-video-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swachh-video-grid figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.swachh-video-grid video {
  aspect-ratio: 16 / 9;
  background: #111;
  display: block;
  width: 100%;
}

.gallery-event-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 36px;
  padding: 28px;
}

.gallery-extra-heading {
  margin-top: 48px;
}

.lecture-invitation-heading,
.lecture-video-heading,
.lecture-program-heading,
.lecture-press-heading {
  margin-top: 48px;
}

.lecture-invitation-heading {
  margin-top: 0;
}

.lecture-invitation-grid img,
.lecture-press-grid img {
  background: #f3f4ef;
  object-fit: contain;
}

.lecture-video-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lecture-video-grid figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.lecture-video-grid video {
  aspect-ratio: 16 / 9;
  background: #111;
  display: block;
  width: 100%;
}

.gallery-event-link h2,
.anniversary-card h2 {
  color: var(--green);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin: 0 0 14px;
}

.gallery-event-link p,
.anniversary-card p {
  color: var(--ink);
  line-height: 1.8;
}

.anniversary-section {
  padding: 58px 0;
}

.anniversary-section + .anniversary-section {
  border-top: 1px solid var(--line);
}

.anniversary-grid,
.anniversary-video-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.anniversary-document-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.anniversary-document-grid a {
  background: #f3f4ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.anniversary-document-grid img {
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: contain;
  width: 100%;
}

.anniversary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.anniversary-card ul {
  color: var(--green);
  line-height: 1.8;
  margin: 0;
  padding-left: 20px;
}

.anniversary-video-section {
  background: var(--soft);
}

.anniversary-video-grid figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.anniversary-video-grid video {
  background: #111;
  display: block;
  width: 100%;
}

@media (max-width: 900px) {
  .swachh-details-grid,
  .swachh-growth-summary,
  .swachh-highlight-list,
  .swachh-video-grid,
  .irfc-branding-card,
  .anniversary-grid,
  .anniversary-document-grid,
  .anniversary-video-grid {
    grid-template-columns: 1fr;
  }

  .irfc-branding-card img {
    margin-left: 0;
    max-width: 180px;
  }

  .swachh-timeline article {
    grid-template-columns: 1fr;
  }
}
