/* Radio Zamar 3.0 — Independent Homepage Slider */

.rz-hero-layout {
  --hero-navy: var(--rz-modern-navy, #101827);
  --hero-blue: var(--rz-modern-blue, #237EA3);
  --hero-gold: var(--rz-modern-gold, #D9AF53);
  --hero-coral: var(--rz-modern-coral, #E96C65);
  --hero-cream: var(--rz-modern-cream, #F7F2E9);
  --hero-plum: var(--rz-plum, #282441);
  --hero-burgundy: #8B1E3F;

  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: 18px;
  max-width: 1320px;
  margin: 24px auto 32px;
  padding: 0 20px;
  box-sizing: border-box;
}

.rz-hero-layout *,
.rz-hero-layout *::before,
.rz-hero-layout *::after {
  box-sizing: border-box;
}

.rz-hero-slider {
  position: relative;
  min-width: 0;
  min-height: 390px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--hero-blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 39, .14);
}

.rz-hero-slides,
.rz-hero-slide {
  min-height: 390px;
}

.rz-hero-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 44px 48px 86px;
  color: #fff;
}

.rz-hero-slide[hidden] {
  display: none !important;
}

.rz-hero-slide--blue {
  background: linear-gradient(125deg, #237EA3, #14516C);
}

.rz-hero-slide--plum {
  background: linear-gradient(125deg, #282441, #51416C);
}

.rz-hero-slide--coral {
  background: linear-gradient(125deg, #E96C65, #A83E59);
}

.rz-hero-eyebrow {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rz-hero-slide h1,
.rz-hero-slide h2 {
  margin: 0;
  max-width: 680px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.12;
  font-weight: 800;
}

.rz-hero-slide p {
  margin: 0;
  max-width: 590px;
  color: #fff;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.6;
}

.rz-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 40px;
  background: var(--hero-gold);
  color: var(--hero-navy) !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.rz-hero-button:hover,
.rz-hero-button:focus-visible {
  background: #F7D580;
  transform: translateY(-2px);
}

.rz-hero-controls {
  position: absolute;
  bottom: 20px;
  left: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.rz-hero-controls button {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 30px;
  background: rgba(16,24,39,.32);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.rz-hero-controls button:hover,
.rz-hero-controls button:focus-visible {
  background: rgba(16,24,39,.7);
  outline-offset: 3px;
}

.rz-hero-dots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.rz-hero-dots button {
  min-width: 12px;
  width: 12px;
  min-height: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.55);
}

.rz-hero-dots button.is-active {
  width: 27px;
  background: var(--hero-gold);
}

.rz-hero-controls .rz-hero-pause {
  margin-left: auto;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.rz-hero-sidebar {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.rz-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 22px 25px;
  border-radius: 16px;
}

.rz-hero-card span {
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 800;
}

.rz-hero-card h2 {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.22;
}

.rz-hero-card a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.rz-hero-card--live {
  background: var(--hero-burgundy);
  color: #fff;
}

.rz-hero-card--live h2,
.rz-hero-card--live a {
  color: #fff;
}

.rz-hero-card--app {
  background: var(--hero-cream);
  color: var(--hero-navy);
}

.rz-hero-card--app h2 {
  color: var(--hero-navy);
}

.rz-hero-card--app a,
.rz-hero-card--app span {
  color: var(--hero-blue);
}

.rz-hero-card--support {
  background: var(--hero-coral);
  color: #fff;
}

.rz-hero-card--support h2,
.rz-hero-card--support a {
  color: #fff;
}

@media (max-width: 900px) {
  .rz-hero-layout {
    grid-template-columns: 1fr;
  }

  .rz-hero-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

@media (max-width: 600px) {
  .rz-hero-layout {
    padding: 0 12px;
    gap: 12px;
  }

  .rz-hero-slider,
  .rz-hero-slides,
  .rz-hero-slide {
    min-height: 365px;
  }

  .rz-hero-slide {
    padding: 28px 24px 85px;
  }

  .rz-hero-controls {
    left: 16px;
    right: 16px;
    gap: 6px;
  }

  .rz-hero-sidebar {
    grid-template-columns: 1fr;
  }

  .rz-hero-card {
    min-height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rz-hero-button {
    transition: none;
  }
}


/* RZ STEP 3.14B - ALIGNED HOMEPAGE AND HOVER EFFECTS */

/* Match the lower homepage row's outer width and spacing. */
@media (min-width: 782px) {
  .rz-page-content .rz-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: calc(100% - 32px);
    max-width: 1320px;
    padding: 0;
    gap: 20px;
    margin: 24px auto 12px;
  }
}

/* Interactive glow and gentle elevation. */
.rz-hero-slider,
.rz-hero-card {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .rz-hero-slider:hover,
  .rz-hero-slider:focus-within {
    transform: translateY(-3px);
    box-shadow:
      0 14px 34px rgba(16, 24, 39, .20),
      0 0 20px rgba(217, 175, 83, .20);
  }

  .rz-hero-card:hover,
  .rz-hero-card:focus-within {
    transform: translateY(-4px);
    filter: brightness(1.08);
    box-shadow:
      0 12px 28px rgba(16, 24, 39, .18),
      0 0 18px rgba(217, 175, 83, .24);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rz-hero-slider,
  .rz-hero-card {
    transition: none;
  }
}


/* RZ STEP 3.14E - APP DOWNLOAD BUTTON EFFECTS */

.rz-app-compact .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(16, 24, 39, .12);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease,
    border-color 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .rz-app-compact .wp-block-button__link:hover {
    transform: translateY(-4px);
    filter: brightness(1.14);
    border-color: #E9BD54;
    box-shadow:
      0 12px 26px rgba(16, 24, 39, .22),
      0 0 20px rgba(233, 189, 84, .48);
  }
}

.rz-app-compact .wp-block-button__link:focus-visible {
  outline: 3px solid #E9BD54;
  outline-offset: 4px;
  box-shadow: 0 0 20px rgba(233, 189, 84, .48);
}

@media (max-width: 600px) {
  .rz-app-compact .wp-block-buttons {
    gap: 12px;
  }

  .rz-app-compact .wp-block-button__link {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rz-app-compact .wp-block-button__link {
    transition: none;
  }

  .rz-app-compact .wp-block-button__link:hover {
    transform: none;
  }
}
