/* Affiliate dashboard — announcement carousel (js/aff-hero.js) */
.aff-hero { position: relative; margin: 0 0 24px; }
.aff-hero__viewport { overflow: hidden; border-radius: 18px; touch-action: pan-y; }
.aff-hero__track { display: flex; transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1); will-change: transform; }
.aff-hero__slide {
  flex: 0 0 100%; min-width: 0; box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 8px;
  min-height: 200px; padding: 22px 24px 22px 62px;
  background: var(--hero-bg); border: 1px solid var(--hero-line); border-radius: 18px;
}
.aff-hero__copy { min-width: 0; }
.aff-hero__title { margin: 0 0 6px; font-size: 1.25rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; color: var(--pz-ink, #0f172a); }
.aff-hero__text { margin: 0 0 14px; font-size: 0.9375rem; line-height: 1.45; color: #334155; }
.aff-hero__cta {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 0;
  background: var(--pz-blue, #1e3a8a); color: #fff; font: inherit; font-size: 0.8125rem; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: background 0.15s ease, transform 0.15s ease;
}
.aff-hero__cta:hover { background: var(--pz-blue-hover, #1e40af); }
.aff-hero__cta:active { transform: scale(0.97); }
.aff-hero__cta:focus-visible, .aff-hero__arrow:focus-visible, .aff-hero__dot:focus-visible { outline: 2px solid var(--pz-blue, #1e3a8a); outline-offset: 2px; }
.aff-hero__art { display: flex; align-items: center; justify-content: center; min-width: 0; }
.aff-hero__art svg { width: 100%; max-width: 280px; height: auto; display: block; }

.aff-hero__arrow {
  position: absolute; top: calc(50% - 22px); z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.82); color: var(--pz-ink, #0f172a);
  box-shadow: 0 2px 10px rgba(15,23,42,0.14); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s ease, transform 0.15s ease;
}
.aff-hero__arrow:hover { background: #fff; }
.aff-hero__arrow:active { transform: scale(0.94); }
.aff-hero__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.aff-hero__arrow--prev { left: 10px; }
.aff-hero__arrow--next { right: 10px; }

.aff-hero__dots { display: flex; justify-content: center; gap: 9px; margin-top: 12px; }
.aff-hero__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #cbd5e1; cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.aff-hero__dot[aria-current="true"] { width: 26px; background: var(--pz-blue, #1e3a8a); }

.aff-hero__slide--link  { --hero-bg: #e4ecfa; --hero-line: #c5d5ee; }
.aff-hero__slide--track { --hero-bg: #dde8f5; --hero-line: #c1d2e6; }
.aff-hero__slide--pay   { --hero-bg: #fbeed0; --hero-line: #efd9a3; }
.aff-hero__slide--trust { --hero-bg: #dcf1e7; --hero-line: #b8dfcc; }

@media (max-width: 480px) {
  .aff-hero__slide { padding: 18px 12px 18px 46px; min-height: 176px; gap: 4px; }
  .aff-hero__art { padding-right: 22px; }
  .aff-hero__title { font-size: 1.0625rem; }
  .aff-hero__text { font-size: 0.8125rem; margin-bottom: 12px; }
  .aff-hero__arrow { width: 32px; height: 32px; top: calc(50% - 16px); }
  .aff-hero__arrow svg { width: 16px; height: 16px; }
  .aff-hero__arrow--prev { left: 6px; } .aff-hero__arrow--next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .aff-hero__track, .aff-hero__dot, .aff-hero__cta, .aff-hero__arrow { transition: none; }
}