/**
 * DonnaEros — child theme
 * Placeholder frames (aspect-ratio) + stati operatrice + sticky bar
 * Vedi docs/02-image-specs-placeholder.md
 */

:root {
  --de-bg-page: #0f0a14;
  --de-bg-card: #1a1224;
  --de-border: rgba(255, 255, 255, 0.08);
  --de-placeholder-bg: #2a1f38;
  --de-placeholder-text: #fdba74;
  --de-brand: #f97316;
  --de-brand-hover: #fb923c;
  --de-brand-deep: #ea580c;
  --de-radius: 12px;
  --de-content-max: 1200px;
  --de-content-pad-x: 1.25rem;
  /* Spazio verticale hero → intro SEO (sotto intro = 0, griglia attaccata) */
  --de-home-block-gap: clamp(1rem, 2.5vw, 1.35rem);
}

/* ——— Image frames (WebP-ready containers) ——— */

.de-img-frame {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--de-radius);
  background: var(--de-placeholder-bg);
  position: relative;
}

.de-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Placeholder SVG di sviluppo */
.de-img-frame.is-placeholder::after {
  content: attr(data-spec);
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.35rem 0.5rem;
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  color: var(--de-placeholder-text);
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.de-img-hero {
  aspect-ratio: 4 / 5;
  max-height: none;
}

.de-img-logo {
  width: auto;
  max-width: 180px;
  height: 48px;
  aspect-ratio: auto;
  background: transparent;
}

@media (max-width: 991px) {
  .de-img-logo {
    max-width: 140px;
    height: 40px;
  }
}

.de-img-operator {
  aspect-ratio: 1 / 1;
  position: relative;
}

/* Griglia homepage: foto 140×140 — cornice bianca sfumata */
.de-operator-card .de-img-operator {
  width: 140px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--de-radius);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 14px rgba(255, 255, 255, 0.18),
    0 0 28px rgba(255, 255, 255, 0.1),
    0 0 42px rgba(255, 255, 255, 0.05);
}

.de-operator-card .de-img-operator::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: calc(var(--de-radius) + 10px);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.14) 42%,
    transparent 68%
  );
  z-index: 0;
  pointer-events: none;
}

.de-operator-card__link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  align-items: center;
  text-align: center;
}

.de-operator-card__name,
.de-operator-card__pin,
.de-operator-card__status {
  width: 100%;
  text-align: center;
}

/* Griglia live: immagine sempre visibile (no lazy-load / Bricks che nasconde allo scroll) */
#de-operators-live .de-img-operator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--de-radius);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  z-index: 1;
}

.de-img-operator-lg {
  aspect-ratio: 3 / 4;
  max-width: 480px;
}

.de-img-cat-icon {
  aspect-ratio: 1 / 1;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .de-img-cat-icon {
    width: 56px;
    height: 56px;
  }
}

.de-img-cat-banner {
  aspect-ratio: 2 / 1;
  max-height: 360px;
}

.de-img-blog {
  aspect-ratio: 16 / 9;
}

.de-img-seo-inline {
  aspect-ratio: 16 / 9;
  max-width: 720px;
  margin: 1.5rem auto;
}

/* ——— Operator card ——— */

.de-operator-card {
  background: var(--de-bg-card);
  border: 1px solid var(--de-border);
  border-radius: var(--de-radius);
  overflow: hidden;
}

.de-operator-card__body {
  padding: 0.75rem;
}

.de-operator-card__badge {
  font-size: 0.8125rem;
  font-weight: 600;
}

.de-operator-card__pin {
  font-size: 0.75rem;
  opacity: 0.75;
}

.status--available .de-operator-card__badge {
  color: #4ade80;
}

.status--busy .de-operator-card__badge {
  color: #fb923c;
}

.status--offline .de-operator-card__badge {
  color: #9ca3af;
}

.status--offline .de-operator-card__cta {
  pointer-events: none;
  opacity: 0.6;
}

.status--busy .de-operator-card__cta.is-disabled,
.de-operator-card__cta.is-disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.88;
}

/* ——— Homepage sections spacing ——— */

.de-section {
  padding: 2.5rem 0;
}

