/* ============================================================
   WORKSHOP SITE — Shared Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy:    #240046;
  --ocean:   #3c7de7;
  --teal:    #ff006e;
  --accent:  #ffd400;
  --light:   #f4f7fa;
  --white:   #ffffff;
  --text:    #1c2a38;
  --muted:   #5e7387;
  --border:  #d6e4ee;

  --header-h: 64px;
  --max-w: 2000px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  color: var(--navy);
}

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

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 50px 0;
}

.section--alt {
  background: var(--light);
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.section__subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 12px 0 32px;
}

/* ── Top navigation ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: .5px;
}

.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav__links a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  text-decoration: none;
}

.nav__links a:hover,
.nav__links a.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
  text-decoration: none;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: .2s;
}

/* ── Hero banner ────────────────────────────────────────── */
.hero {
  background: var(--ocean);
  color: var(--white);
  padding: 50px 0 30px;
  position: relative;
  overflow: hidden;
}

.hero__bot {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  opacity: 0.18;
  pointer-events: none;
  fill: var(--white)
}

.hero .container {
  position: relative;
}


.hero__tag {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--accent);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 16px;
  max-width: 1400px;
}

.hero h2 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 2.4rem);
  margin-bottom: 16px;
  max-width: 1400px;
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  max-width: 1400px;
  margin-bottom: 20px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: rgba(255,255,255,.9);
}

.hero__meta-item svg {
  flex-shrink: 0;
  opacity: .75;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  border: none;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); opacity: .92; text-decoration: none; }

.btn--primary {
  background: var(--accent);
  color: var(--navy);
}
.btn--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
}

/* ── Info cards (dates, venue…) ─────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 0;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  transition: box-shadow .2s;
}
.info-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.info-card__icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.info-card__label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 4px;
}
.info-card__value {
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
}
.info-card__detail {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 700px) {
  .section .container > div[style*="320px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Important dates ────────────────────────────────────── */
.dates-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.date-item {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-left: 4px solid var(--teal);
}


.date-item--passed {
  opacity: .45;
}

.date-item--highlight {
  border-left-color: var(--ocean);
}

.date-item__date {
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 2px;
}

.date-item--highlight .date-item__date {
  color: var(--ocean);
}

.date-item__label {
  font-size: .9rem;
  color: var(--text);
}

/* ── Program table ──────────────────────────────────────── */
.program-day {
  margin-bottom: 48px;
}
.program-day__header {
  background: var(--ocean);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 8px 8px 0 0;
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
}
.program-slot {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.program-slot:last-child { border-radius: 0 0 8px 8px; }
.program-slot--break {
  background: var(--light);
  color: var(--muted);
  font-style: italic;
}
.program-slot__time {
  padding: 14px 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.program-slot__body {
  padding: 14px 20px;
}
.program-slot__title { font-weight: 600; font-size: .95rem; }
.program-slot__speaker {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Speaker cards ──────────────────────────────────────── */
.speakers-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.speaker-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: box-shadow .2s, transform .2s;
}
a.speaker-card,
a.speaker-card:hover {
  text-decoration: none;
  color: inherit;
}

.speaker-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.speaker-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--white);
  font-family: 'DM Serif Display', serif;
}

.speaker-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.speaker-card__name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
}

.speaker-card__affil {
  font-size: .9rem;
  color: var(--muted);
}

.speaker-card__country {
  font-size: .85rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .speaker-card { padding: 16px; gap: 14px; }
  .speaker-card__avatar { width: 56px; height: 56px; font-size: 1.1rem; }
}

/* ── Organizers ─────────────────────────────────────────── */
.org-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.org-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.org-pill__role {
  font-size: .75rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 40px 0;
  font-size: .88rem;
  text-align: center;
}
.footer strong { color: var(--white); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 700px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--navy); padding: 12px 0; }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .section { padding: 48px 0; }
  .program-slot { grid-template-columns: 80px 1fr; }

  .two-col-layout {
    grid-template-columns: 1fr !important;
  }
}
