:root {
  --red: #ad2623;
  --red-dark: #741315;
  --ink: #14233b;
  --text: #29384e;
  --muted: #657187;
  --line: #d7dce4;
  --soft: #f4f6f8;
  --white: #fff;
  --container: 1200px;
  --header-height: 74px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Playfair", Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
/*   font-family: "Playfair Display", Georgia, serif; */
}

body.video-modal-open,
body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

b, sup, sub, u, del {
    color: #C52523;
    font-weight: normal;
}

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #ecb64d;
  outline-offset: 3px;
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  gap: 32px;
}

.brand {
  width: 120px;
}

.brand img {
  width: 120px;
  height: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: clamp(22px, 3vw, 40px);
}

.primary-nav a,
.header-contact {
  color: #131313;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.header-contact {
  padding: 12px 24px;
  border: 1px solid var(--ink);
}

.header-contact:hover {
  color: var(--white);
  background: var(--ink);
}

.nav-contact-mobile,
.menu-toggle {
  display: none;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 0.84rem;
  font-weight: 740;
  line-height: 1.2;
  text-decoration: none;
  gap: 9px;
}

.button-primary {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.button-primary:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.button-light {
  border-color: var(--white);
  color: var(--red-dark);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.74);
  color: var(--white);
  background: transparent;
}

.button-ghost-light:hover {
  color: var(--red-dark);
  background: var(--white);
}

/* Factual hero */
.hero {
  position: relative;
  color: var(--white);
  background-color: var(--red-dark);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  min-height: 292px;
  padding-block: 48px;
  gap: 56px;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.6rem, 4.3vw, 3.75rem);
  font-weight: 790;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-summary {
  margin: 16px 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.35;
}

.hero-event-meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
  gap: 12px 32px;
}

.hero-event-meta p {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 0.9rem;
  gap: 9px;
}

.hero-event-meta i {
  width: 16px;
  text-align: center;
}

.hero-actions {
  display: grid;
  min-width: 220px;
  gap: 10px;
}

/* Featured talk */
.featured-talk-section {
  padding-block: 58px;
  border-bottom: 1px solid var(--line);
}

.featured-talk {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 6vw, 76px);
}

.featured-talk-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: var(--white);
  background: #070b12;
  text-decoration: none;
}

.featured-talk-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.featured-talk-media:hover img {
  opacity: 0.78;
}

.featured-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  transform: translate(-50%, -50%);
}

.featured-play i {
  margin-left: 3px;
}

.section-label {
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: #505050;
  font-size: 24px;
}

.featured-talk-copy h2,
.explorer-heading h2,
.archive-heading h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: #505050;
  font-size: 24px;
  margin: 0;
}

.featured-talk-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.featured-byline {
  margin: 16px 0 0;
  color: #39465a;
}

.featured-byline .agenda-speaker {
  font-weight: 760;
}

.featured-summary {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
}

.featured-meta {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin-top: 18px;
  gap: 28px;
}

.organization-mark-featured {
  display: grid;
  place-items: center start;
  width: 128px;
  height: 42px;
  overflow: hidden;
}

.organization-mark-featured .organization-logo {
  width: auto;
  max-width: 124px;
  max-height: 38px;
  object-fit: contain;
}

.featured-talk-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 22px;
}

.presentation-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 740;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  gap: 8px;
}

.presentation-link:hover {
  color: var(--red);
}

/* Talk explorer */
.talk-explorer {
  padding-block: 66px 74px;
  background: #f7f8fa;
  scroll-margin-top: var(--header-height);
}

.explorer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.explorer-heading p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #707070;
}

.explorer-heading .explorer-edition {
  margin: 0 0 5px;
  color: #707070;
  font-size: 0.82rem;
  font-weight: 720;
  white-space: nowrap;
}

.explorer-toolbar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  align-items: center;
  margin-top: 30px;
  border: 1px solid #c9d0da;
  background: var(--white);
}

.search-field {
  position: relative;
  display: block;
  min-width: 0;
}

.search-field i {
  position: absolute;
  top: 50%;
  left: 17px;
  color: #58677c;
  transform: translateY(-50%);
}

.search-field input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 46px;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.search-field input::placeholder {
  color: #6c7889;
}

.topic-filter {
  position: relative;
  border-inline: 1px solid #d6dbe2;
}

