/*
 * Salve Reina — rediseño editorial 2026
 * Identidad: devocionario contemporáneo, sobrio y cálido.
 * Paleta heredada del boletín de Proyecto Emaús.
 */

:root {
    --sr-navy: #11243c;
    --sr-navy-2: #1c3958;
    --sr-burgundy: #8b2e35;
    --sr-gold: #b69a63;
    --sr-gold-dark: #8d7347;
    --sr-ivory: #fffdf8;
    --sr-paper: #f4efe7;
    --sr-paper-2: #eee7db;
    --sr-ink: #2a2926;
    --sr-muted: #6b665e;
    --sr-white: #ffffff;
    --sr-serif: Cardo, Georgia, "Times New Roman", serif;
    --sr-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sr-sans: Arial, Helvetica, sans-serif;
    --sr-radius: 16px;
    --sr-radius-sm: 10px;
    --sr-shadow-soft: 0 18px 50px rgba(17, 36, 60, 0.08);
    --sr-shadow-float: 0 18px 40px rgba(17, 36, 60, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--sr-paper);
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 0, rgba(182, 154, 99, 0.08), transparent 34rem),
        var(--sr-ivory);
    color: var(--sr-ink);
    font-family: var(--sr-serif);
    font-size: 17px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgba(182, 154, 99, 0.28);
    color: var(--sr-navy);
}

a {
    color: var(--sr-navy-2);
    text-decoration: none;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
    transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover,
a:focus-visible {
    color: var(--sr-burgundy);
    text-decoration: underline;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--sr-navy);
    font-family: var(--sr-display);
    font-weight: 700;
    text-wrap: balance;
}

h1 {
    margin: 0 0 0.55em;
    font-size: clamp(2.35rem, 4.2vw, 3.55rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
}

h2 {
    margin: 1.8em 0 0.65em;
    font-size: clamp(1.8rem, 2.7vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.018em;
}

h3 {
    margin: 1.65em 0 0.6em;
    font-size: clamp(1.38rem, 2vw, 1.72rem);
    line-height: 1.18;
}

h4 {
    margin: 1.4em 0 0.55em;
    font-size: 1.25rem;
    line-height: 1.2;
}

p {
    margin: 0 0 1.08em;
}

strong,
b {
    font-weight: 700;
}

hr {
    width: 100%;
    height: 1px;
    margin: 2.5rem 0;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(182, 154, 99, 0.55) 18%, rgba(182, 154, 99, 0.55) 82%, transparent);
}

/* --------------------------------------------------------------------------
   Header y navegación
   -------------------------------------------------------------------------- */
header {
    position: relative;
    z-index: 100;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 36px;
    min-height: 96px;
    padding: 15px max(24px, calc((100vw - 1180px) / 2));
    background:
        linear-gradient(115deg, rgba(255,255,255,0.025), transparent 42%),
        var(--sr-navy);
    color: var(--sr-white);
    box-shadow: 0 9px 30px rgba(17, 36, 60, 0.12);
}

header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sr-gold) 24%, #d0b983 50%, var(--sr-gold) 76%, transparent);
    opacity: 0.9;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo a,
a.logo {
    display: inline-flex;
}

header .logo img {
    width: min(250px, 48vw);
    max-height: 72px;
    object-fit: contain;
}

nav {
    min-width: 0;
}

nav ul,
.nav-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2px 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li {
    margin: 0;
}

nav li a {
    display: block;
    padding: 8px 10px;
    color: rgba(255,255,255,0.92);
    font-family: var(--sr-sans);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: color 0.18s ease, background-color 0.18s ease;
}

nav li a:hover,
nav li a:focus-visible {
    background: rgba(255,255,255,0.08);
    color: var(--sr-white);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255,255,255,0.08);
    color: var(--sr-white);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.55rem;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   Portada / catálogo
   -------------------------------------------------------------------------- */
.home-intro {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(48px, 8vw, 86px) 24px 22px;
    text-align: center;
}

.home-intro::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 27px auto 0;
    background: var(--sr-gold);
    border-radius: 999px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--sr-burgundy);
    font-family: var(--sr-sans);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.home-intro h1 {
    margin-bottom: 0.2em;
    font-size: clamp(3rem, 7vw, 5rem);
    color: var(--sr-navy);
}

.home-lead {
    max-width: 650px;
    margin: 0 auto;
    color: var(--sr-muted);
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    line-height: 1.6;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 30px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 50px;
}

.card {
    min-width: 0;
    background: transparent;
    text-align: left;
}

.card a {
    display: block;
    color: var(--sr-navy);
}

