:root {
  --sdu-red: #a71930;
  --sdu-red-dark: #761120;
  --sdu-red-deep: #4f0c17;
  --gold: #d8b15f;
  --ink: #16181d;
  --text: #333844;
  --muted-text: #69707d;
  --line: #e6ddd4;
  --paper: #fffaf3;
  --surface: #ffffff;
  --soft-green: #667d75;
  --shadow: 0 18px 45px rgba(33, 24, 20, 0.12);
  --max-width: 1120px;
  --header-height: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    "Noto Serif SC",
    "Songti SC",
    "SimSun",
    "Source Han Serif SC",
    serif;
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

p {
  margin: 0;
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

h2 {
  font-size: 34px;
  line-height: 1.25;
}

h3 {
  font-size: 20px;
  line-height: 1.35;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--sdu-red);
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  color: #fff;
  background: rgba(118, 17, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 36px, 1280px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 220px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 168px;
  height: auto;
}

.brand span {
  padding-left: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  font-family:
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 13px;
}

.site-nav a {
  padding: 20px 8px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--gold);
  outline: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 34px;
  padding: 7px 12px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.language-switch:hover,
.language-switch:focus-visible {
  color: var(--sdu-red-deep);
  background: #f4dfb0;
  border-color: #f4dfb0;
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: transparent;
}

.nav-toggle span[aria-hidden="true"] {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 520px;
  height: calc(100svh - var(--header-height));
  max-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--sdu-red-dark);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 70%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(55, 8, 18, 0.86) 0%, rgba(93, 13, 27, 0.72) 42%, rgba(93, 13, 27, 0.22) 100%),
    linear-gradient(180deg, rgba(21, 12, 10, 0.18) 0%, rgba(21, 12, 10, 0.38) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 48px 0;
}

.eyebrow,
.section-kicker {
  font-family:
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 14px;
  color: #f4dfb0;
}

.hero h1 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
}

.hero-title {
  max-width: 760px;
  margin-top: 16px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-subtitle {
  max-width: 720px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-facts div {
  padding: 14px 22px 14px 0;
}

.hero-facts div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts span {
  display: block;
  margin-bottom: 6px;
  color: #f4dfb0;
  font-family:
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 13px;
}

.hero-facts strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family:
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: var(--sdu-red-deep);
  background: #f4dfb0;
  border-color: #f4dfb0;
}

.button.primary.dark {
  color: #fff;
  background: var(--sdu-red);
  border-color: var(--sdu-red);
}

.section {
  padding: 58px 0;
}

.muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.64)),
    var(--paper);
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--sdu-red);
}

.lead {
  margin-top: 16px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}

.lead + p,
.summary-section p + p,
.cfp-layout p + p {
  margin-top: 10px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: center;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 16px;
}

.section-heading p {
  max-width: 460px;
  color: var(--muted-text);
}

.section-heading p.nowrap-desktop {
  max-width: none;
  white-space: nowrap;
}

.day-block,
.venue-card,
.org-block,
.placeholder-card,
.info-panel,
.map-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-block {
  margin-top: 24px;
  padding: 18px;
}

.map-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.map-copy p {
  margin-top: 8px;
  color: var(--muted-text);
}

.map-embed {
  height: 430px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5eee6;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--sdu-red);
  font-weight: 700;
  text-decoration: none;
}

.notice-link {
  color: var(--sdu-red);
  font-weight: 700;
  text-decoration: none;
}

.notice-link:hover {
  text-decoration: underline;
}

.schedule-layout {
  display: grid;
  gap: 16px;
}

.day-block {
  overflow: hidden;
}

.day-title {
  padding: 18px 22px;
  color: #fff;
  background: var(--sdu-red-dark);
}

.day-title span {
  display: block;
  margin-bottom: 6px;
  color: #f4dfb0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.day-title h3 {
  color: #fff;
}

.program-table {
  padding: 0;
}

.program-row {
  display: grid;
  grid-template-columns: 140px minmax(160px, 0.45fr) 1fr;
  min-height: 52px;
  border-top: 1px solid var(--line);
}

.program-row:first-child {
  border-top: 0;
}

.program-row.head {
  color: #fff;
  background: var(--sdu-red-dark);
  border-top: 0;
  font-weight: 700;
}

.program-row span,
.program-row time {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-left: 1px solid var(--line);
  color: var(--ink);
}

.program-row span:first-child,
.program-row time:first-child {
  border-left: 0;
}