.de-home-intro-seo.de-section {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 991px) {
  .de-section {
    padding: 1.75rem 0;
  }

  .de-home-intro-seo.de-section {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.de-section--hero {
  padding-top: 1.5rem;
}

/* ——— Homepage hero (2 colonne, CTA dinamiche) ——— */

/* Bricks: shortcode/container spesso shrink-to-fit → hero resta a sinistra */
.brxe-shortcode:has(.de-home-hero),
.brxe-container:has(.de-home-hero),
.brxe-section:has(.de-home-hero) {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: stretch !important;
}

/* Allineamento a filo con header: niente padding laterale extra da Bricks */
.brxe-section:has(.de-home-hero),
.brxe-container:has(.de-home-hero) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.brxe-shortcode:has(.de-home-hero) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.de-home-hero {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  padding: clamp(1.25rem, 3vw, 2rem) 0 var(--de-home-block-gap);
}

.de-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  width: 100%;
  max-width: var(--de-content-max);
  margin: 0 auto;
  padding: 0 var(--de-content-pad-x);
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .de-home-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
    padding: 0 var(--de-content-pad-x);
  }

  .de-home-hero__visual {
    order: -1;
  }

  .de-home-hero__content {
    align-items: center;
    text-align: center;
  }

  .de-home-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .de-home-hero__stats {
    justify-content: center;
  }

  .de-home-hero__h24 {
    margin-left: auto;
    margin-right: auto;
  }
}

.de-home-hero__visual {
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  padding: 0.65rem 0.65rem 0.65rem 0;
}

.de-home-hero__figure {
  position: relative;
  aspect-ratio: auto;
  width: 100%;
  max-width: min(100%, 440px);
  max-height: none;
  margin: 0;
  border: 2px solid var(--de-brand);
  border-radius: calc(var(--de-radius) + 6px);
  overflow: visible;
  background: var(--de-placeholder-bg);
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, 0.22),
    0 0 22px 6px rgba(249, 115, 22, 0.38),
    0 0 44px 14px rgba(249, 115, 22, 0.18),
    0 0 72px 24px rgba(249, 115, 22, 0.08),
    0 22px 44px rgba(0, 0, 0, 0.34);
  filter: drop-shadow(0 0 18px rgba(249, 115, 22, 0.28));
}

/* Cornice esterna sfumata (alone arancione più largo) */
.de-home-hero__figure::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: calc(var(--de-radius) + 16px);
  background: radial-gradient(
    ellipse at center,
    rgba(249, 115, 22, 0.5) 0%,
    rgba(249, 115, 22, 0.22) 40%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

.de-home-hero__figure picture {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  border-radius: calc(var(--de-radius) + 4px);
  overflow: hidden;
  background: var(--de-placeholder-bg);
}

.de-home-hero__figure img,
.de-home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  border-radius: calc(var(--de-radius) + 2px);
}

@media (max-width: 991px) {
  .de-home-hero__figure {
    max-width: min(72vw, 320px);
  }
}

.de-home-hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.35rem);
  min-width: 0;
  width: 100%;
}

.de-home-hero__intro {
  margin: 0;
}

.de-home-hero__title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: #f8fafc;
}

.de-home-hero__lead {
  margin: 0.4rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.82);
  max-width: 36rem;
}

.de-home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.de-home-hero__h24 {
  margin: 0.75rem 0 0;
  max-width: min(100%, 300px);
}

.de-home-hero__h24-img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.05);
}

.de-home-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--de-border);
}

.de-home-hero__stat strong {
  font-size: 1.2rem;
  font-weight: 700;
}

.de-home-hero__stat--available strong {
  color: #4ade80;
}

.de-home-hero__stat--busy strong {
  color: #fbbf24;
}

/* ——— Homepage intro SEO (sotto hero) ——— */

.brxe-shortcode:has(.de-home-intro-seo),
.brxe-container:has(.de-home-intro-seo),
.brxe-section:has(.de-home-intro-seo) {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: stretch !important;
}

.brxe-shortcode:has(.de-home-intro-seo) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.brxe-section:has(.de-home-intro-seo),
.brxe-container:has(.de-home-intro-seo) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Sezione intera centrata nella pagina (come banda hero 1200px) */
.de-home-intro-seo.de-section {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--de-content-max);
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  padding: 0 var(--de-content-pad-x) 0;
}

.de-home-intro-seo__wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.de-home-intro-seo__card {
  position: relative;
  border-radius: calc(var(--de-radius) + 8px);
  padding: clamp(1.35rem, 3vw, 2.25rem) 0;
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.14) 0%, rgba(124, 58, 237, 0.12) 45%, rgba(15, 10, 20, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(236, 72, 153, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-sizing: border-box;
}

.de-home-intro-seo__card::before {
  content: "";
  position: absolute;
  inset: -40% 30% auto -20%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.25), transparent 68%);
  pointer-events: none;
}

.de-home-intro-seo__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 340px);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--de-content-max);
  margin: 0 auto;
  padding: 0 var(--de-content-pad-x);
  box-sizing: border-box;
}

.de-home-intro-seo__content {
  min-width: 0;
  justify-self: stretch;
}

.de-home-intro-seo__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.de-home-intro-seo__prose {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 1.2vw, 1.0625rem);
  line-height: 1.65;
}

.de-home-intro-seo__prose p {
  margin: 0 0 0.85rem;
}

