/* Guías de pasaporte. Estos estilos solo se cargan en este tema. */
.guia-editorial :is(h1, h2, h3) {
    scroll-margin-top: 6.5rem;
    text-wrap: balance;
}
.guia-editorial > h1 + p {
    font-size: 1.12rem;
    line-height: 1.55;
}
.guia-editorial a {
    text-decoration: underline;
    text-underline-offset: .15em;
    overflow-wrap: anywhere;
    transition: color .15s ease;
}
.guia-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 1rem 0 .6rem;
}
.guia-editorial .guia-action {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: .5rem 1rem;
    border-radius: .45rem;
    color: #fff;
    background: #205568;
    line-height: 1.35;
    font-weight: 700;
    text-decoration: none;
}
.guia-editorial .guia-action:hover,
.guia-editorial .guia-action:focus-visible {
    color: #fff;
    background: #143d4d;
    text-decoration: underline;
}
.guia-action small {
    font-size: .84rem;
    font-weight: 400;
}
.guia-editorial .guia-credito {
    color: #46505b;
    font-size: .92rem;
}
.guia-editorial .guia-temas ul {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: 0;
    list-style: none;
}
.guia-editorial .guia-temas li { margin: 0; }
.guia-temas a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .4rem .65rem;
    border: 1px solid #d8e2e7;
    border-radius: .4rem;
    background: #f5f8fa;
    line-height: 1.35;
}
.guia-editorial a:focus-visible,
.guia-saltar:focus-visible {
    outline: 3px solid #124c81;
    outline-offset: 3px;
}
.guia-saltar {
    position: fixed;
    inset: .35rem auto auto .35rem;
    z-index: 1100;
    transform: translateY(-180%);
    padding: .5rem 1rem;
    background: #fff;
}
.guia-saltar:focus { transform: none; }
@media (max-width: 36rem) {
    .guia-editorial .guia-action { width: 100%; }
    .guia-editorial :is(th, td) { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .guia-editorial a { transition: none; }
}
