﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --red: #77271F;
  --red-dark: #77271F;
  --navy: #0F172A;
  --text: #3A3A3A;
  --peach: #FFEDE6;
  --white: #FFFFFF;
  --salmon: #FFD1BF;
  --darkest: #140609;
  --charcoal: #222222;
  --green-pill: #4a7c59;
  --blue-pill: #4a6fa5;
  --green-nav: #2c541d;
  --tbl-hdr: #82b483;
  --border: #e2e2e2;
  --link-blue: #2ea3f2;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .07);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .10);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .14);
  --bg: #faf7f5;
  --radius: 14px;
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'DM Sans', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 1.05rem;
  overflow-x: hidden;
  max-width: 100%;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color .18s;
}

a:hover {
  color: var(--red-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
}

/* ================================================================
   TOP UTILITY BAR (very top, thin)
================================================================ */
.utility-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, .70);
  font-size: .78rem;
  letter-spacing: .03em;
  padding: 6px 0;
  font-family: 'Source Sans 3', sans-serif;
}

.utility-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.utility-bar-inner>span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}

.utility-bar-inner>span:last-child {
  flex-shrink: 0;
  white-space: nowrap;
}

.utility-bar a {
  color: rgba(255, 255, 255, .70);
  font-size: .78rem;
}

.utility-bar a:hover {
  color: var(--white);
}

.utility-sep {
  margin: 0 10px;
  opacity: .35;
}

/* ================================================================
   HEADER – white, generous spacing, prominent logo
================================================================ */
#site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;

  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 96px;
}

.header-left {
  display: flex;
  align-items: center;
}

/* Logo – centered block */
.site-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  justify-self: center;
}

.site-logo-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .2));
  transition: transform .2s;
}

.site-logo-wrap:hover .site-logo-img {
  transform: scale(1.04);
}

/* Legacy icon wrapper (footer) */
.footer-logo-icon img,
.footer-logo-icon .site-logo-img {
  width: 60px;
  height: 60px;
}

.site-logo-text-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.site-logo-text-block .lang-tamil,
.site-logo-text-block .lang-hindi,
.site-logo-text-block .lang-en {
  min-width: 0;
}

.site-logo-text-block .lang-tamil {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: .01em;
}

.site-logo-text-block .lang-hindi {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Source Sans 3', sans-serif;
}

.site-logo-text-block .lang-en {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  font-family: 'Playfair Display', serif;
  letter-spacing: .01em;
  margin-top: 2px;
}

/* Header right – search */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}


.mobile-toggle {
  display: none;
  background: var(--red);
  border: none;
  color: white;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 1.3rem;
  border-radius: 4px;
  line-height: 1;
}

/* ================================================================
   NAV BAR – below header, improved typography + spacing
================================================================ */
#main-nav {
  background: var(--white);
  border-top: 1px solid #eee;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Top-level menu */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu>li {
  position: relative;
}

.nav-menu>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 16px 14px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: .01em;
  position: relative;
  transition: color .18s, background .18s;
}

/* Animated underline */
.nav-menu>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-menu>li:hover>a,
.nav-menu>li.active>a {
  color: var(--red);
  background: rgba(221, 24, 59, .05);
}

.nav-menu>li:hover>a::after,
.nav-menu>li.active>a::after {
  transform: scaleX(1);
}

/* Arrow for items with children */
.nav-menu>li.has-sub>a .arrow {
  font-size: .65rem;
  opacity: .5;
  transition: transform .2s;
  margin-left: 2px;
  color: var(--navy);
}

.nav-menu>li:hover>a .arrow {
  transform: rotate(180deg);
}

/* ── Dropdown Level 1 ── */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-lg);
  list-style: none;
  z-index: 999;
  animation: dropFade .18s ease;
}

@keyframes dropFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu>li:hover>.sub-menu {
  display: block;
}

.nav-menu .sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: .9rem;
  font-weight: 500;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s, color .15s, padding .15s;
}

.nav-menu .sub-menu li a:hover {
  background: var(--peach);
  color: var(--red);
  padding-left: 26px;
}

/* ── Dropdown Level 2 ── */
.nav-menu .sub-menu li {
  position: relative;
}

.nav-menu .sub-menu .sub-menu {
  display: none;
  top: 0;
  left: 100%;
  border-top: none;
  border-left: 3px solid var(--red);
}

.nav-menu .sub-menu li:hover>.sub-menu {
  display: block;
}

/* ================================================================
   TICKER – red strip below nav
================================================================ */
.ticker-wrap {
  background: var(--red);
  color: var(--white);
  overflow: hidden;
  padding: 9px 0;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .03em;
  font-family: 'Source Sans 3', sans-serif;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
}

.ticker-inner span {
  padding-right: 100px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* ================================================================
   PAGE HERO (inner pages)
================================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162035 60%, #1e2d1a 100%);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.page-hero .subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, .65);
  font-family: 'Source Sans 3', sans-serif;
}

.breadcrumb {
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
  margin-top: 4px;
  font-family: 'Source Sans 3', sans-serif;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .75);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  margin: 0 6px;
  opacity: .5;
}

/* Red accent line */
.page-hero-accent {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin-bottom: 14px;
  border-radius: 2px;
}

/* ================================================================
   SITE CONTENT WRAPPER
================================================================ */
.site-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 52px 40px;
}

/* ================================================================
   CONTENT CARD
================================================================ */
.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--red);
}

.content-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 24px 0 10px;
  font-weight: 600;
}

.content-card p {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--text);
  margin-bottom: 14px;
}

.content-card ul,
.content-card ol {
  margin-left: 22px;
  margin-bottom: 16px;
}

.content-card li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 5px;
}

.content-card a {
  color: var(--link-blue);
  text-decoration: underline;
}

.content-card a:hover {
  color: #0a6eb5;
}

