:root {
  color-scheme: light;
  --green: #174a35;
  --green-deep: #103a2a;
  --green-soft: #e8efe9;
  --green-pale: #f3f6f2;
  --gold: #d7a955;
  --white: #fff;
  --ink: #1d2923;
  --muted: #59665e;
  --line: #dfe6e0;
  --surface: #fff;
  --content-width: 1160px;
  --shadow-card: 0 12px 34px rgb(23 74 53 / 8%);
  --radius-card: 14px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--green-pale);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

html[lang="as"] {
  font-family: "Noto Sans Assamese", "Nirmala UI", "Segoe UI", sans-serif;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--green-pale);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--white);
  color: var(--green-deep);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.detail-note,
.placeholder-copy {
  color: var(--muted);
}

/* Header and navigation */
.site-header {
  background: var(--white);
}

.header-inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.school-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
  color: var(--green-deep);
  text-decoration: none;
}

.school-logo {
  display: grid;
  width: 68px;
  height: 56px;
  flex: 0 0 68px;
  place-items: center;
  border: 1px solid #c9d9cd;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.school-logo__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.school-brand__text {
  display: grid;
  gap: 2px;
}

.school-brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.5vw, 1.38rem);
  font-weight: 700;
  line-height: 1.25;
}

.school-brand__location {
  color: var(--muted);
  font-size: 0.83rem;
}

.school-brand__location .detail-note {
  font-size: 0.75rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green-pale);
}

.language-switch button {
  min-height: 36px;
  padding: 6px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--green-deep);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.language-switch button[aria-pressed="true"] {
  background: var(--green);
  color: var(--white);
}

.header-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.header-admin-link:hover {
  border-color: #b6cbbc;
  background: var(--green-pale);
}

.header-admin-link__icon {
  color: #94702f;
  font-size: 1.1rem;
}

.site-nav {
  position: relative;
  z-index: 5;
  background: var(--green);
  color: var(--white);
}

