.delegates-section {
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(circle at 8% 6%, rgba(22, 134, 148, .11), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(118, 204, 143, .12), transparent 28%),
    #f5f7fa;
  text-align: left;
}

.delegates-section > .row:first-child {
  display: block;
  max-width: 760px;
  margin: 0 auto 30px;
  padding: 0 20px;
  text-align: center;
}

.delegates-section > .row:first-child > div {
  width: 100%;
  max-width: none;
  flex: 0 0 100%;
}

.delegates-section > .row:first-child h3 {
  margin: 0;
  color: #123f59;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -.035em;
}

.delegates-intro {
  max-width: 660px;
  margin: 14px auto 0;
  color: #526570;
  font-size: 17px;
  line-height: 1.7;
}

.delegates-filter {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(240px, 360px);
  align-items: center;
  gap: 9px 18px;
  max-width: 1130px;
  margin: 0 auto 40px;
  padding: 18px 22px;
  border: 1px solid rgba(22, 134, 148, .15);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 30px rgba(18, 63, 89, .07);
}

.delegates-filter label {
  color: #123f59;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.delegates-filter__select {
  position: relative;
  display: block;
}

.delegates-filter__select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #168694;
  border-bottom: 2px solid #168694;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.delegates-filter select {
  width: 100%;
  min-height: 48px;
  padding: 10px 46px 10px 16px;
  border: 1px solid #bfd9d8;
  border-radius: 12px;
  outline: 0;
  appearance: none;
  background: #f6fbfa;
  color: #193f48;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.delegates-filter select:hover,
.delegates-filter select:focus-visible {
  border-color: #168694;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 134, 148, .12);
}

.delegates-filter__status {
  grid-column: 1 / -1;
  color: #61737b;
  font-size: 12px;
  line-height: 1.3;
}

.delegates-grid {
  max-width: 1170px;
}

.delegates-region.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 34px;
}

.delegates-region:last-child {
  margin-bottom: 0;
}

.delegates-region[hidden] {
  display: none !important;
}

.delegates-region__heading {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.delegates-region__heading h4 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #123f59;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.015em;
  text-transform: none !important;
}

.delegates-region__heading h4::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #168694;
  box-shadow: 0 0 0 5px rgba(22, 134, 148, .13);
}

.delegates-region__heading strong {
  color: inherit !important;
  font-weight: inherit;
}

.delegate-card {
  --region-color: #168694;
  --region-color-dark: #0d6974;
  position: relative;
  display: grid;
  grid-template-columns: minmax(185px, 42%) 1fr;
  width: auto !important;
  max-width: none !important;
  height: 420px;
  min-height: 420px;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 89, .1);
  border-radius: 22px;
  background: #fff;
  text-align: left !important;
  box-shadow: 0 16px 44px rgba(18, 63, 89, .09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.delegate-card--tone-1,
.delegate-card--tone-2,
.delegate-card--tone-3,
.delegate-card--tone-4,
.delegate-card--tone-5,
.delegate-card--tone-6 {
  --region-color: #168694;
  --region-color-dark: #0c6772;
}

.delegate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(18, 63, 89, .14);
}

.delegate-card__media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--region-color-dark), var(--region-color));
  isolation: isolate;
}

.delegate-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5, 25, 37, .5));
}

.delegate-card__media video {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 340px;
  margin: 0 !important;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: center top;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0;
  transition: opacity .3s ease;
}

.delegate-card__media--video.is-ready video {
  opacity: 1;
}

.delegate-card__media--portrait {
  display: grid;
  place-items: center;
  padding: 42px 22px 24px;
}

.delegate-card__media--portrait img {
  display: block;
  width: 190px !important;
  max-width: 88% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  min-height: 0 !important;
  margin: 0 !important;
  border: 4px solid rgba(255, 255, 255, .92);
  border-radius: 0 !important;
  background: #fff;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 16px 36px rgba(8, 38, 43, .24) !important;
  filter: saturate(.92) contrast(1.02);
}

.delegate-card__region {
  position: absolute;
  top: 18px;
  left: 0;
  z-index: 4;
  max-width: calc(100% - 18px);
  padding: 9px 18px 9px 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .34);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: var(--region-color);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 7px 20px rgba(8, 38, 43, .22);
}

.delegate-card__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 10px 18px;
  border: 0;
  background: linear-gradient(rgba(8, 32, 46, .06), rgba(8, 32, 46, .42));
  color: #fff;
  cursor: pointer;
}

.delegate-card__play-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding-left: 4px;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  background: var(--region-color);
  box-shadow: 0 12px 30px rgba(5, 25, 37, .28);
  transition: transform .2s ease, background .2s ease;
}

.delegate-card__play-icon::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #fff;
}

.delegate-card__play-label {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(7, 33, 48, .62);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.delegate-card__play:hover .delegate-card__play-icon,
.delegate-card__play:focus-visible .delegate-card__play-icon {
  transform: scale(1.08);
  background: var(--region-color-dark);
}

.delegate-card__play:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.delegate-card__play.is-hidden {
  display: none;
}

.delegate-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 30px 27px;
}

.delegate-card__eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--region-color-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.delegate-card h5 {
  margin: 0 0 16px;
  color: #123f59;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.delegate-card__details {
  margin: 0;
  color: #536671;
  font-size: 14px;
  line-height: 1.58;
}

.delegate-card__details a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 10px;
  color: var(--region-color-dark);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.delegate-card__details a[href^="mailto:"]::before {
  content: "@";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 7px;
  border-radius: 50%;
  background: #edf7f3;
  color: var(--region-color-dark);
  font-size: 12px;
}

.delegate-card__details a[href^="mailto:"]:hover,
.delegate-card__details a[href^="mailto:"]:focus-visible {
  color: var(--region-color);
}

.delegates-region--single .delegate-card {
  grid-column: auto;
  width: auto !important;
}

@media (max-width: 991px) {
  .delegates-section { padding: 58px 0 76px; }
  .delegate-card { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .delegate-card__media { min-height: 0; height: 360px; }
  .delegate-card__media video { min-height: 0; height: 360px !important; }
  .delegate-card__body { justify-content: flex-start; padding: 25px 24px 28px; }
}

@media (max-width: 767px) {
  .delegates-section { padding: 48px 0 62px; }
  .delegates-section > .row:first-child { margin-bottom: 22px; }
  .delegates-section > .row:first-child h3 { font-size: 32px; }
  .delegates-intro { font-size: 15px; }
  .delegates-filter { grid-template-columns: 1fr; margin: 0 15px 32px; padding: 16px; }
  .delegates-filter__status { grid-column: auto; }
  .delegates-region.row { grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }
  .delegate-card,
  .delegates-region--single .delegate-card { grid-column: auto; width: 100% !important; }
  .delegate-card__media { height: min(118vw, 470px); }
  .delegate-card__media video { height: min(118vw, 470px) !important; }
  .delegate-card__body { padding: 24px 22px 27px; }
  .delegate-card h5 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .delegate-card,
  .delegate-card__play-icon,
  .delegate-card__media video,
  .delegates-filter select { transition: none; }
}
