:root {
  --navy: #102b46;
  --blue: #1d4d70;
  --gold: #c49a48;
  --paper: #f5f7fa;
  --ink: #263646;
  --muted: #5c6b79;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: white;
  line-height: 1.7;
}

a { color: var(--blue); }

.site-header {
  background: var(--navy);
  color: white;
  padding: 16px 6%;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: .92rem;
}

.nav-links a:hover { color: #f2d18b; }

.hero {
  color: white;
  background:
    linear-gradient(90deg, rgba(10,32,53,.94), rgba(10,32,53,.65)),
    url("sites.google.com/sitesv-images-rt/AMxu72thTUMMT1dMpTmWjgYY3xzJv_ZHAgNUWKhfceTbMV0cOaUmMXB9hcmemYBMJeH5X4Ubur83ILTUAa58unPUJ4y2bg-yTshrH_xB2j8D7UeAXN6KKHKAVZw_1wPuYPBnLlRiPsCkZmKytwM1Ec629Nq9fulu7Lpl4k0OQ");
  background-size: cover;
  background-position: center;
  padding: 76px 6% 68px;
}

.hero-inner { max-width: 1100px; margin: auto; }

.eyebrow {
  color: #f2d18b;
  font-weight: 700;
  letter-spacing: .13em;
  font-size: .82rem;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.12;
  margin: 14px 0;
}

.hero h2 {
  color: #f2d18b;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  line-height: 1.35;
  margin: 0 0 16px;
}

.organizer {
  max-width: 720px;
  font-size: 1rem;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.meta-card {
  min-width: 180px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}

.meta-card strong {
  display: block;
  color: #f2d18b;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

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

.button {
  display: inline-block;
  padding: 11px 19px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary { background: var(--gold); color: #17283a; }
.button-outline { border: 1px solid white; color: white; }

.notice {
  background: #fff6e4;
  border-left: 5px solid var(--gold);
  padding: 16px 20px;
  margin: 28px auto;
  max-width: 1100px;
  border-radius: 4px;
}

.notice strong { color: var(--navy); }

.content {
  max-width: 1100px;
  padding: 20px 24px 64px;
  margin: auto;
}

.section-heading {
  color: var(--navy);
  font-size: 1.8rem;
  margin: 28px 0 12px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, .8fr);
  gap: 32px;
  align-items: start;
}

.info-card {
  background: var(--paper);
  border-top: 4px solid var(--gold);
  border-radius: 7px;
  padding: 22px;
}

.info-card h3 { color: var(--navy); margin-top: 0; }

.site-footer {
  padding: 26px 6%;
  background: var(--navy);
  color: white;
  text-align: center;
  font-size: .9rem;
}

.site-footer a { color: #f2d18b; }

@media (max-width: 720px) {
  .hero { padding: 48px 6%; }
  .intro-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 8px 14px; }
}


.professors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 24px auto 0;
}
.professor-card {
  text-align: center;
  background: var(--paper);
  border-radius: 8px;
  padding: 18px;
  border-bottom: 3px solid var(--gold);
}
.professor-card img {
  width: 100%;
  max-width: 300px;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}
.professor-card h3 { color: var(--navy); margin-bottom: 0; }
@media (max-width: 600px) {
  .professors-grid { grid-template-columns: 1fr; }
}

/* Balance and center the homepage content */
.content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.content > .section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.intro-grid {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.intro-grid > div {
  width: 100%;
  text-align: justify;
}

.info-card {
  display: none;
}

.professors-grid {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .intro-grid > div {
    text-align: left;
  }
}

/* Correct the campus background image path */
.hero {
  background-image:
    linear-gradient(90deg, rgba(10,32,53,.82), rgba(10,32,53,.48)),
    url("../../sitesv-images-rt/AMxu72thTUMMT1dMpTmWjgYY3xzJv_ZHAgNUWKhfceTbMV0cOaUmMXB9hcmemYBMJeH5X4Ubur83ILTUAa58unPUJ4y2bg-yTshrH_xB2j8D7UeAXN6KKHKAVZw_1wPuYPBnLlRiPsCkZmKytwM1Ec629Nq9fulu7Lpl4k0OQ");
  background-size: cover;
  background-position: center;
}

/* Force smaller University logo */
.site-header .brand img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
}

@media (max-width: 600px) {
  .site-header .brand img {
    width: 24px !important;
    height: 24px !important;
  }
}

/* Align logo and department text horizontally */
.site-header .brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  text-align: left;
}

.site-header .brand img {
  display: block;
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
  margin: 0 !important;
  flex: 0 0 28px;
}

.site-header .brand span {
  display: inline-block;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .site-header .brand img {
    width: 24px !important;
    height: 24px !important;
    flex-basis: 24px;
  }
}

/* Preserve original department text position */
.site-header .brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: inherit;
  gap: 8px;
}

.site-header .brand img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
  flex: 0 0 28px;
  margin: 0 !important;
}