.topic-filter summary {
  display: flex;
  align-items: center;
  min-width: 112px;
  height: 50px;
  padding-inline: 18px 38px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 720;
  list-style: none;
}

.topic-filter summary::-webkit-details-marker {
  display: none;
}

.topic-filter summary::after {
  position: absolute;
  right: 17px;
  content: "\f107";
  font-family: FontAwesome;
}

.topic-filter[open] summary::after {
  transform: rotate(180deg);
}

.topic-chips {
  position: absolute;
  top: calc(100% + 8px);
  right: -1px;
  display: grid;
  width: 250px;
  padding: 10px;
  border: 1px solid #c9d0da;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  gap: 4px;
}

.topic-filter:not([open]) .topic-chips {
  display: none;
}

.topic-chips button {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: #344259;
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  text-align: left;
}

.topic-chips button:hover,
.topic-chips button[aria-pressed="true"] {
  border-color: #d8a6a5;
  color: var(--red-dark);
  background: #fbf4f4;
}

.sort-control {
  display: flex;
  align-items: center;
  height: 50px;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.76rem;
  gap: 8px;
}

.sort-control select {
  height: 38px;
  margin-right: 6px;
  padding-inline: 10px 28px;
  border: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 11px;
  border-bottom: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.78rem;
}

.results-meta p {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
}

.talk-list {
  display: grid;
}

.talk-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 148px 146px;
  align-items: start;
  padding-block: 27px;
  border-bottom: 1px solid #cfd5de;
  gap: 24px;
}

.talk-number {
  padding-top: 1px;
  color: #8a94a3;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.talk-content {
  min-width: 0;
}

.talk-content h3 {
  margin: 0;
  color: #404040;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 600;
  line-height: 1.24;
}

.talk-byline {
  margin: 5px 0 0;
  color: #4c5b70;
  font-size: 0.84rem;
}

.talk-byline .agenda-speaker {
  color: var(--red-dark);
  font-weight: 720;
}

.talk-summary {
  max-width: 720px;
  margin: 10px 0 0;
  color: #606060;
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 760;
}

.talk-summary-title,
.talk-key-points-title {
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 760;
  letter-spacing: 2px;
}

.talk-key-points {
  max-width: 720px;
  margin-top: 12px;
  color: #707070;
  font-size: 0.95rem;
  line-height: 1.48;
}

.talk-key-points ul {
  margin: 0;
  padding-left: 18px;
}

.talk-key-points li + li {
  margin-top: 3px;
}

.talk-tags {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.72rem;
  list-style: none;
  gap: 6px 15px;
}

.talk-tags li::before {
  margin-right: 6px;
  color: var(--red-dark);
  content: "•";
}

.talk-organization {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  height: 64px;
  margin-top: 2px;
  overflow: hidden;
  border-left: 1px solid #d8dde5;
}

.talk-organization .organization-logo {
  width: auto;
  max-width: 118px;
  max-height: 38px;
  object-fit: contain;
}

.talk-organization-multiple {
  align-content: center;
  gap: 7px;
}

.talk-organization-multiple .organization-logo {
  max-width: 108px;
  max-height: 24px;
}

.talk-organization .organization-logo[src$="logo-fortinet.png"] {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 142px;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
}

.talk-meta {
  display: grid;
  justify-items: stretch;
  gap: 12px;
}

.talk-duration {
  display: inline-flex;
  align-items: center;
  color: #49576b;
  font-size: 0.8rem;
  font-weight: 720;
  white-space: nowrap;
  gap: 7px;
}

.talk-actions {
  display: grid;
  gap: 6px;
}

.talk-actions .button {
  width: 100%;
  min-height: 40px;
  padding-inline: 11px;
  font-size: 0.76rem;
}

.talk-actions .presentation-link {
  justify-content: center;
  min-height: 34px;
  font-size: 0.75rem;
}

.talk-empty {
  padding: 58px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.talk-empty h3 {
  margin: 12px 0 4px;
  color: var(--ink);
}

.talk-empty p {
  margin: 0;
  color: var(--muted);
}

.programme-details {
  margin-top: 28px;
  border-top: 1px solid #cfd5de;
  border-bottom: 1px solid #cfd5de;
}

.programme-details summary {
  padding: 15px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 720;
}

.programme-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 0 20px;
  gap: 8px 28px;
}

