/* ============================================================
   GKM POORANPUR — BASE DESIGN SYSTEM
   Ganna Krishak PG College, Puranpur

   Grounding: this college was built by sugarcane farmers —
   founded in 1986 when the cane growers' cooperative (Sahkari
   Ganna Vikas Samiti) voted to fund it from their own harvest
   earnings. The palette and signature motif below come from
   that: cane-field green, jaggery gold, and a "cane node"
   timeline marker used for the one real chronological sequence
   on the site (the founding history).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  /* ---- Color: named tokens ---- */
  --field-green:      #1F4A38;   /* primary — deep cane-leaf green */
  --field-green-dark: #143229;   /* headers, footer, hover states */
  --jaggery-gold:      #B9822E;  /* accent — raw cane sugar / jaggery */
  --jaggery-gold-dark: #96691F;
  --mist:              #F2F4EE;  /* page background — morning field mist, not cream */
  --paper:              #FFFFFF; /* card surfaces */
  --ink:                #22281F; /* body text */
  --ink-soft:           #52584C; /* secondary text */
  --line:               #DCE0D3; /* hairline borders */

  /* ---- Type ---- */
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Work Sans', Arial, Helvetica, sans-serif;

  --step-0: 1rem;        /* 16px body */
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: 2.25rem;
  --step-5: 3rem;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius: 6px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
}

img { max-width: 100%; display: block; }

a {
  color: var(--field-green);
  text-decoration: none;
}
a:hover { color: var(--jaggery-gold-dark); }

:focus-visible {
  outline: 3px solid var(--jaggery-gold);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--field-green-dark);
  line-height: 1.2;
  margin: 0 0 var(--space-2);
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4vw, var(--step-5)); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }

p { margin: 0 0 var(--space-2); color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jaggery-gold-dark);
  margin-bottom: var(--space-1);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section { padding: var(--space-5) 0; }
.section--tight { padding: var(--space-4) 0; }
.section--dark {
  background: var(--field-green-dark);
  color: #EAF0EA;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #C7D3C7; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.4em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary {
  background: var(--jaggery-gold);
  color: #241a08;
}
.btn--primary:hover { background: var(--jaggery-gold-dark); color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn--outline {
  background: transparent;
  border-color: var(--field-green);
  color: var(--field-green);
}
.btn--outline:hover { background: var(--field-green); color: #fff; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  width: 100%;
  padding: 0.6rem var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-sizing: border-box;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--field-green-dark);
  flex: 1;
  min-width: 0;
}
.site-header__brand img { height: 48px; width: auto; }
.site-header__brand-text { line-height: 1.25; }
.site-header__brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--field-green-dark);
}
.site-header__brand-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.site-nav { display: none; }
.site-nav > ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-nav > ul > li { position: relative; display: flex; align-items: center; }
.site-nav a {
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.is-active {
  color: var(--field-green-dark);
  border-bottom-color: var(--jaggery-gold);
}
.dropdown-toggle {
  display: inline-block;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  cursor: default;
  user-select: none;
}
.has-dropdown:hover .dropdown-toggle,
.has-dropdown:focus-within .dropdown-toggle {
  color: var(--field-green-dark);
  border-bottom-color: var(--jaggery-gold);
}

/* Desktop dropdown */
.has-dropdown > .dropdown-toggle::after {
  content: '\25BE';
  font-size: 0.7em;
  margin-left: 0.3em;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(20,50,41,0.12);
  min-width: 240px;
  padding: 0.5rem 0;
  z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}
.dropdown li { list-style: none; }
.dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  border-bottom: none;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--mist); }

