/* Single background-video hero (test variant). Builds on hero.css. */
.brazol-hero--single {
  --strip-h: 46px;
  /* Hero + marquee strip fill exactly one screen (minus the WP admin bar when logged in). */
  height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
  min-height: 560px;
  align-items: flex-end;
}
/* Video ends where the strip begins, so the strip never hides its bottom edge. */
.brazol-hero--single .brazol-hero-media { bottom: var(--strip-h); height: auto; }
.brazol-hero--single .brazol-hero-overlay { bottom: var(--strip-h); }
.brazol-hero--single .brazol-hero-media video {
  object-fit: cover;
  object-position: center bottom; /* if the screen ratio forces a crop, trim the sky, not the bottom */
  opacity: 1;
  z-index: 0;
  transform: none;
  animation: none;
}
.brazol-hero--single .brazol-hero-overlay {
  background:
    linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.05) 62%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 22%);
}

/* Bottom editorial layout: title left, subtitle right, just above the marquee strip. */
.brazol-hero--single .brazol-hero-content {
  padding: 140px 0 calc(var(--strip-h) + clamp(28px, 5vh, 56px));
  text-align: start;
}
.brazol-hero-single {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  animation: brazolHeroRise 0.9s cubic-bezier(.2,.7,.2,1) both;
}
.brazol-hero--single .brazol-hero-title {
  position: relative;
  margin: 0;
  padding-inline-start: 22px;
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.brazol-hero--single .brazol-hero-title::before {
  content: "";
  position: absolute;
  inset-block: 0.12em;
  inset-inline-start: 0;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff3b3b, #C20000);
}
.brazol-hero-title-accent {
  display: block;
  margin-top: 0.08em;
  background: linear-gradient(90deg, #ff4040 0%, #C20000 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.brazol-hero--single .brazol-hero-sub {
  position: relative;
  margin: 0;
  max-width: 480px;
  justify-self: end;
  padding-top: 18px;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.86);
  border-top: 1px solid rgba(255,255,255,0.28);
}
.brazol-hero--single .brazol-hero-sub::before {
  content: "";
  position: absolute;
  top: -2px;
  inset-inline-start: 0;
  width: 64px;
  height: 3px;
  background: #C20000;
}
@keyframes brazolHeroRise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

/* Sound toggle — round mic / mic-off icon button, bottom-right of the hero just above the strip */
.brazol-hero-sound {
  position: absolute;
  right: max(4vw, calc((100vw - 1400px) / 2));
  bottom: calc(var(--strip-h) + 22px);
  z-index: 3;
  width: 50px;
  height: 50px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.brazol-hero-sound[hidden] { display: none; }
.brazol-hero-sound svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brazol-hero-sound .ico-off,
.brazol-hero-sound.is-muted .ico-on { display: none; }
.brazol-hero-sound.is-muted .ico-off { display: block; }
.brazol-hero-sound:hover { background: #C20000; border-color: #C20000; transform: scale(1.06); }
.brazol-hero-sound:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Desktop/laptop: leave room under the subtitle so the button never touches the text */
@media (min-width: 861px) {
  .brazol-hero--single .brazol-hero-content { padding-bottom: calc(var(--strip-h) + 96px); }
}

@media (max-width: 860px) {
  .brazol-hero--single { min-height: 520px; }
  .brazol-hero--single .brazol-hero-content { padding: 120px 0 calc(var(--strip-h) + 64px); }
  .brazol-hero-single { grid-template-columns: 1fr; gap: 18px; }
  .brazol-hero--single .brazol-hero-title { font-size: clamp(1.7rem, 7.4vw, 2.4rem); padding-inline-start: 16px; }
  .brazol-hero--single .brazol-hero-sub { justify-self: start; padding-top: 14px; font-size: 0.92rem; }
  .brazol-hero-sound { bottom: calc(var(--strip-h) + 14px); right: 16px; width: 44px; height: 44px; }
  .brazol-hero-sound svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .brazol-hero-single { animation: none; }
}
