:root {
  --navy: #07275a;
  --blue: #0a53a6;
  --sky: #e8f3ff;
  --gold: #f0a500;
  --gold-dark: #c17d00;
  --green: #0f8b6f;
  --ink: #12213a;
  --muted: #5d6b82;
  --line: #dbe4f0;
  --white: #ffffff;
  --soft: #f7f9fc;
  --shadow: 0 18px 45px rgba(7, 39, 90, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
li,
a,
span,
strong {
  overflow-wrap: break-word;
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
}

.topbar__content {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar__links,
.topbar__social {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar__social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  border-radius: 50%;
  opacity: 1;
}

.topbar__social a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.topbar__social a::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.topbar__social a:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M14 8h3V4h-3c-3.3 0-5 2-5 5v3H6v4h3v8h4v-8h3.4l.6-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E");
}

.topbar__social a:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='5'/%3E%3Ccircle cx='12' cy='12' r='3.4'/%3E%3Ccircle cx='17' cy='7' r='1' fill='%23ffffff' stroke='none'/%3E%3C/svg%3E");
}

.topbar__social a:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M21.6 7.2c-.2-1-1-1.8-2-2C17.8 4.8 12 4.8 12 4.8s-5.8 0-7.6.4c-1 .2-1.8 1-2 2C2 9 2 12 2 12s0 3 .4 4.8c.2 1 1 1.8 2 2 1.8.4 7.6.4 7.6.4s5.8 0 7.6-.4c1-.2 1.8-1 2-2C22 15 22 12 22 12s0-3-.4-4.8ZM10 15.2V8.8l5.4 3.2L10 15.2Z'/%3E%3C/svg%3E");
}

.topbar a {
  opacity: 0.92;
}

.topbar a:hover {
  opacity: 1;
  text-decoration: underline;
}

.topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-contact::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.topbar-contact--phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2A19.8 19.8 0 0 1 3.1 5.2 2 2 0 0 1 5.1 3h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.6a2 2 0 0 1-.5 2.1L9 10.6a16 16 0 0 0 4.4 4.4l1.2-1.2a2 2 0 0 1 2.1-.5c.8.3 1.7.5 2.6.6A2 2 0 0 1 22 16.9Z'/%3E%3C/svg%3E");
}

.topbar-contact--mail::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
}

.topbar__social a:hover {
  text-decoration: none;
}

.topbar-authority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-left: auto;
  padding: 6px 13px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  opacity: 1;
  white-space: nowrap;
}

.topbar-authority:hover {
  background: #fff7df;
  text-decoration: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav__inner {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  flex-shrink: 0;
}

.brand img {
  width: 64px;
  height: 64px;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
}

.brand small {
  display: block;
  max-width: 240px;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 10px 12px;
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
  background: var(--sky);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown__toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 40;
  min-width: 190px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.nav-sub-link {
  display: block;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(10, 83, 166, 0.2);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: #1b2435;
  box-shadow: 0 12px 24px rgba(240, 165, 0, 0.25);
}

.btn--small {
  min-height: 42px;
  padding: 10px 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94) 0%, rgba(232, 243, 255, 0.92) 52%, rgba(255, 248, 230, 0.86) 100%),
    repeating-linear-gradient(90deg, rgba(10, 83, 166, 0.08) 0 1px, transparent 1px 60px);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  min-height: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 30px;
  padding: 34px 0 38px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.eyebrow--light {
  color: #ffe39b;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 4rem;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(2.65rem, 4.4vw, 3.45rem);
  line-height: 1.02;
}

h2 {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.2;
}

h3 {
  color: var(--navy);
}

.hero__lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 16px;
}

.hero__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(7, 39, 90, 0.08);
}

.hero__badges img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  height: 310px;
  min-height: 0;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(7, 39, 90, 0.16);
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(232, 243, 255, 0.88) 0%, rgba(232, 243, 255, 0.28) 22%, rgba(232, 243, 255, 0) 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(7, 39, 90, 0.08));
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 34%;
  border-radius: 8px;
}

.section {
  padding: 76px 0;
}

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

