:root {
  --ink: #072f57;
  --ink-soft: #31506c;
  --hkust-blue: #003f72;
  --hkust-gold: #b68a16;
  --line: #d9e1e8;
  --panel: #f5f8fb;
  --white: #ffffff;
  --accent: #1c7c8c;
  --shadow: 0 18px 42px rgba(7, 47, 87, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.58;
}

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

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

.masthead {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 28px 16px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.mark {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 290px;
}

.crest {
  width: 46px;
  height: 58px;
  border: 3px solid var(--hkust-blue);
  border-top-color: var(--hkust-gold);
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--hkust-blue);
}

.university {
  font-size: 15px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--hkust-blue);
  font-weight: 650;
}

.divider {
  width: 1px;
  align-self: stretch;
  background: var(--hkust-blue);
  opacity: 0.5;
}

.workshop-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 700;
  max-width: 560px;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 18px;
  display: flex;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: wrap;
}

.nav a {
  padding: 11px 14px;
  color: #52606b;
  font-weight: 650;
  font-size: 14px;
  border-bottom: 3px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--hkust-blue);
  border-bottom-color: var(--hkust-gold);
}

.home-page {
  overflow-x: hidden;
  background: #ffffff;
}

.home-header {
  position: absolute;
  inset: 0 0 auto 0;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.18) 60%, rgba(255, 255, 255, 0));
  box-shadow: 0 26px 48px rgba(255, 255, 255, 0.22);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 34px 18px;
}

.home-brand {
  flex: 0 0 250px;
  display: flex;
  align-items: center;
}

.home-brand img {
  display: block;
  width: 250px;
  height: auto;
}

.nav-toggle-checkbox {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #000000;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  padding: 10px 18px;
  text-shadow: none;
  cursor: pointer;
  user-select: none;
}

.nav-toggle::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 12px;
  margin-right: 9px;
  background:
    linear-gradient(#000, #000) 0 0 / 100% 2px no-repeat,
    linear-gradient(#000, #000) 0 5px / 100% 2px no-repeat,
    linear-gradient(#000, #000) 0 10px / 100% 2px no-repeat;
  vertical-align: -1px;
}

.home-nav {
  flex: 1;
  max-width: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.home-nav a {
  color: #ffffff;
  border-bottom: 0;
  font-size: 22px;
  line-height: 1.15;
  padding: 0 0 10px;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.home-nav a:hover,
.home-nav a.active {
  color: #000000;
  border-bottom: 0;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.45);
}

.hero {
  min-height: 430px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(0, 63, 114, 0.94), rgba(0, 63, 114, 0.74) 48%, rgba(0, 63, 114, 0.2)),
    url("hero-digital-twin.svg") center right / cover no-repeat;
}

.home-hero {
  position: relative;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  background: #061f39;
}

.subpage-hero {
  background:
    linear-gradient(180deg, rgba(8, 24, 36, 0.05), rgba(8, 24, 36, 0.12)),
    url("hkust-campus.svg") center center / cover no-repeat;
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 45, 80, 0.1);
}

.home-content {
  width: 100%;
  background: #ffffff;
  padding: 54px 28px 76px;
}

.welcome-panel {
  max-width: 980px;
  margin: 0 auto;
  color: #00539b;
  font-family: Georgia, "Times New Roman", serif;
}

.welcome-panel h2 {
  display: inline-block;
  margin: 0 0 28px;
  padding-bottom: 8px;
  color: #1d5f95;
  border-bottom: 4px solid #0d6eb8;
  font-size: 32px;
  line-height: 1.1;
}

.welcome-panel p {
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.18;
  text-align: justify;
}

.welcome-panel p:last-child {
  margin-bottom: 0;
}

.partners-panel {
  max-width: 980px;
  margin: 58px auto 0;
  font-family: Georgia, "Times New Roman", serif;
}

.partners-panel h2 {
  margin: 0 0 26px;
  color: #1d5f95;
  font-size: 30px;
  line-height: 1.1;
}

.partners-panel h2:not(:first-child) {
  margin-top: 58px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 120px;
  row-gap: 38px;
  align-items: center;
}

.logo-card {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 120px;
}

.logo-card img {
  display: block;
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.logo-wide img {
  width: min(100%, 360px);
}

.logo-mark img {
  width: min(100%, 360px);
  max-height: 110px;
}

.compact-logo img {
  width: min(100%, 360px);
  max-height: 90px;
}

.supported-grid-three {
  grid-template-columns: 1.7fr 1.2fr 1fr;
  column-gap: 42px;
  row-gap: 0;
  align-items: center;
}

.supported-grid-three .ismge-card {
  grid-column: 1;
  grid-row: 1;
  min-height: 82px;
}

.supported-grid-three .hkie-card {
  grid-column: 2;
  grid-row: 1;
  min-height: 82px;
}

.supported-grid-three .asce-card {
  grid-column: 3;
  grid-row: 1;
  justify-content: flex-start;
}

.supported-grid-three .ismge-card img {
  width: min(100%, 590px);
  max-height: 136px;
}

.supported-grid-three .hkie-card img {
  width: min(100%, 470px);
  max-height: 128px;
}

.supported-grid-three .asce-card img {
  width: min(100%, 250px);
  max-height: 92px;
}

.contact-panel {
  max-width: 980px;
  margin: 64px auto 0;
  padding-top: 34px;
  border-top: 2px solid rgba(13, 110, 184, 0.22);
  color: #0050a4;
  font-family: Georgia, "Times New Roman", serif;
}

.contact-panel h2 {
  margin: 0 0 24px;
  color: #1d5f95;
  font-size: 30px;
  line-height: 1.1;
}

.contact-list {
  display: grid;
  gap: 12px;
  max-width: 540px;
}

.contact-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: baseline;
  color: #111111;
  font-size: 23px;
  line-height: 1.25;
}

.contact-row strong {
  font-weight: 800;
}

.contact-row a {
  color: #111111;
}

.registration-main {
  background: #ffffff;
  padding: 58px 28px 78px;
}

.registration-panel {
  max-width: 980px;
  margin: 0 auto;
  color: #0050a4;
  font-family: Georgia, "Times New Roman", serif;
}

.registration-panel h1 {
  margin: 0 0 30px;
  color: #0050a4;
  font-size: 38px;
  line-height: 1.12;
}

.registration-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 30px;
  color: #0050a4;
  font-size: 24px;
  line-height: 1.15;
  border-top: 3px solid #0068d8;
  border-bottom: 3px solid #0068d8;
}