.de-home-intro-seo__keywords {
  color: rgba(253, 186, 216, 0.95);
  font-size: 0.98rem;
}

.de-home-intro-seo__benefits {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.de-home-intro-seo__benefits li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.de-home-intro-seo__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.65);
}

.de-home-intro-seo__cta-wrap {
  margin: 1.35rem 0 0;
}

.de-home-intro-seo__cta {
  display: inline-block;
  max-width: 36rem;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff !important;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 55%, #7c3aed 100%);
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.de-home-intro-seo__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.45);
  color: #fff !important;
}

.de-home-intro-seo__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  width: 100%;
  min-width: 0;
}

.de-home-intro-seo__figure {
  margin: 0 auto;
  width: min(100%, 300px);
  max-height: min(72vh, 520px);
  border-radius: calc(var(--de-radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(236, 72, 153, 0.2),
    0 0 28px rgba(168, 85, 247, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.4);
  background: rgba(15, 10, 20, 0.5);
}

.de-home-intro-seo__img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 520px);
  object-fit: contain;
  object-position: center center;
  display: block;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .de-home-intro-seo__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    justify-content: center;
  }

  .de-home-intro-seo__content {
    text-align: center;
    justify-self: stretch;
  }

  .de-home-intro-seo__visual {
    order: -1;
    justify-content: center;
    justify-self: center;
  }

  .de-home-intro-seo__figure {
    width: min(72vw, 280px);
  }

  .de-home-intro-seo__benefits {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .de-home-intro-seo__cta-wrap {
    display: flex;
    justify-content: center;
  }

  .de-home-intro-seo__cta {
    display: block;
    text-align: center;
  }
}

.de-hero-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}

.de-hero-cta-card {
  display: block;
  text-decoration: none;
  color: #111827;
  background: #ffffff;
  border: 2px solid var(--de-brand);
  border-radius: 14px;
  padding: 1.05rem 1.15rem 0.95rem;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.22),
    0 0 20px rgba(249, 115, 22, 0.12);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

a.de-hero-cta-card:hover,
a.de-hero-cta-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--de-brand-hover);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    0 4px 28px rgba(249, 115, 22, 0.38);
  color: #111827;
}

.de-hero-cta-card__label {
  margin: 0 0 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
}

.de-hero-cta-card__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.de-hero-cta-card__icon {
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  color: var(--de-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.de-hero-cta-card__icon-svg {
  width: 2.5rem;
  height: 2.5rem;
}

.de-hero-cta-card__main {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--de-brand-deep);
}

.de-hero-cta-card__detail {
  margin: 0;
  text-align: center;
  font-size: 1rem;
  color: #374151;
}

/* ——— Sticky mobile CTA ——— */

.de-sticky-call-bar {
  display: none;
}

@media (max-width: 991px) {
  .de-sticky-call-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    background: rgba(15, 10, 20, 0.95);
    gap: 0.5rem;
    backdrop-filter: blur(8px);
  }

  body.de-has-sticky-bar {
    padding-bottom: 4.5rem;
  }
}

.de-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.de-breadcrumb a {
  text-decoration: none;
}

/* ——— Griglia operatrici live (shortcode de_operators_grid) ——— */

/* Sezione operatrici: come test Bricks (padding-top 0, sfondo pagina) */
.brxe-section:has(#de-operators-live),
.brxe-container:has(#de-operators-live) {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background-color: var(--de-bg-page) !important;
  align-self: stretch !important;
}

.brxe-shortcode:has(#de-operators-live) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

.brxe-section:has(#de-operators-live) .brxe-container {
  max-width: var(--de-content-max) !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: var(--de-content-pad-x) !important;
  padding-right: var(--de-content-pad-x) !important;
  box-sizing: border-box !important;
}

.brxe-section:has(#de-operators-live) .brxe-heading,
.brxe-section:has(#de-operators-live) h2 {
  width: 100%;
  max-width: var(--de-content-max);
  margin: 0 auto 1rem !important;
  padding: 0 var(--de-content-pad-x);
  box-sizing: border-box;
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #f8fafc;
}

.de-operators-live {
  width: 100%;
  max-width: var(--de-content-max);
  margin: 0 auto;
  padding: 0 var(--de-content-pad-x);
  box-sizing: border-box;
}

.de-operators-live .de-operators-section:first-child {
  margin-top: 0;
}

.de-operators-section {
  margin-bottom: 2.25rem;
}

.de-operators-section__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  text-align: center;
}

.de-operators-section--available .de-operators-section__title {
  color: #4ade80;
}

.de-operators-section--busy .de-operators-section__title {
  color: #fbbf24;
}

.de-operators-empty {
  margin: 0;
  padding: 1rem 0;
  opacity: 0.85;
  font-size: 1.0625rem;
}

.de-operators-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(10.5rem, 1fr));
  justify-content: center;
  justify-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: var(--de-content-max);
  margin: 0 auto;
}

