/**
 * Política de cookies generada por Complianz.
 *
 * Todas las reglas están aisladas mediante la clase nativa que Complianz añade
 * al body. No afectan al banner de consentimiento ni a otras páginas.
 */

body.cmplz-document #main,
body.cmplz-document .site-main {
  background: linear-gradient(180deg, #fbfafc 0, #fff 430px);
}

/* Título de Blocksy: mismo eje y proporción que el documento. */
body.cmplz-document .hero-section[data-type="type-1"] {
  margin-bottom: clamp(28px, 3.5vw, 46px) !important;
  padding-top: clamp(48px, 5.5vw, 76px) !important;
}

body.cmplz-document .hero-section[data-type="type-1"] .entry-header {
  width: min(100%, 960px) !important;
  max-width: 960px !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  align-items: flex-start !important;
  text-align: left !important;
}

body.cmplz-document .hero-section[data-type="type-1"] :is(.page-title, .entry-title, h1) {
  max-width: 920px !important;
  margin: 0 !important;
  color: var(--lautada-ink) !important;
  font-size: clamp(2.85rem, 4.5vw, 4rem) !important;
  font-weight: 850 !important;
  letter-spacing: -.045em !important;
  line-height: 1 !important;
  text-wrap: balance;
}

/* El plugin usa 800 px y centra el texto dentro del contenedor. Aquí se
   recupera el eje izquierdo del título y una medida de lectura más cómoda. */
body.cmplz-document #cmplz-document {
  width: 100% !important;
  max-width: 960px !important;
  margin: 0 auto 0 0 !important;
  padding: 0 0 clamp(58px, 7vw, 92px) !important;
  color: var(--lautada-text) !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
  text-align: left !important;
  text-justify: auto !important;
}

body.cmplz-document #cmplz-document > :first-child {
  margin-top: 0 !important;
}

/* Fecha y alcance del documento: información útil, pero secundaria. */
body.cmplz-document #cmplz-document > p:first-of-type {
  position: relative;
  max-width: 880px !important;
  margin: 0 0 clamp(34px, 4vw, 48px) !important;
  padding: 17px 20px 17px 22px !important;
  border: 1px solid #c9e1e4 !important;
  border-left: 4px solid var(--lautada-pool) !important;
  border-radius: 12px !important;
  background: var(--lautada-pool-soft) !important;
  color: #315b61 !important;
  font-size: .92rem !important;
  font-style: normal !important;
  line-height: 1.6 !important;
}

body.cmplz-document #cmplz-document > p:first-of-type :where(em, i) {
  font-style: normal !important;
}

body.cmplz-document #cmplz-document :where(p, li, td, th) {
  color: var(--lautada-text) !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

body.cmplz-document #cmplz-document p {
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

body.cmplz-document #cmplz-document :where(ul, ol) {
  margin: .4rem 0 1.35rem !important;
  padding-left: 1.4rem !important;
}

body.cmplz-document #cmplz-document li {
  margin: 0 !important;
  padding-left: .25rem !important;
}

body.cmplz-document #cmplz-document li + li {
  margin-top: .42rem !important;
}

/* Jerarquía editorial: cada sección principal se reconoce sin convertir el
   documento completo en una sucesión pesada de tarjetas. */
body.cmplz-document #cmplz-document h2 {
  margin: clamp(42px, 5.5vw, 62px) 0 17px !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--lautada-ink) !important;
  font-size: clamp(1.48rem, 2.2vw, 1.78rem) !important;
  font-weight: 830 !important;
  letter-spacing: -.025em !important;
  line-height: 1.2 !important;
  text-wrap: balance;
}

body.cmplz-document #cmplz-document h2:not(:first-of-type) {
  padding-top: clamp(32px, 4vw, 44px) !important;
  border-top: 1px solid var(--lautada-line) !important;
}

body.cmplz-document #cmplz-document h2:first-of-type {
  margin-top: 0 !important;
}

body.cmplz-document #cmplz-document h3 {
  margin: 28px 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--lautada-ink) !important;
  font-size: clamp(1.12rem, 1.6vw, 1.28rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.015em !important;
  line-height: 1.3 !important;
}

body.cmplz-document #cmplz-document h4,
body.cmplz-document #cmplz-document h5 {
  margin: 22px 0 8px !important;
  color: var(--lautada-ink) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body.cmplz-document #cmplz-document a {
  color: var(--lautada-pool-dark) !important;
  font-weight: 700 !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: .08em !important;
  text-underline-offset: .18em !important;
  overflow-wrap: anywhere;
}

body.cmplz-document #cmplz-document a:hover {
  color: var(--lautada-brand) !important;
}

body.cmplz-document #cmplz-document :where(a, button, summary):focus-visible {
  outline: 3px solid rgba(11, 129, 144, .34) !important;
  outline-offset: 3px !important;
}

/* Desplegables de proveedores y cookies. */
body.cmplz-document #cmplz-document .cmplz-dropdown {
  margin: 14px 0 !important;
  border: 1px solid var(--lautada-line) !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: 0 7px 24px rgba(39, 31, 43, .045) !important;
  overflow: clip;
}

body.cmplz-document #cmplz-document .cmplz-dropdown summary {
  min-height: 58px !important;
  margin: 0 !important;
  padding: 16px 52px 16px 19px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--lautada-surface-soft) !important;
  color: var(--lautada-ink) !important;
  cursor: pointer;
}

body.cmplz-document #cmplz-document .cmplz-dropdown summary:hover {
  background: var(--lautada-pool-soft) !important;
}

