/* Shared section frame: every main section uses the same horizontal rhythm. */
#main-content > section {
  width: min(1440px, 100%);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px) !important;
}

.ref-closing-footer {
  padding-inline: clamp(20px, 4vw, 60px) !important;
}

.ref-organizer-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ref-partner-cta {
  font-family: var(--ref-body);
  font-weight: 800;
}

/* Reference-style site navigation. */
.ref-header.ref-pill-always {
  overflow: hidden;
  min-height: 60px;
  padding: 6px 10px 6px 16px;
  border-color: rgba(17, 18, 22, 0.12);
  background: #f4f1ed;
  color: #111216;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.ref-header.ref-pill-always:not(.is-scrolled),
.ref-header.ref-pill-always.is-scrolled {
  top: 12px;
  width: min(calc(100% - 32px), 1320px);
  height: 60px;
  min-height: 60px;
  padding: 6px 10px 6px 16px;
  border: 1px solid rgba(17, 18, 22, 0.12);
  border-radius: 999px;
  background: #f4f1ed;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.ref-accent-word{
  color: var(--ref-orange);
}


.ref-header.ref-pill-always .ref-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111216;
  font-family: var(--ref-body);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 800;
}

.ref-header.ref-pill-always .ref-logo-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--ref-orange);
  color: #fff;
  font-size: 16px;
}

.ref-header.ref-pill-always .ref-logo-word {
  color: #111216;
}

.ref-header.ref-pill-always .ref-logo-image {
  display: block;
  width: clamp(120px, 10vw, 150px);
  height: auto;
  max-height: 30px;
  object-fit: contain;
}

.ref-header.ref-pill-always .ref-nav {
  color: #111216;
  font-family: var(--ref-body);
  font-size: 16px;
  font-weight: 600;
}

.ref-header.ref-pill-always .ref-nav a:hover,
.ref-header.ref-pill-always .ref-header-social a:hover {
  color: var(--ref-orange);
}

.ref-header.ref-pill-always .ref-header-social {
  gap: 16px;
}

.ref-header.ref-pill-always .ref-header-social a {
  color: #111216;
  font-size: 16px;
}

.ref-header.ref-pill-always .ref-ticket-button {
  display: flex;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ref-orange);
  color: #fff;
  font-family: var(--ref-body);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ref-header.ref-pill-always .ref-ticket-button:hover,
.ref-header.ref-pill-always .ref-ticket-button:focus-visible {
  background: #ff7331;
}

.ref-header.ref-pill-always .ref-ticket-button > span,
.ref-header.ref-pill-always .ref-ticket-label,
.ref-header.ref-pill-always .ref-ticket-soon {
  grid-area: auto;
  opacity: 1 !important;
}

.ref-header.ref-pill-always .ref-ticket-label {
  font-size: 13px;
  font-weight: 800;
}

.ref-header.ref-pill-always .ref-ticket-soon {
  font-size: 12px;
  font-weight: 700;
}

.ref-header.ref-pill-always.is-scrolled .ref-logo {
  padding-right: 0 !important;
  border-right: 0 !important;
  color: #111216 !important;
  font-size: clamp(18px, 1.45vw, 24px) !important;
}

.ref-header.ref-pill-always.is-scrolled .ref-nav {
  gap: 4px !important;
  color: #111216 !important;
  font-size: 16px !important;
}

.ref-header.ref-pill-always.is-scrolled .ref-header-social {
  gap: 16px !important;
  padding-left: 0 !important;
  border-left: 0 !important;
}

.ref-header.ref-pill-always.is-scrolled .ref-header-social a {
  color: #111216 !important;
}

@media (max-width: 767px) {
  .ref-header.ref-pill-always,
  .ref-header.ref-pill-always:not(.is-scrolled),
  .ref-header.ref-pill-always.is-scrolled {
    gap: 8px;
    width: calc(100% - 24px);
    height: 54px;
    min-height: 54px;
    padding: 6px 8px 6px 12px;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .ref-header.ref-pill-always .ref-header-actions {
    display: flex !important;
    grid-column: 2;
    grid-row: 1;
    width: max-content;
    min-width: max-content;
  }

  .ref-header.ref-pill-always .ref-mobile-nav {
    grid-column: 3;
    grid-row: 1;
  }

  .ref-header.ref-pill-always .ref-logo {
    gap: 7px;
    font-size: 16px;
  }

  .ref-header.ref-pill-always .ref-logo-mark {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .ref-header.ref-pill-always .ref-logo-image {
    width: clamp(104px, 30vw, 140px);
    max-height: 26px;
  }

  .ref-header.ref-pill-always .ref-ticket-button {
    min-height: 38px;
    padding: 4px 10px;
  }

  .ref-header.ref-pill-always .ref-ticket-label {
    font-size: 10px;
  }

  .ref-header.ref-pill-always .ref-ticket-soon {
    font-size: 9px;
  }
}

/* Full-bleed hero revision. */
#main-content > section.ref-hero {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding-inline: 0 !important;
}

#main-content > section.ref-hero .ref-hero-field {
  min-height: max(700px, 100svh);
  border: 0;
  border-radius: 0;
}