.de-operators-grid .de-operator-card {
  width: 100%;
  max-width: 12.5rem;
}

@media (max-width: 1199px) {
  .de-operators-grid {
    grid-template-columns: repeat(3, minmax(10.5rem, 1fr));
  }
}

@media (max-width: 767px) {
  .de-operators-grid {
    grid-template-columns: repeat(2, minmax(9.5rem, 1fr));
    gap: 0.85rem;
  }

  .de-operators-grid .de-operator-card {
    max-width: 100%;
  }
}

.de-operator-card {
  background: var(--de-bg-card);
  border: 2px solid var(--de-brand);
  border-radius: calc(var(--de-radius) + 2px);
  padding: clamp(0.85rem, 1.4vw, 1.15rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.25),
    0 0 16px rgba(249, 115, 22, 0.1);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.de-operator-card:hover {
  border-color: var(--de-brand-hover);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(249, 115, 22, 0.22);
  transform: translateY(-2px);
}

.de-operator-card.status--available {
  border-color: var(--de-brand);
}

.de-operator-card.status--busy {
  border-color: #f59e0b;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.25),
    0 0 16px rgba(245, 158, 11, 0.15);
}

.de-operator-card__name {
  margin: 0.55rem 0 0;
  font-size: clamp(1.125rem, 1.35vw, 1.375rem);
  font-weight: 600;
  line-height: 1.2;
}

.de-operator-card__pin,
.de-operator-card__status {
  margin: 0;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  opacity: 0.92;
}

.de-operator-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.7rem 1rem;
  background: var(--de-brand);
  color: #fff !important;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
}

.de-operator-card__cta:hover {
  background: var(--de-brand-hover);
}

.de-operator-card__cta.is-disabled:hover {
  background: var(--de-brand);
}

.de-operator-card.status--available .de-operator-card__status {
  color: #4ade80;
}

.de-operator-card.status--busy .de-operator-card__status {
  color: #fbbf24;
}

/* ——— Header sito (stile DonnaEros, non neon voceerotica24) ——— */

.de-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 10, 20, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--de-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.de-site-header__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem var(--de-content-pad-x);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(243, 244, 246, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.de-site-header__badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.875rem;
}

.de-site-header__bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--de-content-max);
  margin: 0 auto;
  padding: 1rem var(--de-content-pad-x);
}

.de-site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #f9fafb;
  text-decoration: none;
  flex-shrink: 0;
}

.de-site-header__logo {
  width: auto;
  max-width: min(240px, 52vw);
  height: clamp(56px, 6vw, 64px);
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.de-site-header__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--de-brand-deep) 0%, var(--de-brand) 100%);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}

.de-site-header__name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.de-site-header__name-accent {
  color: var(--de-brand-hover);
  font-style: italic;
}

.de-site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-left: auto;
}

.de-site-header__nav a {
  color: rgba(243, 244, 246, 0.92);
  text-decoration: none;
  font-size: clamp(1.125rem, 1.35vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.de-site-header__nav a:hover {
  color: var(--de-brand-hover);
}

.de-site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.de-site-header__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.de-site-header__price {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: rgba(243, 244, 246, 0.78);
}

.de-site-header__phone {
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  font-weight: 700;
  color: #f9fafb;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.de-site-header__phone:hover {
  color: var(--de-brand-hover);
}

.de-site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--de-brand-deep) 0%, var(--de-brand) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.45);
  white-space: nowrap;
}

.de-site-header__cta:hover {
  filter: brightness(1.08);
}

.de-site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--de-border);
  background: rgba(255, 255, 255, 0.06);
  color: #f3f4f6;
  font-size: 0.8125rem;
  cursor: pointer;
}

@media (max-width: 991px) {
  .de-site-header__top {
    font-size: 0.8125rem;
    padding: 0.4rem var(--de-content-pad-x);
  }

  .de-site-header__bar {
    flex-wrap: wrap;
    padding: 0.85rem var(--de-content-pad-x);
  }

  .de-site-header__nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem 0 0;
    border-top: 1px solid var(--de-border);
  }

  .de-site-header.is-nav-open .de-site-header__nav {
    display: flex;
  }

  .de-site-header__nav a {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .de-site-header__meta {
    display: none;
  }

  .de-site-header__toggle {
    display: inline-flex;
  }

  .de-site-header__actions {
    margin-left: auto;
  }
}

/* ——— Footer sito ——— */