.programme-compact p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.programme-compact strong {
  color: var(--ink);
}

/* Historical archive */
.archive {
  padding-block: 70px 78px;
}

.archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.archive-heading > p {
  max-width: 420px;
  margin: 0 0 4px;
  color: var(--muted);
}

.archive-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
  border-top: 2px solid var(--ink);
}

.archive-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.88rem;
}

.archive-table th,
.archive-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.archive-table thead th {
  color: #687387;
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-table tbody th {
  color: var(--ink);
  font-size: 1.05rem;
}

.archive-table td:last-child {
  text-align: right;
}

.archive-table a {
  color: var(--red-dark);
  font-weight: 720;
  text-decoration: none;
}

.archive-table a i {
  margin-left: 8px;
}

.archive-years {
  display: flex;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  gap: 8px 15px;
}

.archive-years span {
  color: var(--ink);
  font-weight: 720;
}

.archive-years a:hover {
  color: var(--red);
}

/* Video dialog */
.video-dialog {
  width: min(960px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.video-dialog::backdrop {
  background: rgba(8, 15, 27, 0.8);
}

.video-dialog-shell {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.video-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  color: var(--white);
  background: rgba(8, 15, 27, 0.76);
  cursor: pointer;
}

.video-dialog-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080b10;
}

.video-dialog-player iframe,
.video-dialog-player video {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-dialog-player video {
  background: #111;
  object-fit: contain;
}

.video-dialog-player [hidden] {
  display: none;
}

.video-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  place-items: center;
  align-content: center;
  color: #e8ebf0;
  background: #101722;
  font-size: 0.82rem;
  gap: 12px;
}

.video-dialog-player.is-loading .video-loading {
  display: grid;
}

.video-loading-spinner {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: player-spin 800ms linear infinite;
}

@keyframes player-spin {
  to { transform: rotate(360deg); }
}

.video-dialog-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 18px 22px 20px;
  gap: 24px;
}

.video-dialog-time {
  color: var(--red-dark);
  font-size: 0.7rem;
  font-weight: 780;
}

.video-dialog-title {
  margin: 3px 0 0;
  color: var(--red);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.video-dialog-speaker {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.video-dialog-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.video-dialog-actions a,
.video-dialog-actions button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.video-dialog-actions i {
  margin-right: 7px;
}

/* Footer */
.site-footer {
  padding-block: 30px;
  color: #cfd6e0;
  background: #172130;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.footer-brand img {
  width: 96px;
  height: auto;
}

.footer-copy {
  margin: 0;
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.72rem;
}

/* Responsive */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 132px 1fr auto;
  }

  .primary-nav,
  .header-contact {
    display: none;
  }

  .menu-toggle {
    grid-column: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--white);
    cursor: pointer;
  }

  .primary-nav.is-open {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: block;
    padding: 12px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .primary-nav.is-open ul {
    display: grid;
    justify-content: stretch;
    gap: 0;
  }

  .primary-nav.is-open a {
    width: 100%;
    min-height: 46px;
  }

  .primary-nav.is-open .nav-contact-mobile {
    display: block;
  }

  .featured-talk {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .talk-row {
    grid-template-columns: 42px minmax(0, 1fr) 132px;
  }

  .talk-organization {
    grid-column: 3;
    width: 132px;
  }

  .talk-meta {
    grid-column: 3;
    margin-top: -8px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand,
  .brand img {
    width: 104px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    padding-block: 34px 38px;
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.15rem);
  }

  .hero-summary {
    font-size: 1rem;
  }

  .hero-event-meta {
    display: grid;
    margin-top: 20px;
    gap: 8px;
  }

  .hero-actions {
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .hero-actions .button {
    min-height: 46px;
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .featured-talk-section {
    padding-block: 38px 44px;
  }

  .featured-talk {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .featured-talk-copy h2 {
    font-size: 2rem;
  }

  .talk-explorer {
    padding-block: 46px 52px;
  }

  .explorer-heading,
  .archive-heading {
    display: block;
  }

  .explorer-heading .explorer-edition,
  .archive-heading > p {
    margin-top: 12px;
  }

  .explorer-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .search-field {
    grid-column: 1 / -1;
    border-bottom: 1px solid #d6dbe2;
  }

  .topic-filter {
    border-inline: 0;
    border-right: 1px solid #d6dbe2;
  }

  .topic-filter summary {
    min-width: 0;
  }

  .topic-chips {
    right: auto;
    left: -1px;
    width: min(330px, calc(100vw - 32px));
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .topic-chips button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .sort-control {
    justify-content: flex-end;
  }

  .results-meta > span {
    display: none;
  }

  .talk-row {
    grid-template-columns: 34px minmax(0, 1fr);
    padding-block: 25px;
    gap: 5px 14px;
  }

  .talk-number {
    grid-column: 1;
  }

  .talk-content {
    grid-column: 2;
  }

  .talk-summary {
    font-size: 0.84rem;
  }

  .talk-organization {
    grid-column: 2;
    place-items: center start;
    width: 126px;
    height: 48px;
    margin-top: 12px;
    border-left: 0;
  }

  .talk-meta {
    grid-column: 2;
    justify-items: start;
    margin-top: 10px;
  }

  .talk-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .talk-actions .button {
    width: auto;
    min-height: 40px;
    padding-inline: 15px;
  }

  .programme-compact {
    grid-template-columns: 1fr;
  }

  .archive {
    padding-block: 50px 58px;
  }

  .archive-table-wrap {
    max-width: calc(100% + 16px);
    margin-right: -16px;
    overscroll-behavior-inline: contain;
  }

  .video-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }

  .video-dialog-details {
    grid-template-columns: 1fr;
    padding: 15px 16px 18px;
    gap: 14px;
  }

  .video-dialog-actions {
    justify-content: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .featured-talk-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .sort-control span {
    display: none;
  }

  .sort-control {
    padding-left: 8px;
  }

  .topic-filter summary {
    padding-inline: 14px 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Shared edition navigation */
.edition-navigation {
  display: block;
  background: #fff;
  border-bottom: 1px solid #ddd6d6;
}

.edition-navigation-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.edition-navigation-select {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #292323;
  font-weight: 600;
}

.edition-navigation-select select {
  min-width: 220px;
  min-height: 36px;
  padding: 6px 34px 6px 10px;
  border: 1px solid #b9b0b0;
  border-radius: 8px;
  background-color: #fff;
  color: #201c1c;
  font: inherit;
}

.edition-navigation a {
  color: #8d181b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.edition-navigation select:focus-visible,
.edition-navigation a:focus-visible {
  outline: 2px solid #8d181b;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .edition-navigation-inner {
    width: min(100% - 24px, 1180px);
    min-height: 64px;
    gap: 10px;
  }

  .edition-navigation-select {
    flex: 1;
  }

  .edition-navigation-select select {
    min-width: 0;
    width: 100%;
  }

  .edition-navigation a {
    font-size: 0.875rem;
    white-space: nowrap;
  }
}

/* 2026 programme and global archive */
.hero-2026 {
  isolation: isolate;
  min-height: 360px;
  overflow: hidden;
}

.hero-media-fallback,
.hero-media-video,
.hero-color-layer {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media-fallback {
  z-index: -3;
  background: #401012 url("../media/jornadas-2026/jornadas-redimadrid-2026-poster.jpg") center 42% / cover no-repeat;
}

.hero-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 160ms ease;
}

.hero-media-video.is-playing {
  opacity: 1;
}

.hero-color-layer {
  z-index: -1;
  background: rgba(86, 10, 13, 0.82);
}

.hero-2026 .hero-inner {
  min-height: 360px;
}

.programme-status {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 600;
}

.promo-section,
.programme-section,
.broadcast-section,
.registration-section {
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
}

.broadcast-section {
  padding-block: 36px;
  background: #f7f4f4;
}

.broadcast-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.35fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.broadcast-layout  h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: #505050;
  font-size: 26px;
  margin: 0;
  line-height: 1.06;
}

.broadcast-layout p {
  margin: 0;
}

.broadcast-layout p {
  max-width: 880px;
}

.sponsors-section {
  padding-block: 42px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.sponsors-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.sponsors-layout h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: #505050;
  font-size: 26px;
  margin: 0;
}

.sponsors-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px 48px;
}

.sponsor-item {
  display: grid;
  grid-template-columns: 150px minmax(120px, auto);
  align-items: center;
  min-height: 58px;
  margin: 0;
  gap: 16px;
}

.sponsor-item img {
  width: 150px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.sponsor-item figcaption {
  color: #455164;
  font-size: 0.9rem;
}

.promo-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.promo-copy h2,
.section-heading-simple h2,
.registration-layout h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: #505050;
  font-size: 26px;
  margin: 0;
  line-height: 1.06;
}

.promo-copy p,
.section-heading-simple p,
.registration-layout p {
  margin: 14px 0 0;
  color: #707070;
}

.promo-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.promo-heading h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: #505050;
  font-size: 24px;
  margin: 0;
}

.promo-heading p {
  margin: 0;
  color: #4f5a6c;
}

.event-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid #20242b;
  background: #080a0d;
  color: #fff;
}

.event-poster-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-poster-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-poster-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 58%;
  padding: clamp(24px, 4vw, 58px);
}

.event-poster-title span,
.event-poster-title strong,
.event-poster-title b {
  display: block;
}

.event-poster-title span {
  font-size: clamp(1rem, 1.7vw, 1.6rem);
}

.event-poster-title strong {
  margin-top: 2px;
  color: #ef2b2f;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  line-height: 0.95;
}

.event-poster-title b {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3vw, 3.6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.event-poster-date {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(16px, 3vw, 38px);
}

.event-poster-date strong {
  color: #ef2b2f;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  font-weight: 500;
  line-height: 0.8;
}

.event-poster-date span {
  font-size: clamp(0.88rem, 1.55vw, 1.45rem);
  line-height: 1.15;
}

.event-poster-footer {
  margin-top: auto;
}

.event-poster-venue {
  margin: 0 0 16px;
  font-size: clamp(0.78rem, 1.3vw, 1.12rem);
  line-height: 1.35;
}

.event-poster-venue strong,
.event-poster-venue span {
  display: block;
}

.event-poster-organizations {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.organization-logo-frame,
.sponsor-logo-frame {
  box-sizing: border-box;
  height: 50px;
}

.event-poster-brands {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
}

.organization-logo-frame {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
}

.event-poster-brands img {
  width: auto;
  max-width: 138px;
  height: 30px;
  object-fit: contain;
}

.event-poster-brand-group,
.event-poster-sponsor {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
}

.event-poster-label,
.event-poster-sponsor > span:first-child {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sponsor-logo-frame {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
}

.sponsor-logo-frame img {
  width: auto;
  max-width: 128px;
  height: 32px;
  object-fit: contain;
}

.poster-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
}

.poster-actions > a:not(.button) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.event-value-section,
.edition-introduction {
  border-top: 1px solid #d8dde5;
  border-bottom: 1px solid #d8dde5;
  background: #fff;
}

.event-value-section {
  padding: 64px 0 24px;
}

.event-value-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.event-value-layout article {
  padding: 0;
}

.event-value-layout h2{
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: #505050;
  font-size: 24px;
  margin: 0;}

.edition-introduction h2 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: #505050;
  font-size: 24px;
  margin: 0 0 18px;
}

.event-value-layout p,
.edition-introduction-copy p {
  color: #707070;
}

.edition-introduction {
  padding: 40px 0;
}

.edition-introduction-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 800px);
  gap: 40px;
}

.edition-introduction-copy p {
  margin: 0;
}

.edition-introduction-copy p + p {
  margin-top: 12px;
}

.promo-media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #c8cdd5;
  background: #121212;
}

.promo-media-frame img,
.promo-media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: #171717;
  transition: opacity 160ms ease;
}