.registration-table th,
.registration-table td {
  padding: 9px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 2px solid #0068d8;
}

.registration-table th + th,
.registration-table td + td {
  border-left: 2px solid #0068d8;
}

.registration-table tbody tr:last-child td {
  border-bottom: 0;
}

.registration-table th {
  font-weight: 700;
}

.registration-fees-simple {
  margin-top: 14px;
  margin-bottom: 34px;
  border-collapse: separate;
  border-spacing: 0 12px;
  color: #111111;
}

.registration-fees-simple td {
  padding: 0 12px;
  border: 0;
  font-size: 24px;
  line-height: 1.4;
}

.registration-fees-simple td:first-child {
  width: 58%;
}

.registration-fees-simple td:last-child {
  width: 42%;
}

.registration-notes {
  margin: 0;
  padding-left: 24px;
  color: #0050a4;
  font-size: 24px;
  line-height: 1.33;
}

.registration-notes li {
  margin: 4px 0;
}

.registration-action {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 56px;
}

.registration-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 58px;
  padding: 12px 32px;
  border-radius: 999px;
  background: #0965b4;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 80, 164, 0.18);
}

.registration-button:hover {
  background: #004f96;
}

.important-dates-panel {
  margin-top: 70px;
}

.important-dates-panel h1 {
  margin-bottom: 24px;
}

.important-dates-table {
  width: 100%;
  border-collapse: collapse;
  color: #111111;
  font-size: 24px;
  line-height: 1.25;
  border: 1px solid #d8dfe5;
}

.important-dates-table th,
.important-dates-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #d8dfe5;
}

.important-dates-table th,
.important-dates-table td:first-child,
.important-dates-table td:last-child {
  font-weight: 800;
}

.content-main {
  background: #ffffff;
  padding: 78px 28px 92px;
}

.content-panel {
  max-width: 980px;
  margin: 0 auto;
  color: #0050a4;
  font-family: Georgia, "Times New Roman", serif;
}

.content-panel h1 {
  margin: 0 0 38px;
  color: #0050a4;
  font-size: 38px;
  line-height: 1.15;
}

.section-icon {
  display: inline-block;
  margin-right: 18px;
  color: #005cae;
  font-family: "Aptos", "Segoe UI", sans-serif;
  font-size: 34px;
  vertical-align: 2px;
}

.committee-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 46px;
  color: #0050a4;
  font-size: 25px;
  line-height: 1.25;
}