.de-site-footer {
  background: linear-gradient(180deg, #1d0630 0%, #0b1026 100%);
  color: #e5edf7;
  border-top: 2px solid rgba(249, 115, 22, 0.7);
  margin-top: 0;
  padding-top: clamp(1.1rem, 2vw, 1.4rem);
}

.de-site-footer__wrap {
  width: min(100% - 2rem, var(--de-content-max, 75rem));
  margin-inline: auto;
  padding: clamp(1.3rem, 2.6vw, 1.9rem) 0 clamp(1rem, 2vw, 1.4rem);
}

.de-site-footer__head {
  text-align: center;
  margin-bottom: clamp(1.2rem, 2.2vw, 1.8rem);
}

.de-site-footer__brand {
  margin: 0;
  font-size: clamp(1.5rem, 3.1vw, 2.2rem);
  font-weight: 800;
  color: #fff;
}

.de-site-footer__disclaimer {
  margin: 0.45rem 0 0;
  color: #f97316;
  font-weight: 700;
}

.de-site-footer__grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.2rem;
}

.de-site-footer__col h2 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.de-site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.de-site-footer__col a {
  color: #e5edf7;
  text-decoration: none;
}

.de-site-footer__col a:hover {
  color: #f97316;
}

.de-site-footer__bottom {
  border-top: 1px solid rgba(229, 237, 247, 0.18);
  padding-top: 0.85rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(229, 237, 247, 0.86);
}

.de-site-footer__bottom p {
  margin: 0.2rem 0;
}

@media (max-width: 991px) {
  .de-site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Pagine istituzionali (Termini / Privacy / Contatti) ——— */

body.de-legal-page {
  background: #06070d;
  color: #f8fafc;
}

body.de-legal-page main,
body.de-legal-page .site-main,
body.de-legal-page #main,
body.de-legal-page .brxe-main {
  background: transparent;
}

.de-legal-content {
  width: min(100% - 2rem, 68rem);
  margin: clamp(1.25rem, 2.4vw, 2rem) auto clamp(2rem, 3.6vw, 2.8rem);
  padding: clamp(1.1rem, 2vw, 1.6rem);
  background: rgba(8, 12, 24, 0.92);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 0.75rem;
  line-height: 1.7;
  color: #f8fafc;
}

.de-legal-content :is(h1, h2, h3, h4) {
  color: #fff;
  margin-top: 1.05em;
}

.de-legal-content p,
.de-legal-content li {
  color: rgba(248, 250, 252, 0.95);
}

.de-legal-content a {
  color: #f97316;
}

.de-legal-content a:hover {
  color: #fb923c;
}

/* ——— Sotto griglia operatrici (banner + pagamenti) ——— */

.brxe-shortcode:has(.de-below-operators),
.brxe-container:has(.de-below-operators),
.brxe-section:has(.de-below-operators) {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  align-self: stretch !important;
}

.de-below-operators {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--de-content-max);
  margin: var(--de-home-block-gap) auto 0;
  padding: 0 var(--de-content-pad-x) clamp(2rem, 4vw, 2.5rem);
}

.de-below-operators__wrap {
  width: 100%;
}

.de-below-operators__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.15rem, 2.5vw, 1.65rem);
  width: 100%;
}

.de-below-operators__block {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

.de-below-operators__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  color: #fff;
}

.de-below-operators__title-sm {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  color: #fff;
}

.de-below-operators__highlight {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  color: #fde047;
}

.de-below-operators__text {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 1.65vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.de-below-operators__text:last-child {
  margin-bottom: 0;
}

.de-below-operators__note {
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.de-below-operators__block--banner {
  width: 100%;
  max-width: min(100%, var(--de-content-max));
}

.de-below-operators__banner {
  display: block;
  width: 100%;
  max-width: min(100%, var(--de-content-max));
  height: auto;
  margin: 0 auto;
  border-radius: calc(var(--de-radius) + 4px);
}

.de-below-operators__paypal {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  margin: 0 auto;
}

/* Griglia CTA tariffe (dati ACF de_hero_cta_cards / opzioni) */
.de-below-operators__block--cta {
  max-width: var(--de-content-max);
  width: 100%;
}

.de-below-operators__cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.15rem);
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
  justify-content: center;
}

.de-below-operators__cta-item {
  min-width: 0;
}

.de-below-operators__cta-item .de-hero-cta-card {
  width: 100%;
  height: 100%;
}

.de-below-operators__cta-grid .de-hero-cta-card__main {
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
}

@media (max-width: 991px) {
  .de-below-operators__cta-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
}

@media (max-width: 767px) {
  .de-below-operators__cta-grid .de-hero-cta-card__label {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .de-below-operators__cta-grid .de-hero-cta-card__main {
    font-size: 2rem;
    line-height: 1.1;
  }

  .de-below-operators__cta-grid .de-hero-cta-card__detail {
    font-size: 1.12rem;
    line-height: 1.45;
  }
}

.de-below-operators__block--categories {
  max-width: var(--de-content-max, 75rem);
}

.de-below-operators__block--seo {
  max-width: var(--de-content-max, 75rem);
  text-align: left;
}

.de-below-operators__block--seo .de-below-operators__title {
  margin-bottom: 0.9rem;
}

.de-below-operators__faq {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.8rem;
}

.de-below-operators__faq p {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.de-below-operators__categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.35rem);
  width: 100%;
  margin-top: 0.75rem;
  text-align: left;
}

