.pava-reseller-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: var(--pava-reseller-hero-height, 350px);
  margin-block: 0;
  overflow: hidden;
  background: var(--wp--preset--color--contrasto, #191919);
}

.pava-reseller-hero__background,
.pava-reseller-hero__overlay {
  position: absolute;
  inset: 0;
}

.pava-reseller-hero__background {
  z-index: -2;
}

.pava-reseller-hero__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pava-reseller-hero-position-desktop, 50% 50%);
}

.pava-reseller-hero__media--video {
  transform: scale(1.34);
}

.pava-reseller-hero__overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.08) 72%);
}

.pava-reseller-hero__content {
  display: flex;
  align-items: center;
  width: min(100%, 1510px);
  min-height: var(--pava-reseller-hero-height, 350px);
  margin-inline: auto;
  padding: 24px 40px;
  box-sizing: border-box;
}

.pava-reseller-hero__panel {
  width: min(100%, 520px);
  padding: clamp(22px, 2.2vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 14px;
  color: var(--wp--preset--color--primarioscuro, #0a0a0a);
  background: rgba(252, 250, 246, 0.8);
  box-shadow: 0 18px 48px rgba(10, 10, 10, 0.18);
  backdrop-filter: blur(3px);
  box-sizing: border-box;
}
@media (max-width: 782px) {
  .pava-reseller-hero__panel {
 background: rgba(252, 250, 246, 0.5);
}
}
.pava-reseller-hero__title {
  margin: 0;
  font-size: clamp(1.8rem, 2.7vw, 2.65rem);
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
}

.pava-reseller-hero__text {
  margin-top: 14px;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.45;
}

.pava-reseller-hero__text > :first-child {
  margin-top: 0;
}

.pava-reseller-hero__text > :last-child {
  margin-bottom: 0;
}

.pava-reseller-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pava-reseller-hero__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.35rem;
  border: 1px solid var(--wp--preset--color--primarioscuro, #0a0a0a);
  border-radius: 999px;
  color: var(--wp--preset--color--base, #fff);
  background: var(--wp--preset--color--primarioscuro, #0a0a0a);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.pava-reseller-hero__button:hover,
.pava-reseller-hero__button:focus-visible {
  border-color: var(--wp--preset--color--secondariorosa, #ffc5ff);
  color: var(--wp--preset--color--primarioscuro, #0a0a0a);
  background: var(--wp--preset--color--secondariorosa, #ffc5ff);
  text-decoration: none;
}

.pava-reseller-hero__button--secondary {
  border-color: var(--wp--preset--color--primario, #eb308a);
  color: var(--wp--preset--color--base, #fff);
  background: var(--wp--preset--color--primario, #eb308a);
}

@media (max-width: 1024px) {
  .pava-reseller-hero__media {
    object-position: var(--pava-reseller-hero-position-tablet, var(--pava-reseller-hero-position-desktop, 50% 50%));
  }
}

@media (max-width: 782px) {
  .pava-reseller-hero,
  .pava-reseller-hero__content {
    min-height: max(520px, var(--pava-reseller-hero-height, 350px));
  }

  .pava-reseller-hero__overlay {
    background: rgba(10, 10, 10, 0.25);
  }

  .pava-reseller-hero__media {
    object-position: var(--pava-reseller-hero-position-mobile, var(--pava-reseller-hero-position-tablet, 50% 50%));
  }

  .pava-reseller-hero__content {
    justify-content: center;
    padding: 24px 20px;
  }

  .pava-reseller-hero__panel {
    text-align: center;
  }

  .pava-reseller-hero__actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pava-reseller-hero__button {
    transition: none;
  }
}
