@charset "UTF-8";

:root {
  --ink: #17212b;
  --muted: #697681;
  --accent: #0c7eaa;
  --accent-hover: #08698f;
  --accent-soft: #edf7fa;
  --line: #dfe6e9;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

.mainimg {
  width: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
}

.mainimg img {
  width: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  object-fit: cover;
  object-position: center;
}

/* Layout */
main {
  padding: 68px 24px 78px;
}

.event-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start; /* Do not force the two cards to equal height */
}

/* Event cards — identical treatment on both sides */
.event-box {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(24, 51, 63, 0.07);
}

.event-head {
  padding: 29px 30px 25px;
  border-bottom: 1px solid var(--line);
}

.event-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.event-head h3 {
  margin: 14px 0 0;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.address {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.event-content {
  padding: 5px 30px 30px;
}

/* Program */
.program-block {
  padding: 24px 0 25px;
  border-bottom: 1px solid var(--line);
}

.program-block--last {
  border-bottom: 0;
  padding-bottom: 26px;
}

.program-block--simple {
  border-bottom: 0;
}

.program-block h4 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.program-block--simple h4 {
  margin-bottom: 12px;
}

.program-block--simple h4:last-child {
  margin-bottom: 0;
}

.program-time {
  margin: 1px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

/* Same typography for Lunch & Pitches and the reception note */
.supporting-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
  font-style: italic;
}

/* Registration is visually contained within the Dec. 9 card.
   No divider line above it; the tinted panel provides the separation. */
.registration {
  margin-top: 2px;
  padding: 24px 24px 25px;
  background: var(--accent-soft);
  border-radius: 7px;
}

.registration h4 {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.registration-intro {
  margin: 0 0 17px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.registration-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.registration-options label {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 9px 10px;
  background: var(--white);
  border: 1px solid #d4e0e4;
  border-radius: 5px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.registration-options label:hover {
  border-color: #9dcbdc;
  box-shadow: 0 2px 8px rgba(12, 126, 170, 0.08);
}

.registration-options input[type="radio"] {
  flex: 0 0 auto;
  margin: 0 7px 0 0;
  accent-color: var(--accent);
}

.registration-options span {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.register-button {
  display: block;
  width: min(100%, 250px);
  min-height: 48px;
  margin: 0 auto;
  padding: 11px 22px;
  border: 0;
  border-radius: 24px;
  background: var(--accent);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}

.register-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Footer */
footer {
  padding: 22px 20px 27px;
  border-top: 1px solid #edf0f1;
  text-align: center;
}

footer p {
  margin: 0;
  color: #77818a;
  font-size: 11px;
}

/* Tablet */
@media screen and (max-width: 920px) {
  .event-grid {
    gap: 22px;
  }

  .event-head,
  .event-content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .registration-options {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  main {
    padding: 38px 17px 50px;
  }

  .event-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .event-head {
    padding: 24px 20px 21px;
  }

  .event-head h2 {
    font-size: 22px;
  }

  .event-head h3 {
    font-size: 17px;
  }

  .event-content {
    padding: 4px 20px 22px;
  }

  .program-block {
    padding: 20px 0 21px;
  }

  .registration {
    padding: 21px 18px 23px;
  }
}
