@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700&display=swap");

:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #1a2433;
  --muted: #5b6678;
  --border: #dfe6ef;
  --primary: #4a94ce;
  --primary-strong: #357eb6;
  --primary-soft: #eaf4fb;
  --primary-soft-border: #c4dcf0;
  --nav-text: #24344d;
  --banner-bg: #e6f2fb;
  --shadow: 0 18px 36px rgba(24, 49, 91, 0.1);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 380px at -8% -16%, #e9f1ff 0%, transparent 70%),
    radial-gradient(900px 300px at 110% -10%, #eef6ff 0%, transparent 70%),
    var(--bg);
  line-height: 1.68;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 133px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.nav-link {
  color: var(--nav-text);
  font-size: 0.94rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  transition: background-color 140ms ease, color 140ms ease;
}

.nav-link:hover {
  background: var(--primary-soft);
  text-decoration: none;
}

.nav-link.is-current {
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 600;
}

.header-banner {
  background: var(--banner-bg);
  border-top: 1px solid var(--primary-soft-border);
  border-bottom: 1px solid var(--primary-soft-border);
}

.header-banner-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.page-main { padding: 3rem 0 4rem; }

h1,
h2,
h3 {
  font-family: "Montserrat", "Inter", sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #162134;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  margin: 0.3rem 0 1.15rem;
}

h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin: 2.1rem 0 0.9rem;
}

h3 {
  font-size: 1.15rem;
  margin: 1.25rem 0 0.45rem;
}

p,
li { color: var(--muted); }

p { margin: 0.4rem 0 1rem; }
ul { padding-left: 1.2rem; }

.venue-map {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.venue-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  margin: 1.25rem 0 2.4rem;
}

.venue-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.venue-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.venue-map iframe {
  display: block;
  width: 100%;
  min-height: 460px;
  border: 0;
}

.button {
  display: inline-block;
  border: 1px solid var(--primary);
  background: linear-gradient(180deg, #5ca6df 0%, var(--primary) 100%);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.15px;
  border-radius: 999px;
  padding: 0.64rem 1.1rem;
  box-shadow: 0 12px 22px rgba(45, 111, 212, 0.22);
}

.button:hover {
  border-color: var(--primary-strong);
  background: linear-gradient(180deg, #529bd2 0%, var(--primary-strong) 100%);
  text-decoration: none;
}

.button-soft {
  border-color: var(--primary-soft-border);
  background: #f8fcff;
  color: var(--primary-strong);
  box-shadow: 0 8px 16px rgba(53, 126, 182, 0.16);
}

.button-soft:hover {
  border-color: #9cc6e4;
  background: var(--primary-soft);
  color: #2e6f9f;
}

.date-block {
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.conference-overview {
  display: grid;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem 1rem 1.05rem;
  margin-bottom: 1.9rem;
}

.date-title {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
  color: #2c4f72;
  font-weight: 600;
}

.date-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.date-pill {
  min-width: 132px;
  padding: 0.55rem 0.9rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf6fd 100%);
  border: 1px solid var(--primary-soft-border);
  box-shadow: 0 10px 20px rgba(53, 126, 182, 0.16);
}

.date-month {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b7ea1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.date-day {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 700;
  color: var(--primary-strong);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.2rem;
}

.overview-item {
  background: #f9fcff;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.75rem 0.8rem;
  box-shadow: 0 8px 16px rgba(53, 126, 182, 0.08);
}

.overview-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4f6f8d;
}

.overview-value {
  margin-top: 0.15rem;
  font-size: 0.96rem;
  line-height: 1.35;
  color: #2f4f73;
  font-weight: 500;
}

.hero-grid {
  margin: 1.3rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow);
}

.card strong { color: #253a58; }
.card p:last-child { margin-bottom: 0; }

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.speaker-card {
  margin-bottom: 0;
}

.speaker-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.55rem;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
}

.theme-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(24, 49, 91, 0.14);
}

.theme-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.7rem;
}

.theme-card h3 {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

.callout {
  background: linear-gradient(135deg, rgba(53, 126, 182, 0.15) 0%, rgba(207, 217, 225, 0.3) 100%);
  border: 2px solid var(--primary-soft-border);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
  box-shadow: 0 12px 28px rgba(53, 126, 182, 0.12);
}

.callout-title {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary-strong);
  font-size: 1.5rem;
}

.callout-content p:first-child {
  margin-top: 0;
}

.callout-content p:last-child {
  margin-bottom: 0;
}

.callout-content ul {
  margin: 1rem 0;
}

.callout-content li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.callout-content a {
  font-weight: 600;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 16px rgba(53, 126, 182, 0.08);
}

.info-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4f6f8d;
  margin-bottom: 0.4rem;
}

.info-value {
  font-size: 0.96rem;
  line-height: 1.4;
  color: #2f4f73;
  font-weight: 500;
}

.info-value a {
  color: var(--primary);
  text-decoration: none;
}

.info-value a:hover {
  text-decoration: underline;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.logo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
}

.logo-card.is-midas {
  background-color: #00274c !important;
  border-color: #00274c !important;
  box-shadow: inset 0 0 0 999px #00274c;
}

.logo-card.is-midas .institution-logo {
  max-height: 52px;
  width: auto;
}

.institution-logo {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
  padding: 1.2rem 0 1.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .page-main { padding-top: 2rem; }
  .site-nav { gap: 0.35rem; }
  .nav-link {
    font-size: 0.9rem;
    padding: 0.37rem 0.62rem;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { height: 220px; }
  .overview-grid { grid-template-columns: 1fr; }
  .venue-showcase { grid-template-columns: 1fr; }
  .venue-photo img,
  .venue-map iframe { min-height: 340px; }
}
