* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: #123766;
  background: #fff;
  line-height: 1.72;
  letter-spacing: 0;
}

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

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

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

:root {
  --ink: #123766;
  --ink-dark: #082a50;
  --cyan: #66cde3;
  --cyan-soft: #e7f8fd;
  --green: #55c878;
  --line: #dce5ec;
  --muted: #516674;
  --paper: #ffffff;
  --wash: #f7fbfd;
  --width: min(1120px, calc(100vw - 32px));
  --narrow: min(760px, calc(100vw - 32px));
}

body.template-campus-availability {
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 229, 236, 0.86);
}

.header-shell {
  width: var(--width);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 900;
}

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

.brand span {
  max-width: min(420px, 42vw);
  overflow: visible;
  overflow-wrap: anywhere;
  white-space: normal;
  text-overflow: clip;
  line-height: 1.18;
}

.desktop-nav,
.header-cta {
  display: none;
}

.mobile-menu {
  margin-left: auto;
  position: relative;
}

.mobile-menu summary {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 0;
  list-style: none;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary i,
.mobile-menu summary i::before,
.mobile-menu summary i::after {
  width: 22px;
  height: 2px;
  display: block;
  background: var(--ink);
}

.mobile-menu summary i {
  position: relative;
}

.mobile-menu summary i::before,
.mobile-menu summary i::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu summary i::before {
  top: -7px;
}

.mobile-menu summary i::after {
  top: 7px;
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(340px, calc(100vw - 24px));
  padding: 20px;
  color: #fff;
  background: var(--ink-dark);
  box-shadow: 0 18px 44px rgba(8, 42, 80, 0.25);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.mobile-menu-head img {
  width: 42px;
  height: 42px;
  background: #fff;
}

.mobile-menu-head strong {
  min-width: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  white-space: normal;
  text-overflow: clip;
  line-height: 1.18;
}

.mobile-menu nav {
  display: grid;
  padding: 12px 0;
}

.mobile-menu nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.mobile-menu nav a[aria-current="page"] {
  color: var(--cyan);
}

.mobile-menu-cta {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cyan);
  color: #fff;
  font-weight: 900;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  color: #9aabb5;
}

.source-label {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-align: center;
  text-transform: uppercase;
}

.source-heading {
  width: var(--narrow);
  margin: 0 auto 34px;
  text-align: center;
}

.source-heading h2,
.page-title h1,
.news-page-head h1,
.detail-heading h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.source-heading h2 {
  font-size: clamp(34px, 7vw, 58px);
}

.source-heading h2::first-letter {
  font-weight: 900;
}

.source-heading p,
.page-title p,
.news-page-head p,
.detail-heading p {
  color: var(--muted);
}

.home-hero {
  position: relative;
  min-height: clamp(540px, 76vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 42, 80, 0.58), rgba(8, 42, 80, 0.34) 50%, rgba(8, 42, 80, 0.58));
}

.home-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  width: var(--width);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 0;
  color: #fff;
  text-align: center;
}

.home-hero-copy p {
  max-width: 280px;
  margin: 0 auto 22px;
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

.home-hero-copy h1 {
  max-width: 900px;
  margin: 0 auto 16px;
  font-size: clamp(44px, 7.4vw, 84px);
  line-height: 1.02;
  font-weight: 900;
}

.home-hero-copy span {
  display: block;
  max-width: 600px;
  margin-inline: auto;
  font-size: 18px;
}

.visitor-intro,
.amenities-home,
.about-ribbon,
.news-preview,
.availability-band,
.page-title,
.news-page-head,
.news-index,
.source-resource-list,
.visit-checklist,
.contact-request,
.event-detail > section,
.event-detail > header,
.event-detail > nav,
.event-detail > div,
.article-aux-links,
.policy-panel,
.sitemap-grid {
  width: var(--width);
  margin-inline: auto;
}

.visitor-intro {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--cyan-soft);
}

.intro-copy {
  max-width: 820px;
}

.intro-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
}

.trip-card {
  width: min(300px, 100%);
  text-align: left;
}

.trip-card h2 {
  margin-bottom: 8px;
  color: var(--green);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 500;
}

.trip-card p {
  color: var(--muted);
}

.trip-card a,
.outline-link,
.amenity-card a,
.availability-actions a,
.footer-actions a,
.footer-news-note {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 2px solid var(--cyan);
  color: var(--ink);
  font-weight: 900;
}

.amenities-home,
.about-ribbon,
.news-preview,
.availability-band,
.source-resource-list,
.visit-checklist,
.contact-request,
.sitemap-grid {
  padding: clamp(46px, 7vw, 86px) 0;
}

.amenity-photo img,
.detail-scene img {
  width: 100%;
  object-fit: cover;
}

.amenity-stage {
  position: relative;
  display: grid;
  gap: 0;
  align-items: start;
}