/* ================================================================
   DATA TABLE
================================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin: 22px 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table thead {
  background: var(--tbl-hdr);
}

.data-table th {
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .92rem;
  letter-spacing: .02em;
}

.data-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
  color: var(--text);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) td {
  background: #fafafa;
}

.data-table tr:hover td {
  background: var(--peach);
  transition: background .15s;
}

.data-table a {
  color: var(--link-blue);
}

.data-table a:hover {
  color: #0a6eb5;
}

/* ================================================================
   HOMEPAGE – WELCOME SECTION
================================================================ */
.home-welcome {
  background: var(--white);
  padding: 60px 40px 52px;
}

.home-welcome-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 56px;
  align-items: start;
}

/* Left text */
.home-welcome-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 22px;
  line-height: 1.25;
}

.home-welcome-text p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.88;
  margin-bottom: 16px;
  text-align: justify;
}

/* Right column */
.home-right-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* What's New box */
.whats-new-box {
  background: var(--peach);
  border-radius: 6px;
  border-left: 4px solid var(--red);
  padding: 22px 24px;
}

.whats-new-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.whats-new-box ul {
  list-style: none;
}

.whats-new-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  font-size: .89rem;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  line-height: 1.5;
}

.whats-new-box li:last-child {
  border-bottom: none;
}

.whats-new-box li::before {
  content: '▸';
  color: var(--red);
  flex-shrink: 0;
  margin-top: 1px;
}

.whats-new-box a {
  color: var(--link-blue);
  text-decoration: underline;
}

.whats-new-box a:hover {
  color: #0a6eb5;
}

/* Campus illustration */
.home-img-area {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
}

.home-img-area svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ================================================================
   QUALITY PILLARS
================================================================ */
.quality-section {
  padding: 0 40px 52px;
  background: var(--white);
}

.quality-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.quality-card {
  padding: 34px 30px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.quality-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, .3);
}

.quality-card p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.6;
}

.quality-card .card-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  opacity: .12;
  position: absolute;
  bottom: 8px;
  right: 16px;
  line-height: 1;
}

/* Card 1 – green */
.quality-card-1 {
  background: var(--green-pill);
}

.quality-card-1 p {
  color: var(--white);
}

.quality-card-1 .card-num {
  color: var(--white);
}

/* Card 2 – salmon */
.quality-card-2 {
  background: var(--salmon);
}

.quality-card-2 p {
  color: var(--navy);
}

.quality-card-2 .card-num {
  color: var(--navy);
}

/* Card 3 – blue */
.quality-card-3 {
  background: var(--blue-pill);
}

.quality-card-3 p {
  color: var(--white);
}

.quality-card-3 .card-num {
  color: var(--white);
}

/* ================================================================
   ADMIN TABLE SECTION
================================================================ */
.admin-table-section {
  background: #f7f8fa;
  padding: 52px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.admin-table-inner {
  max-width: 760px;
  margin: 0 auto;
}

.admin-table-inner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 14px;
}

.admin-table-inner h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.admin-section-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.admin-section-table th {
  background: var(--tbl-hdr);
  color: var(--white);
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  font-family: 'Source Sans 3', sans-serif;
}

.admin-section-table td {
  padding: 11px 18px;
  border: 1px solid #e0e0e0;
  color: var(--text);
  text-align: center;
  background: var(--white);
  transition: background .15s;
}

.admin-section-table tr:hover td {
  background: var(--peach);
}

.admin-section-table a {
  color: var(--text);
  font-weight: 500;
}

.admin-section-table a:hover {
  color: var(--red);
}

/* ================================================================
   QUICK ACCESS GRID (homepage)
================================================================ */
.quick-access-section {
  padding: 52px 40px;
  background: var(--white);
}

.quick-access-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.quick-access-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 10px;
}

.quick-access-sub {
  text-align: center;
  font-size: .92rem;
  color: #888;
  margin-bottom: 36px;
  font-family: 'Source Sans 3', sans-serif;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.qa-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.qa-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
  color: var(--text);
}

.qa-card-icon {
  width: 52px;
  height: 52px;
  background: var(--peach);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
  transition: background .2s;
}

.qa-card:hover .qa-card-icon {
  background: var(--red);
}

.qa-card h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.qa-card p {
  font-size: .82rem;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* ================================================================
   FOOTER – peach bg + red bar
================================================================ */
#site-footer {
  background: var(--peach);
}

.footer-main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Logo side */
.footer-logo-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.footer-logo-text-block {
  line-height: 1.35;
  min-width: 0;
}

.footer-logo-text-block .lang-tamil,
.footer-logo-text-block .lang-hindi,
.footer-logo-text-block .lang-en {
  overflow-wrap: break-word;
}

.footer-logo-text-block .lang-tamil,
.footer-logo-text-block .lang-hindi {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Source Sans 3', sans-serif;
}

.footer-logo-text-block .lang-en {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  font-family: 'Playfair Display', serif;
  display: block;
  margin-top: 2px;
}

.footer-desc {
  font-size: .88rem;
  color: #555;
  line-height: 1.7;
  max-width: 380px;
}

.footer-counter {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--navy);
  font-family: 'Source Sans 3', monospace;
  border-top: 1px solid rgba(0, 0, 0, .1);
  padding-top: 14px;
  display: inline-block;
}

/* Quick links side */
.footer-quicklinks-col {
  padding-top: 4px;
}

.footer-quicklinks-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
}

.footer-divider {
  height: 2px;
  background: var(--red);
  margin-bottom: 20px;
  border-radius: 1px;
}

.footer-quicklinks-list {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  list-style: none;
  justify-content: flex-start;
}

.footer-quicklinks-list li {
  margin-right: 28px;
  margin-bottom: 10px;
}

.footer-quicklinks-list a {
  font-size: .94rem;
  font-weight: 500;
  color: #333;
  font-family: 'Source Sans 3', sans-serif;
  transition: color .18s;
  position: relative;
}

.footer-quicklinks-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .2s;
}

.footer-quicklinks-list a:hover {
  color: var(--red);
}

.footer-quicklinks-list a:hover::after {
  transform: scaleX(1);
}

/* Additional footer links */
.footer-links-extra {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.footer-links-extra h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.footer-links-extra ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links-extra a {
  font-size: .85rem;
  color: #555;
  font-family: 'Source Sans 3', sans-serif;
}

.footer-links-extra a:hover {
  color: var(--red);
}

/* Bottom bar */
.footer-bottom {
  background: var(--red);
  color: rgba(255, 255, 255, .9);
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .83rem;
  font-family: 'Source Sans 3', sans-serif;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .85);
}