body.cmplz-document #cmplz-document .cmplz-dropdown[open] summary {
  border-bottom: 1px solid var(--lautada-line) !important;
  background: var(--lautada-brand-soft) !important;
}

body.cmplz-document #cmplz-document .cmplz-dropdown summary :where(h3, p) {
  margin: 0 !important;
}

body.cmplz-document #cmplz-document .cmplz-dropdown summary h3 {
  color: var(--lautada-ink) !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body.cmplz-document #cmplz-document .cmplz-dropdown summary p {
  margin-top: 4px !important;
  color: var(--lautada-muted) !important;
  font-size: .88rem !important;
  line-height: 1.45 !important;
}

body.cmplz-document #cmplz-document .cmplz-dropdown :where(.cmplz-service-description, .cmplz-sharing-data) {
  padding: 20px !important;
}

body.cmplz-document #cmplz-document .cmplz-dropdown .cookies-per-purpose {
  margin: 18px 20px 20px !important;
  border: 1px solid var(--lautada-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  overflow: hidden;
}

body.cmplz-document #cmplz-document .cmplz-dropdown .cookies-per-purpose div {
  padding: 11px 13px !important;
  border-color: var(--lautada-line) !important;
  background: #fff !important;
  color: var(--lautada-text) !important;
  font-size: .91rem !important;
  line-height: 1.5 !important;
}

body.cmplz-document #cmplz-document .cmplz-dropdown .cookies-per-purpose :where(h4, h5) {
  margin: 0 0 4px !important;
  color: var(--lautada-ink) !important;
  font-size: .79rem !important;
  font-weight: 850 !important;
  letter-spacing: .035em !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

/* Tablas y listados generados por distintas versiones de Complianz. */
body.cmplz-document #cmplz-document table {
  width: 100% !important;
  margin: 18px 0 28px !important;
  border: 1px solid var(--lautada-line) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 11px !important;
  background: #fff !important;
  overflow: hidden;
}

body.cmplz-document #cmplz-document :where(th, td) {
  padding: 12px 14px !important;
  border: 0 !important;
  border-right: 1px solid var(--lautada-line) !important;
  border-bottom: 1px solid var(--lautada-line) !important;
  text-align: left !important;
  vertical-align: top !important;
}

body.cmplz-document #cmplz-document th {
  background: var(--lautada-surface-soft) !important;
  color: var(--lautada-ink) !important;
  font-size: .84rem !important;
  font-weight: 850 !important;
  letter-spacing: .025em !important;
}

body.cmplz-document #cmplz-document tr > :last-child {
  border-right: 0 !important;
}

body.cmplz-document #cmplz-document tbody tr:last-child > * {
  border-bottom: 0 !important;
}

/* Acciones que Complianz inserta dentro del documento. */
body.cmplz-document #cmplz-document :where(.cmplz-manage-consent, .cmplz-manage-options, .cmplz-manage-vendors) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 17px !important;
  border: 1px solid var(--lautada-pool) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--lautada-pool-dark) !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

body.cmplz-document #cmplz-document :where(.cmplz-manage-consent, .cmplz-manage-options, .cmplz-manage-vendors):hover {
  background: var(--lautada-pool) !important;
  color: #fff !important;
}

@media (max-width: 720px) {
  body.cmplz-document .hero-section[data-type="type-1"] {
    margin-bottom: 24px !important;
    padding-top: 36px !important;
  }

  body.cmplz-document .hero-section[data-type="type-1"] :is(.page-title, .entry-title, h1) {
    font-size: clamp(2.15rem, 11vw, 3rem) !important;
    line-height: 1.04 !important;
  }

  body.cmplz-document #cmplz-document {
    padding-bottom: 58px !important;
  }

  body.cmplz-document #cmplz-document > p:first-of-type {
    margin-bottom: 30px !important;
    padding: 15px 16px 15px 18px !important;
  }

  body.cmplz-document #cmplz-document h2 {
    margin-top: 36px !important;
    font-size: 1.42rem !important;
  }

  body.cmplz-document #cmplz-document h2:not(:first-of-type) {
    padding-top: 28px !important;
  }

  body.cmplz-document #cmplz-document .cmplz-dropdown summary {
    padding: 15px 44px 15px 15px !important;
  }

  body.cmplz-document #cmplz-document .cmplz-dropdown :where(.cmplz-service-description, .cmplz-sharing-data) {
    padding: 16px !important;
  }

  body.cmplz-document #cmplz-document .cmplz-dropdown .cookies-per-purpose {
    display: block !important;
    margin: 14px 15px 16px !important;
  }

  body.cmplz-document #cmplz-document .cmplz-dropdown .cookies-per-purpose div {
    width: 100% !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--lautada-line) !important;
  }

  body.cmplz-document #cmplz-document .cmplz-dropdown .cookies-per-purpose div:last-child {
    border-bottom: 0 !important;
  }

  body.cmplz-document #cmplz-document table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media print {
  body.cmplz-document #header,
  body.cmplz-document #footer,
  body.cmplz-document .lautada-cart-anchor,
  body.cmplz-document .cmplz-cookiebanner,
  body.cmplz-document .cmplz-manage-consent {
    display: none !important;
  }

  body.cmplz-document #main,
  body.cmplz-document .site-main {
    background: #fff !important;
  }

  body.cmplz-document .hero-section[data-type="type-1"],
  body.cmplz-document #cmplz-document {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.cmplz-document #cmplz-document .cmplz-dropdown {
    break-inside: avoid;
    box-shadow: none !important;
  }

  body.cmplz-document #cmplz-document details.cmplz-dropdown:not([open]) > :not(summary) {
    display: block !important;
  }
}