.amenity-photo img {
  height: clamp(260px, 48vw, 540px);
}

.amenity-menu {
  width: min(330px, calc(100% - 32px));
  margin: -36px 0 0 auto;
  padding: 28px;
  color: #fff;
  background: var(--cyan);
}

.amenity-menu h3 {
  margin-bottom: 18px;
  font-size: 20px;
}

.amenity-menu ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.amenity-menu span {
  color: #fff;
  font-weight: 800;
}

.amenity-card {
  width: min(560px, calc(100% - 32px));
  margin: -22px auto 0 0;
  padding: 30px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(18, 55, 102, 0.12);
}

.amenity-card h3 {
  color: #1f68b5;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 500;
}

.amenity-card p {
  color: var(--muted);
}

.about-ribbon {
  position: relative;
}

.timeline-rail {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--ink);
  text-align: center;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ink);
  border-radius: 99px;
}

.timeline-rail span {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.timeline-copy {
  display: grid;
  gap: 30px;
  width: var(--narrow);
  margin-inline: auto;
}

.timeline-copy article {
  padding: 26px 0;
}

.timeline-copy h3 {
  margin-bottom: 14px;
  color: #1f68b5;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 500;
}

.timeline-copy p {
  color: var(--muted);
}

.standalone .timeline-copy {
  width: min(920px, 100%);
}

.news-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.news-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.news-thumb img {
  width: 96px;
  height: 68px;
  object-fit: cover;
}

.news-row time {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.news-row h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(18px, 3.7vw, 26px);
  line-height: 1.18;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.news-row p {
  margin: 0;
  color: var(--muted);
}

.center {
  margin-inline: auto;
}

.availability-band {
  display: grid;
  gap: 34px;
}

.availability-copy {
  width: var(--narrow);
  margin-inline: auto;
  text-align: center;
}

.availability-copy h2 {
  color: var(--ink);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.15;
  font-weight: 500;
}

.availability-copy p {
  color: var(--muted);
}

.availability-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.page-title,
.news-page-head,
.detail-heading {
  padding: clamp(40px, 6vw, 76px) 0 clamp(28px, 5vw, 54px);
}

.page-title,
.news-page-head {
  text-align: center;
}

.page-title .breadcrumbs,
.news-page-head .breadcrumbs {
  justify-content: center;
}

.services-amenities {
  padding-top: clamp(34px, 5vw, 64px);
}

.visitor-intro + .amenities-home {
  padding-top: clamp(32px, 5vw, 64px);
}

.page-title h1,
.news-page-head h1 {
  max-width: 940px;
  margin-inline: auto;
  font-size: clamp(40px, 8vw, 74px);
}

.page-title > p:not(.source-label),
.news-page-head > p:not(.source-label) {
  max-width: 760px;
  margin-inline: auto;
  font-size: 18px;
}

.resource-descriptors {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 34px;
  color: var(--muted);
  font-weight: 900;
}

.resource-descriptors span {
  border-bottom: 3px solid var(--line);
  padding-bottom: 4px;
}

.source-resource-list {
  display: grid;
  gap: 0;
}

.resource-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.resource-row:last-child {
  border-bottom: 1px solid var(--line);
}

.resource-row > span {
  color: var(--cyan);
  font-size: 32px;
  font-weight: 900;
}

.resource-row h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(25px, 5vw, 42px);
  line-height: 1.16;
  font-weight: 500;
}

.resource-row p {
  color: var(--muted);
}

.visit-checklist ol {
  width: var(--narrow);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.visit-checklist li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.visit-checklist li span {
  color: var(--cyan);
}

.detail-scene {
  width: min(1180px, calc(100vw - 32px));
  padding: 36px 0 0;
}

.detail-scene img {
  height: clamp(320px, 56vw, 620px);
}

.detail-heading {
  width: var(--narrow);
  text-align: center;
}

.detail-heading .breadcrumbs {
  justify-content: center;
  margin-bottom: 28px;
}

.detail-heading h1 {
  font-size: clamp(34px, 6.5vw, 64px);
  line-height: 1.1;
}

.detail-jump {
  width: var(--narrow);
  margin-bottom: 52px;
  padding: 26px;
  background: var(--cyan-soft);
}

.detail-jump h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 26px;
}

.detail-jump ol {
  margin: 0;
  padding-left: 20px;
}

.detail-jump li + li {
  margin-top: 10px;
}

.detail-jump a {
  color: var(--ink);
  font-weight: 900;
  border-bottom: 2px solid var(--cyan);
}

.detail-body {
  width: var(--narrow);
  padding-bottom: 70px;
}

.detail-body section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.detail-body h2 {
  color: var(--ink);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 500;
}

.detail-body p {
  color: var(--muted);
}

.article-aux-links {
  display: grid;
  gap: 20px;
  padding-bottom: 80px;
}

.article-aux-block {
  padding: 22px;
  border: 1px solid var(--line);
}

.article-aux-block h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.article-aux-block div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-aux-block a {
  border-bottom: 2px solid var(--cyan);
  font-weight: 900;
}

.contact-request {
  display: grid;
  gap: 42px;
  align-items: start;
}

.contact-person h2 {
  color: var(--green);
  font-size: clamp(28px, 6vw, 54px);
  line-height: 1.1;
  font-weight: 500;
}

.contact-person p,
.contact-person address {
  color: var(--muted);
}

.contact-person address {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  font-style: normal;
  font-weight: 900;
}

.contact-form-shell {
  display: grid;
  gap: 16px;
  padding: 30px 0 30px 34px;
  border-left: 4px solid var(--ink);
}

.contact-form-shell .source-label {
  margin-bottom: 8px;
}

.contact-form-shell h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.12;
  font-weight: 500;
}