@media (min-width: 640px) {
  .de-below-operators__categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .de-below-operators__categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.de-cat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 2px solid #f97316;
  border-radius: 0.25rem;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.de-cat-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: visible;
  text-decoration: none;
  z-index: 1;
}

.de-cat-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.15rem 0.15rem 0 0;
}

.de-cat-card__badge {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  transform: translate(-50%, 50%);
  max-width: calc(100% - 1rem);
  padding: 0.35rem 0.5rem;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  color: #fb923c;
  background: transparent;
  clip-path: none;
  box-shadow: none;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(0, 0, 0, 0.85),
    0 2px 4px rgba(0, 0, 0, 0.75);
  white-space: normal;
  overflow: visible;
}

.de-cat-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.85rem 0.75rem 0.85rem;
  position: relative;
  z-index: 2;
}

.de-cat-card__text {
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(0.78rem, 1.15vw, 0.88rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  overflow: visible;
}

.de-cat-card__actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
}

.de-cat-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.de-cat-card__btn:hover,
.de-cat-card__btn:focus-visible {
  background: rgba(51, 65, 85, 0.98);
  border-color: #fb923c;
}

.de-cat-card__btn-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.de-cat-card__btn-icon .de-hero-cta-card__icon-svg {
  width: 100%;
  height: 100%;
}

.de-cat-card__btn-num {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ——— Pagina singola categoria SEO (layout legacy a sezioni) ——— */

/* Sfondo scuro come homepage (#0f0a14) — testo bianco leggibile */
body.de-cat-single-page,
body.de-cat-archive-page {
  background-color: var(--de-bg-page);
  color: rgba(255, 255, 255, 0.92);
}

body.de-cat-single-page #brx-body,
body.de-cat-single-page #brx-content,
body.de-cat-archive-page #brx-body,
body.de-cat-archive-page #brx-content {
  background-color: var(--de-bg-page);
}

body.de-cat-single-page .brxe-section,
body.de-cat-single-page .brxe-container,
body.de-cat-archive-page .brxe-section,
body.de-cat-archive-page .brxe-container,
.brxe-section:has(.de-cat-page),
.brxe-section:has(.de-cat-archive__inner),
.brxe-container:has(.de-cat-page),
.brxe-container:has(.de-cat-archive__inner) {
  background-color: var(--de-bg-page) !important;
}

/* Allineamento a filo con logo header (stesso max-width + padding laterale) */
.brxe-shortcode:has(.de-cat-page),
.brxe-shortcode:has(.de-cat-archive__inner),
.brxe-container:has(.de-cat-page),
.brxe-container:has(.de-cat-archive__inner),
.brxe-section:has(.de-cat-page),
.brxe-section:has(.de-cat-archive__inner) {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: stretch !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.brxe-shortcode:has(.de-cat-page),
.brxe-shortcode:has(.de-cat-archive__inner) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

body.de-cat-single-page #brx-content.de-cat-single__main,
body.de-cat-single-page .de-cat-single__main {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background-color: var(--de-bg-page);
  min-height: 50vh;
}

/* Bricks può lasciare un #brx-content vuoto oltre al nostro main: nascondilo */
body.de-cat-single-page #brx-content:empty {
  display: none;
}

.de-cat-page {
  width: 100%;
  max-width: var(--de-content-max);
  margin: 0 auto;
  padding: 0 var(--de-content-pad-x) 2.5rem;
  box-sizing: border-box;
}

.de-cat-page__head {
  margin-bottom: 1.5rem;
  text-align: center;
}

.de-cat-page__title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  font-style: italic;
  color: #fff;
}

.de-cat-block {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.de-cat-block__headline {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  text-align: center;
  color: #fff;
}

/* Blocco 1: img sx — testo dx | Blocco 2: testo sx — img dx */
.de-cat-page .de-cat-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
  box-sizing: border-box;
}

.de-cat-page .de-cat-row--media-right {
  flex-direction: row-reverse;
}

.de-cat-page .de-cat-row--no-media {
  flex-direction: column;
}

.de-cat-page .de-cat-row__media {
  flex: 0 0 44%;
  max-width: 44%;
  margin: 0;
}

.de-cat-page .de-cat-row__body {
  flex: 1 1 52%;
  min-width: 0;
  max-width: 56%;
}

.de-cat-page .de-cat-row--no-media .de-cat-row__body {
  flex: 1 1 100%;
  max-width: 100%;
}

