:root {
  --navy: #141d6e;
  --blue: #2f2f8f;
  --green: #28b77d;
  --ink: #111b63;
  --muted: #65708a;
  --line: #d8deea;
  --container-max: 1440px;
  --hero-content-offset-y: -20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #fff; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}

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

.site-navbar {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e9edf4;
}
.navbar-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.ec-logo {
  width: 250px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}
.official-mark { text-align: right; line-height: 1.35; }
.official-mark span {
  display: block;
  color: var(--green);
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 800;
}
.official-mark strong { font-size: 12px; }

.main-container { padding-block: 32px; }
.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
  min-height: 760px;
  background: #fff;
  border: 1px solid #eef1f6;
  box-shadow: 0 18px 55px rgba(23, 33, 90, .07);
}

.event-panel {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  background: white url('Hero2.png') center center / cover no-repeat;
}
.event-eu-logo {
  position: absolute;
  z-index: 3;
  top: 34px;
  right: 34px;
  width: clamp(190px, 31%, 285px);
  height: auto;
  display: block;
}
.event-photo-strip {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
}
.event-content {
  position: relative;
  z-index: 4;
  width: min(620px, 86%);
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 68px 0 205px 48px;
  color: #fff;
  transform: translateY(var(--hero-content-offset-y));
}
.event-horizon {
  width: min(440px, 78%);
  margin-top: 54px;
}
.event-kicker {
  display: block;
  color: #fff;
  font-size: clamp(30px, 3.15vw, 48px);
  line-height: .95;
  font-weight: 500;
  letter-spacing: .22em;
  white-space: nowrap;
}
.event-europe-logo {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 5px;
}
.brand-rule {
  width: 100%;
  height: 3px;
  background: #0873b9;
  margin: 18px 0 17px;
}
.event-brand {
  color: #0873b9;
  font-size: clamp(25px, 2.25vw, 36px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: .01em;
  margin: 0 0 30px;
}
.event-content h1 {
  margin: 0;
  max-width: 560px;
  color: #fff;
  font-size: clamp(34px, 3vw, 50px);
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: 600;
}
.event-intro {
  max-width: 555px;
  margin: 19px 0 0;
  color: #0873b9;
  font-size: 15px;
  line-height: 1.45;
}
.event-intro.second { margin-top: 14px; }
.event-meta { display: grid; gap: 12px; margin-top: 22px; }
.meta-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 13px;
  color: #0873b9;
  font-size: 14px;
  line-height: 1.35;
}
.meta-item strong { text-transform: uppercase; letter-spacing: .02em; }
.meta-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #fff;
  color: #0873b9;
  font-size: 14px;
  font-weight: 800;
}
.meta-icon.clock {
  border: 3px solid #fff;
  border-radius: 50%;
  background: transparent;
  position: relative;
}
.meta-icon.clock:before,
.meta-icon.clock:after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 2px;
  background: #0873b9;
  transform-origin: bottom;
}
.meta-icon.clock:before { height: 8px; transform: translate(-1px,-8px); }
.meta-icon.clock:after { height: 6px; transform: translate(-1px,-6px) rotate(120deg); }
.meta-icon.pin {
  width: 27px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin-left: 3px;
}
.meta-icon.pin:after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0873b9;
}