.updating {
  margin: 34px 0 0;
  color: #0050a4;
  font-size: 25px;
}

.speaker-table {
  width: 100%;
  border-collapse: collapse;
  color: #0050a4;
  font-size: 23px;
  line-height: 1.25;
  border: 1px solid #cdd9e4;
  box-shadow: 0 8px 26px rgba(7, 47, 87, 0.08);
  table-layout: fixed;
}

.speaker-table th {
  background: #132f42;
  color: #ffffff;
  font-weight: 700;
}

.speaker-table th,
.speaker-table td {
  padding: 16px 20px;
  border: 1px solid #cdd9e4;
  text-align: left;
  vertical-align: middle;
}

.speaker-panel {
  max-width: 1280px;
}

.speaker-table th:first-child,
.speaker-table td:first-child {
  width: 31%;
  white-space: nowrap;
}

.speaker-table th:last-child,
.speaker-table td:last-child {
  width: 69%;
}

.speaker-bio-panel {
  max-width: 1160px;
}

.speaker-list {
  display: grid;
  gap: 26px;
}

.speaker-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  column-gap: 30px;
  row-gap: 8px;
  padding: 24px 28px;
  border: 1px solid #d7e4ef;
  border-left: 6px solid #0050a4;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(7, 47, 87, 0.06);
}

.speaker-photo {
  grid-row: 1 / span 4;
  margin: 0;
  align-self: start;
}

.speaker-photo img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
  border-bottom: 4px solid #0d6eb8;
  object-fit: contain;
}

.speaker-card h2 {
  margin: 8px 0 8px;
  color: #0050a4;
  font-size: 30px;
  line-height: 1.16;
}

.speaker-talk {
  margin: 0;
  color: #132f42;
  font-size: 22px;
  line-height: 1.28;
  font-weight: 800;
}

.speaker-meta {
  margin: 0 0 16px;
  color: #315f82;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.speaker-card p:not(.speaker-talk):not(.speaker-meta) {
  margin: 0;
  color: #111111;
  font-size: 18px;
  line-height: 1.55;
  text-align: justify;
}

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

.session-list p {
  margin: 0;
  color: #0050a4;
  font-size: 21px;
  line-height: 1.25;
}

.programme-main,
.committee-main {
  display: grid;
  gap: 56px;
}

.programme-panel,
.committee-panel {
  width: 100%;
  max-width: 1280px;
  overflow-x: auto;
}

.programme-panel h2 {
  margin: 0 0 26px;
  color: #0050a4;
  font-size: 26px;
  line-height: 1.2;
}

.programme-table {
  width: auto;
  min-width: 900px;
  border-collapse: collapse;
  color: #111111;
  font-size: 25px;
  line-height: 1.32;
}

.programme-table td {
  padding: 8px 46px 8px 10px;
  vertical-align: top;
  white-space: nowrap;
}

.programme-table td:first-child {
  width: 285px;
  white-space: nowrap;
}

.programme-schedule {
  display: grid;
  gap: 42px;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
}

.programme-day {
  display: grid;
  gap: 24px;
}

.programme-day h3 {
  margin: 0;
  padding: 12px 18px;
  color: #ffffff;
  background: #0f4f8a;
  font-size: 24px;
  line-height: 1.2;
}

.schedule-block {
  border: 1px solid #d8e4ef;
  background: #ffffff;
}

.schedule-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  color: #0050a4;
  background: #eef6fc;
  border-bottom: 1px solid #d8e4ef;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.schedule-heading span {
  color: #315f82;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.schedule-chair {
  margin: 0;
  padding: 10px 16px;
  color: #315f82;
  border-bottom: 1px solid #e5eef6;
  font-size: 18px;
  line-height: 1.3;
}

.schedule-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 16px;
  border-bottom: 1px solid #edf2f6;
  font-size: 19px;
  line-height: 1.35;
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-row time {
  color: #0050a4;
  font-weight: 800;
  white-space: nowrap;
}

.schedule-row strong {
  color: #111111;
  font-weight: 800;
}

.break-row,
.session-row,
.site-visit-row {
  background: #f7fbff;
}

.break-row div,
.session-row div,
.site-visit-row div {
  color: #0050a4;
  font-weight: 800;
}

.committee-panel h1 {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 800;
}

.committee-table {
  width: auto;
  min-width: 1180px;
  border-collapse: separate;
  border-spacing: 0 13px;
  color: #111111;
  font-size: 17px;
  line-height: 1.15;
}