.footer-bottom a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-addr {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-addr svg {
  fill: rgba(255, 255, 255, .8);
}

/* ================================================================
   UTILITIES
================================================================ */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 11px 30px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Source Sans 3', sans-serif;
  box-shadow: 0 3px 10px rgba(221, 24, 59, .3);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(221, 24, 59, .35);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.info-item {
  background: #fafcff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  padding: 18px 20px;
  border-radius: 0 6px 6px 0;
  transition: transform .18s, box-shadow .18s, background .18s;
}

.info-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  background: var(--peach);
}

.info-item h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: 'Source Sans 3', sans-serif;
}

.info-item p {
  font-size: .86rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .qa-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu>li>a {
    padding: 16px 10px;
    font-size: .84rem;
  }

  .nav-menu>li>a::after {
    left: 10px;
    right: 10px;
  }

  .header-inner {
    padding: 0 24px;
  }

  .nav-container {
    padding: 0 24px;
  }
}

@media (max-width: 1024px) {

  /* Hide the address text in utility bar, keep links */
  .utility-bar-inner>span:first-child {
    display: none;
  }

  .utility-bar-inner {
    justify-content: flex-end;
  }

  /* Scale logo text down one step */
  .site-logo-text-block .lang-tamil,
  .site-logo-text-block .lang-hindi {
    font-size: .80rem;
  }

  .site-logo-text-block .lang-en {
    font-size: .88rem;
  }
}

/* mobile toggle hidden on desktop */
.header-left .mobile-toggle {
  display: none;
}

@media (max-width: 921px) {
  .utility-bar {
    display: none;
  }

  .header-inner {
    padding: 0 16px;
    height: 72px;
    grid-template-columns: auto 1fr auto;
  }

  .site-logo-img {
    width: 52px;
    height: 52px;
  }

  .site-logo-wrap {
    gap: 10px;
    min-width: 0;
  }

  .site-logo-text-block {
    min-width: 0;
  }

  .site-logo-text-block .lang-tamil,
  .site-logo-text-block .lang-hindi,
  .site-logo-text-block .lang-en {
    white-space: normal;
    overflow-wrap: break-word;
  }

  .site-logo-text-block .lang-tamil,
  .site-logo-text-block .lang-hindi {
    font-size: .76rem;
  }

  .site-logo-text-block .lang-en {
    font-size: .82rem;
  }

  .header-left .mobile-toggle {
    display: flex;
  }

  .header-right .search-form {
    display: none;
  }

  #main-nav .nav-container {
    padding: 0;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid #eee;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu>li>a {
    padding: 13px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    font-size: .9rem;
  }

  .nav-menu>li>a::after {
    display: none;
  }

  .nav-menu .sub-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--red);
    margin-left: 16px;
  }

  .nav-menu>li:hover>.sub-menu {
    display: none;
  }

  .nav-menu>li.open>.sub-menu {
    display: block;
  }

  .nav-menu .sub-menu li:hover>.sub-menu {
    display: none;
  }

  .nav-menu .sub-menu li.open>.sub-menu {
    display: block;
  }

  .nav-menu .sub-menu li a {
    color: var(--text);
  }

  .home-welcome {
    padding: 32px 20px;
  }

  .home-welcome-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .quality-section {
    padding: 0 20px 36px;
  }

  .quality-inner {
    grid-template-columns: 1fr;
  }

  .admin-table-section {
    padding: 36px 20px;
  }

  .quick-access-section {
    padding: 36px 20px;
  }

  .qa-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 14px 20px;
  }

  .site-content {
    padding: 28px 20px;
  }

  .page-hero {
    padding: 32px 20px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .home-welcome-text h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {

  .site-logo-text-block .lang-tamil,
  .site-logo-text-block .lang-hindi {
    display: none;
  }

  .site-logo-text-block .lang-en {
    font-size: .78rem;
  }

  .site-logo-img {
    width: 44px;
    height: 44px;
  }

  .header-inner {
    height: 64px;
  }
}

@media (max-width: 544px) {
  .qa-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-quicklinks-list {
    flex-direction: column;
    gap: 10px;
  }
}

/* ================================================================
   PAGE COMPONENTS (consolidated from individual page <style> blocks)
================================================================ */

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.allowance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 1.25rem;
}

.btn-doc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 16px 18px 14px;
  text-decoration: none !important;
  color: var(--navy) !important;
  cursor: pointer;
  transition: box-shadow .2s, transform .18s;
  box-shadow: var(--shadow-sm);
  font-family: 'Source Sans 3', sans-serif;
}

.btn-doc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--navy) !important;
  text-decoration: none !important;
}

.btn-doc-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-doc-icon svg {
  width: 17px;
  height: 17px;
  fill: var(--red);
}

.btn-doc-label {
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.35;
  color: var(--navy);
}

.btn-doc-cta {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.btn-doc-cta svg {
  width: 12px;
  height: 12px;
  fill: var(--red);
  transition: transform .18s;
}

.btn-doc-card:hover .btn-doc-cta svg {
  transform: translateX(3px);
}

.section-desc {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--text);
  background: #fafafa;
  border-left: 3px solid var(--peach);
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 0;
}

.section-desc strong {
  color: var(--navy);
}

.section-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--peach);
  border: 1px solid var(--salmon);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 8px;
  font-family: 'Source Sans 3', sans-serif;
}

.info-block {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--text);
  background: #fafafa;
  border-left: 3px solid var(--peach);
  padding: 14px 18px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 1.5rem;
}

.info-block strong {
  color: var(--navy);
}

.info-block a {
  color: var(--red);
  text-decoration: underline;
}

.info-block a:hover {
  opacity: .8;
}

.info-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.info-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.info-tile h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  font-family: 'Source Sans 3', sans-serif;
}

.info-tile p,
.info-tile ul {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.info-tile ul {
  padding-left: 1.1rem;
}

.info-tile ul li {
  margin-bottom: 4px;
}

.charges-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin-bottom: 1.5rem;
}