.de-cat-page .de-cat-row__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  border: 2px solid #ea580c;
  border-radius: 0.15rem;
  object-fit: cover;
}

.de-cat-page .de-cat-row__text :is(p, ul, ol, div) {
  max-width: 100%;
}

.de-cat-page .de-cat-row__text :is(table, img) {
  max-width: 100%;
  height: auto;
}

.de-cat-row__title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid #ea580c;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  color: #fff;
}

.de-cat-row__text {
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

/* Testo legacy (font/color inline scuri su sfondo chiaro Bricks) */
.de-cat-page .de-cat-row__text :is(p, li, span, div, td, th, blockquote) {
  color: rgba(255, 255, 255, 0.92);
}

.de-cat-page .de-cat-row__text :is(h1, h2, h3, h4, h5, h6) {
  color: #fff;
}

.de-cat-page .de-cat-row__text font[color="#000000"],
.de-cat-page .de-cat-row__text font[color="#000"],
.de-cat-page .de-cat-row__text font[color="black"],
.de-cat-page .de-cat-row__text [style*="color: rgb(0"],
.de-cat-page .de-cat-row__text [style*="color:#000"],
.de-cat-page .de-cat-row__text [style*="color: #000"] {
  color: rgba(255, 255, 255, 0.92) !important;
}

.de-cat-page .de-breadcrumb,
.de-cat-page .de-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.de-cat-page .de-breadcrumb a:hover {
  color: #fde047;
}

.de-cat-row__text a {
  color: #fb923c;
  font-weight: 700;
}

/* CTA tra i blocchi (stile legacy) */
.de-cat-page .de-cat-cta {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  clear: both;
}

.de-cat-page .de-cat-cta__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
}

.de-cat-cta__card {
  min-height: 100%;
}

/* Promo pagamenti sotto griglia CTA (come homepage) */
.de-cat-page__payment-promo {
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

.de-cat-page__payment-promo .de-payment-promo__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 2vw, 1.35rem);
  width: 100%;
}

