/* Only the central content of Datos de interés uses these selectors. */
.datos-interes__hero {
  display: grid;
  align-items: center;
  min-block-size: 300px;
  padding-block: 42px;
  color: white;
  background:
    linear-gradient(90deg, #061e40f5 0%, #061e40d9 40%, #061e4033 100%),
    url('../img/datos-hero-contenedores.webp') center 50% / cover;
}

.datos-interes__hero-copy {
  max-inline-size: 600px;
}

.datos-interes__hero h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.datos-interes__hero h1::before {
  content: '';
  display: block;
  inline-size: 34px;
  block-size: 4px;
  margin-block-end: 16px;
  border-radius: 4px;
  background: var(--yellow);
}

.datos-interes__hero p {
  margin-block-start: 18px;
  font-size: 17px;
  line-height: 1.65;
}

.datos-interes__sections {
  display: grid;
  gap: 22px;
  padding-block: 26px;
}

.datos-interes__accordion {
  min-inline-size: 0;
  border-radius: 14px;
  background: #eff7fc;
}

.datos-interes__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 22px 18px;
  list-style: none;
  cursor: pointer;
}

.datos-interes__summary::-webkit-details-marker {
  display: none;
}

.datos-interes__summary h2 {
  position: relative;
  min-inline-size: 0;
  padding-inline-start: 35px;
  font-size: clamp(22px, 2.6vw, 27px);
  letter-spacing: -.7px;
}

.datos-interes__summary h2::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 7px;
  inline-size: 25px;
  block-size: 5px;
  border-radius: 4px;
  background: var(--yellow);
}

.datos-interes__indicator {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 23px;
  line-height: 1;
}

.datos-interes__indicator .lucide {
  display: block;
  inline-size: 18px;
  block-size: 18px;
}

.datos-interes__indicator .lucide-minus,
.datos-interes__accordion[open] .datos-interes__indicator .lucide-plus {
  display: none;
}

.datos-interes__accordion[open] .datos-interes__indicator .lucide-minus {
  display: block;
}

.datos-interes__body {
  padding: 0 20px 24px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.datos-interes__introduction {
  margin-block-end: 18px;
}

.datos-interes__table-scroll {
  max-inline-size: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}

.datos-interes__table-scroll:focus-visible {
  outline: 3px solid #ad7600;
  outline-offset: 3px;
}

.datos-interes__table {
  inline-size: 100%;
  min-inline-size: 920px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.4;
}

.datos-interes__table th,
.datos-interes__table td {
  padding: 12px 16px;
  border-inline-end: 1px solid #e9edf3;
  border-block-end: 1px solid #e9edf3;
  text-align: center;
  vertical-align: middle;
}

.datos-interes__table thead th {
  color: white;
  background: #0e315a;
  border-color: #ffffff26;
  font-weight: 700;
}

.datos-interes__table tbody th {
  min-inline-size: 210px;
  text-align: start;
  font-weight: 400;
}

.datos-interes__table tbody tr:nth-child(even) {
  background: #f4f6f9;
}

.datos-interes__table tr > :last-child {
  border-inline-end: 0;
}

.datos-interes__table tbody tr:last-child > * {
  border-block-end: 0;
}

.datos-interes__incoterms {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 24px 18px 40px;
  border-radius: 12px;
  background: #ffffffde;
}

.datos-interes__incoterms strong {
  color: var(--navy);
}

@media (max-width: 700px) {
  .datos-interes__hero {
    background-image:
      linear-gradient(90deg, #061e40f5, #061e40cc),
      url('../img/datos-hero-contenedores.webp');
  }

  .datos-interes__summary {
    padding: 22px 16px 18px;
  }

  .datos-interes__body {
    padding: 0 14px 18px;
  }

  .datos-interes__summary h2 {
    padding-inline-start: 0;
    padding-block-start: 16px;
  }

  .datos-interes__summary h2::before {
    inset-block-start: 0;
  }

  .datos-interes__incoterms {
    padding: 18px 16px 18px 30px;
  }
}