.committee-table td {
  padding: 0 8px;
  vertical-align: top;
}

.committee-table td:first-child {
  width: 265px;
  min-width: 265px;
  white-space: nowrap;
}

.committee-table td:last-child {
  width: auto;
  white-space: nowrap;
}

.venue-panel p,
.accommodation-panel p {
  margin: 0 0 22px;
  color: #0050a4;
  font-size: 23px;
  line-height: 1.25;
}

.venue-panel a,
.accommodation-panel a {
  color: #004f96;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hotel-block {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 2px solid #0d6eb8;
}

.hotel-block h2 {
  margin: 0 0 14px;
  color: #0050a4;
  font-size: 30px;
}

.map-embed {
  width: 100%;
  margin-top: 32px;
  border: 1px solid #cdd9e4;
  box-shadow: 0 10px 28px rgba(7, 47, 87, 0.12);
  overflow: hidden;
}

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

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.74) saturate(1.08) contrast(0.94);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  backdrop-filter: none;
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 76px 28px 58px;
  color: var(--white);
}

.home-hero-inner {
  position: absolute;
  left: 50%;
  top: 37%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100vw;
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hero h1 {
  width: 100%;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: #ffffff;
  font-size: clamp(44px, 4.2vw, 72px);
  line-height: 1.16;
  font-weight: 700;
  text-align: center !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.48);
}

.home-hero h1 span {
  display: block;
  width: 100%;
  text-align: center !important;
  white-space: nowrap;
}

.hero-date {
  width: auto;
  margin: 22px 0 0;
  padding: 0;
  color: #ffffff;
  background: transparent;
  backdrop-filter: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  margin: 0 0 16px;
  color: #f3d47b;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
  color: var(--ink);
}

.hero h1 {
  margin: 0;
  color: var(--white);
  max-width: 760px;
  font-size: clamp(36px, 6vw, 66px);
  font-weight: 700;
}

.hero .lead {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 19px;
  color: #e7f1f8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  font-weight: 750;
  background: var(--white);
  color: var(--hkust-blue);
}

.button.secondary {
  background: transparent;
  color: var(--white);
}

.main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 28px 72px;
}

.page-title {
  margin-bottom: 30px;
  border-left: 5px solid var(--hkust-gold);
  padding-left: 18px;
}

.page-title h1 {
  margin: 0 0 8px;
  font-size: 42px;
}

.page-title p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 760px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.card,
.notice,
.person,
.schedule-row {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(7, 47, 87, 0.06);
}

.card {
  padding: 24px;
}

.card h2,
.card h3,
.notice h2 {
  margin-top: 0;
}

.card p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

.notice {
  padding: 28px;
  background: var(--panel);
}

.fact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.fact-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
}

.fact-list strong {
  color: var(--hkust-blue);
}

.person {
  padding: 20px;
}

.person .role {
  color: var(--accent);
  font-weight: 750;
  margin: 0 0 8px;
}

.person h3 {
  margin: 0;
}

.person p {
  color: var(--ink-soft);
}

.schedule {
  display: grid;
  gap: 14px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 18px 20px;
}

.time {
  color: var(--hkust-blue);
  font-weight: 800;
}

.venue-band {
  min-height: 270px;
  margin: 28px 0;
  display: grid;
  align-items: end;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 63, 114, 0.1), rgba(0, 63, 114, 0.88)),
    url("hero-digital-twin.svg") center / cover no-repeat;
}

.venue-band h2 {
  color: var(--white);
  margin: 0;
  max-width: 640px;
}