.charges-table thead th {
  background: var(--red);
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
}

.charges-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text);
  vertical-align: middle;
}

.charges-table tbody tr:nth-child(even) td {
  background: #fafafa;
}

.charges-table tbody tr:hover td {
  background: var(--peach);
}

.charges-table .rate {
  font-weight: 600;
  color: var(--navy);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.cat-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--peach);
  border: 1px solid rgba(119, 39, 31, .18);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.role-table {
  width: 100%;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  border-top: 3px solid var(--red);
}

.role-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: background .18s;
}

.role-row:last-child {
  border-bottom: none;
}

.role-row:hover {
  background: #fdf9f8;
}

.role-cell-left {
  padding: 20px 18px;
  border-right: 1px solid var(--border);
  background: var(--peach);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.role-level {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  font-family: 'Source Sans 3', sans-serif;
}

.role-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

.role-cell-mid {
  padding: 20px 24px;
  display: flex;
  align-items: center;
}

.role-cell-mid p {
  font-size: .88rem;
  color: #4a4a5a;
  line-height: 1.78;
  margin: 0;
}

.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin: 28px 0 0;
}

.stat-bar-item {
  background: #fff;
  padding: 18px 16px;
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  display: block;
}

.stat-lbl {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #888;
  font-family: 'Source Sans 3', sans-serif;
  display: block;
  margin-top: 4px;
}

.sec-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.sec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  font-family: 'Source Sans 3', sans-serif;
}

.sec-table thead tr {
  background: var(--navy);
  color: #fff;
}

.sec-table thead th {
  padding: 13px 18px;
  text-align: left;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sec-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.sec-table tbody tr:last-child {
  border-bottom: none;
}

.sec-table tbody tr:nth-child(even) {
  background: var(--peach);
}

.sec-table tbody tr:hover {
  background: rgba(119, 39, 31, .06);
}

.sec-table td {
  padding: 13px 18px;
  color: #3a3a3a;
  vertical-align: middle;
}

.sec-table td:first-child {
  font-weight: 600;
  color: var(--navy);
}

.sg-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .05em;
}

.zone-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(27, 58, 107, .08);
  border: 1px solid rgba(27, 58, 107, .15);
  padding: 3px 10px;
  border-radius: 4px;
}

.table-footnote {
  font-size: .8rem;
  color: var(--muted, #666);
  font-style: italic;
  margin-top: 10px;
  font-family: 'Source Sans 3', sans-serif;
}

.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--peach);
  border-left: 4px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  margin-top: 20px;
}

.highlight-box-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-box-text {
  font-size: .9rem;
  color: #3a3a3a;
  line-height: 1.75;
  font-family: 'Source Sans 3', sans-serif;
}

.highlight-box-text strong {
  color: var(--navy);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 28px;
  background: var(--red);
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s, transform .15s;
}

.download-btn:hover {
  background: var(--red-dark, #a01228);
  transform: translateY(-2px);
  color: #fff;
}

.download-btn svg {
  flex-shrink: 0;
}

.role-cell-mid ul {
  margin: 0;
  padding-left: 16px;
  font-size: .875rem;
  color: #4a4a5a;
  line-height: 1.75;
}

.role-cell-mid li {
  margin-bottom: 3px;
}

.data-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .875rem;
}

.data-table thead tr {
  background: var(--navy);
  color: #fff;
}

.data-table thead th {
  padding: 11px 18px;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.data-table thead th:last-child {
  border-right: none;
}

.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.data-table tbody tr:last-child {
  border-bottom: none;
}

.data-table tbody tr:nth-child(even) {
  background: var(--peach);
}

.data-table tbody tr:hover {
  background: rgba(119, 39, 31, .06);
}

.data-table td {
  padding: 11px 18px;
  border-right: 1px solid var(--border);
  color: #3a3a3a;
  vertical-align: middle;
}

.data-table td:last-child {
  border-right: none;
}

.data-table td:first-child {
  color: var(--navy);
  font-weight: 600;
}

.amount-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}

.highlight-box strong {
  color: var(--navy);
}

.restrict-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff4f4;
  border-left: 4px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 15px 20px;
  margin-top: 18px;
  font-size: .875rem;
  color: #3a3a3a;
  line-height: 1.72;
  font-family: 'Source Sans 3', sans-serif;
}

.restrict-box-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .875rem;
  color: #4a4a5a;
  line-height: 1.65;
}

.check-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.sched-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
}

.sched-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  font-family: 'Source Sans 3', sans-serif;
  min-width: 700px;
}

.sched-table thead tr {
  background: var(--navy);
  color: #fff;
}

.sched-table thead th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.sched-table thead th:last-child {
  border-right: none;
}

.sched-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.sched-table tbody tr:last-child {
  border-bottom: none;
}

.sched-table tbody tr:nth-child(even) {
  background: var(--peach);
}

.sched-table tbody tr:hover {
  background: rgba(119, 39, 31, .06);
}

.sched-table td {
  padding: 12px 14px;
  color: #3a3a3a;
  vertical-align: top;
  border-right: 1px solid var(--border);
}

.sched-table td:last-child {
  border-right: none;
}

.sched-table td:first-child {
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  white-space: nowrap;
}

.month-pill {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  margin: 1px 2px;
  white-space: nowrap;
}

.btn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 1.5rem;
}

.btn-doc-card.is-toggle {
  border-top-color: var(--navy);
  background: #f9f9f9;
}

.btn-doc-card.is-toggle[aria-expanded="true"] {
  border-top-color: var(--red);
  background: var(--peach);
}

.btn-doc-card.is-toggle .btn-doc-icon {
  background: #e8e8e8;
}

.btn-doc-card.is-toggle[aria-expanded="true"] .btn-doc-icon {
  background: var(--salmon);
}

.btn-doc-card.is-toggle .btn-doc-icon svg {
  fill: var(--navy);
}

.btn-doc-card.is-toggle[aria-expanded="true"] .btn-doc-icon svg {
  fill: var(--red);
}

