/*
Theme Name:  IEB Salamanca
Theme URI:   https://iebsalamanca.org
Author:      Iglesia Evangélica Bautista de Salamanca
Description: Tema personalizado para el blog de la Misión Evangélica Bautista en Salamanca. Diseño oscuro con acento rojo, tipografía Barlow.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: ieb-salamanca
Tags:        dark, blog, church, custom
*/

/* ══════════════════════════════════════
   TOKENS & RESET
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red:       #E8251A;
    --red-hi:    #FF3025;
    --red-glow:  rgba(232,37,26,0.35);
    --red-dim:   rgba(232,37,26,0.07);
    --bg:        #080707;
    --bg-card:   #0e0d0d;
    --bg-card2:  #131111;
    --white:     #F5F2EE;
    --offwhite:  #D8D5CF;
    --gray:      #ABA9A4;
    --gray-dark: #6A6662;
    --border:    rgba(255,255,255,0.07);
    --border-r:  rgba(232,37,26,0.28);
    --nav-h:     62px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: auto;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hi); }

::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); }
::selection { background: var(--red); color: #fff; }

/* Film grain overlay */
body::after {
    content: '';
    position: fixed; inset: 0; pointer-events: none; z-index: 9950;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.028'/%3E%3C/svg%3E");
    opacity: .5;
}

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
#site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 600;
    height: var(--nav-h);
    padding: 0 18px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(8,7,7,.94);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { #site-header { padding: 0 44px; } }

.nav-left  { display: flex; align-items: center; gap: 12px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
@media (min-width: 640px) { .nav-right { gap: 18px; } }

.nav-logo-img { height: 38px; width: auto; }

.nav-badge {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: .18em;
    background: var(--red); color: #fff;
    padding: 3px 7px; border-radius: 2px;
    text-transform: uppercase;
}

.nav-link {
    display: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--gray);
    transition: color .2s;
}
@media (min-width: 768px) { .nav-link { display: block; } }
.nav-link:hover { color: var(--white); }

.nav-cta {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase;
    background: #25D366; color: #fff;
    padding: 8px 18px; border-radius: 2px;
    transition: background .2s, box-shadow .2s;
}
.nav-cta:hover { background: #1ebe5c; color: #fff; box-shadow: 0 0 20px rgba(37,211,102,.35); }

/* ══════════════════════════════════════
   MAIN WRAPPER
══════════════════════════════════════ */
#page {
    padding-top: var(--nav-h);
}

/* ══════════════════════════════════════
   BLOG HEADER / BANNER
══════════════════════════════════════ */
.blog-banner {
    padding: 72px 24px 56px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .blog-banner { padding: 88px 60px 64px; } }

.blog-banner::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 40%; height: 100%;
    background: radial-gradient(ellipse at right center, rgba(232,37,26,.06) 0%, transparent 70%);
    pointer-events: none;
}

.blog-banner-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .22em;
    text-transform: uppercase; color: var(--red);
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 18px;
}
.blog-banner-eyebrow::before {
    content: '';
    display: inline-block; width: 28px; height: 1.5px;
    background: var(--red);
}

.blog-banner h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 8vw, 96px);
    line-height: .95;
    letter-spacing: .01em;
    color: var(--white);
    margin-bottom: 20px;
}

.blog-banner p {
    font-size: 15px; font-weight: 300;
    color: var(--gray); max-width: 480px;
    line-height: 1.75;
}

/* ══════════════════════════════════════
   BLOG LAYOUT
══════════════════════════════════════ */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}
@media (min-width: 900px) {
    .blog-container {
        grid-template-columns: 1fr 300px;
        padding: 72px 44px 100px;
        gap: 60px;
    }
}

/* ══════════════════════════════════════
   POST CARDS (archivo)
══════════════════════════════════════ */
.posts-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color .25s, transform .25s;
    margin-bottom: 24px;
}
.post-card:hover {
    border-color: var(--border-r);
    transform: translateY(-3px);
}

.post-card-thumb {
    width: 100%; aspect-ratio: 16/9;
    object-fit: cover;
    filter: grayscale(12%) brightness(.85);
    transition: filter .35s, transform .35s;
    display: block;
}
.post-card:hover .post-card-thumb {
    filter: grayscale(0%) brightness(.95);
    transform: scale(1.02);
}
.post-card-thumb-wrap {
    overflow: hidden;
}

.post-card-body {
    padding: 28px 28px 32px;
}

.post-card-meta {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 14px;
}

.post-card-cat {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase;
    background: var(--red-dim); color: var(--red);
    border: 1px solid var(--border-r);
    padding: 3px 9px; border-radius: 2px;
}

.post-card-date {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; letter-spacing: .1em;
    color: var(--gray-dark);
    text-transform: uppercase;
}