.card a:hover,
.card a:focus-visible {
    color: var(--sr-burgundy);
    text-decoration: none;
}

.card img {
    width: 100%;
    aspect-ratio: 6 / 5;
    object-fit: cover;
    border: 0 !important;
    border-radius: var(--sr-radius);
    box-shadow: 0 13px 34px rgba(17, 36, 60, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card a:hover img,
.card a:focus-visible img {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(17, 36, 60, 0.15);
}

.card p {
    margin: 0;
    padding: 15px 4px 0;
    font-family: var(--sr-display);
    font-size: clamp(1.3rem, 2vw, 1.58rem);
    font-weight: 700;
    line-height: 1.15;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin: 0 auto 62px;
    padding: 0 18px;
}

.pagination a {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: transparent;
    color: var(--sr-navy);
    font-family: var(--sr-sans);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
}

.pagination a:hover,
.pagination a:focus-visible {
    background: rgba(182, 154, 99, 0.13);
    color: var(--sr-burgundy);
    text-decoration: none;
}

.pagination .active {
    background: var(--sr-navy);
    color: var(--sr-white);
}

/* --------------------------------------------------------------------------
   Páginas interiores
   -------------------------------------------------------------------------- */
.main-container {
    display: grid;
    grid-template-columns: minmax(0, 820px) 285px;
    justify-content: center;
    align-items: start;
    gap: clamp(36px, 5vw, 68px);
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(42px, 6vw, 72px) 0 76px;
}

.content {
    min-width: 0;
    padding: 0;
    background: transparent;
}

.content > h1:first-child,
.content > .centrado:first-child,
.content > h2:first-child {
    margin-top: 0;
}

.content > h1:first-child::after,
.content > h2:first-child::after {
    content: "";
    display: block;
    width: 54px;
    height: 2px;
    margin: 19px auto 0;
    background: var(--sr-gold);
    border-radius: 999px;
}

.content p,
.content li,
.details-content {
    text-wrap: pretty;
}

.justificado {
    text-align: justify;
    hyphens: auto;
}

.centrado {
    text-align: center;
}

.centrar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.responsive-img {
    width: 100%;
    height: auto;
    margin: 1.35rem auto 1.8rem;
    border: 0 !important;
    border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow-soft);
}

.imagen-misterio {
    float: left;
    width: 114px;
    height: 114px;
    margin: 4px 22px 10px 0;
    border: 0 !important;
    box-shadow: none !important;
}

.imagen-misterio2 {
    display: block;
    margin: 8px auto 22px;
    border: 0 !important;
    box-shadow: none !important;
}

.titulo-verde,
.titulo-rojo {
    color: var(--sr-burgundy);
}

.titulo-amarillo {
    color: var(--sr-gold-dark);
}

.letanias {
    color: var(--sr-navy-2);
}

.dropcap {
    float: left;
    margin: 0.05em 0.08em 0 0;
    color: var(--sr-burgundy);
    font-family: var(--sr-display);
    font-size: 3.45rem;
    font-weight: 700;
    line-height: 0.78;
}

/* --------------------------------------------------------------------------
   Desplegables: sin bordes, integrados en la lectura
   -------------------------------------------------------------------------- */
details {
    margin: 1.25rem 0 1.65rem;
    padding: 0;
    background: transparent;
    border: 0 !important;
    border-radius: 0;
    overflow: visible;
}

summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 11px 16px 11px 50px;
    background: rgba(182, 154, 99, 0.12);
    color: var(--sr-navy);
    border: 0 !important;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--sr-display);
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.25;
    list-style: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: "+";
    position: absolute;
    left: 14px;
    top: 50%;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    transform: translateY(-50%);
    background: var(--sr-gold);
    color: var(--sr-navy);
    border-radius: 50%;
    font-family: var(--sr-sans);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1;
}

summary:hover,
summary:focus-visible {
    background: rgba(182, 154, 99, 0.19);
    outline: none;
}

details[open] {
    background: transparent;
    border: 0 !important;
}

details[open] summary {
    background: rgba(139, 46, 53, 0.075);
    color: var(--sr-burgundy);
}

details[open] summary::before {
    content: "−";
    background: var(--sr-burgundy);
    color: var(--sr-white);
}

.details-content {
    padding: 20px 12px 4px 50px;
    color: var(--sr-ink);
}

.details-content > :last-child {
    margin-bottom: 0;
}

/* Compatibilidad con spoilers de Shortcodes Ultimate */
.su-spoiler-title {
    background: rgba(182, 154, 99, 0.12) !important;
    color: var(--sr-navy) !important;
    border: 0 !important;
    border-radius: 12px !important;
    font-family: var(--sr-display) !important;
    font-size: 1.06rem !important;
}