#committee-table {
  display: none;
  margin-top: 1.5rem;
  animation: fade-slide .22s ease;
}

#committee-table.visible {
  display: block;
}

.gallery-section {
  padding: 52px 40px;
  background: #fff;
}

.gallery-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 8px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.album-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
  border: 2px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  background: #f0f0f0;
}

.album-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
  border-color: var(--red);
}

.album-card img.cover {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.album-card:hover img.cover {
  transform: scale(1.06);
}

.album-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  padding: 28px 18px 16px;
  color: white;
  pointer-events: none;
}

.album-overlay h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: white;
}

.photo-count {
  background: var(--red);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
}

.view-lbl {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(221, 24, 59, .9);
  color: white;
  border-radius: 50px;
  padding: 9px 22px;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .22s ease;
  pointer-events: none;
  white-space: nowrap;
}

.album-card:hover .view-lbl {
  transform: translate(-50%, -50%) scale(1);
}

.carousel-panel {
  background: #f8fafc;
  border-top: 3px solid var(--red);
  padding: 36px 40px 44px;
  display: none;
}

.carousel-panel.open {
  display: block;
}

.panel-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.close-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid #ddd;
  color: #888;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: .82rem;
  text-decoration: none;
  transition: all .18s;
}

.close-btn:hover {
  background: #fee;
  border-color: var(--red);
  color: var(--red);
}

.carousel-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .16);
  background: #111;
  margin-bottom: 18px;
}

.carousel-wrap .carousel-item {
  height: 520px;
  overflow: hidden;
}

.carousel-wrap .carousel-item img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.carousel-wrap .carousel-caption {
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 24px 18px;
  text-align: left;
}

.carousel-wrap .carousel-caption h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.carousel-wrap .carousel-caption p {
  font-size: .84rem;
  opacity: .82;
  margin: 0;
}

.carousel-wrap .carousel-control-prev,
.carousel-wrap .carousel-control-next {
  width: 46px;
  height: 46px;
  background: rgba(221, 24, 59, .85);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  margin: 0 12px;
}

.carousel-wrap .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  border: none;
  margin: 0 4px;
}

.carousel-wrap .carousel-indicators .active {
  background: var(--red);
  transform: scale(1.4);
}

.thumb-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #eee;
}

.thumb-strip::-webkit-scrollbar {
  height: 4px;
}

.thumb-strip::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 2px;
}

.thumb-item {
  flex-shrink: 0;
  width: 88px;
  height: 62px;
  border-radius: 6px;
  overflow: hidden;
  border: 2.5px solid transparent;
  opacity: .7;
  transition: opacity .18s, transform .18s;
}

.thumb-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-panel:target {
  display: block;
}

.panel-split {
  display: grid;
  grid-template-columns: 3.5fr 1fr;
  gap: 28px;
  align-items: start;
}

.panel-media .carousel-wrap {
  margin-bottom: 12px;
}

.drive-table-wrap {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 520px;
}

.drive-table-wrap .drive-table-body {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #eee;
}

.drive-table-wrap .drive-table-body::-webkit-scrollbar {
  width: 4px;
}

.drive-table-wrap .drive-table-body::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 2px;
}

.drive-table-wrap h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #eee;
}

.drive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.drive-table tr:not(:last-child) td {
  border-bottom: 1px solid #f0f0f0;
}

.drive-table td {
  padding: 12px 18px;
  vertical-align: middle;
}

.drive-table td.drive-label {
  color: #333;
}

.drive-table td.drive-link {
  text-align: right;
}

.drive-table a.drive-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  font-size: .85rem;
}

.drive-table a.drive-link-btn:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .panel-split {
    grid-template-columns: 1fr;
  }
}

.dept-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s, transform .15s;
}

.dept-card:last-child {
  margin-bottom: 0;
}

.dept-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dept-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}

.dept-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dept-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--red);
}

.dept-header h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
}

.role-desc {
  padding: 12px 18px;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text);
  border-right: 1px solid var(--border);
}

.role-action {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red) !important;
  background: var(--peach);
  border: 1px solid var(--salmon);
  border-radius: 2px;
  padding: 6px 12px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .18s;
}

.btn-pay:hover {
  background: var(--salmon);
  text-decoration: none !important;
}

.btn-pay svg {
  width: 11px;
  height: 11px;
  fill: var(--red);
}

.role-cell-right {
  padding: 16px 14px;
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-cell-right a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
  transition: gap .18s;
}

.role-cell-right a:hover {
  gap: 9px;
}

.role-cell-right.empty {
  background: transparent;
}

.arr {
  vertical-align: middle;
}

.sub-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-list li {
  display: flex;
  gap: 10px;
  font-size: .85rem;
  color: #4a4a5a;
  line-height: 1.65;
}

.sub-list li .num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  font-family: 'Source Sans 3', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.contact-card {
  margin-top: 28px;
  background: var(--navy);
  border-radius: 6px;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  align-items: start;
}

.contact-card-person {
  grid-column: 1 / -1;
}

.contact-person-name {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 6px !important;
  line-height: 1.2 !important;
}

.contact-person-role {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  font-family: 'Source Sans 3', sans-serif;
}

.contact-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-label {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
  font-family: 'Source Sans 3', sans-serif;
  display: block;
  margin-bottom: 4px;
}

.contact-value {
  font-size: .9rem !important;
  color: #ffffff !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-weight: 500;
  line-height: 1.6;
}

.contact-value a {
  color: #f5c842 !important;
  text-decoration: none;
  font-weight: 600;
}

.contact-value a:hover {
  text-decoration: underline;
}

.ins-section-intro {
  font-size: .93rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.btn-doc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 16px 18px 14px;
  text-decoration: none !important;
  color: var(--navy) !important;
  cursor: pointer;
  transition: box-shadow .2s, transform .18s, border-top-color .18s;
  box-shadow: var(--shadow-sm);
}

.btn-doc:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-top-color: #5a1a14;
  color: var(--navy) !important;
  text-decoration: none !important;
}

.btn-doc:hover .btn-doc-cta svg {
  transform: translateX(3px);
}