.section--blue {
  background: linear-gradient(135deg, var(--navy), #0b5cad);
  color: var(--white);
}

.section--blue h2,
.section--blue h3,
.section--blue strong {
  color: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading--compact {
  margin-bottom: 22px;
}

.section-heading p:last-child {
  color: var(--muted);
}

.home-side-by-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
}

.home-side-by-side__leadership {
  padding-left: 36px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.feature-strip,
.course-grid,
.stats-grid,
.facility-grid,
.team-grid,
.value-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

.feature-strip {
  grid-template-columns: repeat(3, 1fr);
}

.feature-strip article,
.course-card,
.facility-grid article,
.person-card,
.value-grid article,
.info-panel,
.form,
.contact-details article,
.job-list article,
.academic-card,
.map-placeholder {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 39, 90, 0.08);
}

.feature-strip article {
  padding: 24px;
}

.feature-strip__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 800;
}

.course-grid {
  grid-template-columns: repeat(2, 1fr);
}

.course-grid--stacked {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-card {
  padding: 28px;
  min-height: 260px;
}

.course-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.course-card__mark {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  font-size: 1.4rem;
}

.course-card__mark svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-card--gold .course-card__mark {
  background: var(--gold);
  color: #1b2435;
}

.course-card a,
.text-link {
  color: var(--blue);
  font-weight: 800;
}

.notice-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 39, 90, 0.08);
}

.notice-board--home {
  margin-top: 20px;
  padding: 20px;
}

.notice-board--page {
  padding: 24px;
}

.notice-board__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.notice-board__header h3 {
  margin-bottom: 0;
}

.notice-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.notice-tab {
  min-height: 42px;
  padding: 9px 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.notice-tab.is-active {
  color: var(--blue);
  border-bottom-color: var(--gold);
}

.notice-panel[hidden] {
  display: none;
}

.notice-panel {
  max-height: 270px;
  padding-right: 6px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.notice-board--page .notice-panel {
  max-height: none;
  overflow: visible;
}

.notice-post {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.notice-post:first-child {
  padding-top: 0;
}

.notice-post:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.notice-post__date,
.notice-post__category {
  display: inline-flex;
  margin: 0 8px 8px 0;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.notice-post__category {
  color: var(--blue);
}

.notice-post h4,
.notice-post h2 {
  margin-bottom: 6px;
  color: var(--navy);
}

.notice-post h4 {
  font-size: 1rem;
}

.notice-post--large {
  padding: 22px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.notice-post--large:last-child {
  margin-bottom: 0;
}

.notice-post p {
  margin-bottom: 0;
  color: var(--muted);
}

.notice-post--large p {
  margin-bottom: 12px;
}

.notice-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
}

.notice-post__attachment {
  display: inline-flex;
  margin-top: 4px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.college-events-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 243, 255, 0.9), transparent 44%),
    var(--white);
}

.college-events-section--page {
  background: var(--white);
}

.event-section-header {
  position: relative;
}

.event-section-header .section-heading {
  margin-bottom: 28px;
}

.event-section-header h2,
.college-events-section--page h2 {
  font-size: 2.55rem;
}

.event-slider-controls {
  position: absolute;
  right: 0;
  bottom: 28px;
  display: flex;
  gap: 10px;
}

.event-slider-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(7, 39, 90, 0.12);
}

.event-slider-button:hover {
  background: var(--blue);
  color: var(--white);
}

.event-carousel {
  position: relative;
}

.event-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 280px);
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.event-track--page {
  grid-auto-flow: row;
  grid-auto-columns: initial;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  padding: 0;
}

.event-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(7, 39, 90, 0.12);
  scroll-snap-align: start;
}

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sky);
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date {
  position: absolute;
  left: 14px;
  bottom: 12px;
  width: 58px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  text-align: center;
  box-shadow: 0 12px 24px rgba(7, 39, 90, 0.22);
}

.event-date span,
.event-date small {
  display: block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.event-date strong {
  display: block;
  padding: 2px 0;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.1;
}

.event-date small {
  padding-bottom: 3px;
  background: var(--white);
  color: var(--muted);
}

.event-card__body {
  flex: 1;
  padding: 18px 18px 12px;
}

.event-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-category::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.event-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.event-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.event-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 18px;
}