#main-content > section.ref-hero .ref-hero-field::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.48) 43%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, transparent 56%);
}

#main-content > section.ref-hero .ref-hero-video {
  transform: none;
  object-fit: cover;
  object-position: center center;
}

#main-content > section.ref-hero .ref-hero-content {
  width: min(1440px, 100%);
  padding: clamp(150px, 19vh, 220px) clamp(20px, 4vw, 60px) clamp(28px, 6vh, 72px);
}

#main-content > section.ref-hero .ref-hero-title-cutout {
  width: min(940px, 100%);
}

#main-content > section.ref-hero .ref-hero-event {
  margin-bottom: clamp(24px, 3vw, 38px);
  padding: 12px 18px;
  border: 0;
  border-radius: 16px;
  background: #f4f1ed;
  color: #111216;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
}

#main-content > section.ref-hero .ref-hero-event time {
  color: var(--ref-orange);
}

#main-content > section.ref-hero .ref-hero-title-cutout h1 {
  font-size: clamp(64px, 9vw, 112px);
  line-height: 0.86;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.28);
}

#main-content > section.ref-hero .ref-hero-description {
  max-width: 48ch;
  margin-top: 24px;
}

#main-content > section.ref-hero .ref-hero-note {
  width: min(570px, 100%);
  margin-top: auto;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 28px 28px 28px 0;
  background: #f4f1ed;
  color: #111216;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16);
}

#main-content > section.ref-hero .ref-hero-note > p {
  max-width: 44ch;
  margin-bottom: 22px;
  color: #111216;
}


#main-content > section.ref-hero .ref-hero-note > div > a {
  border-color: #111216;
  color: #111216;
}

#main-content > section.ref-hero .ref-hero-note > div > .ref-primary-button {
  border-color: var(--ref-orange);
  background: var(--ref-orange);
  color: #111216;
}

#main-content > section.ref-hero .ref-hero-note > div > a:hover {
  border-color: #111216;
  background: #111216;
  color: #f4f1ed;
}

#main-content > section.ref-hero .ref-hero-note > div > .ref-primary-button:hover {
  border-color: #111216;
  background: #111216;
  color: #f4f1ed;
}

@media (max-width: 767px) {
  #main-content > section.ref-hero .ref-hero-field {
    min-height: 720px;
  }

  #main-content > section.ref-hero .ref-hero-content {
    padding-top: 132px;
  }

  #main-content > section.ref-hero .ref-hero-event {
    max-width: 100%;
    padding: 10px 14px;
    font-size: 13px;
  }

  #main-content > section.ref-hero .ref-hero-title-cutout h1 {
    font-size: clamp(56px, 15vw, 82px);
  }

  #main-content > section.ref-hero .ref-hero-note {
    padding: 20px;
    border-radius: 22px 22px 22px 0;
  }

  #main-content > section.ref-hero .ref-hero-note > div {
    flex-wrap: wrap;
  }
}

/* Bringing Security Into The Room */
#day.ref-programme {
  position: relative;
  padding-top: clamp(96px, 10vw, 154px);
  padding-bottom: clamp(96px, 10vw, 154px);
  background: #000;
}

#day.ref-programme > h2 {
  max-width: none;
  width: 100%;
  margin: 0 0 clamp(38px, 5vw, 68px);
  color: var(--ref-ink);
  font-family: var(--ref-display);
  font-size: clamp(52px, 7.2vw, 104px);
  font-weight: 700;
  line-height: 0.86;
  text-align: left;
  text-transform: uppercase;
}

#day.ref-programme .ref-programme-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 3vw, 42px);
  height: auto;
  margin: 0;
}

#day.ref-programme .ref-format-tabs {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  border-top: 1px solid rgba(244, 241, 237, 0.36);
}

