/* =========================================================
   BASES DE LA PROMOCIÓN
   ========================================================= */

.promotion-bases {
    width: 100%;
    max-width: 80%;
  margin: 0 auto;
  padding: 48px 24px 80px;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.promotion-bases > section:first-child {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e5e5;
}

.promotion-bases > section:first-child h1 {
  margin: 0 0 12px;
  color: #00acec;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.promotion-bases > section:first-child h2 {
  margin: 0;
  color: #555;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.promotion-bases > section:not(:first-child) {
  margin-bottom: 42px;
}

.promotion-bases h2 {
  margin: 0 0 20px;
  padding-bottom: 10px;
  color: #00acec;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  border-bottom: 2px solid #00acec;
}

.promotion-bases p {
  margin: 0 0 18px;
  font-size: 1rem;
}

.promotion-bases strong {
  font-weight: 700;
}


/* =========================================================
   LISTAS
   ========================================================= */

.promotion-bases ul,
.promotion-bases ol {
  margin: 0 0 20px;
  padding-left: 28px;
}

.promotion-bases li {
  margin-bottom: 14px;
  padding-left: 4px;
  font-size: 1rem;
}

.promotion-bases ul li::marker {
  color: #00acec;
}

.promotion-bases ol li::marker {
  color: #00acec;
  font-weight: 700;
}


/* =========================================================
   TABLA DE VIGENCIA
   ========================================================= */

.table-responsive {
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.promotion-bases table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.promotion-bases thead {
  background-color: #00acec;
  color: #fff;
}

.promotion-bases th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
}

.promotion-bases td {
  padding: 13px 16px;
  border-top: 1px solid #e5e5e5;
  font-size: 0.95rem;
}

.promotion-bases tbody tr:nth-child(even) {
  background-color: #f7f9fc;
}

.promotion-bases tbody tr:hover {
  background-color: #eef5ff;
}

.promotion-bases th:first-child,
.promotion-bases td:first-child {
  width: 35%;
  text-align: center;
}


/* =========================================================
   ENLACES
   ========================================================= */

.promotion-bases a {
  color: #00acec;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.promotion-bases a:hover {
  color: #003f87;
}

.promotion-bases a:focus-visible {
  outline: 3px solid #00acec;
  outline-offset: 3px;
}


/* =========================================================
   BLOQUES DE INFORMACIÓN
   ========================================================= */

.promotion-bases section:nth-of-type(2) {
  background-color: #f7f9fc;
  padding: 24px;
  border-radius: 8px;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 768px) {

  .promotion-bases {
    padding: 36px 20px 60px;
  }

  .promotion-bases > section:first-child {
    margin-bottom: 36px;
  }

  .promotion-bases > section:first-child h1 {
    font-size: 1.65rem;
  }

  .promotion-bases > section:first-child h2 {
    font-size: 1.1rem;
  }

  .promotion-bases h2 {
    font-size: 1.15rem;
  }

  .promotion-bases p,
  .promotion-bases li {
    font-size: 0.95rem;
  }
}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .promotion-bases {
    padding: 28px 16px 48px;
    line-height: 1.6;
  }

  .promotion-bases > section:first-child {
    margin-bottom: 28px;
    padding-bottom: 24px;
  }

  .promotion-bases > section:first-child h1 {
    font-size: 1.4rem;
  }

  .promotion-bases > section:first-child h2 {
    font-size: 1rem;
  }

  .promotion-bases > section:not(:first-child) {
    margin-bottom: 32px;
  }

  .promotion-bases h2 {
    font-size: 1.05rem;
    margin-bottom: 16px;
  }

  .promotion-bases p,
  .promotion-bases li {
    font-size: 0.9rem;
  }

  .promotion-bases ul,
  .promotion-bases ol {
    padding-left: 22px;
  }

  .promotion-bases li {
    padding-left: 2px;
    margin-bottom: 12px;
  }

  .promotion-bases section:nth-of-type(2) {
    padding: 18px;
  }

  .promotion-bases th,
  .promotion-bases td {
    padding: 11px 12px;
    font-size: 0.85rem;
  }

}