.form-panel {
  min-height: 760px;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.form-wrap {
  width: min(620px, calc(100% - 90px));
  margin: auto;
  padding: 64px 0;
}
.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 0;
}
.title-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 24px;
}
.title-row h2 {
  margin: 0;
  font-size: clamp(34px, 2.7vw, 46px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 500;
}
.progress {
  height: 3px;
  background: var(--ink);
  margin: 14px 0 34px;
}
.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
}
form { display: grid; gap: 19px; }
.grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend {
  color: #273052;
  font-size: 11px;
  font-weight: 700;
}
input, select {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border: 1px solid #cfd6e4;
  border-radius: 2px;
  background: #fff;
  padding: 0 13px;
  color: #1f294a;
  font: inherit;
  outline: none;
}
input:focus, select:focus { border-color: #2043aa; box-shadow: 0 0 0 2px rgba(32,67,170,.08); }
fieldset { border: 0; padding: 0; margin: 1px 0 0; }
legend { margin-bottom: 9px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-card {
  min-height: 68px;
  border: 1px solid #cfd6e4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  position: relative;
  background: #fff;
}
.choice-card:has(input:checked) { border-color: #1a55c7; background: #fff; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid #bac3d2;
  flex: 0 0 18px;
  position: relative;
}
.choice-card:has(input:checked) .choice-dot { border-color: #1a55c7; }
.choice-card:has(input:checked) .choice-dot:after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #1a55c7;
  border-radius: 50%;
}
.choice-card strong { display: block; font-size: 12px; }
.choice-card small { display: block; margin-top: 4px; color: #7b8499; font-size: 9px; font-weight: 600; }
button {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(18,31,109,.16);
  margin-top: 6px;
}
.microcopy { margin: -6px 0 0; text-align: center; color: #8991a3; font-size: 9px; }

.site-footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #e9edf4;
}
.footer-inner {
  min-height: 118px;
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(20px, 2.6vw, 44px);
  flex-wrap: wrap;
}
.partner-logos img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 190px;
  object-fit: contain;
  object-position: left center;
}
.partner-logos img:nth-child(1) { height: 54px; max-width: 135px; }
.partner-logos img:nth-child(2) { height: 62px; max-width: 180px; }
.partner-logos img:nth-child(3) { height: 54px; max-width: 190px; }
.partner-logos img:nth-child(4) { height: 58px; max-width: 200px; }



@media (max-width: 1120px) {
  .container { width: min(calc(100% - 32px), var(--container-max)); }
  .page-shell { grid-template-columns: 1fr; }
  .event-panel { min-height: 650px; background-position: center 58%; }
  .event-content {
    min-height: 650px;
    width: min(650px, calc(100% - 72px));
    justify-content: flex-start;
    padding: 64px 0 185px 44px;
  }
  .event-content h1 { font-size: clamp(42px, 7vw, 64px); }
  .form-panel { min-height: auto; }
  .form-wrap { padding-block: 72px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 24px), var(--container-max)); }
  .navbar-inner { min-height: 84px; }
  .ec-logo { width: 190px; max-height: 56px; }
  .official-mark span { font-size: 8px; }
  .official-mark strong { font-size: 10px; }
  .main-container { padding-block: 14px 24px; }
  .page-shell { border: 0; box-shadow: none; }
  .event-panel { min-height: 640px; background-position: center bottom; }
  .event-content {
    min-height: 640px;
    width: calc(100% - 44px);
    padding: 42px 0 164px 22px;
  }
  .event-kicker { font-size: 13px; }
  .event-brand { font-size: 24px; }
  .brand-rule { margin: 15px 0 20px; }
  .event-content h1 { font-size: clamp(34px, 10vw, 50px); }
  .event-intro { font-size: 14px; margin-top: 16px; }
  .event-meta { margin-top: 20px; gap: 10px; }
  .meta-item { font-size: 12px; }
  .form-wrap { width: calc(100% - 36px); padding: 54px 0; }
  .title-row { align-items: flex-start; }
  .title-row h2 { font-size: 35px; }
  .grid.two, .choice-grid { grid-template-columns: 1fr; }
  .footer-inner { min-height: 0; padding-block: 24px; }
  .partner-logos { gap: 18px 24px; }
  .partner-logos img { height: 40px; max-width: 135px; }
  .partner-logos img:nth-child(1) { height: 42px; max-width: 105px; }
  .partner-logos img:nth-child(2) { height: 46px; max-width: 140px; }
  .partner-logos img:nth-child(3) { height: 40px; max-width: 145px; }
  .partner-logos img:nth-child(4) { height: 44px; max-width: 155px; }
}

@media (max-width: 480px) {
  .navbar-inner { align-items: center; }
  .ec-logo { width: 162px; }
  .official-mark strong { display: none; }
  .event-panel { min-height: 620px; }
  .event-content { min-height: 620px; padding-bottom: 148px; }
  .partner-logos { width: 100%; justify-content: flex-start; }
}