.site-footer {
  background: var(--hkust-blue);
  color: var(--white);
  padding: 34px 28px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 850px) {
  .masthead {
    align-items: flex-start;
    flex-direction: column;
  }

  .divider {
    display: none;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 520px;
  }

  .home-hero {
    min-height: 100vh;
  }

  .home-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .home-brand {
    flex-basis: auto;
    min-width: 0;
  }

  .home-brand img {
    width: min(230px, 66vw);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-self: end;
  }

  .home-header .home-nav {
    grid-column: 1 / -1;
    display: none !important;
    width: 100%;
    margin-top: 8px;
    padding: 10px 0 4px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
  }

  .home-header.nav-open .home-nav,
  .nav-toggle-checkbox:checked ~ .home-nav {
    display: flex !important;
  }

  .home-nav a {
    width: 100%;
    max-width: none;
    padding: 12px 18px;
    color: #073a61;
    font-size: 17px;
    text-align: left;
    text-shadow: none;
    white-space: normal;
  }

  .home-nav a:hover,
  .home-nav a.active {
    color: #000000;
    background: rgba(0, 80, 150, 0.08);
    text-shadow: none;
  }

  .home-hero-inner {
    padding: 0 20px;
  }

  .home-hero h1 {
    font-size: 30px;
    padding: 0 24px;
  }

  .home-hero h1 span {
    white-space: normal;
  }

  .hero-date {
    font-size: 18px;
  }

  .welcome-panel p {
    font-size: 20px;
    line-height: 1.28;
  }

  .logo-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .logo-card {
    min-height: 90px;
  }

  .supported-grid-three .ismge-card,
  .supported-grid-three .hkie-card,
  .supported-grid-three .asce-card {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
  }

  .supported-grid-three .ismge-card img,
  .supported-grid-three .hkie-card img,
  .supported-grid-three .asce-card img {
    width: min(100%, 360px);
    max-height: 100px;
  }

  .grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .fact-list li,
  .schedule-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 851px) {
  .nav-toggle,
  .nav-toggle-checkbox {
    display: none !important;
  }
}

@media (max-width: 540px) {
  .masthead,
  .nav,
  .hero-inner,
  .main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mark {
    min-width: 0;
  }

  .page-title h1 {
    font-size: 34px;
  }

  .home-nav {
    gap: 0;
  }

  .home-nav a {
    font-size: 16px;
  }

  .home-hero h1 {
    font-size: 28px;
    padding: 0 18px;
    line-height: 1.12;
  }

  .hero-date {
    font-size: 17px;
  }

  .home-content {
    padding: 42px 18px 58px;
  }

  .welcome-panel h2 {
    font-size: 28px;
  }

  .welcome-panel p {
    font-size: 18px;
    text-align: left;
  }

  .partners-panel h2 {
    font-size: 28px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 20px;
  }

  .important-dates-table {
    font-size: 18px;
  }

  .important-dates-table th,
  .important-dates-table td {
    padding: 12px 10px;
  }

  .speaker-table {
    font-size: 18px;
  }

  .speaker-table th:first-child,
  .speaker-table td:first-child {
    width: 38%;
    white-space: normal;
  }

  .speaker-table th:last-child,
  .speaker-table td:last-child {
    width: 62%;
  }

  .speaker-list {
    gap: 18px;
  }

  .speaker-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 16px;
  }

  .speaker-photo {
    grid-row: auto;
  }

  .speaker-photo img {
    width: min(220px, 72vw);
    max-width: 100%;
  }

  .speaker-card h2 {
    font-size: 25px;
  }

  .speaker-talk {
    font-size: 19px;
  }

  .speaker-meta,
  .speaker-card p:not(.speaker-talk):not(.speaker-meta) {
    font-size: 16px;
    text-align: left;
  }

  .registration-fees-simple td {
    padding: 0 4px;
    font-size: 21px;
  }

  .programme-main,
  .committee-main {
    gap: 42px;
  }

  .programme-panel h2 {
    font-size: 22px;
  }

  .programme-table {
    font-size: 20px;
  }

  .programme-table td {
    display: block;
    width: 100% !important;
    padding: 4px 0;
    white-space: normal !important;
  }

  .programme-table tr {
    display: block;
    margin-bottom: 16px;
  }

  .programme-day h3 {
    font-size: 20px;
    padding: 10px 12px;
  }

  .schedule-heading {
    display: block;
    padding: 10px 12px;
    font-size: 20px;
  }

  .schedule-heading span {
    display: block;
    margin-top: 4px;
    font-size: 16px;
    white-space: normal;
  }

  .schedule-chair {
    padding: 9px 12px;
    font-size: 16px;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 12px;
    font-size: 17px;
  }

  .schedule-row time {
    white-space: normal;
  }

  .committee-table {
    border-spacing: 0 16px;
    font-size: 17px;
  }

  .committee-table td {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0;
    white-space: normal !important;
  }

  .committee-table td:first-child {
    margin-bottom: 3px;
    font-weight: 700;
  }
}

.programme-schedule .schedule-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #edf2f6;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
}

.programme-schedule .schedule-row:last-child {
  border-bottom: 0;
}

.programme-schedule .break-row,
.programme-schedule .session-row,
.programme-schedule .site-visit-row {
  background: #f7fbff;
}

@media (max-width: 850px) {
  .programme-schedule .schedule-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 12px;
  }
}