.su-spoiler-content,
.su-spoiler-style-default > .su-spoiler-content {
    padding: 16px 4px 4px !important;
    border: 0 !important;
}

/* --------------------------------------------------------------------------
   Cuentas del Rosario
   -------------------------------------------------------------------------- */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    margin: 6px 0 2px;
}

.checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox + label {
    position: relative;
    display: inline-block;
    width: 19px;
    height: 19px;
    background: var(--sr-ivory);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--sr-gold);
    cursor: pointer;
    transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.checkbox + label:hover {
    transform: scale(1.1);
}

.checkbox:focus-visible + label {
    outline: 3px solid rgba(28, 57, 88, 0.2);
    outline-offset: 3px;
}

.checkbox:checked + label {
    background: var(--sr-burgundy);
    box-shadow: 0 0 0 2px var(--sr-burgundy), 0 4px 12px rgba(139, 46, 53, 0.2);
}

.checkbox:checked + label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Sidebar / navegación secundaria
   -------------------------------------------------------------------------- */
.sidebar {
    position: sticky;
    top: 24px;
    min-width: 0;
    padding: 24px 22px 26px;
    background: rgba(238, 231, 219, 0.64);
    border: 0 !important;
    border-radius: var(--sr-radius);
    box-shadow: none;
    color: var(--sr-ink);
}

.sidebar h3 {
    position: relative;
    margin: 1.55rem 0 0.65rem;
    padding: 0 0 7px;
    color: var(--sr-burgundy);
    font-family: var(--sr-sans);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.105em;
    line-height: 1.35;
    text-transform: uppercase;
}

.sidebar h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 2px;
    background: var(--sr-gold);
    border-radius: 99px;
}

.sidebar h3:first-of-type {
    margin-top: 1.35rem;
}

.sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar li {
    margin: 0;
    padding: 0;
}

.sidebar li + li {
    margin-top: 0.37rem;
}

.sidebar a {
    display: inline-block;
    color: var(--sr-navy-2);
    font-size: 0.92rem;
    line-height: 1.35;
}

.sidebar a:hover,
.sidebar a:focus-visible {
    color: var(--sr-burgundy);
}

#buscador {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    background: rgba(255,255,255,0.74);
    color: var(--sr-ink);
    border: 0;
    border-radius: 12px;
    outline: 0;
    box-shadow: inset 0 0 0 1px rgba(17, 36, 60, 0.08);
    font-family: var(--sr-sans);
    font-size: 0.88rem;
}

#buscador:focus {
    box-shadow: inset 0 0 0 2px rgba(182,154,99,0.7), 0 0 0 4px rgba(182,154,99,0.10);
}

#resultados {
    position: absolute;
    z-index: 1200;
    display: none;
    width: calc(100% - 44px);
    max-height: 320px;
    margin: 6px 0 0;
    padding: 8px;
    overflow: auto;
    background: var(--sr-ivory);
    border: 0;
    border-radius: 12px;
    box-shadow: var(--sr-shadow-float);
    list-style: none;
}

#resultados li {
    margin: 0;
    padding: 7px 8px;
    border: 0;
    border-radius: 8px;
}

#resultados li:hover {
    background: rgba(182,154,99,0.1);
}

#resultados a {
    display: block;
}

/* --------------------------------------------------------------------------
   Citas, cajas y audio
   -------------------------------------------------------------------------- */
.blockquote,
blockquote {
    margin: 1.7rem 0;
    padding: 22px 26px;
    background: rgba(182, 154, 99, 0.09);
    color: #575249;
    border: 0 !important;
    border-radius: 14px;
    font-style: italic;
}

.fondo-amarillo,
.fondo-verde {
    position: relative;
    margin: 1.5rem 0 1.8rem;
    padding: 22px 24px;
    border: 0 !important;
    border-radius: 14px;
    text-align: justify;
}

.fondo-amarillo {
    background: rgba(182, 154, 99, 0.13);
}

.fondo-verde {
    background: rgba(17, 36, 60, 0.055);
}

.audio-container {
    max-width: 650px;
    margin: 24px auto;
    padding: 18px;
    background: rgba(238, 231, 219, 0.55);
    border: 0;
    border-radius: var(--sr-radius);
    text-align: center;
}

.iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 12px;
}

.boton,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    background: var(--sr-navy);
    color: var(--sr-white) !important;
    border: 0 !important;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--sr-sans);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.boton:hover,