.leave-section {
  margin-bottom: 8px;
  scroll-margin-top: 80px;
}

.leave-section h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--peach);
}

.leave-section h2 .h2-purpose {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
  letter-spacing: 0;
}

.leave-row {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  font-size: .88rem;
}

.leave-cell {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.leave-cell:last-child {
  border-bottom: none;
}

.leave-cell:nth-child(even) {
  background: #fafafa;
}

.leave-cell-key {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  padding: 13px 16px;
  border-right: 1px solid var(--border);
  background: var(--peach);
  display: flex;
  align-items: flex-start;
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.4;
}

.leave-cell-value {
  padding: 12px 16px;
}

.leave-cell-value p {
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}

.leave-cell-value ul {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.65;
  color: var(--text);
}

.leave-cell-value ul li {
  margin-bottom: 3px;
}

.leave-cell-value ul li:last-child {
  margin-bottom: 0;
}

.leave-cell-value a {
  color: var(--link-blue);
  text-decoration: underline;
}

.leave-cell-value a:hover {
  color: #0a6eb5;
}

.position-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s, transform .15s;
}

.position-card:last-child {
  margin-bottom: 0;
}

.position-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.position-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}

.position-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.position-icon svg {
  width: 19px;
  height: 19px;
  fill: var(--red);
}

.position-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
}

.position-header .meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  font-family: 'Source Sans 3', sans-serif;
}

.meta-badge svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.meta-badge.duration {
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.meta-badge.salary {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.meta-badge.approval {
  background: var(--peach);
  color: var(--red);
  border: 1px solid var(--salmon);
}

.position-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.position-cell {
  padding: 14px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text);
}

.position-cell:nth-child(even) {
  border-right: none;
}

.position-cell:nth-last-child(-n+2) {
  border-bottom: none;
}

.position-cell-key {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  font-family: 'Source Sans 3', sans-serif;
}

.position-cell p {
  margin: 0;
}

.position-cell ul {
  margin: 0;
  padding-left: 1rem;
}

.position-cell ul li {
  margin-bottom: 3px;
}

.position-cell.full {
  grid-column: 1 / -1;
  border-right: none;
}

.faculty-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  transition: box-shadow .2s, transform .15s;
}

.faculty-card:last-child {
  margin-bottom: 0;
}

.faculty-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faculty-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.faculty-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.faculty-icon svg {
  width: 19px;
  height: 19px;
  fill: var(--red);
}

.faculty-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  font-family: 'Source Sans 3', sans-serif;
}

.faculty-card-header .sub-label {
  font-size: .75rem;
  color: #888;
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: .04em;
}

.faculty-card p {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 12px;
}

.faculty-card p:last-child {
  margin-bottom: 0;
}

.sub-position {
  border-left: 3px solid var(--peach);
  background: #fafafa;
  border-radius: 0 4px 4px 0;
  padding: 12px 16px;
  margin-bottom: 10px;
}

.sub-position:last-child {
  margin-bottom: 0;
}

.sub-position h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 6px;
  font-family: 'Source Sans 3', sans-serif;
}

.sub-position p {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.btn-ext {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red) !important;
  background: var(--peach);
  border: 1px solid var(--salmon);
  border-radius: 2px;
  padding: 7px 14px;
  text-decoration: none !important;
  margin-top: 12px;
  transition: background .18s, transform .15s;
}

.btn-ext:hover {
  background: var(--salmon);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.btn-ext svg {
  width: 13px;
  height: 13px;
  fill: var(--red);
}

.fellowship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fellowship-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .15s;
}

.fellowship-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.fellowship-item h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 8px;
  font-family: 'Source Sans 3', sans-serif;
}

.fellowship-item p {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.pension-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.staff-name {
  font-family: 'Playfair Display', serif;
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
}

.staff-designation {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--red);
  font-family: 'Source Sans 3', sans-serif;
  margin-top: 2px;
}

.resp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.resp-list li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: .79rem;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--navy);
  font-weight: 500;
  transition: background .15s, border-color .15s;
}

.resp-list li:hover {
  background: var(--peach);
  border-color: rgba(119, 39, 31, .22);
  color: var(--red);
}

.resp-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.cov-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
}

.cov-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .875rem;
}

.cov-table thead tr {
  background: var(--navy);
  color: #fff;
}

.cov-table thead th {
  padding: 11px 18px;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.cov-table thead th:last-child {
  border-right: none;
}

.cov-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.cov-table tbody tr:last-child {
  border-bottom: none;
}

.cov-table tbody tr:nth-child(even) {
  background: var(--peach);
}

.cov-table tbody tr:hover {
  background: rgba(119, 39, 31, .06);
}

.cov-table td {
  padding: 11px 18px;
  border-right: 1px solid var(--border);
  vertical-align: middle;
}

.cov-table td:last-child {
  border-right: none;
}

.cov-table td:first-child {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  width: 52px;
}

.cov-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
}

.cov-arrow svg {
  color: var(--red);
  flex-shrink: 0;
}

.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.form-card,
.form-card *,
.form-card:hover,
.form-card:visited,
.form-card:focus {
  text-decoration: none !important;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 6px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.form-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(119, 39, 31, .25);
}

.form-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--peach);
  border: 1px solid rgba(119, 39, 31, .18);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
  align-self: flex-start;
}

.form-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

.form-card-desc {
  font-size: .86rem;
  color: #4a4a5a;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.form-card-threshold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(119, 39, 31, .07);
  border: 1px solid rgba(119, 39, 31, .15);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: .74rem;
  font-weight: 700;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--red);
  align-self: flex-start;
}

.form-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.form-card-type {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #999;
  font-family: 'Source Sans 3', sans-serif;
}

.form-card-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--red);
  font-family: 'Source Sans 3', sans-serif;
  transition: gap .18s;
}

.form-card:hover .form-card-dl {
  gap: 9px;
}

.check-icon svg {
  display: block;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  font-family: 'Source Sans 3', sans-serif;
}

.inline-link:hover {
  text-decoration: underline;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.feedback-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 6px;
  padding: 26px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.feedback-card *,
.feedback-card:hover * {
  text-decoration: none !important;
}

.feedback-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(119, 39, 31, .3);
}

