/* Legal pages: h2 más grande, azul primario; h2 y p con margin */
.legal-page.page-content h2 {
    font-size: 1.75rem;
    color: #0055b3;
    margin-top: 16px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .legal-page.page-content h2 {
        font-size: 1.225rem; /* ~30% más pequeño que 1.75rem */
    }
}

.legal-page.page-content p {
    margin-bottom: 16px;
}

.legal-page.page-content p:first-of-type {
    font-style: italic;
}

/* Legal page: estilos de lista */
.legal-page ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.legal-page ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

/* Legal page: bordes en tablas */
.legal-page table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.legal-page th,
.legal-page td {
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.legal-page th {
    background-color: #f8fafc;
    font-weight: 600;
}

/* Legal page: enlaces con color primario y subrayado */
.legal-page a {
    color: #0055b3;
    text-decoration: underline;
}

/* Botones .button.e-buttons-green: estilos DS160 (primario, blanco) */
.legal-page .button.e-buttons-green,
.legal-page a.button.e-buttons-green {
    display: inline-block;
    background-color: #0055b3;
    color: white;
    text-decoration: none;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 1rem;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* Header sticky: barra fija al hacer scroll; dropdown del language switcher sobresale por debajo sin recortes */
.ds160-header--sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #fff;
    overflow: visible;
}

.ds160-header__nav {
    overflow: visible;
}

.ds160-lang-switcher {
    overflow: visible;
}

/* Dropdown del language switcher: sobresale por debajo del header sin recortarse */
.ds160-lang-switcher__menu {
    z-index: 9999;
}

/* CTA nav: e-buttons-regular btn-new ds160-nav__cta */
.e-buttons-regular.btn-new.ds160-nav__cta {
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.625rem 1.5rem;
}