.nav-toggle {
  background: var(--field-green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  cursor: pointer;
}

/* Currently unused, no element uses this class right now. Was the
   "Fee structure" header button, removed since Fees was already reachable
   via Admission > Fees Structure and the button linked straight to the
   PDF, bypassing the actual Fees page. Left here as a ready-made slot if a
   genuinely high-priority single header CTA is wanted later. */
.site-header__utility {
  display: none;
}

@media (min-width: 900px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
  .site-header__utility { display: flex; }
}

/* Mobile menu panel */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: var(--space-2) var(--space-3); }
.mobile-nav li + li { border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 0.75rem 0; font-weight: 500; }
.mobile-nav .submenu { list-style: none; margin: 0 0 0.5rem; padding: 0 0 0 1rem; }
.mobile-nav .submenu li { border-top: none; }
.mobile-nav .submenu a { padding: 0.5rem 0; font-weight: 400; font-size: 0.9rem; color: var(--ink-soft); }
.mobile-nav .group-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-weight: 600;
  cursor: pointer;
}
.mobile-nav .group-label::after { content: '+'; font-weight: 400; color: var(--ink-soft); }
.mobile-nav .nav-group.is-open .group-label::after { content: '\2212'; }
.mobile-nav .nav-group .submenu { display: none; }
.mobile-nav .nav-group.is-open .submenu { display: block; }

@media (min-width: 900px) {
  .mobile-nav { display: none !important; }
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--field-green-dark);
  color: #D6E0D6;
}
.site-footer .container {
  padding-top: var(--space-5);
  padding-bottom: var(--space-4);
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: #C7D3C7; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { color: #B7C4B7; font-size: 0.92rem; }

.footer-accreditation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-2);
}
.footer-accreditation img {
  height: 40px;
  width: auto;
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #9FAE9F;
}

/* ============================================================
   REUSABLE CONTENT PATTERNS
   ============================================================ */

/* Simple text-page pattern (About, Vision, Rules, etc.) */
.page-hero {
  background: var(--field-green-dark);
  color: #fff;
  padding: var(--space-4) 0;
}
.page-hero .eyebrow { color: #E3C88A; }
.page-hero h1 { color: #fff; margin-bottom: 0.25rem; }
.page-hero p { color: #C7D3C7; max-width: 60ch; }

.prose { max-width: 72ch; }
.prose p { color: var(--ink); }

/* Card grid pattern (Staff, Board of Management listings) */
.card-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.people-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.people-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.people-card__body { padding: var(--space-2); }
.people-card__body h4 { margin: 0 0 0.15rem; font-size: 1.05rem; }
.people-card__body span { font-size: 0.85rem; color: var(--jaggery-gold-dark); font-weight: 600; }

/* Data table pattern */
.data-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.data-table th, .data-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.data-table th {
  background: var(--field-green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.data-table tr:nth-child(even) td { background: rgba(31,74,56,0.04); }

/* Gallery grid pattern (Campus, Cultural, Sports) */
.gallery-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .2s ease;
}
.gallery-grid a:hover img { transform: scale(1.02); }

/* Downloads / notice list pattern */
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
}
.file-list .fa { color: var(--field-green); font-size: 1.2rem; }
.file-list .file-meta { flex: 1; }
.file-list .file-meta strong { display: block; font-size: 0.96rem; }
.file-list .file-meta span { font-size: 0.8rem; color: var(--ink-soft); }

/* Signature element: the founding "cane node" timeline
   — a literal reference to sugarcane stalk nodes, used
   because the founding history genuinely is a dated sequence. */
.cane-timeline {
  --gutter: 2.2rem;
  --node-size: 16px;
  --node-border: 3px;
  --line-width: 3px;
  position: relative;
  padding-left: var(--gutter);
  border-left: var(--line-width) solid var(--field-green);
  margin: var(--space-4) 0;
}
.cane-node { position: relative; padding-bottom: var(--space-4); }
.cane-node:last-child { padding-bottom: 0; }
.cane-node::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--gutter) - (var(--line-width) / 2) - (var(--node-size) / 2) - var(--node-border));
  top: 0.15rem;
  width: var(--node-size); height: var(--node-size);
  border-radius: 50%;
  background: var(--field-green);
  border: var(--node-border) solid var(--mist);
  box-shadow: 0 0 0 2px var(--field-green);
}
.cane-node time {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--field-green-dark);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}
.cane-node p { margin: 0; }

/* Numbered step pattern (Admission Process, sequential steps only) */
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step-list li {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--field-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Accordion / expand-contract pattern (Fees) */
.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--field-green-dark);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '\f107';
  font-family: FontAwesome;
  font-weight: normal;
  color: var(--field-green);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.accordion[open] summary::after { transform: rotate(180deg); }
.accordion summary:hover { background: var(--mist); }
.accordion-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.fee-years .accordion + .accordion { margin-top: 1rem; }