.event-location {
  position: relative;
  min-width: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.event-location::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--muted);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.event-details {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(10, 83, 166, 0.22);
}

.event-admin-fields {
  display: grid;
  gap: 12px;
  margin: 8px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.event-admin-fields .eyebrow {
  margin-bottom: 0;
}

.infra-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.infra-slider__track {
  position: relative;
  aspect-ratio: 16 / 8.2;
  min-height: 460px;
}

.infra-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.infra-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.infra-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 39, 90, 0.78) 0%, rgba(7, 39, 90, 0.35) 42%, rgba(7, 39, 90, 0.04) 100%),
    linear-gradient(0deg, rgba(7, 39, 90, 0.74) 0%, rgba(7, 39, 90, 0) 52%);
}

.infra-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infra-slide__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 42px;
  color: var(--white);
}

.infra-slide__content span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffe39b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.infra-slide__content h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 2rem;
}

.infra-slide__content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.infra-slider__button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(7, 39, 90, 0.24);
  transform: translateY(-50%);
}

.infra-slider__button:hover {
  background: var(--gold);
  color: var(--navy);
}

.infra-slider__button--prev {
  left: 22px;
}

.infra-slider__button--next {
  right: 22px;
}

.infra-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.infra-slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.infra-slider__dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--gold);
  border-color: var(--gold);
}

.portal-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    linear-gradient(135deg, rgba(232, 243, 255, 0.95), rgba(255, 247, 223, 0.9)),
    repeating-linear-gradient(90deg, rgba(10, 83, 166, 0.08) 0 1px, transparent 1px 60px);
}

.portal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.portal-card--login {
  width: min(100%, 470px);
  padding: 30px;
}

.portal-brand {
  margin-bottom: 28px;
}

.portal-heading {
  margin-bottom: 22px;
}

.portal-heading h1,
.portal-heading h2 {
  margin-bottom: 10px;
}

.portal-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.portal-form {
  margin-bottom: 18px;
  box-shadow: none;
}

.form-status.is-error {
  color: #b42318;
}

.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.dashboard-header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-header__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.dashboard-grid .portal-card {
  padding: 26px;
}

.dashboard-tools {
  margin-bottom: 16px;
}

.admin-post-list {
  display: grid;
  gap: 14px;
  max-height: 760px;
  overflow-y: auto;
  padding-right: 6px;
}

.admin-post {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.admin-post h3 {
  margin-bottom: 6px;
}

.admin-post p {
  margin-bottom: 0;
  color: var(--muted);
}

.btn--ghost {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}

.btn--danger {
  background: #b42318;
  color: var(--white);
  box-shadow: none;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid article {
  padding: 28px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;
}

.stats-grid article:last-child {
  border-right: 0;
}

.stats-grid strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.two-column--center {
  align-items: center;
}

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

.affiliation-grid article {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 39, 90, 0.08);
}

.affiliation-logo {
  width: 74px;
  height: 74px;
  margin-bottom: 14px;
  object-fit: contain;
}

.affiliation-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 1.7rem;
}

.affiliation-grid span,
.facility-grid p,
.person-card p,
.value-grid p,
.course-card p,
.info-panel li,
.contact-details p {
  color: var(--muted);
}

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

.pdf-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 39, 90, 0.08);
}

.pdf-card__header {
  min-height: 132px;
}

.pdf-card__header h3 {
  margin-bottom: 8px;
}

.pdf-card__header p:last-child {
  color: var(--muted);
}

.pdf-frame {
  overflow: hidden;
  height: 640px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.pdf-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
}

.facility-grid {
  grid-template-columns: repeat(4, 1fr);
}

.facility-grid--large {
  grid-template-columns: repeat(3, 1fr);
}

.facility-grid article {
  padding: 24px;
  min-height: 150px;
}

.facility-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(7, 39, 90, 0.1);
}

.facility-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
}

.facility-icon--gold {
  background: #fff3cf;
  color: var(--gold-dark);
}

.facility-icon--green {
  background: #e5f6f1;
  color: var(--green);
}

.facility-icon--navy {
  background: #edf2ff;
  color: var(--navy);
}

.facility-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-grid {
  grid-template-columns: repeat(4, 1fr);
}

.team-grid--compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  flex: 1;
  grid-auto-rows: 1fr;
}