.de-cat-page__payment-promo .de-below-operators__block {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

/* 4 card in riga: tipografia più compatta nel content-max 1200px */
.de-cat-page .de-cat-cta__grid .de-hero-cta-card {
  padding: 0.85rem 0.6rem 0.75rem;
}

.de-cat-page .de-cat-cta__grid .de-hero-cta-card__label {
  margin-bottom: 0.45rem;
  font-size: clamp(0.75rem, 1vw, 0.92rem);
  line-height: 1.2;
}

.de-cat-page .de-cat-cta__grid .de-hero-cta-card__body {
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.de-cat-page .de-cat-cta__grid .de-hero-cta-card__icon {
  width: 2.2rem;
  height: 2.2rem;
}

.de-cat-page .de-cat-cta__grid .de-hero-cta-card__icon-svg {
  width: 1.75rem;
  height: 1.75rem;
}

.de-cat-page .de-cat-cta__grid .de-hero-cta-card__main {
  font-size: clamp(0.95rem, 1.6vw, 1.28rem);
}

.de-cat-page .de-cat-cta__grid .de-hero-cta-card__detail {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
}

@media (max-width: 900px) {
  .de-cat-page .de-cat-row,
  .de-cat-page .de-cat-row--media-right {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .de-cat-page .de-cat-row__media,
  .de-cat-page .de-cat-row__body {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .de-cat-page .de-cat-cta__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .de-cat-page .de-cat-cta__grid {
    grid-template-columns: 1fr;
  }
}

.de-cat-page__section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  font-style: italic;
  color: #fde047;
}

.de-cat-page__faq {
  margin-top: 2rem;
}

.de-cat-page__faq-item {
  margin-bottom: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
}

.de-cat-page__faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 1rem;
}

.de-cat-page__faq-item summary::-webkit-details-marker {
  display: none;
}

.de-cat-page__faq-q {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.de-cat-page__faq-a {
  padding: 0 1rem 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.de-cat-page__intro,
.de-cat-page__seo {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.de-cat-page__operators {
  margin-bottom: 1.5rem;
}

.de-cat-page__operators #de-operators-live {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Archivio categorie /categorie/ */
.de-cat-archive__inner {
  width: 100%;
  max-width: var(--de-content-max);
  margin: 0 auto;
  padding: 0 var(--de-content-pad-x) 2rem;
  box-sizing: border-box;
}

.de-cat-archive__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
}

.de-cat-archive__lead {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.de-cat-archive__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.de-cat-archive__list a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fde047;
  font-weight: 600;
  text-decoration: none;
}

.de-cat-archive__list a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ——— Pagina singola operatrice ——— */
body.de-operatrice-single-page {
  background-color: var(--de-bg-page);
  color: rgba(255, 255, 255, 0.92);
}

body.de-operatrice-single-page #brx-body,
body.de-operatrice-single-page #brx-content,
body.de-operatrice-single-page .brxe-section,
body.de-operatrice-single-page .brxe-container,
.brxe-section:has(.de-op-single),
.brxe-container:has(.de-op-single) {
  background-color: var(--de-bg-page) !important;
}

body.de-operatrice-single-page .de-op-single__main {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  min-height: 50vh;
}

.de-op-single {
  width: 100%;
  max-width: var(--de-content-max);
  margin: 0 auto;
  padding: 0 var(--de-content-pad-x) 2.5rem;
  box-sizing: border-box;
}

.de-op-single__head {
  margin-bottom: 1rem;
  text-align: center;
}

.de-op-single__title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-style: italic;
  color: #fff;
}

.de-op-single__meta {
  margin: 0.5rem 0 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.de-op-single__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr);
  align-items: start;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.de-op-single__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  border: 2px solid #ea580c;
  border-radius: 0.15rem;
}

.de-op-single__cta-stack {
  display: grid;
  gap: 0.55rem;
}

.de-op-single__cta-card {
  min-height: 100%;
}

.de-op-single__content {
  max-width: 100%;
}

.de-op-single__block {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.de-op-single__block-title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid #ea580c;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.25;
  color: #fff;
}

.de-op-single__subtitle {
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid #ea580c;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  color: #fff;
}

.de-op-single__text {
  line-height: 1.65;
}

.de-op-single__text :is(p, li, span, div, td, th, blockquote) {
  color: rgba(255, 255, 255, 0.92);
}

.de-op-single__text :is(h1, h2, h3, h4, h5, h6) {
  color: #fff;
}

.de-op-single__text font[color="#000000"],
.de-op-single__text font[color="#000"],
.de-op-single__text font[color="black"],
.de-op-single__text [style*="color: rgb(0"],
.de-op-single__text [style*="color:#000"],
.de-op-single__text [style*="color: #000"] {
  color: rgba(255, 255, 255, 0.92) !important;
}

.de-op-single__text a {
  color: #fb923c;
  font-weight: 700;
}

@media (max-width: 900px) {
  .de-op-single__hero {
    grid-template-columns: 1fr;
  }
}

/* ——— Archivio operatrici /operatrici/ ——— */
body.post-type-archive-operatrice,
body.post-type-archive-operatrice #brx-body,
body.post-type-archive-operatrice #brx-content {
  background-color: var(--de-bg-page) !important;
}

.de-op-archive {
  width: 100%;
}

.de-op-archive__inner {
  width: 100%;
  max-width: var(--de-content-max);
  margin: 0 auto;
  padding: 0 var(--de-content-pad-x) 2rem;
  box-sizing: border-box;
}

.de-op-archive__head {
  margin: 0 0 0.65rem;
}

.de-op-archive__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #fff;
}

.de-op-archive__lead {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
}

.de-op-archive__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
}

.de-op-archive__item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.de-op-archive__link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  min-height: 5.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.de-op-archive__link:hover,
.de-op-archive__link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(249, 115, 22, 0.6);
}

.de-op-archive__img {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 68px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.de-op-archive__name {
  color: #fff;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.2;
}

.de-op-archive .pagination {
  margin-top: 1rem;
}

.de-op-archive .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.de-op-archive .nav-links a,
.de-op-archive .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.de-op-archive .nav-links a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.de-op-archive .nav-links .current {
  color: #0f0a14;
  background: #f97316;
}

.de-op-archive__empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
  .de-op-archive__list {
    grid-template-columns: 1fr;
  }
}

/* ——— 404 page ——— */
.de-404__inner {
  width: min(100% - 2rem, 52rem);
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.de-404__title {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

.de-404__text {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.de-404__actions {
  display: flex;
  justify-content: center;
}

/* ——— Complianz cookie: meno invasivo su mobile ——— */

.de-cookie-manage-link {
  display: none;
}

@media (max-width: 991px) {
  /* Tab fisso Complianz: nascosto su mobile (alternativa nel footer) */
  #cmplz-manage-consent .cmplz-manage-consent:not(.cmplz-hidden) {
    display: none !important;
  }

  .de-cookie-manage-link {
    display: inline;
  }

  /* Banner iniziale sopra la sticky bar "Chiama" */
  body.de-has-sticky-bar .cmplz-cookiebanner:not(.cmplz-hidden) {
    bottom: 4.5rem;
    max-height: calc(100vh - 5rem - env(safe-area-inset-bottom));
  }

  .cmplz-cookiebanner {
    padding: 12px 14px;
  }

  .cmplz-cookiebanner .cmplz-body {
    max-height: 42vh;
  }

  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    height: 40px;
    font-size: 14px;
  }
}