/* Icon-box variant for the Courses page accordion, compatible addition
   on top of the plain accordion pattern used elsewhere (Fees, NAAC) */
.accordion .prog-icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--jaggery-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.accordion .prog-label { flex: 1; }
.accordion .prog-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--field-green-dark);
  font-weight: 600;
}
.accordion .prog-label span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--ink-soft);
}
.courses-accordion-group .accordion + .accordion { margin-top: 1rem; }

.current-badge {
  display: inline-block;
  background: var(--jaggery-gold);
  color: #241a08;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  margin-left: 0.6rem;
}
.year-badge {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--ink-soft);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 2rem;
  margin-left: 0.6rem;
}

/* Notices marquee (home page notices strip) */
.notices-strip__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}
.notices-strip__label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--field-green-dark);
  font-weight: 600;
  font-size: 0.92rem;
}
.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}
.marquee__track li { flex: 0 0 auto; }
.marquee__track a { font-size: 0.92rem; }
@keyframes marquee-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.notices-strip__all {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45em 1em;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* NAAC criterion accordion pattern */
.criterion {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 1rem;
}
.criterion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.criterion summary::-webkit-details-marker { display: none; }
.criterion summary .num {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--field-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.criterion summary .label { flex: 1; }
.criterion summary .label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--field-green-dark);
}
.criterion summary .label span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.criterion summary::after {
  content: '\f107';
  font-family: FontAwesome;
  font-weight: normal;
  color: var(--jaggery-gold-dark);
  transition: transform 0.2s ease;
}
.criterion[open] summary::after { transform: rotate(180deg); }
.criterion-body {
  padding: 0 1.4rem 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.sub-criteria-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.2rem;
}
.sub-criteria-list span {
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 2rem;
}
.doc-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.doc-row:last-child { border-bottom: none; }
.doc-row .file-icon { color: var(--jaggery-gold-dark); font-size: 1.1rem; flex: 0 0 auto; }
.doc-row .meta { flex: 1; }
.doc-row .meta strong { display: block; font-size: 0.94rem; }
.doc-row .meta span { font-size: 0.78rem; color: var(--ink-soft); }
.doc-row .tag {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--field-green-dark);
  background: rgba(31,74,56,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.empty-state {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-style: italic;
  padding: 0.5rem 0;
}

/* Sub-criterion nested accordion (NAAC page, inside each criterion) */
.sub-criterion {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--mist);
  margin-bottom: 0.6rem;
}
.sub-criterion:last-child { margin-bottom: 0; }
.sub-criterion summary {
  list-style: none;
  cursor: pointer;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sub-criterion summary::-webkit-details-marker { display: none; }
.sub-criterion summary .sub-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.sub-criterion summary .sub-count {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink-soft);
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 0.5rem;
}
.sub-criterion summary::after {
  content: '\f107';
  font-family: FontAwesome;
  font-weight: normal;
  color: var(--field-green);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.sub-criterion[open] summary::after { transform: rotate(180deg); }
.sub-criterion summary:hover { background: rgba(31,74,56,0.05); }
.sub-criterion-body {
  padding: 0 1rem 0.9rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.sub-criterion-body .doc-row:first-child { border-top: none; }
.sub-criterion-body .empty-state { padding: 0.8rem 0 0.2rem; margin: 0; }

/* Tag chip pattern (Courses subject lists) */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.tag-list li {
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--field-green-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: 2rem;
}

/* Programme overview cards (Courses) */
.programme-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.5rem 0;
}
.programme-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.programme-card i {
  font-size: 1.6rem;
  color: var(--jaggery-gold-dark);
  display: block;
  margin-bottom: 0.6rem;
}
.programme-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--field-green-dark);
}
.programme-card p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0;
}

/* Rule / checklist pattern (kept for future use, currently unused site-wide) */
/* Not used on any page right now. Originally used for Admission Rules,
   Admission Process, and Disciplinary Rules, later moved to the numbered
   .step-list pattern instead. Left here in case a genuinely non-sequential
   checklist is needed again later. Safe to delete if never used. */
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.rule-list li:last-child { border-bottom: none; }
.rule-list li::before {
  content: '\f00c';
  font-family: FontAwesome;
  color: var(--field-green);
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

/* Utility */
.grid-2 { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