.feedback-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--peach);
  border: 1px solid rgba(119, 39, 31, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feedback-card-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  font-family: 'Source Sans 3', sans-serif;
}

.feedback-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

.feedback-card-desc {
  font-size: .87rem;
  color: #4a4a5a;
  line-height: 1.72;
  margin: 0;
  flex: 1;
}

.feedback-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.feedback-card-type {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #aaa;
  font-family: 'Source Sans 3', sans-serif;
}

.feedback-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--red);
  font-family: 'Source Sans 3', sans-serif;
  transition: gap .18s;
}

.feedback-card:hover .feedback-card-cta {
  gap: 9px;
}

.rank-group {
  margin-bottom: 8px;
}

.rank-group:last-child {
  margin-bottom: 0;
}

.faculty-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.faculty-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faculty-card-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--red);
}

.faculty-card h3 {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--peach);
  border: 1px solid var(--salmon);
  border-radius: 2px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--red);
  font-family: 'Source Sans 3', sans-serif;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.pay-badge svg {
  width: 13px;
  height: 13px;
  fill: var(--red);
}

.rank-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2rem 0 1rem;
}

.rank-divider h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  white-space: nowrap;
  padding-bottom: 0;
  border: none;
}

.rank-divider-line {
  flex: 1;
  height: 2px;
  background: var(--peach);
  border-radius: 1px;
}

.rank-divider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.committee-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
}

.committee-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .88rem;
}

.committee-table thead tr {
  background: var(--navy);
  color: #fff;
}

.committee-table thead th {
  padding: 13px 18px;
  text-align: left;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.committee-table thead th:last-child {
  border-right: none;
}

.committee-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.committee-table tbody tr:last-child {
  border-bottom: none;
}

.committee-table tbody tr:nth-child(even) {
  background: var(--peach);
}

.committee-table tbody tr:hover {
  background: rgba(119, 39, 31, .06);
}

.committee-table td {
  padding: 14px 18px;
  vertical-align: middle;
  border-right: 1px solid var(--border);
  color: #3a3a3a;
}

.committee-table td:last-child {
  border-right: none;
}

.td-sn {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  width: 52px;
  font-size: .82rem;
}

.member-name {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  display: block;
}

.member-dept {
  font-size: .8rem;
  color: #777;
  margin-top: 2px;
  display: block;
}

.pos-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}

.pos-chair {
  background: var(--red);
  color: #fff;
}

.pos-member {
  background: rgba(27, 58, 107, .08);
  border: 1px solid rgba(27, 58, 107, .18);
  color: var(--navy);
}

.pos-exofficio {
  background: rgba(27, 58, 107, .05);
  border: 1px solid rgba(27, 58, 107, .12);
  color: var(--navy);
  font-style: italic;
}

.pos-secretary {
  background: rgba(119, 39, 31, .1);
  border: 1px solid rgba(119, 39, 31, .22);
  color: var(--red);
}

.pos-invitee {
  background: #f0f0f0;
  border: 1px solid #d0d0d0;
  color: #555;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--navy);
  font-family: 'Source Sans 3', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
  line-height: 1.3;
}

.action-btn:hover {
  background: var(--peach);
  border-color: rgba(119, 39, 31, .25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--red);
}

.action-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--peach);
  border: 1px solid rgba(119, 39, 31, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background .18s;
}

.action-btn:hover .action-btn-icon {
  background: rgba(119, 39, 31, .12);
}

.quick-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s;
}

.quick-links-list a:hover {
  background: var(--peach);
  border-color: rgba(119, 39, 31, .25);
  color: var(--red);
}

.quick-links-list a svg {
  flex-shrink: 0;
}



/* ================================================================
   PAGE-SPECIFIC OVERRIDES (scoped to avoid clashing with shared component names)
================================================================ */

/* campus-welfare-trust.html */
body.page-campus-welfare-trust .doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 1.25rem;
}

/* contractual.html */
body.page-contractual .highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--peach);
  border-left: 4px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  margin-top: 16px;
}

body.page-contractual .highlight-box-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

/* cpda.html */
body.page-cpda .role-cell-left {
  padding: 18px 18px;
  border-right: 1px solid var(--border);
  background: var(--peach);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

body.page-cpda .role-title {
  font-family: 'Playfair Display', serif;
  font-size: .96rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

body.page-cpda .role-cell-mid {
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
}

body.page-cpda .role-cell-mid p {
  font-size: .875rem;
  color: #4a4a5a;
  line-height: 1.75;
  margin: 0;
}

body.page-cpda .stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin: 24px 0 0;
}

body.page-cpda .stat-bar-item {
  background: #fff;
  padding: 16px 14px;
  text-align: center;
}

body.page-cpda .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  display: block;
}

body.page-cpda .stat-lbl {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #888;
  font-family: 'Source Sans 3', sans-serif;
  display: block;
  margin-top: 3px;
}

body.page-cpda .highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--peach);
  border-left: 4px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 15px 20px;
  margin-top: 18px;
  font-size: .875rem;
  color: #3a3a3a;
  line-height: 1.72;
  font-family: 'Source Sans 3', sans-serif;
}

body.page-cpda .highlight-box-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* estate.html */
body.page-estate .btn-doc-label {
  font-weight: 600;
  font-size: .85rem;
  line-height: 1.35;
  color: var(--navy);
}

body.page-estate .btn-doc-cta {
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* group-a-staff.html */
body.page-group-a-staff .section-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--peach);
  border: 1px solid var(--salmon);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
  font-family: 'Source Sans 3', sans-serif;
}

body.page-group-a-staff .role-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: start;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

body.page-group-a-staff .role-title {
  padding: 12px 18px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--peach);
  border-right: 1px solid var(--border);
  font-family: 'Source Sans 3', sans-serif;
  display: flex;
  align-items: flex-start;
}

/* group-bc.html */
body.page-group-bc .role-row {
  display: grid;
  grid-template-columns: 210px 1fr 140px;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: background .18s;
}