.site-nav__inner {
  display: flex;
  min-height: 52px;
  align-items: stretch;
  justify-content: space-between;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 13px 10px;
  border-bottom: 3px solid transparent;
  color: rgb(255 255 255 / 90%);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.site-nav__link:hover {
  background: rgb(255 255 255 / 9%);
  color: var(--white);
}

.site-nav__link.is-active {
  border-bottom-color: var(--gold);
  background: rgb(0 0 0 / 10%);
  color: var(--white);
}

/* Shared headings, cards, and buttons */
.section {
  padding-block: 76px;
}

.section--soft {
  background: var(--green-pale);
}

.section--welcome {
  background: var(--white);
}

.eyebrow {
  margin: 0 0 11px;
  color: #59715e;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #e7d6a5;
}

.section-title {
  margin: 0 0 18px;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.section-title--light {
  color: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading .section-title {
  margin-bottom: 0;
}

.section-heading--stacked {
  align-items: end;
  margin-bottom: 34px;
}

.section-heading__note,
.section-intro {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.section-intro {
  margin-bottom: 28px;
}

.lead {
  color: #3b4e41;
  font-size: 1.12rem;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: #276b4a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link--light {
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--light {
  background: var(--white);
  color: var(--green-deep);
}

.button--outline-light {
  border-color: rgb(255 255 255 / 65%);
  background: rgb(255 255 255 / 5%);
  color: var(--white);
}

.button--green {
  background: var(--green);
  color: var(--white);
}

.button--green:hover {
  background: var(--green-deep);
}

/* Home page hero */
.hero {
  position: relative;
  display: flex;
  min-height: clamp(440px, 54vw, 620px);
  align-items: center;
  overflow: hidden;
  background: var(--green-deep);
  color: var(--white);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  background: linear-gradient(90deg, rgb(9 37 25 / 88%) 0%, rgb(12 45 30 / 72%) 48%, rgb(12 45 30 / 28%) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 62px;
}

.hero h1 {
  max-width: 760px;
  margin: 8px 0 17px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero__summary {
  max-width: 550px;
  margin: 0;
  color: rgb(255 255 255 / 90%);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__placeholder-note {
  margin: 24px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.75rem;
}

/* Homepage sections */
.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
}

.section-copy > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
}

.section-copy .text-link {
  margin-top: 10px;
}

.welcome-note {
  padding: 32px;
  border: 1px solid #dfe9e1;
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #f8faf7, #eaf1eb);
}

.welcome-note__mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.welcome-note__label {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.welcome-note h3 {
  margin: 0 0 10px;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.35;
}

.welcome-note p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.principal-feature {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(32px, 7vw, 90px);
}

.principal-feature__portrait,
.principal-page__portrait {
  display: grid;
  min-height: 290px;
  place-items: center;
  padding: 24px;
  border: 1px dashed #9aae9e;
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #dce8df, #eef2e8);
  color: #47634f;
  text-align: center;
}

.principal-feature__portrait span,
.principal-page__portrait span {
  max-width: 180px;
  font-size: 0.88rem;
  font-weight: 700;
}

.principal-feature__portrait.principal-feature__portrait--photo,
.principal-page__portrait.principal-page__portrait--photo {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.principal-photo-image {
  display: block;
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.principal-feature__copy .lead {
  margin-top: 0;
}

.principal-feature__copy .text-link {
  margin-top: 9px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.notice-card {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.notice-card__date {
  margin: 0 0 13px;
  color: #627568;
  font-size: 0.79rem;
  font-weight: 700;
}

.notice-card__date span {
  margin-right: 7px;
  color: #b38a3f;
  font-size: 0.58rem;
  vertical-align: 2px;
}

.notice-card h3 {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 1.13rem;
  line-height: 1.4;
}

.notice-card > p:not(.notice-card__date) {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 17px;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.notice-card .text-link {
  margin-top: auto;
}

.empty-state {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid #dbe5dc;
  border-radius: var(--radius-card);
  background: #f8faf7;
}

.empty-state--large {
  min-height: 190px;
  padding: 34px;
}

.empty-state__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid #bed0c2;
  border-radius: 50%;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.empty-state h2,
.empty-state h3 {
  margin: 0 0 4px;
  color: var(--green-deep);
  font-size: 1.12rem;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.empty-state > .text-link {
  margin-left: auto;
  white-space: nowrap;
}

.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-link-card {
  position: relative;
  min-height: 205px;
  padding: 22px;
  border: 1px solid #e0e8e1;
  border-radius: var(--radius-card);
  background: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.quick-link-card__number {
  color: #87988b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quick-link-card__arrow {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #8e7447;
  font-size: 1.15rem;
}

.quick-link-card h3 {
  margin: 23px 0 6px;
  color: var(--green-deep);
  font-size: 1.03rem;
  line-height: 1.35;
}

.quick-link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.89rem;
}

.achievement-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 30px;
  border: 1px solid #e0e8e1;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.achievement-feature__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #f3ead5;
  color: #94702f;
  font-size: 1.7rem;
}

.achievement-feature .section-title {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.achievement-feature p:last-child {
  margin: 0;
  color: var(--muted);
}

.section--gallery {
  background: var(--green-deep);
  color: var(--white);
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-preview__item {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 10px;
  background: rgb(255 255 255 / 8%);
}

.gallery-preview__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-preview__item figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

.gallery-preview__item figcaption span {
  color: rgb(255 255 255 / 65%);
  font-size: 0.73rem;
  font-weight: 500;
}

/* Section page headers and content */
.page-hero {
  background: linear-gradient(115deg, var(--green-deep), #285b42);
  color: var(--white);
}

.page-hero__inner {
  padding-block: 47px 40px;
}

.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.45rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.page-hero__inner > p:not(.eyebrow) {
  margin: 11px 0 18px;
  color: rgb(255 255 255 / 82%);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(255 255 255 / 75%);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: stretch;
  gap: 26px;
}

.contact-panel,
.location-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.contact-panel {
  padding: clamp(24px, 4vw, 38px);
}

.contact-panel__heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.contact-panel__heading .section-title {
  margin-bottom: 8px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 0;
}

.contact-details__item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--green-pale);
}

.contact-details__item dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-details__item dd {
  margin: 0;
  color: var(--green-deep);
  font-size: 0.94rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.contact-details__item a {
  color: var(--green-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-details__item a:hover {
  color: var(--green);
}

.contact-empty-state {
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid #8da78f;
  background: var(--green-pale);
}

.contact-empty-state h3 {
  margin: 0 0 4px;
  color: var(--green-deep);
  font-size: 1rem;
}

.contact-empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.location-panel {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  background: linear-gradient(145deg, #e8efe9, #f8faf7);
}

.location-panel__visual {
  position: relative;
  display: grid;
  min-height: 170px;
  flex: 1;
  overflow: hidden;
  place-items: center;
  background-color: #e8efe9;
  background-image:
    linear-gradient(32deg, transparent 47%, rgb(23 74 53 / 8%) 48%, rgb(23 74 53 / 8%) 50%, transparent 51%),
    linear-gradient(145deg, transparent 44%, rgb(23 74 53 / 7%) 45%, rgb(23 74 53 / 7%) 47%, transparent 48%);
  background-size: 92px 74px, 118px 96px;
}

.location-panel__ring {
  position: absolute;
  width: 120px;
  aspect-ratio: 1;
  border: 1px solid rgb(23 74 53 / 24%);
  border-radius: 50%;
  background: rgb(255 255 255 / 28%);
}

.location-panel__ring::before,
.location-panel__ring::after {
  position: absolute;
  border: 1px solid rgb(23 74 53 / 20%);
  border-radius: 50%;
  content: "";
  inset: 18px;
}

.location-panel__ring::after {
  inset: 38px;
}

.location-panel__marker {
  z-index: 1;
  width: 20px;
  height: 20px;
  border: 5px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: var(--green);
  box-shadow: 0 4px 12px rgb(23 74 53 / 24%);
  transform: translateY(-4px) rotate(-45deg);
}

.location-panel__content {
  padding: 22px 24px 25px;
  background: var(--white);
}

.location-panel__content h2 {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 1.2rem;
}

.location-panel__content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.location-panel__content .location-panel__address {
  margin-bottom: 8px;
  color: var(--green-deep);
  font-weight: 700;
  white-space: pre-line;
}

.content-panel,
.content-aside {
  padding: clamp(23px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.content-panel > p:not(.eyebrow) {
  color: var(--muted);
}

.content-aside h2 {
  margin: 0 0 18px;
  color: var(--green-deep);
  font-size: 1.1rem;
}

.notice-banner {
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid #8da78f;
  background: #f3f6f2;
}

.notice-banner strong {
  color: var(--green-deep);
}

.notice-banner p {
  margin: 5px 0 0;
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.detail-list > div {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.detail-list > div:last-child {
  border-bottom: 0;
}

.detail-list dt {
  color: var(--green-deep);
  font-size: 0.83rem;
  font-weight: 800;
}

.detail-list dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.principal-page {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  align-items: stretch;
  gap: 24px;
}

.principal-page__portrait {
  min-height: 390px;
}

.signature-placeholder {
  margin-top: 27px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--green-deep) !important;
  font-weight: 700;
}

.signature-placeholder span {
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 400;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.person-placeholder {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.person-placeholder__portrait {
  display: grid;
  min-height: 205px;
  place-items: center;
  background: linear-gradient(135deg, #e6eee6, #c6d6c9);
  color: #4a6651;
  font-size: 0.88rem;
  font-weight: 700;
}

.person-placeholder__portrait--alt {
  background: linear-gradient(135deg, #ecebdf, #d6dac0);
}

.person-placeholder > div:last-child {
  padding: 22px;
}

.person-placeholder h3 {
  margin: 0 0 5px;
  color: var(--green-deep);
}

.person-placeholder p:last-child {
  margin: 0;
  color: var(--muted);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.faculty-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.faculty-card__portrait {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  background: linear-gradient(135deg, #e6eee6, #c6d6c9);
  color: #4a6651;
  font-size: 0.88rem;
  font-weight: 700;
}

.faculty-card__portrait--empty {
  background: linear-gradient(135deg, #e6eee6, #c6d6c9);
}

.faculty-card__details {
  padding: 1rem;
  text-align: center;
}

.faculty-card__details h3 {
  margin: 0 0 0.35rem;
  color: #174A35;
  font-size: 1.1rem;
  font-weight: 700;
}

.faculty-card__details p {
  margin: 0;
}

.faculty-card__details .faculty-card__designation {
  color: #4A5568;
  font-size: 0.9rem;
  font-weight: 600;
}

.faculty-card__details .faculty-card__qualification {
  margin-top: 0.25rem;
  color: #718096;
  font-size: 0.85rem;
}

.faculty-card__details .faculty-card__email {
  display: inline-block;
  margin-top: 0.5rem;
  color: #174A35;
  font-size: 0.85rem;
  text-decoration: none;
}

.faculty-card__details .faculty-card__biography {
  margin-top: 0.75rem;
  white-space: pre-line;
}

.faculty-card__details .faculty-card__email {
  overflow-wrap: anywhere;
}

.faculty-card--preview {
  display: grid;
  max-width: 760px;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
  align-items: start;
}

.faculty-card--preview .faculty-card__portrait {
  height: 220px;
}

.faculty-admin-list {
  display: grid;
  gap: 14px;
}

.faculty-admin-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 17px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.faculty-admin-card > img,
.faculty-admin-card__no-image {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  border-radius: 7px;
  object-fit: cover;
  background: #e8eee8;
  color: var(--muted);
  font-size: 0.82rem;
}

.faculty-admin-card__details {
  min-width: 0;
}

.faculty-admin-card__details h3 {
  margin: 0 0 6px;
  color: var(--green-deep);
}

.faculty-admin-card__details > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: pre-line;
}

.faculty-edit-preview {
  width: min(100%, 420px);
  max-height: 320px;
  margin-bottom: 18px;
  border-radius: 9px;
  object-fit: cover;
}

.faculty-photo-editor {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faf8;
}

.faculty-photo-editor h2,
.faculty-photo-editor p {
  margin: 0;
}

.photo-editor__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr);
  align-items: start;
  gap: 24px;
}

.photo-editor__layout > div:first-child {
  display: grid;
  gap: 10px;
}

.photo-editor__crop-frame {
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid #cbd8ce;
  border-radius: 10px;
  background: #e8efe9;
}

.photo-editor__canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  touch-action: none;
  cursor: grab;
}

.photo-editor__canvas:active {
  cursor: grabbing;
}

.photo-editor__canvas[data-crop-mode="portrait"] {
  aspect-ratio: 4 / 5;
}

.photo-editor__source[hidden] {
  display: none;
}

.photo-editor__help,
.photo-editor__status,
.site-asset-form__status {
  color: var(--muted);
  font-size: 0.88rem;
}

.photo-editor__controls {
  display: grid;
  align-content: start;
  gap: 18px;
}

.photo-editor__controls fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  border: 0;
}

.photo-editor__controls legend {
  margin-bottom: 8px;
  color: var(--green-deep);
  font-weight: 700;
}

.photo-editor__controls .button {
  min-height: 42px;
  padding: 8px 13px;
  border-color: var(--line);
  background: var(--white);
  color: var(--green-deep);
  cursor: pointer;
}

.photo-editor__controls .button--green {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.photo-editor__controls button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.photo-editor__zoom {
  display: grid;
  grid-template-columns: auto 42px minmax(80px, 1fr) 42px;
  align-items: center;
  gap: 8px;
  color: var(--green-deep);
  font-weight: 700;
}

.photo-editor__zoom input {
  min-width: 0;
}

.site-appearance {
  display: grid;
  gap: 26px;
}

.site-appearance > h1,
.site-appearance > p {
  margin: 0;
}

.site-asset-card {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.site-asset-card h2,
.site-asset-card p {
  margin: 0;
}

.site-asset-preview {
  display: grid;
  min-height: 110px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--green-pale);
}

.site-asset-preview img {
  display: block;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.site-asset-preview [hidden] {
  display: none;
}

.site-asset-preview--banner {
  aspect-ratio: 16 / 7;
  background: var(--green-deep);
}

.site-asset-preview--banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-asset-preview--logo {
  min-height: 190px;
  padding: 14px;
}

.site-asset-preview--logo img {
  width: min(100%, 260px);
  height: 170px;
}

.principal-photo-management__preview {
  min-height: 270px;
  padding: 10px;
}

.principal-photo-management__preview img {
  width: min(100%, 200px);
  height: 250px;
  object-fit: contain;
}

.site-asset-form {
  max-width: 100%;
}

.site-asset-form__status {
  min-height: 1.4em;
  margin: 0;
}

.site-asset-remove {
  min-height: 42px;
  padding: 8px 14px;
  border-color: #9b3939;
  background: var(--white);
  color: #842d2d;
  cursor: pointer;
}

.notices-list {
  border-top: 1px solid var(--line);
}

.document-form {
  display: grid;
  max-width: 650px;
  gap: 16px;
}

.document-form > div {
  display: grid;
  gap: 7px;
}

.document-form label {
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.document-form input,
.document-form select,
.document-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #becbc0;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.document-form textarea {
  min-height: 100px;
  resize: vertical;
}

.document-form input[type="file"] {
  padding: 7px;
}

.document-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.document-list {
  display: grid;
  gap: 13px;
}

.document-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.document-card__icon {
  display: grid;
  width: 48px;
  height: 54px;
  place-items: center;
  border: 1px solid #d5e0d6;
  border-radius: 7px;
  background: #edf3ee;
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 900;
}

.document-card__details {
  min-width: 0;
}

.document-card__details h3 {
  overflow-wrap: anywhere;
  margin: 0 0 5px;
  color: var(--green-deep);
  font-size: 1rem;
}

.document-card__details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.document-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 14px;
}

.document-card__actions a,
.document-card__actions button {
  color: var(--green-deep);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
}

.document-card__actions button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-row {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 28px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.notice-row__date {
  display: inline-flex;
  height: fit-content;
  align-items: center;
  gap: 8px;
  color: #506d57;
  font-size: 0.84rem;
  font-weight: 700;
}

.notice-row__date span {
  color: #a17d3d;
  font-size: 0.55rem;
}

.notice-row__content h3 {
  margin: 0 0 6px;
  color: var(--green-deep);
  font-size: 1.18rem;
}

.notice-row__content p {
  margin: 0;
  color: var(--muted);
  white-space: pre-line;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-card__image-link {
  display: block;
  overflow: hidden;
  background: #e8eee8;
}

.gallery-card__image-link img {
  transition: transform 180ms ease;
}

.gallery-card__image-link:hover img,
.gallery-card__image-link:focus-visible img {
  transform: scale(1.025);
}

.gallery-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 14px 16px;
  color: var(--green-deep);
  font-size: 0.91rem;
  font-weight: 700;
}

.gallery-card figcaption small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
}

.gallery-card figcaption p {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
  white-space: pre-line;
}

.gallery-admin-list {
  display: grid;
  gap: 16px;
}

.gallery-admin-card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.gallery-admin-card__preview {
  display: block;
  overflow: hidden;
  align-self: start;
  border-radius: 7px;
  background: #e8eee8;
}

.gallery-admin-card__preview img,
.gallery-edit-preview {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-admin-card__details {
  min-width: 0;
}

.gallery-admin-card__details h3 {
  margin: 0 0 6px;
  color: var(--green-deep);
}

.gallery-admin-card__details p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: pre-line;
}

.gallery-edit-preview {
  max-width: 520px;
  margin: 0 0 18px;
  border-radius: 9px;
  background: #e8eee8;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.achievement-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.achievement-card__image {
  width: 100%;
  max-height: 280px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--green-soft);
}

.achievement-card__content {
  padding: 18px;
}

.achievement-card__content h2 {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.achievement-card__content p {
  margin: 0;
  color: var(--muted);
  white-space: pre-line;
}

.achievement-card__content .achievement-card__date {
  margin-bottom: 8px;
  color: #506d57;
  font-size: 0.82rem;
  font-weight: 700;
}

.achievement-admin-list {
  display: grid;
  gap: 14px;
}

.achievement-admin-card {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  gap: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.achievement-admin-card > img,
.achievement-edit-preview {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 7px;
  object-fit: cover;
  background: var(--green-soft);
}

.achievement-admin-card__details {
  min-width: 0;
}

.achievement-admin-card__details h3 {
  margin: 0 0 6px;
  color: var(--green-deep);
}

.achievement-admin-card__details > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.achievement-edit-preview {
  max-width: 520px;
  margin-bottom: 18px;
}

.map-placeholder {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 1px dashed #9aae9e;
  border-radius: var(--radius-card);
  background: linear-gradient(140deg, #e6eee6, #f5f6ee);
  text-align: center;
}

.map-placeholder__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #aebfae;
  border-radius: 50%;
  color: var(--green);
  font-size: 1.6rem;
}

.map-placeholder h2 {
  margin: 15px 0 5px;
  color: var(--green-deep);
  font-size: 1.1rem;
}

.map-placeholder p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Admin pages retain the existing workflow */
.admin-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.admin-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  color: var(--green-deep);
  text-decoration: none;
}

.admin-brand__text {
  display: grid;
  gap: 2px;
}

.admin-brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
}

.admin-brand__label,
.admin-eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-logout {
  margin: 0;
}

.admin-logout__button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid #b9cbbd;
  border-radius: 7px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-logout__button:hover {
  background: var(--green-deep);
}

.admin-nav {
  background: var(--green);
  color: var(--white);
}

.admin-nav__inner {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  padding-block: 7px;
}

.admin-nav__link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: rgb(255 255 255 / 90%);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.admin-nav__link:hover {
  background: rgb(255 255 255 / 10%);
  color: var(--white);
}

.admin-nav__link.is-active {
  background: var(--white);
  color: var(--green-deep);
}

.admin-main {
  min-height: 60vh;
}

.admin-main > .container {
  padding-block: 36px 48px;
}

.admin-main > .container.section {
  padding-block: 36px 48px;
}

.card {
  max-width: 920px;
  margin: 0 auto 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.card h1,
.card h2,
.card h3 {
  color: var(--green-deep);
}

.admin-main .card > h1,
.admin-main .card > h2 {
  margin-top: 0;
}

.admin-eyebrow {
  margin: 0 0 5px;
  color: #55725e;
}

.admin-dashboard__heading h1,
.admin-login-card h1 {
  margin: 0;
}

.admin-dashboard__welcome > p:not(.admin-eyebrow) {
  margin: 12px 0 20px;
  color: var(--muted);
}

.admin-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.admin-shortcut {
  display: flex;
  min-height: 66px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #d5e0d7;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--green-pale);
  color: var(--green-deep);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.admin-shortcut:hover {
  border-color: #b6cbbc;
  background: var(--green-soft);
}

.admin-notice-create {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.admin-notice-create h2 {
  margin: 0 0 16px;
}

.admin-notice-form {
  max-width: 650px;
}

.admin-notice-actions {
  align-self: start;
}

.admin-main .notice-message {
  margin: 12px 0;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--green-pale);
}

.admin-main .notice-message--success {
  border-color: #b8d5be;
  background: #edf7ef;
  color: #174a35;
}

.admin-main .notice-message--error {
  border-color: #e4baba;
  background: #fff1f0;
  color: #842b2b;
}

.admin-login-layout {
  display: flex;
  justify-content: center;
}

.admin-login-card {
  width: min(100%, 560px);
  margin-inline: 0;
}

.admin-login-intro {
  margin: 8px 0 22px;
  color: var(--muted);
}

.admin-login-error {
  margin-bottom: 16px;
  padding: 11px 14px;
  border: 1px solid #e4baba;
  border-radius: 7px;
  background: #fff1f0;
  color: #842b2b;
}

.admin-login-form {
  max-width: none;
}

.admin-login-form > button {
  width: 100%;
}

/* Footer */
.site-footer {
  background: #102f23;
  color: rgb(255 255 255 / 88%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(260px, 1fr) minmax(210px, 0.8fr);
  gap: 48px;
  padding-block: 54px;
}

.school-brand--footer {
  color: var(--white);
}

.school-logo--footer {
  border-color: rgb(255 255 255 / 24%);
  background: rgb(255 255 255 / 8%);
  color: var(--white);
}

.school-brand--footer .school-brand__location {
  color: rgb(255 255 255 / 67%);
}

.footer-note {
  max-width: 370px;
  margin: 18px 0 0;
  color: rgb(255 255 255 / 68%);
  font-size: 0.87rem;
}

.footer-heading {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.93rem;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 16px;
}

.footer-link-grid a {
  color: rgb(255 255 255 / 72%);
  font-size: 0.83rem;
  text-decoration: none;
}

.footer-link-grid a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact {
  font-size: 0.84rem;
  font-style: normal;
}

.footer-contact p {
  margin: 0 0 10px;
  color: rgb(255 255 255 / 72%);
}

.footer-contact p > span:first-child {
  color: var(--white);
  font-weight: 700;
}

.footer-contact .detail-note {
  color: rgb(255 255 255 / 72%);
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 13%);
}

.footer-bottom__inner {
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: rgb(255 255 255 / 62%);
  font-size: 0.76rem;
}

@media (max-width: 1050px) {
  .site-nav__inner {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .site-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .site-nav__link {
    padding-inline: 9px;
    font-size: 0.75rem;
  }

  .quick-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-nav__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-school {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--content-width), calc(100% - 36px));
  }

  .header-inner {
    min-height: 86px;
    gap: 12px;
  }

  .admin-header__inner {
    min-height: 76px;
    gap: 12px;
  }

  .admin-brand {
    gap: 10px;
  }

  .admin-brand__name {
    font-size: 0.98rem;
  }

  .admin-nav__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .admin-nav__link {
    min-height: 42px;
    padding: 7px;
    font-size: 0.78rem;
  }

  .school-brand {
    gap: 10px;
  }

  .school-logo {
    width: 56px;
    height: 46px;
    flex-basis: 56px;
    font-size: 0.7rem;
  }

  .school-brand__name {
    font-size: 1rem;
  }

  .school-brand__location {
    font-size: 0.74rem;
  }

  .school-brand__location .detail-note {
    display: none;
  }

  .header-admin-link {
    padding: 9px;
    font-size: 0.78rem;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch button {
    min-height: 34px;
    padding: 6px;
    font-size: 0.72rem;
  }

  .header-admin-link__icon {
    display: none;
  }

  .site-nav__inner {
    min-height: 48px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .site-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .site-nav__link {
    padding: 12px 11px;
    font-size: 0.77rem;
  }

  .section {
    padding-block: 56px;
  }

  .hero {
    min-height: 470px;
  }

  .hero__shade {
    background: linear-gradient(90deg, rgb(9 37 25 / 86%), rgb(12 45 30 / 54%));
  }

  .hero__content {
    padding-block: 48px;
  }

  .welcome-grid,
  .principal-feature,
  .content-layout,
  .contact-grid,
  .principal-page {
    grid-template-columns: 1fr;
  }

  .location-panel {
    min-height: 300px;
  }

  .principal-feature__portrait {
    min-height: 235px;
  }

  .principal-page__portrait {
    min-height: 250px;
  }

  .notice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-preview,
  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .achievement-feature {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .achievement-feature .button {
    grid-column: 2;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-school {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  .faculty-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    flex-wrap: wrap;
    min-height: 78px;
  }

  .admin-header__inner {
    flex-wrap: wrap;
    min-height: 78px;
    padding-block: 10px;
  }

  .admin-brand {
    flex: 1 1 70%;
  }

  .admin-brand__name {
    font-size: 0.88rem;
  }

  .admin-brand__label {
    font-size: 0.68rem;
  }

  .admin-logout__button {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.8rem;
  }

  .admin-nav__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding-block: 6px;
  }

  .admin-nav__link {
    justify-content: flex-start;
    min-height: 40px;
    padding-inline: 10px;
    text-align: left;
  }

  .admin-main > .container,
  .admin-main > .container.section {
    padding-block: 24px 36px;
  }

  .admin-shortcut-grid {
    grid-template-columns: 1fr;
  }

  .admin-login-card {
    padding: 22px 18px;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .school-logo {
    width: 49px;
    height: 40px;
    flex-basis: 49px;
  }

  .school-brand__name {
    max-width: 205px;
    font-size: 0.91rem;
  }

  .school-brand__location {
    font-size: 0.7rem;
  }

  .header-admin-link {
    padding: 8px;
    font-size: 0.73rem;
  }

  .language-switch button {
    padding-inline: 5px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 440px;
  }

  .hero__break {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-heading--stacked {
    align-items: flex-start;
  }

  .notice-grid,
  .quick-link-grid,
  .gallery-preview,
  .gallery-page-grid,
  .people-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .notice-card {
    min-height: auto;
  }

  .empty-state {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
  }

  .empty-state > div {
    flex: 1 1 calc(100% - 65px);
  }

  .empty-state > .text-link {
    margin-left: 60px;
  }

  .empty-state--large {
    padding: 24px 18px;
  }

  .achievement-feature {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 23px;
  }

  .achievement-feature .button {
    grid-column: auto;
  }

  .notice-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 21px;
  }

  .document-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    padding: 15px;
  }

  .document-card__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 2px;
  }

  .gallery-admin-card {
    grid-template-columns: 1fr;
  }

  .achievement-admin-card {
    grid-template-columns: 1fr;
  }

  .achievement-admin-card > img {
    max-width: 360px;
  }

  .gallery-admin-card__preview {
    max-width: 360px;
  }

  .faculty-admin-card {
    grid-template-columns: 1fr;
  }

  .faculty-admin-card > img,
  .faculty-admin-card__no-image {
    max-width: 280px;
  }

  .faculty-card--preview {
    grid-template-columns: 1fr;
  }

  .faculty-card--preview .faculty-card__portrait {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 29px;
    padding-block: 42px;
  }

  .footer-school {
    grid-column: auto;
  }

  .footer-bottom__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding-block: 12px;
  }
}

@media (max-width: 760px) {
  .photo-editor__layout {
    grid-template-columns: 1fr;
  }

  .photo-editor__crop-frame {
    width: min(100%, 440px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Bihaguri school visual refinement */
.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 112px;
  padding-block: 14px;
}

.school-brand {
  gap: 17px;
}

.school-logo {
  width: 76px;
  height: 62px;
  flex-basis: 76px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f7faf7, #e3eee5);
  box-shadow: 0 5px 16px rgb(23 74 53 / 9%);
}

.site-nav {
  box-shadow: 0 4px 14px rgb(16 58 42 / 12%);
}

.site-nav__link.is-active {
  box-shadow: inset 0 -3px 0 var(--gold);
}

.hero {
  min-height: clamp(480px, 56vw, 660px);
}

.hero h1 {
  text-wrap: balance;
}

.hero__summary {
  line-height: 1.75;
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 86px;
    padding-block: 10px;
  }

  .school-brand {
    gap: 10px;
  }

  .school-logo {
    width: 56px;
    height: 46px;
    flex-basis: 56px;
    border-radius: 13px;
  }

  .hero {
    min-height: 470px;
  }
}

/* Refined notice and quick-link cards */
.notice-card,
.quick-link-card,
.achievement-feature {
  border-color: #dce7de;
  box-shadow: 0 5px 18px rgb(23 74 53 / 6%);
}

.notice-card {
  border-top: 3px solid #b38a3f;
}

.quick-link-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.quick-link-card:hover {
  transform: translateY(-3px);
  border-color: #b9cdbd;
  box-shadow: 0 12px 26px rgb(23 74 53 / 10%);
}

@media (prefers-reduced-motion: reduce) {
  .quick-link-card {
    transition: none;
  }

  .quick-link-card:hover {
    transform: none;
  }
}

@media (max-width: 520px) {
  .school-logo {
    width: 49px;
    height: 40px;
    flex-basis: 49px;
  }
}