#day.ref-programme .ref-format-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 8px 18px;
  min-height: 142px;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 237, 0.36);
  border-radius: 0;
  background: transparent;
  color: var(--ref-ink);
  text-align: left;
  transition: padding 180ms ease, background 180ms ease, color 180ms ease;
}

#day.ref-programme .ref-format-tabs button::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: var(--ref-yellow);
  content: "";
  transition: width 180ms ease;
}

#day.ref-programme .ref-format-tabs button:hover {
  transform: none;
  background: rgba(244, 241, 237, 0.06);
}

#day.ref-programme .ref-format-tabs button.is-active {
  padding-inline: 22px 18px;
  background: rgba(252, 216, 120, 0.12);
  color: var(--ref-yellow);
}

#day.ref-programme .ref-format-tabs button.is-active::before {
  width: 5px;
}

#day.ref-programme .ref-format-tabs button > .ref-format-icon,
#day.ref-programme .ref-format-tabs button.is-active > .ref-format-icon {
  display: grid;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--ref-yellow);
  font-size: 19px;
}

#day.ref-programme .ref-format-tabs button[data-format-tab="recruitment"] > .ref-format-icon {
  color: #35c7d8;
}

#day.ref-programme .ref-format-tabs button[data-format-tab="community"] > .ref-format-icon {
  color: #f6ad68;
}

#day.ref-programme .ref-format-tabs strong,
#day.ref-programme .ref-format-tabs button.is-active strong {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: currentColor;
  font-family: var(--ref-display);
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 700;
  line-height: 0.94;
  text-transform: uppercase;
}

#day.ref-programme .ref-format-tabs small,
#day.ref-programme .ref-format-tabs button.is-active small {
  display: block;
  grid-column: 2;
  grid-row: 2;
  max-width: 28ch;
  margin: 0;
  color: currentColor;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.62;
}

#day.ref-programme .ref-format-tabs button > i,
#day.ref-programme .ref-format-tabs button.is-active > i {
  display: block;
  grid-column: 3;
  grid-row: 1 / 3;
  color: currentColor;
  font-size: 15px;
  opacity: 0.8;
}

#day.ref-programme .ref-format-panel {
  position: relative;
  display: flex;
  min-height: 468px;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(32px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0 36px 36px 36px;
  color: #080817;
}

#day.ref-programme .ref-format-panel::after {
  position: absolute;
  right: clamp(28px, 4vw, 60px);
  bottom: clamp(26px, 3vw, 46px);
  color: currentColor;
  content: "↗";
  font-family: var(--ref-body);
  font-size: clamp(62px, 8vw, 116px);
  font-weight: 300;
  line-height: 0.6;
  opacity: 0.16;
}

#day.ref-programme .ref-format-panel[data-format="talks"] {
  border-color: #f4f1ed !important;
  background: #f4f1ed !important;
}

#day.ref-programme .ref-format-panel[data-format="recruitment"] {
  border-color: #35c7d8 !important;
  background: #35c7d8 !important;
}

#day.ref-programme .ref-format-panel[data-format="community"] {
  border-color: #f6ad68 !important;
  background: #f6ad68 !important;
}

#day.ref-programme .ref-format-panel > span {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(44px, 7vw, 98px);
  color: currentColor;
  font-size: 14px;
  font-weight: 800;
  opacity: 0.66;
  text-transform: uppercase;
}

#day.ref-programme .ref-format-panel h3 {
  position: relative;
  z-index: 1;
  max-width: 8ch;
  margin: 0 0 22px;
  color: currentColor;
  font-family: var(--ref-display);
  font-size: clamp(50px, 6vw, 90px);
  font-weight: 700;
  line-height: 0.86;
  text-transform: uppercase;
}

#day.ref-programme .ref-format-panel p {
  position: relative;
  z-index: 1;
  max-width: 42ch;
  margin: 0;
  color: currentColor;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.48;
  opacity: 0.82;
}

#day.ref-programme .ref-format-panel > a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 38px;
  color: currentColor;
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

#day.ref-programme .ref-format-panel > a:hover {
  text-decoration-thickness: 2px;
}

#day.ref-programme .ref-format-panel > a:hover > span {
  text-decoration-thickness: 2px;
}