body.page-group-bc .role-cell-left {
  padding: 16px 18px;
  border-right: 1px solid var(--border);
  background: var(--peach);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

body.page-group-bc .role-title {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

body.page-group-bc .role-cell-mid {
  padding: 16px 22px;
  display: flex;
  align-items: center;
}

body.page-group-bc .role-cell-mid p {
  font-size: .875rem;
  color: #4a4a5a;
  line-height: 1.72;
  margin: 0;
}

body.page-group-bc .stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin: 32px 0 0;
}

body.page-group-bc .stat-bar-item {
  background: #fff;
  padding: 20px 16px;
  text-align: center;
}

body.page-group-bc .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  display: block;
}

body.page-group-bc .stat-lbl {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #888;
  font-family: 'Source Sans 3', sans-serif;
  display: block;
  margin-top: 4px;
}

/* insurance-details.html */
body.page-insurance-details .btn-doc-label {
  font-weight: 600;
  font-size: .85rem;
  line-height: 1.35;
  color: var(--navy);
}

body.page-insurance-details .btn-doc-cta {
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* insurance.html */
body.page-insurance .btn-doc-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--red);
}

body.page-insurance .btn-doc-label {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .03em;
  line-height: 1.35;
  color: var(--navy);
}

body.page-insurance .btn-doc-cta {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

body.page-insurance .btn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

/* leaves.html */
body.page-leaves .btn-doc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 16px 18px 14px;
  text-decoration: none !important;
  color: var(--navy) !important;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .18s;
  font-family: 'Source Sans 3', sans-serif;
}

body.page-leaves .doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

/* pay-matrix-faculty.html */
body.page-pay-matrix-faculty .btn-doc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 16px 18px 14px;
  text-decoration: none !important;
  color: var(--navy) !important;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .18s;
  font-family: 'Source Sans 3', sans-serif;
}

/* pay-matrix.html */
body.page-pay-matrix .btn-doc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 16px 18px 14px;
  text-decoration: none !important;
  color: var(--navy) !important;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .18s;
  font-family: 'Source Sans 3', sans-serif;
}

/* peopleadmin-1.html */
body.page-peopleadmin-1 .role-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: background .18s;
}

body.page-peopleadmin-1 .role-cell-left {
  padding: 18px 18px;
  border-right: 1px solid var(--border);
  background: var(--peach);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

body.page-peopleadmin-1 .role-cell-mid {
  padding: 16px 22px;
  display: flex;
  align-items: flex-start;
}

body.page-peopleadmin-1 .stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin: 24px 0 0;
}

body.page-peopleadmin-1 .stat-bar-item {
  background: #fff;
  padding: 16px 14px;
  text-align: center;
}

body.page-peopleadmin-1 .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  display: block;
}

body.page-peopleadmin-1 .stat-lbl {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #888;
  font-family: 'Source Sans 3', sans-serif;
  display: block;
  margin-top: 3px;
}

body.page-peopleadmin-1 .highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--peach);
  border-left: 4px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 14px 20px;
  margin-top: 18px;
  font-size: .875rem;
  color: #3a3a3a;
  line-height: 1.72;
  font-family: 'Source Sans 3', sans-serif;
}

/* purchase-global-tender.html */
body.page-purchase-global-tender .highlight-box-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

body.page-purchase-global-tender .highlight-box-text {
  font-size: .88rem;
  color: #3a3a3a;
  line-height: 1.75;
  font-family: 'Source Sans 3', sans-serif;
}

body.page-purchase-global-tender .check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

body.page-purchase-global-tender .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .87rem;
  color: #4a4a5a;
  line-height: 1.65;
}

body.page-purchase-global-tender .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* quarters.html */
body.page-quarters .btn-doc-label {
  font-weight: 600;
  font-size: .85rem;
  line-height: 1.35;
  color: var(--navy);
}

body.page-quarters .btn-doc-cta {
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* regular-faculty.html */
body.page-regular-faculty .faculty-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  transition: box-shadow .2s, transform .18s;
}

body.page-regular-faculty .faculty-card p {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}


/* ================================================================
   PAGE COMPONENTS – RESPONSIVE
================================================================ */

@media (max-width: 991px) {
  .album-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .role-row {
    grid-template-columns: 1fr;
  }

  .role-title {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .role-desc {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .role-action {
    justify-content: flex-start;
    padding-left: 18px;
    padding-bottom: 14px;
  }
}

@media (max-width: 700px) {
  .role-row {
    grid-template-columns: 1fr;
  }

  .role-cell-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat-bar {
    grid-template-columns: 1fr 1fr;
  }

  .role-cell-right {
    border-left: none;
    border-top: 1px solid var(--border);
    justify-content: flex-start;
    padding-left: 18px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 18px;
  }

  .contact-card-person {
    grid-column: 1;
  }

  .contact-divider {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .info-grid-2 {
    grid-template-columns: 1fr;
  }

  .doc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .position-body {
    grid-template-columns: 1fr;
  }

  .position-cell {
    border-right: none !important;
  }

  .position-cell:last-child {
    border-bottom: none;
  }

  .fellowship-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .allowance-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-bar {
    grid-template-columns: 1fr 1fr;
  }

  .sec-table thead th,
  .sec-table td {
    padding: 10px 12px;
  }

  .btn-grid {
    grid-template-columns: 1fr 1fr;
  }

  .album-grid {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    padding: 32px 20px;
  }

  .carousel-panel {
    padding: 28px 20px 36px;
  }

  .carousel-wrap .carousel-item,
  .carousel-wrap .carousel-item img {
    height: 260px;
  }

  .page-hero {
    padding: 36px 20px 28px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .leave-cell {
    grid-template-columns: 1fr;
  }

  .leave-cell-key {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .pension-grid {
    grid-template-columns: 1fr 1fr;
  }

  .forms-grid {
    grid-template-columns: 1fr;
  }

  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .faculty-card {
    padding: 16px;
  }

  .committee-table td,
  .committee-table th {
    padding: 11px 12px;
  }

  .action-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .doc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .btn-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .allowance-grid {
    grid-template-columns: 1fr;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

  .pension-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }
}