/* Award winner slider — two cards per view.
   Values transcribed from Figma "Awards pages" (card frame 682 x 852.04).
   Selectors are scoped under .winner-section to out-specificity the parent
   theme's global `button:not(...)` reset (customify/style.css), which
   otherwise wins over a bare .aws__dot / .aws__arrow class selector. */

.winner-section {
  --aws-gold: rgb(208, 175, 33);
  --aws-gold-stroke: rgb(208, 175, 34);
  --aws-ink: rgb(40, 40, 40);
  --aws-rule: rgb(193, 193, 193);
  --aws-dot: rgb(150, 150, 150);
  --aws-placeholder: rgb(224, 224, 224);
  --aws-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --aws-serif: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
  --aws-gap: 54px;          /* space between the two columns */
  --aws-per-view: 2;
}

.winner-section .aws {
  width: 100%;
  padding: 64px 0 72px;
  background: #fff;
  font-family: var(--aws-sans);
  box-sizing: border-box;
}
.winner-section .aws *, .winner-section .aws *::before, .winner-section .aws *::after { box-sizing: border-box; }

.winner-section .aws__inner { max-width: 1478px; margin: 0 auto; padding: 0 40px; }

.winner-section .aws__viewport { position: relative; overflow: hidden; }

.winner-section .aws__track {
  display: flex;
  gap: var(--aws-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

/* each card takes an equal share of the viewport, minus its share of the gaps */
.winner-section .aws__card {
  flex: 0 0 calc((100% - (var(--aws-per-view) - 1) * var(--aws-gap)) / var(--aws-per-view));
  max-width: calc((100% - (var(--aws-per-view) - 1) * var(--aws-gap)) / var(--aws-per-view));
  display: flex;
  flex-direction: column;
}

.winner-section .aws__media {
  width: 100%;
  aspect-ratio: 680 / 553;
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--aws-placeholder);
  background-size: cover;
  background-position: center;
}

.winner-section .aws__heading {
  margin: 22px 0 0;
  font-family: var(--aws-serif);
  font-weight: 800;
  font-size: 42px;
  line-height: 50px;
  color: var(--aws-ink);
}

.winner-section .aws__underline {
  width: 100%;
  max-width: 467px;
  height: 2px;
  margin-top: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--aws-gold) 23.02%, rgba(208, 175, 33, 0) 108.62%);
}

.winner-section .aws__quote { display: flex; gap: 22px; margin-top: 26px; }

.winner-section .aws__marker {
  flex: 0 0 2px;
  width: 2px;
  align-self: stretch;
  border-radius: 4px;
  background-color: var(--aws-rule);
}

.winner-section .aws__text { display: flex; flex-direction: column; gap: 14px; }

.winner-section .aws__copy {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: var(--aws-ink);
  text-wrap: pretty;
}
.winner-section .aws__copy em { font-style: italic; }

.winner-section .aws__name {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--aws-gold);
}

.winner-section .aws__award {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--aws-ink);
}

.winner-section .aws__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-top: 26px;
  padding: 0 21px;
  align-self: flex-start;
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px var(--aws-gold-stroke);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--aws-gold);
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}
.winner-section .aws__cta:hover, .winner-section .aws__cta:focus-visible { background-color: var(--aws-gold); color: #fff; }

/* ---- controls ---- */
.winner-section .aws__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 44px;
}

.winner-section .aws__dots { display: flex; gap: 14px; }

.winner-section .aws__dot {
  width: 11px !important;
  height: 11px !important;
  min-width: 11px !important;
  min-height: 11px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  cursor: pointer;
  background-color: var(--aws-dot) !important;
  transition: background-color 250ms ease;
}
.winner-section .aws__dot[aria-selected="true"] { background-color: var(--aws-gold) !important; }

.winner-section .aws__arrows { display: flex; gap: 25px; }

.winner-section .aws__arrow {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 200ms ease, filter 200ms ease, opacity 200ms ease;
}
.winner-section .aws__arrow svg { width: 18px; height: 17px; }
.winner-section .aws__arrow[disabled] { opacity: 0.4; cursor: default; }

.winner-section .aws__arrow--prev { background-color: #fff !important; box-shadow: inset 0 0 0 1px rgba(208, 175, 33, 0.3); }
.winner-section .aws__arrow--prev svg { fill: var(--aws-gold); }
.winner-section .aws__arrow--prev:hover:not([disabled]) { box-shadow: inset 0 0 0 1px var(--aws-gold); }

.winner-section .aws__arrow--next { background-color: var(--aws-gold) !important; }
.winner-section .aws__arrow--next svg { fill: #fff; transform: scaleX(-1); }
.winner-section .aws__arrow--next:hover:not([disabled]) { filter: brightness(0.92); }

/* ---- responsive: drop to one card per view ---- */
@media (max-width: 900px) {
  .winner-section { --aws-per-view: 1; --aws-gap: 32px; }
  .winner-section .aws__heading { font-size: 34px; line-height: 42px; }
}
@media (max-width: 768px) {
  .winner-section .aws__dots { display: none; }
  .winner-section .aws__controls { justify-content: center; }
}
@media (max-width: 640px) {
  .winner-section .aws { padding: 40px 0 48px; }
  .winner-section .aws__inner { padding: 0 20px; }
  .winner-section .aws__heading { font-size: 28px; line-height: 36px; margin-top: 18px; }
  .winner-section .aws__arrow { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .winner-section .aws__track { transition: none; }
}