.post-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1;
    letter-spacing: .01em;
    color: var(--white);
    margin-bottom: 14px;
    transition: color .2s;
}
.post-card:hover .post-card-title { color: var(--red); }

.post-card-excerpt {
    font-size: 14px; font-weight: 300;
    color: var(--gray); line-height: 1.75;
    margin-bottom: 24px;
}

.post-card-readmore {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--red);
    display: inline-flex; align-items: center; gap: 8px;
    transition: gap .2s;
}
.post-card-readmore::after { content: '→'; }
.post-card:hover .post-card-readmore { gap: 14px; }

/* ══════════════════════════════════════
   SINGLE POST
══════════════════════════════════════ */
/* ── Single post header ── */
.single-post-header {
    padding: 72px 24px 52px;
    border-bottom: 1px solid var(--border);
    max-width: 780px;
    margin: 0 auto;
}
@media (min-width: 768px) { .single-post-header { padding: 88px 0 60px; } }

.single-post-meta {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 24px;
}

.single-post-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    line-height: .97;
    letter-spacing: .01em;
    color: var(--white);
    margin-bottom: 20px;
}

.single-post-subtitle {
    font-size: 19px; font-weight: 300;
    color: #C8C4BE;
    line-height: 1.8;
    max-width: 640px;
    border-left: 3px solid var(--red);
    padding-left: 18px;
    margin-top: 8px;
}

/* ── Featured image ── */
.single-post-thumb-wrap {
    max-width: 780px; margin: 44px auto 0;
    border-radius: 4px; overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.single-post-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: grayscale(6%) brightness(.9);
    display: block;
}

/* ── Progress bar ── */
.read-progress {
    position: fixed; top: 0; left: 0; z-index: 700;
    height: 3px; width: 0%;
    background: var(--red);
    transition: width .1s linear;
    box-shadow: 0 0 8px var(--red-glow);
}

/* ══════════════════════════════════════
   ARTICLE CONTENT — LEGIBILIDAD
══════════════════════════════════════ */
.single-post-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}
@media (min-width: 768px) { .single-post-content { padding: 68px 0 100px; } }

/* Base typography */
.single-post-content p {
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.9;
    color: #D0CCC6;
    margin-bottom: 28px;
    letter-spacing: .01em;
}

/* First paragraph — lead */
.single-post-content > p:first-of-type {
    font-size: 19px;
    font-weight: 300;
    color: var(--offwhite);
    line-height: 1.85;
}

/* Drop cap on first letter */
.single-post-content > p:first-of-type::first-letter {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.8em;
    line-height: .82;
    float: left;
    margin: 4px 12px 0 0;
    color: var(--red);
}

/* Headings */
.single-post-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    color: var(--white);
    margin: 56px 0 18px;
    letter-spacing: .01em;
    position: relative;
    padding-top: 40px;
}
.single-post-content h2::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 36px; height: 2px;
    background: var(--red);
}
.single-post-content h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px; font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--white);
    margin: 44px 0 14px;
}
.single-post-content h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 16px; font-weight: 600;
    color: var(--offwhite);
    margin: 32px 0 10px;
}

/* Links */
.single-post-content a {
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid rgba(232,37,26,.35);
    transition: color .2s, border-color .2s;
}
.single-post-content a:hover { color: var(--red-hi); border-color: var(--red); }

/* Lists */
.single-post-content ul,
.single-post-content ol {
    padding-left: 0;
    margin-bottom: 28px;
    list-style: none;
}
.single-post-content ul li,
.single-post-content ol li {
    font-size: 17px; font-weight: 400;
    line-height: 1.8; color: #D0CCC6;
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
}
.single-post-content ul li::before {
    content: '';
    position: absolute; left: 0; top: 12px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--red);
}
.single-post-content ol {
    counter-reset: ol-counter;
}
.single-post-content ol li {
    counter-increment: ol-counter;
}
.single-post-content ol li::before {
    content: counter(ol-counter) '.';
    position: absolute; left: 0; top: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px; font-weight: 700; color: var(--red);
    letter-spacing: .05em;
}

/* Blockquote */
.single-post-content blockquote {
    position: relative;
    border: none;
    padding: 28px 32px 28px 40px;
    margin: 40px 0;
    background: var(--bg-card);
    border-radius: 0 4px 4px 0;
    border-left: 4px solid var(--red);
}
.single-post-content blockquote::before {
    content: '"';
    position: absolute; top: 8px; left: 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 56px; line-height: 1;
    color: var(--red); opacity: .35;
}
.single-post-content blockquote p {
    font-size: 18px !important;
    font-style: italic;
    color: var(--offwhite) !important;
    margin-bottom: 0 !important;
    line-height: 1.75 !important;
}
.single-post-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--gray-dark); font-style: normal;
}