@media (max-width: 767px) {
  #day.ref-programme {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  #day.ref-programme > h2 {
    font-size: clamp(46px, 13vw, 68px);
  }

  #day.ref-programme .ref-programme-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #day.ref-programme .ref-format-tabs {
    display: block;
  }

  #day.ref-programme .ref-format-tabs button,
  #day.ref-programme .ref-format-tabs button.is-active {
    min-height: 92px;
    padding: 18px 0;
  }

  #day.ref-programme .ref-format-tabs button.is-active {
    padding-inline: 16px 14px;
  }

  #day.ref-programme .ref-format-panel {
    min-height: 360px;
    border-radius: 0 26px 26px 26px;
  }

  #day.ref-programme .ref-format-panel > span {
    margin-bottom: 52px;
  }
}

/* Programme revision: a large editorial feature with a compact format index. */
#day.ref-programme > h2 {
  max-width: 18ch;
  margin-bottom: clamp(42px, 5vw, 72px);
  font-size: clamp(50px, 6.6vw, 96px);
}

#day.ref-programme .ref-programme-grid {
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.76fr);
  grid-template-areas: "panel tabs";
  gap: clamp(20px, 3vw, 42px);
}

#day.ref-programme .ref-format-tabs {
  grid-area: tabs;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 0;
}

#day.ref-programme .ref-format-tabs button,
#day.ref-programme .ref-format-tabs button.is-active {
  min-height: 0;
  padding: 24px 24px 24px 26px;
  border: 1px solid rgba(244, 241, 237, 0.16);
  border-radius: 24px;
  background: #17181c;
  color: var(--ref-ink);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

#day.ref-programme .ref-format-tabs button::before {
  display: none;
}

#day.ref-programme .ref-format-tabs button:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 241, 237, 0.36);
  background: #24252a;
}

#day.ref-programme .ref-format-tabs button.is-active {
  border-color: var(--ref-yellow);
  background: var(--ref-yellow);
  color: #080817;
}

#day.ref-programme .ref-format-tabs button.is-active:hover {
  background: var(--ref-yellow);
}

#day.ref-programme .ref-format-tabs button > .ref-format-icon,
#day.ref-programme .ref-format-tabs button.is-active > .ref-format-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(244, 241, 237, 0.08);
}

#day.ref-programme .ref-format-tabs button.is-active > .ref-format-icon {
  background: #080817;
  color: var(--ref-yellow);
}

#day.ref-programme .ref-format-tabs strong,
#day.ref-programme .ref-format-tabs button.is-active strong {
  font-size: clamp(22px, 2.1vw, 32px);
}

#day.ref-programme .ref-format-tabs small,
#day.ref-programme .ref-format-tabs button.is-active small {
  color: currentColor;
  opacity: 0.62;
}

#day.ref-programme .ref-format-tabs button > i,
#day.ref-programme .ref-format-tabs button.is-active > i {
  opacity: 0.7;
}

#day.ref-programme .ref-format-panel {
  grid-area: panel;
  min-height: 472px;
  border-radius: 34px 34px 34px 0;
}

#day.ref-programme .ref-format-panel h3 {
  margin-top: 0;
}

#day.ref-programme .ref-format-panel > a {
  border-bottom: 0 !important;
  text-decoration: none !important;
}

#day.ref-programme .ref-format-panel > a > span {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

#day.ref-programme {
  padding-top: var(--ref-section-gap);
  padding-bottom: var(--ref-section-gap);
}

#day.ref-programme > h2 {
  margin-bottom: clamp(22px, 3vw, 38px);
}

#day.ref-programme .ref-format-tabs button,
#day.ref-programme .ref-format-tabs button.is-active {
  padding: 18px 20px 18px 22px;
}

#day.ref-programme .ref-format-tabs strong,
#day.ref-programme .ref-format-tabs button.is-active strong {
  font-size: clamp(25px, 2.4vw, 36px);
}

#day.ref-programme .ref-format-panel::after {
  display: none;
}

@media (max-width: 767px) {
  #day.ref-programme > h2 {
    max-width: 16ch;
    font-size: clamp(46px, 12vw, 66px);
  }

  #day.ref-programme .ref-programme-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "panel"
      "tabs";
  }

  #day.ref-programme .ref-format-tabs {
    display: grid;
    grid-template-rows: repeat(3, minmax(86px, auto));
    gap: 10px;
  }

  #day.ref-programme .ref-format-tabs button,
  #day.ref-programme .ref-format-tabs button.is-active {
    min-height: 86px;
    padding: 18px 18px 18px 20px;
    border-radius: 20px;
  }

  #day.ref-programme .ref-format-panel {
    min-height: 360px;
    border-radius: 26px 26px 26px 0;
  }
}
