.speakers-static-copy .speakers-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.speakers-static-copy .speaker-card {
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 17px 34px rgba(3, 12, 51, 0.24);
}

.speakers-static-copy .speaker-media {
  width: 168px;
  max-width: calc(100% - 24px);
  height: auto;
  aspect-ratio: 4 / 5;
  margin: 12px auto 0;
}

/* Keep transparent PNG portraits from revealing the original card image below the hover copy. */
.speakers-live-page .speaker-overlay {
  background: #0a236d;
}

.speakers-static-copy .speaker-content {
  min-height: 114px;
  gap: 5px;
  padding: 11px 12px 14px;
}

.speakers-static-copy .speaker-content h3 {
  font-size: 15px;
  line-height: 1.2;
}

.speakers-static-copy .speaker-content p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.speakers-static-copy .speaker-overlay-body {
  padding: 18px 11px 13px;
}

.speakers-static-copy .speaker-overlay-scroll {
  padding-right: 5px;
  overscroll-behavior: contain;
}

.speakers-static-copy .speaker-overlay h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.2;
}

.speakers-static-copy .speaker-overlay-scroll > span {
  display: block;
  margin-bottom: 12px;
  font-size: 10.5px;
  line-height: 1.35;
}

.speakers-static-copy .speaker-overlay p {
  margin-bottom: 13px;
  font-size: 11.5px;
  line-height: 1.42;
}

.speakers-static-copy .speaker-events {
  gap: 7px;
  margin-top: 2px;
}

.speakers-static-copy .speaker-events strong {
  font-size: 10px;
}

.speakers-static-copy .speaker-event-list {
  gap: 6px;
}

.speakers-static-copy .speaker-event-pill {
  min-height: 28px;
  margin-bottom: 0;
  padding: 6px 8px;
  font-size: 10.5px;
  line-height: 1.25;
}

.speakers-static-copy .speakers-main {
  padding-top: 18px;
}

.dignitary-opening {
  position: relative;
  width: 1326px;
  max-width: calc(100% - 36px);
  margin: 8px auto 38px;
  padding: 24px 34px 45px;
  background: transparent;
}

.dignitary-pair {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 74px;
  max-width: 1000px;
  margin: 0 auto;
}

.dignitary-pair::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 10px;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.22) 15%, rgba(255, 255, 255, 0.22) 85%, transparent);
  transform: translateX(-50%);
}

.dignitary-profile {
  min-width: 0;
  text-align: center;
}

.dignitary-protocol-label {
  display: block;
  min-height: 19px;
  margin-bottom: 17px;
  color: #ffcc00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dignitary-profile-eu .dignitary-protocol-label {
  color: #aecaFF;
}

.dignitary-portrait-frame {
  position: relative;
  width: 248px;
  max-width: 86%;
  aspect-ratio: 4 / 5;
  margin: 0 auto 18px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 54px rgba(2, 10, 44, 0.34);
}

.dignitary-portrait-crop {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
}

.dignitary-portrait {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.dignitary-profile-royal .dignitary-portrait {
  object-position: center top;
}

.dignitary-profile-eu .dignitary-portrait {
  transform: translateY(15%);
}

.dignitary-frame-corner {
  position: absolute;
  z-index: 2;
  width: 58px;
  height: 58px;
  pointer-events: none;
}

.dignitary-frame-corner-top {
  top: -7px;
  left: -7px;
  border-top: 2px solid #ffcc00;
  border-left: 2px solid #ffcc00;
  border-radius: 28px 0 0;
}

.dignitary-frame-corner-bottom {
  right: -7px;
  bottom: -7px;
  border-right: 2px solid #ffcc00;
  border-bottom: 2px solid #ffcc00;
  border-radius: 0 0 28px;
}

.dignitary-profile-eu .dignitary-frame-corner {
  border-color: #83aefc;
}

.dignitary-profile-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.27;
  letter-spacing: -0.025em;
}