.program-row time {
  color: var(--sdu-red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.program-row.head span,
.program-row.head time {
  color: #fff;
  border-left-color: rgba(255, 255, 255, 0.16);
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: stretch;
}

.registration-layout .button {
  margin-top: 20px;
}

.fee-table {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.fee-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 52px;
  border-top: 1px solid var(--line);
}

.fee-row.two {
  grid-template-columns: 1fr 1fr;
}

.fee-row:first-child {
  border-top: 0;
}

.fee-row.head {
  color: #fff;
  background: var(--sdu-red-dark);
  border-top: 0;
}

.fee-row span {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-left: 1px solid var(--line);
}

.fee-row.head span {
  border-left-color: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.fee-row span:first-child {
  border-left: 0;
}

.cfp-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.placeholder-card {
  padding: 20px;
}

.placeholder-card p {
  margin: 10px 0 16px;
  color: var(--muted-text);
}

.button.disabled {
  cursor: default;
  opacity: 0.72;
}

.info-panel {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 8px 22px;
}

.info-panel div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.info-panel div:last-child {
  border-bottom: 0;
}

.info-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--sdu-red);
  font-size: 13px;
  font-weight: 700;
}

.info-panel strong {
  color: var(--ink);
  line-height: 1.5;
}

.hotel-layout {
  display: grid;
  gap: 18px;
}

.hotel-content {
  display: grid;
  grid-template-columns: minmax(320px, 0.55fr) 1fr;
  gap: 20px;
  align-items: start;
}

.venue-card {
  overflow: hidden;
}

.venue-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.venue-card h3 {
  padding: 20px 20px 0;
}

.venue-card p {
  padding: 10px 20px 20px;
  color: var(--muted-text);
}

.venue-card .hotel-desc {
  padding: 4px 20px 16px;
  line-height: 1.75;
  border-bottom: 1px solid var(--line);
}

.venue-card p + p {
  padding-top: 0;
}

.venue-card a {
  color: var(--sdu-red);
  font-weight: 700;
  text-decoration: none;
}

.hotel-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hotel-booking {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hotel-booking-head {
  background: var(--sdu-red-dark);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 14px 18px;
}

.hotel-booking img {
  display: block;
  width: 220px;
  height: 220px;
  margin: 18px auto;
}

.reg-qr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.reg-qr-row .hotel-booking img {
  width: 150px;
  height: 150px;
  margin: 14px auto;
}

@media (max-width: 480px) {
  .reg-qr-row {
    grid-template-columns: 1fr;
  }
}

.qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  margin: 16px auto;
  color: var(--muted-text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reg-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.tba {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  color: var(--muted-text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.program-row time .tba {
  color: var(--muted-text);
}

.organization-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 34px;
  align-items: start;
}

.org-columns {
  display: grid;
  gap: 10px;
}

.org-block {
  padding: 18px;
}

.org-block p,
.org-block ul {
  margin-top: 10px;
  color: var(--muted-text);
}

.org-block ul {
  display: grid;
  gap: 6px;
  padding-left: 20px;
}

.contact-section {
  padding: 58px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(79, 12, 23, 0.92), rgba(118, 17, 32, 0.88)),
    url("assets/sdu-campus-6.jpg") center / cover;
}

.contact-section h2,
.contact-section .section-kicker {
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.5fr);
  gap: 34px;
  align-items: center;
}

.contact-inner p {
  max-width: 720px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
}

address {
  display: grid;
  gap: 10px;
  padding: 18px;
  font-style: normal;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

address a {
  color: #f4dfb0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #1f1115;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  font-family:
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 14px;
}

@media (max-width: 1060px) {
  .brand {
    min-width: 216px;
  }

  .brand img {
    width: 170px;
  }

  .site-nav {
    font-size: 13px;
  }

  .site-nav a {
    padding-inline: 6px;
  }

  .language-switch {
    min-width: 66px;
    padding-inline: 10px;
  }

  .two-column,
  .registration-layout,
  .cfp-layout,
  .organization-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 840px) {
  :root {
    --header-height: 66px;
  }

  h2 {
    font-size: 29px;
  }

  .container,
  .hero-inner {
    width: min(100% - 32px, var(--max-width));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 10px 16px 18px;
    background: rgba(79, 12, 23, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .hero-inner {
    padding: 76px 0 58px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-title {
    font-size: 27px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-facts,
  .hotel-content {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    padding: 16px 0;
  }

  .hero-facts div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section,
  .contact-section {
    padding: 66px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 14px;
  }

  .section-heading p.nowrap-desktop {
    white-space: normal;
  }

  .map-copy {
    display: block;
  }

  .map-embed {
    height: 360px;
  }

  .program-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .program-row span,
  .program-row time {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 10px 18px;
  }

  .program-row span:first-child,
  .program-row time:first-child {
    border-top: 0;
  }

  .program-row.head span,
  .program-row.head time {
    border-top-color: rgba(255, 255, 255, 0.16);
  }

  .fee-row {
    grid-template-columns: 1fr;
  }

  .fee-row span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .fee-row span:first-child {
    border-top: 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }
}

@media (max-width: 520px) {
  .header-inner {
    width: min(100% - 24px, 1280px);
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand img {
    width: 142px;
  }

  .brand span {
    padding-left: 10px;
    font-size: 13px;
  }

  .language-switch {
    min-width: 54px;
    min-height: 32px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-title {
    font-size: 23px;
  }

  .button {
    width: 100%;
  }

  .lead {
    font-size: 17px;
  }

  .map-embed {
    height: 300px;
  }

}