/* Form validation / feedback */
.field-error {
  display: block;
  margin-top: 6px;
  color: #b42318;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}
input.has-error,
select.has-error {
  border-color: #b42318;
}
.form-alert {
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid #f0c9c5;
  background: #fff;
  color: #9c2f27;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.choice-grid-error .choice-card {
  border-color: #b42318;
}
.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.45;
}
.privacy-row input {
  width: 17px;
  height: 17px;
  margin: 0;
  flex: 0 0 17px;
}
.privacy-row a {
  color: var(--ink);
  text-decoration: underline;
}
.privacy-error {
  margin-top: -12px;
}
.success-message {
  padding: 8px 0 12px;
}
.success-message h3 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.2;
  font-weight: 600;
}
.success-message p {
  margin: 0;
  color: #3c4666;
  font-size: 15px;
  line-height: 1.65;
}


/* Invitation-style left panel: responsive overrides */
@media (max-width: 1120px) {
  .event-eu-logo { top: 28px; right: 28px; width: clamp(190px, 29%, 260px); }
  .event-content {
    min-height: 650px;
    width: min(650px, calc(100% - 72px));
    padding: 48px 0 190px 44px;
  }
  .event-horizon { width: min(430px, 68%); margin-top: 52px; }
}
@media (max-width: 700px) {
  .event-eu-logo { top: 18px; right: 18px; width: min(43%, 225px); }
  .event-content {
    min-height: 640px;
    width: calc(100% - 36px);
    padding: 34px 0 145px 18px;
  }
  .event-horizon { width: 58%; margin-top: 66px; }
  .event-kicker { font-size: clamp(22px, 6.7vw, 34px); letter-spacing: .18em; }
  .brand-rule { margin: 14px 0 13px; }
  .event-brand { font-size: clamp(22px, 6vw, 30px); margin-bottom: 22px; }
  .event-content h1 { font-size: clamp(31px, 8.7vw, 46px); }
  .event-intro { font-size: 13px; line-height: 1.4; }
  .event-meta { margin-top: 17px; gap: 9px; }
  .meta-item { font-size: 11px; gap: 10px; }
}
@media (max-width: 480px) {
  .event-eu-logo { top: 14px; right: 14px; width: 45%; }
  .event-content {
    min-height: 620px;
    width: calc(100% - 28px);
    padding: 28px 0 120px 14px;
  }
  .event-horizon { width: 54%; margin-top: 62px; }
  .event-kicker { font-size: clamp(19px, 6.2vw, 27px); }
  .event-brand { font-size: 21px; margin-bottom: 18px; }
  .event-content h1 { font-size: clamp(29px, 8.8vw, 39px); }
  .event-intro { font-size: 12px; }
  .meta-icon { transform: scale(.88); transform-origin: center; }
  .meta-icon.pin { transform: rotate(-45deg) scale(.88); }
}


/* V2 left-panel refinements */
.main-container { padding-top: 0; padding-bottom: 0; }
.event-panel { line-height: 0; }
.event-content { line-height: normal; }
.event-horizon { margin-top: 54px; }
.event-europe-logo { margin-top: 0; }
.event-photo-strip { left: 0; right: 0; bottom: 0; width: 100%; max-width: none; }

@media (max-width: 1120px) {
  .main-container { padding-top: 0; padding-bottom: 0; }
}
@media (max-width: 700px) {
  .main-container { padding-top: 0; padding-bottom: 0; }
}


/* V3 — event panel edge-to-edge fixes */
.page-shell {
  align-items: stretch;
}

.event-panel {
  align-self: stretch;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: normal;
}

/* Photo strip is anchored to the panel itself, not to event-content. */
.event-photo-strip {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  display: block;
}

/* Remove any residual vertical gap caused by grid/content sizing. */
.event-content {
  margin: 0;
}

@media (max-width: 1120px) {
  .event-panel {
    height: auto;
  }
}