.dignitary-profile-copy p {
  margin: 9px 0 0;
  color: #cbd8fb;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.participating-ministers {
  width: 1326px;
  max-width: calc(100% - 36px);
  margin: 0 auto 72px;
  padding: 34px 28px 58px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: transparent;
}

.participating-ministers-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 42px;
  text-align: center;
}

.participating-ministers-kicker {
  margin-bottom: 8px;
  color: #d4a900;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.participating-ministers-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.participating-ministers-rule {
  width: 54px;
  height: 3px;
  margin-top: 17px;
  border-radius: 999px;
  background: #ffcc00;
}

.participating-ministers-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.participating-ministers-list::before {
  content: "";
  position: absolute;
  top: 103px;
  right: 6%;
  left: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22) 12%, rgba(255, 255, 255, 0.22) 88%, transparent);
}

.minister-profile {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.minister-portrait-wrap {
  position: relative;
  width: 168px;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0 auto 23px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 17px 34px rgba(3, 12, 51, 0.24);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.minister-profile:hover .minister-portrait-wrap {
  transform: translateY(-6px);
  border-color: rgba(255, 204, 0, 0.7);
  box-shadow: 0 24px 44px rgba(3, 12, 51, 0.34);
}

.minister-portrait {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  object-position: center top;
}

.minister-portrait-accent {
  position: absolute;
  z-index: 2;
  right: -3px;
  bottom: 24px;
  width: 22px;
  height: 22px;
  border: 5px solid #193793;
  border-radius: 50%;
  background: #ffcc00;
  box-shadow: 0 4px 10px rgba(16, 40, 120, 0.18);
}

.minister-profile-copy {
  max-width: 190px;
  margin: 0 auto;
}

.minister-profile-copy h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.minister-profile-copy p {
  margin: 0;
  color: #cbd7fa;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.speaker-role-explorer {
  position: relative;
  width: 1326px;
  max-width: calc(100% - 36px);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.speaker-role-track {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 204, 0, 0.52);
  border-radius: 50%;
  background: #102878;
  box-shadow: 0 0 0 5px rgba(16, 40, 120, 0.88);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.speaker-role-track::before,
.speaker-role-track::after {
  content: "";
  position: absolute;
  background: #ffcc00;
}

.speaker-role-track::before {
  width: 11px;
  height: 2px;
}

.speaker-role-track::after {
  width: 2px;
  height: 11px;
}

.speaker-role-choice {
  position: relative;
  min-height: 108px;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(32, 68, 181, 0.82), rgba(13, 37, 117, 0.94)),
    #163aab;
  box-shadow: 0 14px 32px rgba(4, 12, 43, 0.14);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.speaker-role-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 204, 0, 0.2), transparent 35%),
    linear-gradient(110deg, transparent 45%, rgba(255, 255, 255, 0.055));
  opacity: 0;
  transition: opacity 220ms ease;
}

.speaker-role-choice::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #ffcc00;
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 280ms ease;
}

.speaker-role-choice:hover,
.speaker-role-choice:focus-visible,
.speaker-role-choice.is-active {
  border-color: rgba(255, 204, 0, 0.48);
  box-shadow: 0 20px 42px rgba(3, 10, 42, 0.23);
  transform: translateY(-3px);
  outline: none;
}

.speaker-role-choice.is-active {
  background:
    linear-gradient(135deg, rgba(35, 78, 210, 0.98), rgba(16, 49, 153, 0.98)),
    #163aab;
}

.speaker-role-choice:hover::before,
.speaker-role-choice:focus-visible::before,
.speaker-role-choice.is-active::before {
  opacity: 1;
}

.speaker-role-choice.is-active::after {
  transform: scaleX(1);
}

.speaker-role-number,
.speaker-role-copy,
.speaker-role-arrow {
  position: relative;
  z-index: 1;
}

