.bos-jury-widget {
  --bos-jury-bg: #ffffff;
  --bos-jury-navy: #002e5f;
  --bos-jury-accent: #ff6a1f;
  --bos-jury-text: #3b3b3b;
  --bos-jury-muted: rgba(0, 46, 95, 0.68);
  --bos-jury-soft: #f6f7f9;
  font-family: Montserrat, sans-serif;
  color: var(--bos-jury-text);
  background: var(--bos-jury-bg);
  position: relative;
}

.bos-jury-widget *,
.bos-jury-widget *::before,
.bos-jury-widget *::after {
  box-sizing: border-box;
}

.bos-jury-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 86px) clamp(22px, 4vw, 48px);
}

.bos-jury-header {
  margin-bottom: clamp(36px, 5vw, 72px);
}

.bos-jury-title {
  margin: 0;
  color: var(--bos-jury-navy);
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.9;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.07em;
}

.bos-jury-intro {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--bos-jury-text);
  font-size: 18px;
  line-height: 1.65;
}

.bos-jury-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 80px;
}

.bos-jury-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 24px 22px 28px;
  border-radius: 28px;
  isolation: isolate;
  opacity: 0;
  transform: translateY(20px);
  transition: transform .35s ease, opacity .35s ease, background .35s ease, box-shadow .35s ease;
}

.bos-jury-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bos-jury-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 106, 31, 0.08), rgba(0, 46, 95, 0.035));
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}

.bos-jury-card:hover,
.bos-jury-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(0, 46, 95, 0.11);
}

.bos-jury-card:hover::before,
.bos-jury-card:focus-within::before {
  opacity: 1;
}

.bos-jury-photo-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin: 0 0 24px;
  line-height: 0;
}

.bos-jury-photo-ring {
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 2px solid rgba(255, 106, 31, 0.22);
  transform: scale(.9);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease, border-color .35s ease;
  pointer-events: none;
}

.bos-jury-card:hover .bos-jury-photo-ring,
.bos-jury-card:focus-within .bos-jury-photo-ring {
  transform: scale(1);
  opacity: 1;
  border-color: var(--bos-jury-accent);
}

.bos-jury-photo-crop {
  display: block;
  width: 170px;
  height: 170px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  border: 7px solid #fff;
  background: #eef1f4;
  box-shadow: 0 14px 34px rgba(0, 46, 95, 0.14);
  transform: translateZ(0);
}

.bos-jury-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.bos-jury-name {
  margin: 0 0 4px;
  color: var(--bos-jury-navy);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
}

.bos-jury-country {
  margin: 0 0 20px;
  color: var(--bos-jury-navy);
  font-size: 19px;
  line-height: 1.2;
  font-style: italic;
  font-weight: 500;
}

.bos-jury-button {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: min(100%, 230px);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 5px;
  background: var(--bos-jury-navy);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.bos-jury-button svg {
  width: 18px;
  height: 18px;
  transform: translateY(1px);
  opacity: 0;
  margin-right: -24px;
  transition: opacity .25s ease, margin .25s ease;
}

.bos-jury-button:hover,
.bos-jury-button:focus-visible {
  background: var(--bos-jury-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 106, 31, 0.26);
  outline: none;
}

.bos-jury-button:hover svg,
.bos-jury-button:focus-visible svg {
  opacity: 1;
  margin-right: 0;
}

.bos-jury-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 34px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s ease;
}

.bos-jury-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.bos-jury-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 17, 0.72);
  backdrop-filter: blur(12px);
}

.bos-jury-modal-panel {
  position: relative;
  width: min(100%, 980px);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  background: #fffaf2;
  border-radius: 34px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.32);
  transform: translateY(22px) scale(.98);
  transition: transform .28s ease;
}

.bos-jury-modal.is-open .bos-jury-modal-panel {
  transform: translateY(0) scale(1);
}

.bos-jury-modal-close {
  position: sticky;
  top: 22px;
  float: right;
  margin: 22px 22px 0 0;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--bos-jury-accent);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 14px 34px rgba(255, 106, 31, 0.28);
}

.bos-jury-modal-close::before,
.bos-jury-modal-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 23px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  transform-origin: center;
}

.bos-jury-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.bos-jury-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.bos-jury-modal-close:hover,
.bos-jury-modal-close:focus-visible {
  background: var(--bos-jury-navy);
  outline: none;
}

.bos-jury-modal-body {
  clear: both;
}

.bos-jury-profile {
  display: grid;
  grid-template-columns: 34% 1fr;
  align-items: center;
  gap: clamp(26px, 5vw, 58px);
  padding: clamp(30px, 6vw, 70px);
  padding-top: clamp(26px, 4vw, 46px);
}

.bos-jury-profile-media {
  width: min(100%, 300px);
  aspect-ratio: 1 / 1;
  justify-self: center;
  overflow: hidden;
  border-radius: 50%;
  border: 8px solid #fff;
  background: #eef1f4;
  box-shadow: 0 22px 48px rgba(0, 46, 95, 0.16);
  transform: translateZ(0);
}

.bos-jury-profile-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.bos-jury-profile-kicker {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--bos-jury-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bos-jury-profile h3 {
  margin: 0 0 6px;
  color: var(--bos-jury-navy);
  font-size: clamp(38px, 5vw, 62px);
  line-height: .95;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.06em;
}

.bos-jury-profile-country {
  margin-bottom: 28px;
  color: var(--bos-jury-navy);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  font-style: italic;
}

.bos-jury-profile-cv {
  color: var(--bos-jury-text);
  font-size: 18px;
  line-height: 1.75;
}

.bos-jury-profile-cv p {
  margin: 0 0 1em;
}

.bos-jury-profile-cv p:last-child {
  margin-bottom: 0;
}

html.bos-jury-modal-lock,
html.bos-jury-modal-lock body {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .bos-jury-grid {
    gap: 34px;
  }

  .bos-jury-photo-crop {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 767px) {
  .bos-jury-inner {
    padding: 44px 20px;
  }

  .bos-jury-header {
    margin-bottom: 32px;
  }

  .bos-jury-title {
    font-size: 56px;
  }

  .bos-jury-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bos-jury-card {
    padding: 28px 18px 30px;
    background: linear-gradient(180deg, rgba(0, 46, 95, 0.035), rgba(255, 106, 31, 0.045));
  }

  .bos-jury-photo-crop {
    width: 146px;
    height: 146px;
  }

  .bos-jury-name {
    font-size: 27px;
  }

  .bos-jury-country {
    font-size: 18px;
  }

  .bos-jury-button {
    width: min(100%, 260px);
  }

  .bos-jury-modal {
    padding: 14px;
  }

  .bos-jury-modal-panel {
    max-height: calc(100vh - 28px);
    border-radius: 26px;
  }

  .bos-jury-modal-close {
    top: 14px;
    width: 50px;
    height: 50px;
    margin: 14px 14px 0 0;
  }

  .bos-jury-profile {
    grid-template-columns: 1fr;
    padding: 28px;
    padding-top: 20px;
  }

  .bos-jury-profile-media {
    width: min(220px, 74vw);
  }

  .bos-jury-profile h3 {
    font-size: 40px;
  }

  .bos-jury-profile-cv {
    font-size: 16px;
    line-height: 1.65;
  }
}