.promo-media-frame:not(.is-loading) .promo-loading {
  opacity: 0;
  pointer-events: none;
}

.directions-section {
  padding: 56px 0;
  border-top: 1px solid #d8dde5;
  border-bottom: 1px solid #d8dde5;
  background: #fff;
}

.directions-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 40px;
  align-items: center;
}

.directions-copy h2 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: #505050;
  font-size: 24px;
  margin: 0 0 18px;
}

.directions-copy p {
  margin: 0 0 14px;
  color: #707070;
  line-height: 1.65;
}

.directions-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.directions-actions a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.directions-map {
  aspect-ratio: 16 / 9;
  border: 1px solid #bac1cb;
  background: #eef0f3;
}

.directions-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.section-heading-simple {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 32px;
}

.section-heading-simple p {
  margin: 0 0 4px;
}

.programme-table-wrap {
  overflow-x: auto;
  border: 1px solid #cfd4dc;
}

.programme-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  color: #273449;
  background: #fff;
}

.programme-table th,
.programme-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #dce0e6;
  text-align: left;
  vertical-align: top;
}

.programme-table thead th {
  color: #fff;
  background: #202c3e;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.programme-table thead th:first-child,
.programme-table tbody td:first-child {
  white-space: nowrap !important;
}

.programme-table tbody th {
  color: #17263c;
  font-family: "Playfair", Georgia, serif;
  font-weight: 650;
  letter-spacing: 1px;
}

.programme-table tbody tr:last-child th,
.programme-table tbody tr:last-child td {
  border-bottom: 0;
}

.programme-table .programme-break th,
.programme-table .programme-break td {
  background: #f1f3f5;
  color: #4e5968;
}

.registration-section {
  padding-block: 46px;
  background: #f4f5f6;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}

.registration-layout p {
  max-width: 780px;
}

.talk-explorer[data-catalog-mode] .explorer-toolbar {
  grid-template-columns: minmax(270px, 1fr) auto auto auto auto;
}

.year-control,
.explorer-reset {
  min-height: 50px;
  border: 0;
  border-right: 1px solid #d6dbe2;
  color: var(--ink);
  background: #fff;
}

.year-control {
  display: flex;
  align-items: center;
  padding-inline: 14px;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 650;
}

.year-control select {
  border: 0;
  color: var(--ink);
  background: #fff;
}

.explorer-reset {
  padding-inline: 15px;
  color: var(--red-dark);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.talk-year {
  color: #5f6876;
  font-weight: 600;
}

.talk-organization-text {
  color: #525d6e;
  font-size: 0.86rem;
  font-weight: 650;
  text-align: center;
}

@media (max-width: 980px) {
  .talk-explorer[data-catalog-mode] .explorer-toolbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .talk-explorer[data-catalog-mode] .search-field {
    grid-column: 1 / -1;
    border-bottom: 1px solid #d6dbe2;
  }

  .explorer-reset {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .promo-layout,
  .registration-layout,
  .broadcast-layout,
  .sponsors-layout {
    grid-template-columns: 1fr;
  }

  .section-heading-simple {
    display: block;
  }

  .section-heading-simple p {
    margin-top: 10px;
  }

  .promo-section,
  .programme-section,
  .broadcast-section,
  .registration-section {
    padding-block: 44px;
  }

  .promo-heading,
  .poster-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-value-layout,
  .edition-introduction-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .event-value-layout article {
    padding: 0;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .hero-2026,
  .hero-2026 .hero-inner {
    min-height: 420px;
  }

  .event-poster-content {
    width: 64%;
    padding: 10px 12px;
  }

  .event-poster-title span {
    font-size: 0.65rem;
  }

  .event-poster-title strong {
    margin-top: 0;
    font-size: 1.45rem;
  }

  .event-poster-title b {
    margin-top: 3px;
    font-size: 0.9rem;
  }

  .event-poster-date {
    gap: 6px;
    margin-top: 7px;
  }

  .event-poster-date strong {
    font-size: 2.35rem;
  }

  .event-poster-date span {
    font-size: 0.62rem;
  }

  .event-poster-brands {
    gap: 4px;
  }

  .organization-logo-frame,
  .sponsor-logo-frame {
    height: 20px;
  }

  .organization-logo-frame {
    padding: 3px 5px;
  }

  .event-poster-brands img {
    max-width: 56px;
    height: 14px;
  }

  .event-poster-organizations {
    gap: 5px;
  }

  .event-poster-brand-group,
  .event-poster-sponsor {
    gap: 2px;
  }

  .event-poster-label,
  .event-poster-sponsor > span:first-child {
    font-size: 0.28rem;
  }

  .sponsor-logo-frame {
    padding: 3px 5px;
  }

  .sponsor-logo-frame img {
    max-width: 48px;
    height: 13px;
  }

  .event-poster-venue {
    margin: 0 0 4px;
    font-size: 0.52rem;
    line-height: 1.2;
  }

  .talk-explorer[data-catalog-mode] .explorer-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .talk-explorer[data-catalog-mode] .search-field {
    grid-column: 1 / -1;
  }

  .topic-filter,
  .year-control,
  .sort-control,
  .explorer-reset {
    border-top: 1px solid #d6dbe2;
  }
}

@media (max-width: 820px) {
  .directions-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .directions-map {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