.contact-form-shell p {
  max-width: 640px;
  color: var(--muted);
}

.contact-form-shell ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-form-shell li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 17px 0;
  border-top: 2px solid var(--cyan);
  color: var(--muted);
  font-weight: 900;
}

.contact-form-shell li:last-child {
  border-bottom: 2px solid var(--cyan);
}

.contact-form-shell li span {
  color: var(--muted);
}

.contact-form-shell a {
  justify-self: start;
  min-height: 42px;
  padding: 0 28px;
  border: 2px solid var(--cyan);
  font-weight: 900;
}

.policy-panel {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 26px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.policy-panel > span {
  color: var(--cyan);
  font-size: 30px;
  font-weight: 900;
}

.policy-panel h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 500;
}

.policy-panel p {
  color: var(--muted);
}

.sitemap-grid {
  display: grid;
  gap: 34px;
}

.sitemap-grid h2 {
  font-size: 30px;
  font-weight: 500;
}

.sitemap-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.sitemap-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.sitemap-list small {
  color: var(--muted);
}

.site-footer {
  color: #fff;
  background: var(--ink);
}

.footer-main {
  width: var(--width);
  margin-inline: auto;
  display: grid;
  gap: 34px;
  padding: 54px 0;
}

.footer-main h2,
.footer-main strong {
  display: block;
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 500;
}

.footer-main p,
.footer-main a {
  color: #fff;
}

.footer-contact,
.footer-routes,
.footer-note {
  display: grid;
  align-content: start;
}

.footer-routes nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.footer-routes nav a {
  font-weight: 900;
}

.footer-actions {
  display: grid;
  gap: 12px;
}

.footer-actions a,
.footer-news-note {
  border-color: var(--cyan);
  color: #fff;
}

.footer-note p {
  color: rgba(255, 255, 255, 0.78);
}

.footer-legal {
  min-height: 78px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--ink);
  background: var(--cyan);
  text-align: center;
}

.footer-legal a,
.footer-legal span {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 760px) {
  :root {
    --width: min(100vw - 30px, 430px);
    --narrow: min(100vw - 30px, 430px);
  }

  .header-shell {
    min-height: 64px;
  }

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

  .brand span {
    max-width: 196px;
  }

  .home-hero {
    min-height: 590px;
  }

  .home-hero-copy {
    padding-block: 52px;
  }

  .home-hero-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .home-hero-copy p {
    font-size: 30px;
  }

  .amenity-menu {
    width: 100%;
    margin: 0;
  }

  .amenity-card {
    width: 100%;
    margin: 0;
    box-shadow: none;
    border: 1px solid var(--line);
  }

  .news-row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
  }

  .news-row p {
    display: none;
  }

  .resource-row,
  .policy-panel {
    grid-template-columns: 1fr;
  }

  .detail-heading {
    text-align: left;
  }

  .detail-heading .breadcrumbs {
    justify-content: flex-start;
  }
}

@media (min-width: 761px) {
  .desktop-nav {
    margin-left: auto;
    display: flex;
    gap: 28px;
    align-items: center;
  }

  .desktop-nav a {
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .desktop-nav a[aria-current="page"] {
    color: var(--green);
  }

  .header-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 22px;
    border: 2px solid var(--cyan);
    color: var(--ink);
    font-weight: 900;
  }

  .mobile-menu {
    display: none;
  }

  .visitor-intro {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    align-items: center;
  }

  .amenity-stage {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .amenity-photo {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .amenity-menu {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0 0 0 -46px;
  }

  .amenity-card {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    margin: 0 0 -46px 90px;
  }

  .contact-request {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  }

  .footer-main {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.8fr);
  }

  .footer-routes,
  .footer-note {
    padding-left: 34px;
    border-left: 1px solid rgba(255, 255, 255, 0.65);
  }

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