/* Images inside content */
.single-post-content img {
    width: 100%; border-radius: 4px;
    margin: 36px 0;
    border: 1px solid var(--border);
    display: block;
}
.single-post-content figure { margin: 36px 0; }
.single-post-content figcaption {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gray-dark);
    text-align: center; margin-top: 10px;
}

/* Horizontal rule */
.single-post-content hr {
    border: none;
    margin: 48px auto;
    width: 60px; height: 2px;
    background: var(--border-r);
}

/* Strong & em */
.single-post-content strong { color: var(--white); font-weight: 600; }
.single-post-content em { color: #C8C4BE; font-style: italic; }

/* Code */
.single-post-content code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 2px 7px;
    color: #E8C3BF;
}
.single-post-content pre {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 20px 22px;
    overflow-x: auto;
    margin: 28px 0;
}
.single-post-content pre code {
    background: none; border: none; padding: 0;
    font-size: 13px; line-height: 1.7;
}

/* Reading time badge */
.single-reading-time {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--gray-dark);
    display: flex; align-items: center; gap: 6px;
    margin-top: 20px;
}
.single-reading-time svg { opacity: .5; }

/* ══════════════════════════════════════
   SIDEBAR
══════════════════════════════════════ */
.sidebar {
    display: flex; flex-direction: column; gap: 32px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 24px 22px;
}

.sidebar-widget-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .22em;
    text-transform: uppercase; color: var(--red);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px; color: var(--gray);
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a {
    color: var(--offwhite); transition: color .2s;
    display: flex; justify-content: space-between; align-items: center;
}
.sidebar-widget ul li a:hover { color: var(--red); }
.sidebar-widget ul li a span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; color: var(--gray-dark);
    background: var(--bg-card2);
    padding: 2px 7px; border-radius: 2px;
}

/* Search widget */
.sidebar-search {
    display: flex; gap: 8px;
}
.sidebar-search input {
    flex: 1;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 10px 14px;
    font-family: 'Barlow', sans-serif;
    font-size: 13px; color: var(--white);
    outline: none;
    transition: border-color .2s;
}
.sidebar-search input::placeholder { color: var(--gray-dark); }
.sidebar-search input:focus { border-color: var(--border-r); }
.sidebar-search button {
    background: var(--red); color: #fff;
    border: none; border-radius: 2px;
    padding: 10px 16px; cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px; font-weight: 700; letter-spacing: .1em;
    transition: background .2s;
}
.sidebar-search button:hover { background: var(--red-hi); }

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.blog-pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 8px; padding: 40px 0 20px;
}
.blog-pagination a,
.blog-pagination span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px; font-weight: 700; letter-spacing: .1em;
    padding: 9px 16px; border-radius: 2px;
    border: 1px solid var(--border);
    color: var(--gray); transition: all .2s;
}
.blog-pagination a:hover {
    border-color: var(--border-r); color: var(--red);
}
.blog-pagination .current {
    background: var(--red); color: #fff;
    border-color: var(--red);
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#colophon {
    border-top: 1px solid var(--border);
    padding: 48px 24px 32px;
    background: var(--bg);
}
@media (min-width: 768px) { #colophon { padding: 56px 60px 36px; } }

.footer-top {
    display: flex; flex-direction: column; gap: 40px;
    margin-bottom: 48px;
}
@media (min-width: 768px) {
    .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

.footer-brand-logo { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand-text { font-size: 13px; font-weight: 300; color: var(--gray); line-height: 1.7; max-width: 230px; }

.footer-col-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: .22em;
    text-transform: uppercase; color: var(--red);
    margin-bottom: 16px;
}
.footer-link {
    display: block; font-size: 13px; color: var(--gray);
    margin-bottom: 10px; transition: color .2s;
}
.footer-link:hover { color: var(--white); }

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 8px;
    align-items: center; text-align: center;
}
@media (min-width: 640px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-copy {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; letter-spacing: .1em; color: var(--gray-dark);
    text-transform: uppercase;
}

/* ══════════════════════════════════════
   PÁGINAS LEGALES
══════════════════════════════════════ */
.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px 120px;
}
@media (min-width: 768px) { .legal-page { padding: 0 0 120px; } }

/* ── Legal header ── */
.legal-header {
    padding: 72px 0 52px;
    margin-bottom: 0;
    position: relative;
}
.legal-header::after {
    content: '';
    display: block;
    width: 100%; height: 1px;
    background: linear-gradient(to right, var(--red) 0%, rgba(232,37,26,.15) 40%, transparent 100%);
    margin-top: 52px;
}

.legal-header .blog-banner-eyebrow {
    margin-bottom: 16px;
}

.legal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 8vw, 80px);
    line-height: .93; letter-spacing: .01em;
    color: var(--white); margin: 0 0 14px;
}

