.elementor-1844 .elementor-element.elementor-element-ba58614{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS *//* =============================================
   POLÍTICA DE PRIVACIDAD + COOKIES
   CSS para ajustes avanzados de página Elementor
   Colegio Santa María la Real de Huelgas
   ============================================= */

/* --- NAV DE TABS --- */
.legal-nav {
  display: flex;
  gap: 0;
  border-bottom: 3px solid #e0e0e0;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.legal-nav__item {
  padding: 16px 36px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #17345A;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-nav__item:hover {
  color: #D1143E;
}

.legal-nav__item.active {
  color: #D1143E;
  border-bottom: 3px solid #D1143E;
}

/* --- CABECERA LEGAL --- */
.legal-header {
  text-align: center;
  margin-bottom: 40px;
}

.legal-tag {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #D1143E;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.legal-header h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 40px;
  color: #17345A;
  margin-bottom: 8px;
}

.legal-subtitle {
  color: #666;
  font-size: 16px;
}

.legal-update {
  color: #666;
  font-size: 14px;
  margin-top: 32px;
}

/* --- BLOQUE DESCARGA PDF --- */
.pdf-download-block {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #FDF8F4;
  border: 1px solid #e0d8d0;
  border-radius: 0 20px 0 20px;
  padding: 32px 36px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.pdf-download-block__icon {
  font-size: 48px;
  flex-shrink: 0;
}

.pdf-download-block__text {
  flex: 1;
  min-width: 200px;
}

.pdf-download-block__text h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  color: #17345A;
  margin-bottom: 6px;
}

.pdf-download-block__text p {
  color: #666;
  font-size: 15px;
  margin: 0;
}

.btn-descarga {
  display: inline-block;
  background: #D1143E;
  color: #ffffff !important;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 0 20px 0 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.btn-descarga:hover {
  background: #17345A;
  color: #ffffff !important;
}

/* --- CAJAS DE CONTENIDO --- */
.info-box {
  background: #FDF8F4;
  border-radius: 0 20px 0 20px;
  border-left: 4px solid #17345A;
  padding: 28px 32px;
  margin: 24px 0;
}

.info-box h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 18px;
  color: #17345A;
  margin-bottom: 12px;
}

.white-box {
  background: #ffffff;
  border-radius: 0 20px 0 20px;
  border: 1px solid #e8e8e8;
  padding: 28px 32px;
  margin: 20px 0;
}

.white-box h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 18px;
  color: #17345A;
  margin-bottom: 12px;
}

.alert-box {
  background: #e8f4fd;
  border-left: 4px solid #2196F3;
  border-radius: 0 20px 0 20px;
  padding: 24px 28px;
  margin: 24px 0;
}

.alert-box h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  color: #1565C0;
  margin-bottom: 8px;
}

.alert-box p {
  color: #1565C0;
  margin: 0;
}

/* --- CONTACT BOX --- */
.contact-box {
  background: #17345A;
  color: #ffffff;
  border-radius: 0 20px 0 20px;
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}

.contact-box h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 12px;
}

.contact-box p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.contact-box .email {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

/* --- FONDO CREMA PARA SECCIONES ALTERNAS --- */
.bg-cream {
  background: #FDF8F4;
  padding: 48px 0;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- TABLA DE COOKIES --- */
.cookie-table {
  margin-top: 20px;
}

.cookie-row {
  display: grid;
  grid-template-columns: 180px 1fr 100px;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
  align-items: start;
}

.cookie-row:last-child {
  border-bottom: none;
}

.cookie-row.cookie-header {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  color: #17345A;
  border-bottom: 2px solid #D1143E;
  padding-bottom: 12px;
}

.cookie-name {
  font-family: monospace;
  font-size: 14px;
  color: #D1143E;
  font-weight: 600;
}

.cookie-header .cookie-name {
  font-family: 'Josefin Sans', sans-serif;
  color: #17345A;
}

.cookie-purpose {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

.cookie-duration {
  font-size: 14px;
  color: #666;
  text-align: right;
}

/* --- LISTA DE LINKS --- */
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.link-list li:last-child {
  border-bottom: none;
}

.link-list a {
  color: #D1143E;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.link-list a:hover {
  color: #17345A;
}

/* --- TEXTO GRANDE INTRO --- */
.text-large {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 32px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .legal-nav__item {
    padding: 12px 20px;
    font-size: 14px;
  }

  .legal-header h1 {
    font-size: 28px;
  }

  .pdf-download-block {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .btn-descarga {
    width: 100%;
    text-align: center;
  }

  .cookie-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cookie-row.cookie-header {
    display: none;
  }

  .cookie-duration {
    text-align: left;
    font-style: italic;
  }

  .cookie-duration::before {
    content: "Duración: ";
  }
}/* End custom CSS */