.person-card {
  padding: 22px;
  text-align: center;
}

.team-grid--compact .person-card {
  padding: 16px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.person-card__photo {
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sky), #fff7df);
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 900;
}

img.person-card__photo {
  display: block;
  object-fit: cover;
  object-position: center;
}

.team-grid--compact .person-card__photo {
  width: 136px;
  height: 136px;
}

.team-grid--compact h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.team-grid--compact p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.cta-band {
  padding: 56px 0;
  background: #fff7df;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 11px 16px 11px 13px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 18px 34px rgba(7, 39, 90, 0.22);
}

.whatsapp-float:hover {
  background: #1fb65a;
  text-decoration: none;
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex: 0 0 auto;
}

.footer-stats {
  background: linear-gradient(135deg, #073a7d, #0b5cad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-stats .stats-grid {
  padding: 46px 0;
  color: var(--white);
}

.footer-stats .stats-grid strong {
  color: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 0.8fr 0.9fr;
  gap: 28px;
  padding: 48px 0;
}

.footer__grid h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
}

.footer__grid .footer-subheading {
  margin-top: 22px;
}

.footer__grid p,
.footer__grid a {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 16px;
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--sky), #fff8e6);
  border-bottom: 1px solid var(--line);
}

.page-hero--compact {
  padding: 70px 0;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 42px;
  align-items: center;
}

.page-hero h1 {
  max-width: 840px;
  font-size: 3.2rem;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 44%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-hero--infrastructure {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--sky);
}

.page-hero--infrastructure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.94) 32%, rgba(247, 251, 255, 0.72) 50%, rgba(247, 251, 255, 0.24) 72%, rgba(7, 39, 90, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 39, 90, 0.2), rgba(255, 248, 230, 0.12));
}

.page-hero--infrastructure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 38%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.82), transparent);
}

.infrastructure-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.infrastructure-hero__content {
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 78px 0;
}

.infrastructure-hero__copy {
  max-width: 660px;
}

.infrastructure-hero__copy h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5.3vw, 4.6rem);
  line-height: 1.04;
}

.infrastructure-hero__copy p:not(.eyebrow) {
  max-width: 620px;
  color: #435775;
  font-size: 1.14rem;
}

.infrastructure-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.infrastructure-hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(10, 83, 166, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(7, 39, 90, 0.08);
  backdrop-filter: blur(10px);
}

.info-panel,
.value-grid article,
.form,
.contact-details article,
.job-list article,
.academic-card,
.map-placeholder {
  padding: 28px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 8px;
  background: var(--green);
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.about-history {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 0.9fr);
  gap: 38px;
  align-items: center;
}

.about-history__photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-history__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.about-history__photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 24px rgba(7, 39, 90, 0.12);
  backdrop-filter: blur(10px);
}

.about-history__content {
  max-width: 760px;
}

.about-history__content p {
  color: var(--muted);
}

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

.academic-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.academic-card--gold {
  border-color: #f6d28a;
  background: #fffaf0;
}

.job-list {
  display: grid;
  gap: 14px;
}

.job-list h3 {
  margin-bottom: 6px;
}

.job-list span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.82rem;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  color: var(--navy);
  font-weight: 800;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid rgba(10, 83, 166, 0.18);
  border-color: var(--blue);
}