.speaker-role-number {
  align-self: center;
  color: rgba(255, 255, 255, 0.38);
  font-size: 34px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.speaker-role-choice.is-active .speaker-role-number {
  color: #ffcc00;
}

.speaker-role-copy {
  display: grid;
  gap: 3px;
}

.speaker-role-copy small {
  color: #ffcc00;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.speaker-role-copy strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.speaker-role-copy > span {
  max-width: 430px;
  color: #d8e3ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.speaker-role-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.speaker-role-choice.is-active .speaker-role-arrow {
  color: #10276e;
  background: #ffcc00;
  border-color: #ffcc00;
  transform: rotate(45deg);
}

.speaker-role-panel[hidden] {
  display: none;
}

.speaker-role-panel.is-active {
  animation: speakerRoleReveal 380ms ease both;
}

@keyframes speakerRoleReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .participating-ministers-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 42px;
  }

  .participating-ministers-list::before {
    display: none;
  }

  .speakers-static-copy .speakers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .speaker-role-copy strong {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  .dignitary-opening {
    padding-right: 34px;
    padding-left: 34px;
  }

  .dignitary-pair {
    gap: 46px;
  }

  .speaker-role-choice {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .speaker-role-number {
    display: none;
  }

}

@media (max-width: 768px) {
  .speakers-static-copy .speakers-main {
    padding-top: 14px;
  }

  .dignitary-opening {
    max-width: calc(100% - 20px);
    margin: 8px auto 32px;
    padding: 16px 4px 30px;
  }

  .dignitary-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .dignitary-pair::before {
    top: 8px;
    right: auto;
    bottom: 8px;
    left: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-50%);
  }

  .dignitary-protocol-label {
    min-height: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 8.5px;
    line-height: 1.35;
    letter-spacing: 0.1em;
  }

  .dignitary-portrait-frame {
    width: 100%;
    max-width: 160px;
    margin-bottom: 13px;
    padding: 5px;
    border-radius: 24px;
  }

  .dignitary-portrait-crop {
    border-radius: 20px;
  }

  .dignitary-frame-corner {
    width: 38px;
    height: 38px;
  }

  .dignitary-frame-corner-top {
    top: -5px;
    left: -5px;
    border-radius: 20px 0 0;
  }

  .dignitary-frame-corner-bottom {
    right: -5px;
    bottom: -5px;
    border-radius: 0 0 20px;
  }

  .dignitary-profile-copy h2 {
    min-height: 56px;
    font-size: 15.5px;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .dignitary-profile-copy p {
    margin-top: 6px;
    font-size: 11.5px;
    line-height: 1.35;
  }

  .participating-ministers {
    max-width: calc(100% - 28px);
    margin-bottom: 52px;
    padding: 30px 4px 42px;
  }

  .participating-ministers-heading {
    margin-bottom: 34px;
  }

  .participating-ministers-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 16px;
  }

  .minister-portrait-wrap {
    width: 138px;
    margin-bottom: 18px;
  }

  .speakers-static-copy .speaker-media {
    width: 138px;
  }

  .minister-profile-copy h3 {
    font-size: 14px;
  }

  .minister-profile-copy p {
    font-size: 12px;
  }

  .speakers-static-copy .speakers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .speaker-role-explorer {
    max-width: calc(100% - 28px);
    grid-template-columns: 1fr;
    margin-bottom: 42px;
  }

  .speaker-role-track {
    display: none;
  }

  .speaker-role-choice {
    min-height: 104px;
    padding: 18px;
    border-radius: 16px;
  }

  .speaker-role-choice:hover,
  .speaker-role-choice:focus-visible,
  .speaker-role-choice.is-active {
    transform: none;
  }

  .speaker-role-copy strong {
    font-size: 20px;
  }

  .speaker-role-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 520px) {
  .speakers-static-copy .speakers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .speakers-static-copy .speaker-card {
    height: 300px;
  }

  .speakers-static-copy .speaker-media {
    max-width: calc(100% - 12px);
    margin-top: 6px;
  }

  .speakers-static-copy .speaker-content {
    min-height: 112px;
    padding: 9px 9px 12px;
  }

  .speakers-static-copy .speaker-content h3 {
    font-size: 14px;
  }

  .speakers-static-copy .speaker-content p {
    font-size: 10.5px;
    line-height: 1.34;
  }
}