.btn:hover,
.boton:focus-visible,
.btn:focus-visible {
    background: var(--sr-burgundy);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.error-card img {
    margin-bottom: 24px;
}

.error-card h1 {
    margin: 0;
    color: var(--sr-burgundy);
    font-size: clamp(4.5rem, 14vw, 8.5rem);
    line-height: 0.85;
}

/* --------------------------------------------------------------------------
   Cookies / utilidades
   -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    z-index: 1300;
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: min(620px, calc(100% - 36px));
    margin: 0 auto;
    padding: 15px 18px;
    background: rgba(17, 36, 60, 0.97);
    color: rgba(255,255,255,0.92);
    border: 0;
    border-radius: 16px;
    box-shadow: var(--sr-shadow-float);
    font-family: var(--sr-sans);
    font-size: 0.79rem;
    line-height: 1.45;
    text-align: center;
    backdrop-filter: blur(8px);
}

.cookie-banner p {
    margin: 3px 0;
}

.cookie-banner a {
    color: #e4ce9e;
    text-decoration: underline;
}

.cookie-button {
    min-width: 110px;
    margin-top: 3px;
    padding: 8px 17px;
    background: var(--sr-gold);
    color: var(--sr-navy);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--sr-sans);
    font-weight: 700;
}

.cookie-button:hover,
.cookie-button:focus-visible {
    background: #cfb87f;
}

.hidden {
    display: none !important;
}

.back-to-top {
    position: fixed;
    z-index: 900;
    right: 20px;
    bottom: 20px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: var(--sr-navy);
    color: var(--sr-white);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(17, 36, 60, 0.22);
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background-color 0.18s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--sr-burgundy);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
    position: relative;
    margin-top: 0;
    padding: 32px 18px 34px;
    background: var(--sr-navy);
    color: rgba(255,255,255,0.72) !important;
    font-family: var(--sr-sans);
    font-size: 0.76rem;
    line-height: 1.55;
    text-align: center;
}

footer::before {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    margin: 0 auto 18px;
    background: var(--sr-gold);
    border-radius: 99px;
}

footer p {
    margin: 0;
}

footer a {
    color: rgba(255,255,255,0.92);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
    header {
        grid-template-columns: auto 44px;
        gap: 16px;
        min-height: 88px;
    }

    header .logo {
        justify-self: start;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        justify-self: end;
    }

    nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px max(20px, calc((100vw - 720px) / 2)) 18px;
        background: rgba(17, 36, 60, 0.985);
        box-shadow: 0 16px 30px rgba(17,36,60,0.16);
    }

    .nav-menu.active {
        display: flex;
    }

    nav li a {
        padding: 10px 14px;
        text-align: center;
    }

    .main-container {
        grid-template-columns: minmax(0, 1fr);
        width: min(820px, calc(100% - 36px));
        gap: 38px;
    }

    .sidebar {
        position: static;
        width: 100%;
        padding: 24px;
    }

    .grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body {
        font-size: 16.5px;
        line-height: 1.68;
    }

    header {
        padding: 12px 16px;
    }

    header .logo img {
        width: min(215px, 62vw);
        max-height: 64px;
    }

    .home-intro {
        padding: 43px 18px 16px;
    }

    .grid-container {
        grid-template-columns: minmax(0, 1fr);
        width: min(520px, calc(100% - 30px));
        gap: 30px;
        padding-top: 24px;
    }

    .card p {
        padding-top: 13px;
        font-size: 1.45rem;
    }

    .main-container {
        width: calc(100% - 30px);
        padding: 38px 0 58px;
    }

    .justificado {
        text-align: left;
        hyphens: none;
    }

    .responsive-img {
        border-radius: 12px;
    }

    .imagen-misterio {
        float: none;
        margin: 4px auto 18px;
    }

    summary {
        padding: 11px 13px 11px 47px;
        font-size: 1.08rem;
    }

    .details-content {
        padding: 18px 4px 3px;
    }

    .sidebar {
        border-radius: 14px;
    }

    .cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        padding: 13px 14px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}


/* Ajustes finales de legibilidad y consentimiento — 2026-08-07 */
.intro-question {
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
    font-size: clamp(1.35rem, 2.6vw, 1.65rem);
    line-height: 1.25;
}

.intro-explanation {
    font-size: 1rem;
    line-height: 1.72;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 9px;
}

.cookie-button-secondary {
    background: transparent;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45);
}

.cookie-button-secondary:hover,
.cookie-button-secondary:focus-visible {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

/* Ayuda a reducir trabajo de renderizado fuera de pantalla en páginas largas. */
@supports (content-visibility: auto) {
    details,
    .sidebar,
    .grid-container .card {
        content-visibility: auto;
        contain-intrinsic-size: auto 320px;
    }
}