.honeypot-field {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.form-status {
  margin: 0;
  min-height: 24px;
  color: var(--green);
  font-weight: 800;
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-details a {
  display: block;
  color: var(--blue);
  font-weight: 800;
}

.map-placeholder {
  min-height: 260px;
  display: grid;
  align-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(45deg, rgba(10, 83, 166, 0.1) 0 2px, transparent 2px 22px);
}

@media (max-width: 1040px) {
  .topbar__content {
    justify-content: center;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 30;
    display: none;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    display: none;
    margin: 4px 0 6px;
    padding: 6px;
    border-radius: 8px;
    background: var(--soft);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown:hover .nav-dropdown__menu {
    display: none;
  }

  .nav-dropdown:focus-within .nav-dropdown__menu {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    display: grid;
  }

  .nav-sub-link {
    padding-left: 18px;
  }

  .nav-apply {
    display: none;
  }

  .hero__grid,
  .page-hero__grid,
  .home-side-by-side,
  .about-history,
  .dashboard-grid,
  .two-column,
  .pdf-viewer-grid,
  .academic-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .home-side-by-side__leadership {
    padding-left: 0;
    padding-top: 30px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  h1 {
    font-size: 3rem;
  }

  .page-hero h1 {
    font-size: 2.6rem;
  }

  .facility-grid,
  .facility-grid--large,
  .team-grid,
  .footer__grid,
  .event-track--page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .course-grid--stacked,
  .academic-card {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: auto;
  }

  .hero__visual {
    height: 280px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .topbar__content {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .topbar__links {
    width: 100%;
    gap: 8px 10px;
    font-size: 0.86rem;
  }

  .topbar__links > span {
    display: none;
  }

  .topbar-authority {
    align-self: flex-start;
    margin-left: 0;
    min-height: 34px;
  }

  .topbar__social {
    display: flex;
    gap: 8px;
  }

  .topbar__social a {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.12);
  }

  .nav__inner {
    min-height: 78px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 56px);
  }

  .brand img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong {
    font-size: 1.12rem;
  }

  .brand small {
    max-width: 180px;
    font-size: 0.78rem;
  }

  .nav-links {
    max-height: calc(100vh - 104px);
  }

  .hero__grid {
    min-height: auto;
    gap: 22px;
    padding: 28px 0;
  }

  .hero__visual,
  .hero__visual img {
    height: 220px;
    min-height: 0;
  }

  .hero h1 {
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .hero__actions {
    margin: 16px 0 14px;
  }

  .hero__badges {
    gap: 8px;
  }

  .hero__badges span {
    flex: 1 1 100%;
    padding: 10px 12px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 46px 0;
  }

  .page-hero,
  .page-hero--compact {
    padding: 48px 0;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .page-hero img {
    aspect-ratio: 16 / 10;
  }

  .page-hero--infrastructure {
    min-height: 540px;
    padding: 0;
  }

  .page-hero--infrastructure::before {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.52) 0%, rgba(247, 251, 255, 0.86) 48%, rgba(247, 251, 255, 0.98) 100%),
      linear-gradient(90deg, rgba(247, 251, 255, 0.26), rgba(7, 39, 90, 0.12));
  }

  .infrastructure-hero__image {
    height: 100%;
    aspect-ratio: auto;
    object-position: 58% center;
  }

  .infrastructure-hero__content {
    width: min(100% - 22px, 1180px);
    min-height: 540px;
    align-items: flex-end;
    padding: 180px 0 42px;
  }

  .infrastructure-hero__copy h1 {
    font-size: 2.25rem;
  }

  .infrastructure-hero__copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .infrastructure-hero__chips {
    gap: 8px;
    margin-top: 18px;
  }

  .infrastructure-hero__chips span {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.86);
  }

  .feature-strip,
  .course-grid,
  .course-grid--stacked,
  .stats-grid,
  .facility-grid,
  .facility-grid--large,
  .team-grid,
  .value-grid,
  .affiliation-grid,
  .footer__grid,
  .event-track--page {
    grid-template-columns: 1fr;
  }

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

  .event-section-header h2,
  .college-events-section--page h2 {
    font-size: 2rem;
  }

  .event-section-header .section-heading {
    margin-bottom: 18px;
  }

  .event-slider-controls {
    position: static;
    justify-content: center;
    margin-bottom: 18px;
  }

  .event-track {
    grid-auto-columns: minmax(250px, 82vw);
    gap: 16px;
    margin-right: -11px;
    padding-bottom: 12px;
  }

  .event-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .infra-slider__track {
    aspect-ratio: auto;
    min-height: 340px;
  }

  .infra-slide::before {
    background:
      linear-gradient(90deg, rgba(7, 39, 90, 0.68) 0%, rgba(7, 39, 90, 0.22) 54%, rgba(7, 39, 90, 0.02) 100%),
      linear-gradient(0deg, rgba(7, 39, 90, 0.78) 0%, rgba(7, 39, 90, 0.05) 62%);
  }

  .infra-slide__content {
    max-width: none;
    padding: 28px 58px 46px 22px;
  }

  .infra-slide__content h3 {
    font-size: 1.55rem;
  }

  .infra-slider__button {
    width: 40px;
    height: 40px;
  }

  .infra-slider__button--prev {
    left: 10px;
  }

  .infra-slider__button--next {
    right: 10px;
  }

  .home-side-by-side {
    gap: 28px;
  }

  .feature-strip article,
  .course-card,
  .facility-grid article,
  .person-card,
  .value-grid article,
  .info-panel,
  .form,
  .contact-details article,
  .job-list article,
  .academic-card,
  .map-placeholder {
    padding: 20px;
  }

  .course-card__top {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .course-card__mark {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
  }

  .course-card__mark svg {
    width: 32px;
    height: 32px;
  }

  .notice-board--home,
  .notice-board--page {
    padding: 18px;
  }

  .notice-board__header {
    flex-direction: column;
    gap: 8px;
  }

  .notice-panel {
    max-height: 330px;
  }

  .notice-post--large {
    padding: 18px;
  }

  .about-history {
    gap: 24px;
  }

  .about-history__photo {
    max-width: 420px;
    margin: 0 auto;
  }

  .pdf-card {
    padding: 18px;
  }

  .pdf-card__header {
    min-height: auto;
  }

  .pdf-frame {
    height: 520px;
  }

  .stats-grid article {
    padding: 24px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .stats-grid article:last-child {
    border-bottom: 0;
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band {
    padding: 44px 0;
  }

  .btn {
    width: 100%;
  }

  .footer__grid {
    gap: 20px;
    padding: 38px 0;
  }

  .footer-stats .stats-grid {
    padding: 28px 0;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 10px 13px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .dashboard-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .dashboard-header__actions,
  .admin-post {
    width: 100%;
  }

  .dashboard-header__actions {
    flex-direction: column;
  }

  .admin-post {
    grid-template-columns: 1fr;
  }

  .portal-card--login,
  .dashboard-grid .portal-card {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 18px, 1180px);
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    max-width: 150px;
    font-size: 0.72rem;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero h1,
  h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.05rem;
  }

  .hero__visual,
  .hero__visual img {
    height: 200px;
  }

  .hero__visual img {
    object-position: center 30%;
  }

  .topbar-contact {
    max-width: 100%;
  }

  .course-card__top {
    flex-direction: column;
  }

  .course-card__top p {
    margin-bottom: 0;
  }

  .infra-slider__track {
    min-height: 290px;
  }

  .infra-slide img {
    object-position: center;
  }

  .infra-slide__content {
    padding: 24px 18px 42px;
  }

  .infra-slide__content span {
    margin-bottom: 8px;
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  .infra-slide__content h3 {
    margin-bottom: 6px;
    font-size: 1.25rem;
  }

  .infra-slide__content p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .infra-slider__dots {
    bottom: 14px;
  }

  .pdf-frame {
    height: 460px;
  }

  .stats-grid strong {
    font-size: 2rem;
  }

  .team-grid--compact .person-card__photo,
  .person-card__photo {
    width: 118px;
    height: 118px;
  }

  .affiliation-grid article {
    min-height: auto;
  }

  .affiliation-logo {
    width: 62px;
    height: 62px;
  }

  .portal-shell {
    place-items: start center;
    padding: 18px 9px;
  }

  .portal-card--login,
  .dashboard-grid .portal-card,
  .form,
  .admin-post {
    padding: 18px;
  }

  .admin-post-list {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

@media (max-width: 380px) {
  .brand small {
    max-width: 128px;
  }

  .hero h1,
  h1 {
    font-size: 1.78rem;
  }

  .hero__visual,
  .hero__visual img {
    height: 180px;
  }

  .page-hero--infrastructure {
    min-height: 500px;
  }

  .infrastructure-hero__content {
    min-height: 500px;
    padding: 160px 0 34px;
  }

  .infrastructure-hero__copy h1 {
    font-size: 1.95rem;
  }

  .infrastructure-hero__chips span {
    font-size: 0.82rem;
  }

  .infra-slider__track {
    min-height: 260px;
  }

  .infra-slide__content p {
    display: none;
  }

  .topbar__links {
    font-size: 0.82rem;
  }
}