.legal-updated {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; letter-spacing: .16em;
    text-transform: uppercase; color: var(--gray-dark);
    display: inline-flex; align-items: center; gap: 8px;
}
.legal-updated::before {
    content: '';
    display: inline-block; width: 16px; height: 1px;
    background: var(--gray-dark);
}

/* ── TOC (table of contents) ── */
.legal-toc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    border-radius: 0 4px 4px 0;
    padding: 24px 28px;
    margin: 44px 0 52px;
}
.legal-toc-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: .22em;
    text-transform: uppercase; color: var(--red);
    margin-bottom: 14px;
}
.legal-toc ol {
    list-style: none; padding: 0; margin: 0;
    counter-reset: toc-counter;
}
.legal-toc ol li {
    counter-increment: toc-counter;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px; color: var(--gray);
}
.legal-toc ol li:last-child { border-bottom: none; }
.legal-toc ol li::before {
    content: counter(toc-counter, decimal-leading-zero) '. ';
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; color: var(--red); font-size: 11px;
    letter-spacing: .06em; margin-right: 6px;
}
.legal-toc ol li a {
    color: var(--gray); text-decoration: none;
    transition: color .2s;
}
.legal-toc ol li a:hover { color: var(--white); }

/* ── Content body ── */
.legal-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.legal-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.legal-section:last-child { border-bottom: none; }

.legal-section-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase; color: var(--red);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 10px;
}
.legal-section-number::after {
    content: ''; flex: 1; height: 1px;
    background: var(--border);
}

.legal-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    color: var(--white); margin: 0 0 18px;
    letter-spacing: .01em; line-height: 1;
}

.legal-content p {
    font-size: 15px; font-weight: 400; line-height: 1.9;
    color: #C0BCB6; margin-bottom: 16px;
}
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--offwhite); font-weight: 600; }

.legal-content ul {
    list-style: none; padding: 0; margin: 0 0 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.legal-content ul li {
    font-size: 14px; font-weight: 400; line-height: 1.7;
    color: #C0BCB6; padding: 12px 16px 12px 40px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.legal-content ul li:last-child { border-bottom: none; }
.legal-content ul li::before {
    content: '';
    position: absolute; left: 16px; top: 19px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--red);
}
.legal-content ul li strong { color: var(--offwhite); }

.legal-content a {
    color: var(--red); text-decoration: none;
    border-bottom: 1px solid rgba(232,37,26,.3);
    transition: color .2s, border-color .2s;
}
.legal-content a:hover { color: var(--red-hi); border-color: var(--red); }

/* Highlight box */
.legal-highlight {
    background: var(--red-dim);
    border: 1px solid var(--border-r);
    border-radius: 4px;
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 14px; color: var(--offwhite); line-height: 1.7;
    display: flex; align-items: flex-start; gap: 12px;
}
.legal-highlight-icon {
    width: 18px; height: 18px; flex-shrink: 0;
    color: var(--red); margin-top: 1px;
}

/* ══════════════════════════════════════
   BANNER DE COOKIES (RGPD)
══════════════════════════════════════ */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000;
    background: rgba(10,9,9,.97);
    border-top: 1px solid var(--border-r);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    display: flex; flex-direction: column; gap: 14px;
    transform: translateY(100%);
    transition: transform .45s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 -8px 40px rgba(0,0,0,.6);
}
#cookie-banner.visible { transform: translateY(0); }
@media (min-width: 768px) {
    #cookie-banner {
        flex-direction: row; align-items: center;
        padding: 18px 44px; gap: 24px;
    }
}

.cookie-text {
    font-size: 13px; font-weight: 300; color: var(--gray);
    line-height: 1.65; flex: 1;
}
.cookie-text strong { color: var(--offwhite); font-weight: 500; }
.cookie-text a { color: var(--red); text-decoration: none; border-bottom: 1px solid var(--border-r); }
.cookie-text a:hover { color: var(--red-hi); }

.cookie-actions {
    display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap;
}
.cookie-btn-accept {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase;
    background: var(--red); color: #fff;
    border: none; border-radius: 2px;
    padding: 10px 22px; cursor: pointer;
    transition: background .2s, box-shadow .2s;
    white-space: nowrap;
}
.cookie-btn-accept:hover { background: var(--red-hi); box-shadow: 0 0 16px var(--red-glow); }
.cookie-btn-reject {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase;
    background: transparent; color: var(--gray);
    border: 1px solid var(--border); border-radius: 2px;
    padding: 10px 18px; cursor: pointer;
    transition: border-color .2s, color .2s;
    white-space: nowrap;
}
.cookie-btn-reject:hover { border-color: var(--gray); color: var(--offwhite); }
