/* ==========================================================================
   Rowrigo Radio Ã‚Â· theme de reproductor Luna a pantalla completa
   Prefijo: .rr-  Ã‚Â·  Variables: --rr-*
   ========================================================================== */

:root {
    --rr-accent: #38bdf8;
    --rr-header-bg: #041426;
    --rr-menu-text: #e8f1fb;
    --rr-page-bg: #031426;
    --rr-panel: #071e33;
    --rr-panel-2: #0a2742;
    --rr-border: rgba(148, 197, 235, .16);
    --rr-text: #e8f1fb;
    --rr-muted: #9fb6cb;
    --rr-header-h: 72px;
    --rr-font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --rr-display: 'Oswald', 'Inter', 'Segoe UI', Impact, sans-serif;
    --rr-radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--rr-page-bg);
    color: var(--rr-text);
    font-family: var(--rr-font);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--rr-accent); text-decoration: none; }
a:hover { color: #ffffff; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 12px; top: -60px;
    z-index: 3000;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--rr-accent);
    color: #031426;
    font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------------ header -- */
.rr-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--rr-header-h);
    background: var(--rr-header-bg);
    background: color-mix(in srgb, var(--rr-header-bg) 92%, transparent);
    border-bottom: 1px solid var(--rr-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.rr-header-inner {
    width: 100%;
    height: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 36px);
    display: flex;
    align-items: center;
    gap: 22px;
}

.rr-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    color: var(--rr-menu-text);
}
.rr-brand:hover { color: #ffffff; }

.rr-logo {
    display: block;
    width: auto;
    height: 40px;
    max-width: 210px;
    object-fit: contain;
}

.rr-brand-name {
    font-family: var(--rr-display);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

/* menÃƒÂº */
.rr-nav { min-width: 0; margin-left: auto; margin-right: 8px; }
.rr-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.rr-menu .menu-item { position: relative; }
.rr-menu .menu-item > a {
    display: inline-block;
    padding: 8px 0;
    color: var(--rr-menu-text);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}
.rr-menu .menu-item > a::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 4px;
    border-radius: 2px;
    background: var(--rr-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
}
.rr-menu .menu-item > a:hover,
.rr-menu .menu-item.current-menu-item > a { color: #ffffff; }
.rr-menu .menu-item > a:hover::after,
.rr-menu .menu-item.current-menu-item > a::after { transform: scaleX(1); }

/* herramientas */
.rr-tools {
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}
.rr-socials { display: flex; align-items: center; gap: 7px; }

.rr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--rr-accent) 34%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--rr-accent) 16%, transparent);
    color: var(--rr-accent);
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.rr-icon:hover {
    background: var(--rr-accent);
    border-color: var(--rr-accent);
    color: #031426;
    transform: translateY(-1px);
}
.rr-icon:focus-visible,
.rr-burger:focus-visible,
.rr-clock:focus-visible,
.rr-btn:focus-visible {
    outline: 2px solid var(--rr-accent);
    outline-offset: 2px;
}
.rr-icon .rr-ic { width: 18px; height: 18px; }

.rr-clock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid color-mix(in srgb, var(--rr-accent) 22%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--rr-accent) 8%, transparent);
    color: var(--rr-menu-text);
    white-space: nowrap;
}
.rr-clock .rr-ic--clock { width: 15px; height: 15px; color: var(--rr-accent); }
.rr-clock-time {
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}
.rr-clock-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rr-accent);
}

/* Reloj flotante: fijo a 130px del top y 30px de la derecha */
.rr-float-clock {
    position: fixed;
    top: 130px;
    right: 30px;
    z-index: 950;
    background: color-mix(in srgb, var(--rr-header-bg) 90%, transparent);
    box-shadow: 0 10px 30px rgba(2, 10, 20, .35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Redes flotantes: columna fija a la izquierda, a la altura del reloj */
.rr-float-socials {
    position: fixed;
    left: 20px;
    top: 130px;
    z-index: 940;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rr-float-socials .rr-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    box-shadow: 0 8px 24px rgba(2, 10, 20, .35);
}
.rr-float-socials .rr-icon .rr-ic { width: 19px; height: 19px; }

.rr-gear { background: color-mix(in srgb, var(--rr-accent) 22%, transparent); }

.rr-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--rr-accent) 34%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--rr-accent) 14%, transparent);
    color: var(--rr-text);
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.rr-burger:hover {
    background: var(--rr-accent);
    border-color: var(--rr-accent);
    color: #031426;
}
.rr-burger .rr-ic { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ drawer -- */
.rr-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    background: rgba(2, 10, 20, .66);
    backdrop-filter: blur(3px);
}
body.rr-drawer-open .rr-drawer-backdrop { display: block; }

.rr-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    width: min(360px, 88vw);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #041426;
    border-left: 1px solid var(--rr-border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .45);
    transform: translateX(105%);
    transition: transform .24s ease;
    overflow-y: auto;
}
body.rr-drawer-open .rr-drawer { transform: none; }

.rr-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rr-border);
}
.rr-drawer-title {
    font-family: var(--rr-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.rr-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--rr-border);
    border-radius: 10px;
    background: transparent;
    color: var(--rr-text);
    cursor: pointer;
}
.rr-drawer-nav .rr-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
}
.rr-drawer-nav .rr-menu .menu-item > a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--rr-border) 70%, transparent);
    font-size: 13px;
}
.rr-drawer-tools {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--rr-border);
}
.rr-drawer-settings,
.rr-drawer-fullscreen {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--rr-border);
    border-radius: 10px;
    background: color-mix(in srgb, var(--rr-accent) 8%, transparent);
    color: var(--rr-menu-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
}
.rr-drawer-settings .rr-ic,
.rr-drawer-fullscreen .rr-ic { width: 17px; height: 17px; color: var(--rr-accent); }

/* ------------------------------------------------------------------- home -- */
.rr-main--home {
    display: block;
    min-height: calc(100vh - var(--rr-header-h));
    min-height: calc(100dvh - var(--rr-header-h));
}

.rr-player {
    position: relative;
    height: calc(100vh - var(--rr-header-h));
    height: calc(100dvh - var(--rr-header-h));
    min-height: 420px;
    overflow: hidden;
    background: #041426;
}

.rr-player .pluna-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    --pluna-h: 100% !important;
    border-radius: 0 !important;
    box-sizing: border-box;
}
.rr-player .pluna-inner { height: 100% !important; }

.rr-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 30px;
    text-align: center;
    background: radial-gradient(80% 80% at 50% 25%, #0b2b4d, #031426 70%);
}
.rr-empty-title {
    margin: 0;
    font-family: var(--rr-display);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    text-transform: uppercase;
}
.rr-empty-text { margin: 0; color: var(--rr-muted); }

/* --------------------------------------------------------------- contenido -- */
.rr-main--page { padding: clamp(22px, 3.4vw, 44px) 18px clamp(44px, 6vw, 76px); }
.rr-wrap { width: 100%; max-width: 1120px; margin: 0 auto; }
.rr-wrap--article { max-width: 900px; }

/* Blog: 90% de ancho + sidebar derecha */
.rr-wrap--with-sidebar {
    width: 90vw;
    max-width: 1800px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    align-items: start;
}
.rr-blog-main { min-width: 0; }
.rr-single-main { min-width: 0; }
.rr-blog-main .rr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rr-blog-content { min-width: 0; }

/* Sidebar del blog */
.rr-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--rr-header-h) + 18px);
}
.rr-sidebar .widget-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.rr-sidebar .widget {
    margin: 0;
    padding: 16px;
    border: 1px solid var(--rr-border);
    border-radius: 14px;
    background: var(--rr-panel);
}
.rr-sidebar .widget-title {
    margin: 0 0 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--rr-border);
    font-family: var(--rr-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #ffffff;
}
.rr-sidebar .widget-title::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 8px;
    margin-bottom: -11px;
    border-radius: 2px;
    background: var(--rr-accent);
}
.rr-sidebar .widget-content { font-size: 13px; color: var(--rr-muted); }
.rr-sidebar .widget-content > *:first-child { margin-top: 0; }
.rr-sidebar .widget-content > *:last-child { margin-bottom: 0; }
.rr-sidebar .widget-content p { margin: 0 0 .8em; }
.rr-sidebar .widget-content img { max-width: 100%; height: auto; border-radius: 8px; }
.rr-sidebar .widget-content ul,
.rr-sidebar .widget-content ol { margin: 0; padding: 0; list-style: none; }
.rr-sidebar .widget-content li { padding: 7px 0; border-bottom: 1px solid color-mix(in srgb, var(--rr-border) 70%, transparent); }
.rr-sidebar .widget-content li:last-child { border-bottom: 0; padding-bottom: 0; }
.rr-sidebar .widget-content a { color: var(--rr-menu-text); }
.rr-sidebar .widget-content a:hover { color: var(--rr-accent); }

/* MenÃº del widget / fallback */
.rr-sidebar .menu-items,
.rr-sidebar .rr-menu,
.rr-sidebar .widget-menu-items { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.rr-sidebar .menu-items .menu-item > a,
.rr-sidebar .rr-menu .menu-item > a,
.rr-sidebar .widget-menu-items .menu-item > a {
    display: block;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--rr-menu-text);
}
.rr-sidebar .menu-items .menu-item > a::after,
.rr-sidebar .rr-menu .menu-item > a::after,
.rr-sidebar .widget-menu-items .menu-item > a::after { display: none; }
.rr-sidebar .menu-items .menu-item > a:hover,
.rr-sidebar .rr-menu .menu-item > a:hover,
.rr-sidebar .widget-menu-items .menu-item > a:hover { color: var(--rr-accent); }
.rr-sidebar .menu-items .sub-menu,
.rr-sidebar .rr-menu .sub-menu { margin: 0; padding-left: 12px; }

/* Ãšltimas publicaciones del widget */
.rr-sidebar .widget-latest-posts { display: flex; flex-direction: column; gap: 10px; }
.rr-sidebar .widget-latest-post { display: flex; align-items: center; gap: 10px; padding: 0 0 10px; border-bottom: 1px solid color-mix(in srgb, var(--rr-border) 70%, transparent); }
.rr-sidebar .widget-latest-post:last-child { padding-bottom: 0; border-bottom: 0; }
.rr-sidebar .widget-latest-post-link { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rr-sidebar .widget-latest-post-thumb { width: 64px; height: 48px; flex: 0 0 64px; border-radius: 6px; object-fit: cover; }
.rr-sidebar .widget-latest-post-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rr-sidebar .widget-latest-post-title { color: var(--rr-menu-text); font-size: 12px; font-weight: 600; line-height: 1.35; }
.rr-sidebar .widget-latest-post-date { color: var(--rr-muted); font-size: 10.5px; }

.rr-page-head { margin-bottom: 26px; }
.rr-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rr-accent);
}
.rr-page-title {
    margin: 0 0 6px;
    font-family: var(--rr-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #ffffff;
}
.rr-page-sub { margin: 0; color: var(--rr-muted); font-size: 14px; }

/* tarjetas */
.rr-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.rr-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius);
    background: var(--rr-panel);
    transition: border-color .18s ease, transform .18s ease;
}
.rr-card:hover { border-color: color-mix(in srgb, var(--rr-accent) 45%, transparent); transform: translateY(-2px); }
.rr-card-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--rr-panel-2);
}
.rr-card-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rr-card-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--rr-accent);
    background: radial-gradient(70% 70% at 30% 20%, color-mix(in srgb, var(--rr-accent) 20%, transparent), transparent 70%), var(--rr-panel-2);
}
.rr-card-fallback .rr-ic { width: 34px; height: 34px; }
.rr-card-body { display: flex; flex-direction: column; flex: 1; padding: 15px 16px 30px; }
.rr-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 9px; }
.rr-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    border: 1px solid color-mix(in srgb, var(--rr-accent) 38%, transparent);
    border-radius: 5px;
    background: color-mix(in srgb, var(--rr-accent) 10%, transparent);
    color: var(--rr-accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.rr-card-date, .rr-entry-date { font-size: 11px; color: var(--rr-muted); }
.rr-card-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.32;
    color: #ffffff;
}
.rr-card-title a { color: inherit; }
.rr-card-title a:hover { color: var(--rr-accent); }
.rr-card-excerpt {
    margin: 0 0 12px;
    color: var(--rr-muted);
    font-size: 12.5px;
    line-height: 1.55;
}
.rr-card-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rr-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.rr-card-more .rr-ic--arrow { width: 14px; height: 14px; }

/* [latest_posts] del blog: tarjetas del theme y 30px bajo «Leer más» */
.rr-blog-content .site-latest { margin: 0; }
.rr-blog-content .site-latest-title {
    margin: 0 0 16px;
    font-family: var(--rr-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #ffffff;
}
.rr-blog-content .site-latest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.rr-blog-content .site-latest--1 .site-latest-grid { grid-template-columns: minmax(0, 1fr); }
.rr-blog-content .site-latest--2 .site-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rr-blog-content .site-latest--3 .site-latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rr-blog-content .site-latest--4 .site-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rr-blog-content .site-latest-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius);
    background: var(--rr-panel);
    transition: border-color .18s ease, transform .18s ease;
}
.rr-blog-content .site-latest-card:hover {
    border-color: color-mix(in srgb, var(--rr-accent) 45%, transparent);
    transform: translateY(-2px);
}
.rr-blog-content .site-latest-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--rr-panel-2);
}
.rr-blog-content .site-latest-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rr-blog-content .site-latest-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px 16px 30px;
}
.rr-blog-content .site-latest-card-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.32;
    color: #ffffff;
}
.rr-blog-content .site-latest-card-title a { color: inherit; }
.rr-blog-content .site-latest-card-title a:hover { color: var(--rr-accent); }
.rr-blog-content .site-latest-excerpt {
    margin: 0 0 12px;
    color: var(--rr-muted);
    font-size: 12.5px;
    line-height: 1.55;
}
.rr-blog-content .site-latest-more {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: var(--rr-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.rr-blog-content .site-latest-more:hover { color: #ffffff; }
.rr-blog-content .site-latest-empty { color: var(--rr-muted); }

/* entrada/pÃƒÂ¡gina */
.rr-article {
    padding: clamp(20px, 4vw, 42px);
    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius);
    background: var(--rr-panel);
}
.rr-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
    color: var(--rr-muted);
    font-size: 11.5px;
}
.rr-crumbs a { color: var(--rr-muted); }
.rr-crumbs a:hover { color: var(--rr-accent); }
.rr-entry-head { margin-bottom: 20px; }
.rr-entry-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.rr-entry-title {
    margin: 0 0 10px;
    font-family: var(--rr-display);
    font-size: clamp(28px, 4.4vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: .01em;
    color: #ffffff;
}
.rr-entry-author { margin: 0 0 10px; color: var(--rr-muted); font-size: 13px; }
.rr-entry-lead { margin: 0; color: #cfe0ee; font-size: 16.5px; line-height: 1.6; }

.rr-entry-media {
    margin: 0 0 24px;
    overflow: hidden;
    border: 1px solid var(--rr-border);
    border-radius: 12px;
    background: var(--rr-panel-2);
}
.rr-entry-media img { display: block; width: 100%; height: auto; }
.rr-entry-caption {
    padding: 9px 13px;
    border-top: 1px solid var(--rr-border);
    color: var(--rr-muted);
    font-size: 11.5px;
    background: color-mix(in srgb, var(--rr-header-bg) 60%, transparent);
}

/* contenido del editor */
.rr-entry-content {
    color: var(--rr-text);
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: break-word;
}
.rr-entry-content > *:first-child { margin-top: 0; }
.rr-entry-content > *:last-child { margin-bottom: 0; }
.rr-entry-content p { margin: 0 0 1.1em; }
.rr-entry-content h2,
.rr-entry-content h3,
.rr-entry-content h4,
.rr-entry-content h5 {
    margin: 1.5em 0 .6em;
    font-family: var(--rr-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .01em;
    color: #ffffff;
}
.rr-entry-content h2 { font-size: clamp(23px, 2.8vw, 32px); }
.rr-entry-content h3 { font-size: clamp(19px, 2.2vw, 25px); }
.rr-entry-content h4 { font-size: 19px; }
.rr-entry-content a { color: var(--rr-accent); text-decoration: underline; text-underline-offset: 2px; }
.rr-entry-content a:hover { color: #ffffff; }
.rr-entry-content ul,
.rr-entry-content ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.rr-entry-content li { margin-bottom: .35em; }
.rr-entry-content li::marker { color: var(--rr-accent); }
.rr-entry-content blockquote {
    margin: 1.4em 0;
    padding: 14px 18px;
    border-left: 3px solid var(--rr-accent);
    border-radius: 0 10px 10px 0;
    background: color-mix(in srgb, var(--rr-accent) 7%, transparent);
    color: #cfe0ee;
    font-style: italic;
}
.rr-entry-content blockquote p:last-child { margin-bottom: 0; }
.rr-entry-content img { max-width: 100%; height: auto; border-radius: 10px; }
.rr-entry-content figure { margin: 1.4em 0; }
.rr-entry-content figcaption { margin-top: 6px; color: var(--rr-muted); font-size: 12px; }
.rr-entry-content iframe,
.rr-entry-content video { max-width: 100%; border-radius: 10px; }
.rr-entry-content hr { border: 0; border-top: 1px solid var(--rr-border); margin: 1.8em 0; }
.rr-entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 14px; }
.rr-entry-content th,
.rr-entry-content td { padding: 8px 10px; border: 1px solid var(--rr-border); text-align: left; }
.rr-entry-content th { background: color-mix(in srgb, var(--rr-accent) 10%, transparent); color: #ffffff; }
.rr-entry-content pre {
    margin: 0 0 1.2em;
    padding: 14px 16px;
    overflow-x: auto;
    border: 1px solid var(--rr-border);
    border-radius: 10px;
    background: #020b15;
    color: #d6e7f5;
    font-size: 13px;
}
.rr-entry-content code {
    padding: 1px 5px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--rr-accent) 10%, transparent);
    color: var(--rr-accent);
    font-size: .92em;
}
.rr-entry-content pre code { padding: 0; background: none; color: inherit; }

/* banners / widgets dentro de la entrada */
.rr-banner-area { margin: 24px 0; }

/* Barra de compartir del plugin: adaptarla al tema oscuro. */
.rr-article .compartir {
    --cmp-bg: #0a2742 !important;
    --cmp-border: var(--rr-border) !important;
    --cmp-label: var(--rr-muted) !important;
    --cmp-google-bg: #071e33 !important;
    --cmp-google-border: var(--rr-border) !important;
    --cmp-google-text: var(--rr-text) !important;
}.rr-widgets { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.rr-widgets .widget {
    padding: 15px 16px;
    border: 1px solid var(--rr-border);
    border-radius: 12px;
    background: var(--rr-panel-2);
}
.rr-widgets .widget-title {
    margin: 0 0 10px;
    font-family: var(--rr-display);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.rr-widgets .widget-content { font-size: 13px; color: var(--rr-muted); }

/* autor */
.rr-author {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 28px;
    padding: 16px;
    border: 1px solid var(--rr-border);
    border-radius: 12px;
    background: var(--rr-panel-2);
}
.rr-author-avatar { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; object-fit: cover; }
.rr-author-name { margin: 0 0 4px; font-size: 15px; color: #ffffff; }
.rr-author-bio { margin: 0; color: var(--rr-muted); font-size: 12.5px; line-height: 1.5; }

/* paginaciÃƒÂ³n */
.rr-pagination { margin-top: 26px; display: flex; justify-content: center; }
.site-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-pagination a,
.site-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--rr-border);
    border-radius: 9px;
    background: var(--rr-panel);
    color: var(--rr-text);
    font-size: 12px;
    font-weight: 700;
}
.site-pagination a:hover { border-color: var(--rr-accent); color: var(--rr-accent); }
.site-pagination .page-current span { background: var(--rr-accent); border-color: var(--rr-accent); color: #031426; }

/* vacÃƒÂ­o / error */
.rr-empty-card,
.rr-error {
    padding: clamp(26px, 5vw, 50px);
    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius);
    background: var(--rr-panel);
    text-align: center;
}
.rr-empty-card h2 { margin: 0 0 8px; font-family: var(--rr-display); font-size: 24px; text-transform: uppercase; }
.rr-empty-card p { margin: 0 0 16px; color: var(--rr-muted); }
.rr-error-code {
    font-family: var(--rr-display);
    font-size: clamp(70px, 16vw, 150px);
    font-weight: 700;
    line-height: .9;
    color: var(--rr-accent);
}
.rr-error-title { margin: 10px 0 8px; font-family: var(--rr-display); font-size: clamp(24px, 4vw, 38px); text-transform: uppercase; }
.rr-error-text { max-width: 520px; margin: 0 auto 18px; color: var(--rr-muted); }
.rr-error-actions { display: flex; justify-content: center; margin-bottom: 18px; }
.rr-error-search { max-width: 420px; margin: 0 auto; }

/* formularios */
.site-searchform {
    display: flex;
    gap: 8px;
    width: 100%;
}
.site-searchform input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--rr-border);
    border-radius: 9px;
    background: var(--rr-panel-2);
    color: var(--rr-text);
    font-family: inherit;
    font-size: 13px;
}
.site-searchform button {
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    background: var(--rr-accent);
    color: #031426;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

/* botones */
.rr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--rr-border);
    border-radius: 9px;
    background: color-mix(in srgb, var(--rr-accent) 8%, transparent);
    color: var(--rr-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    text-align: center;
    cursor: pointer;
}
.rr-btn:hover { border-color: var(--rr-accent); color: var(--rr-accent); }
.rr-btn--accent { background: var(--rr-accent); border-color: var(--rr-accent); color: #031426; }
.rr-btn--accent:hover { background: #7dd3fc; color: #031426; }
.rr-btn .rr-ic { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ modal -- */
.rr-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.rr-modal[hidden] { display: none !important; }
.rr-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 10, 20, .72);
    backdrop-filter: blur(4px);
}
.rr-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    border: 1px solid var(--rr-border);
    border-radius: 16px;
    background: #041426;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .55);
}
.rr-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--rr-border);
    border-radius: 9px;
    background: transparent;
    color: var(--rr-text);
    cursor: pointer;
}
.rr-modal-title {
    margin: 0 0 4px;
    font-family: var(--rr-display);
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
}
.rr-modal-sub { margin: 0 0 18px; color: var(--rr-muted); font-size: 12px; }
.rr-modal-actions { display: flex; flex-direction: column; gap: 9px; }
.rr-modal-actions .rr-btn { width: 100%; justify-content: flex-start; }
.rr-volume {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--rr-border);
}
.rr-volume label { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--rr-muted); }
.rr-volume input[type="range"] {
    grid-column: 1 / -1;
    width: 100%;
    accent-color: var(--rr-accent);
}
.rr-volume-value { font-size: 12px; font-weight: 700; color: var(--rr-accent); }
body.rr-modal-open { overflow: hidden; }
body.rr-drawer-open { overflow: hidden; }

/* ----------------------------------------------------------------- footer -- */
.rr-footer {
    margin-top: 20px;
    border-top: 1px solid var(--rr-border);
    background: #020e1a;
}
.rr-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}
.rr-footer-brand { display: flex; flex-direction: column; gap: 6px; color: var(--rr-text); }
.rr-footer-logo { height: 34px; width: auto; }
.rr-footer-name { font-family: var(--rr-display); font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.rr-footer-tagline { margin: 0; color: var(--rr-muted); font-size: 12px; }
.rr-footer-nav .rr-footer-menu { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }
.rr-footer-nav a { color: var(--rr-muted); font-size: 12px; font-weight: 600; }
.rr-footer-nav a:hover { color: var(--rr-accent); }
.rr-footer-social { display: flex; gap: 8px; }
.rr-footer-bottom {
    border-top: 1px solid var(--rr-border);
    padding: 14px 20px;
    text-align: center;
    color: var(--rr-muted);
    font-size: 11px;
}

/* --------------------------------------------------------------- responsive -- */
@media (max-width: 1200px) {
    .rr-menu { gap: 18px; }
    .rr-logo { height: 36px; max-width: 180px; }
}

@media (max-width: 1100px) {
    .rr-nav { display: none; }
    .rr-burger { display: inline-flex; }
    .rr-tools .rr-socials,
    .rr-tools .rr-fullscreen-btn { display: none; }
    .rr-tools { margin-left: auto; }
    .rr-header-inner { gap: 14px; }
    .rr-wrap--with-sidebar { grid-template-columns: minmax(0, 1fr); }
    .rr-sidebar { position: static; }
}

@media (max-width: 900px) {
    .rr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rr-blog-content .site-latest--3 .site-latest-grid,
    .rr-blog-content .site-latest--4 .site-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    :root { --rr-header-h: 60px; }
    .rr-header-inner { padding: 0 14px; gap: 10px; }
    .rr-logo { height: 30px; max-width: 150px; }
    .rr-brand-name { font-size: 19px; }
    .rr-socials { gap: 5px; }
    .rr-clock { min-height: 32px; padding: 0 8px; gap: 5px; }
    .rr-clock-time { font-size: 11px; }
    .rr-icon { width: 32px; height: 32px; flex-basis: 32px; border-radius: 9px; }
    .rr-icon .rr-ic { width: 16px; height: 16px; }
    .rr-burger { width: 32px; height: 32px; flex-basis: 32px; border-radius: 9px; }
    .rr-burger .rr-ic { width: 18px; height: 18px; }
    .rr-float-socials { left: 10px; gap: 8px; }
    .rr-float-socials .rr-icon { width: 34px; height: 34px; flex-basis: 34px; }
    .rr-float-socials .rr-icon .rr-ic { width: 16px; height: 16px; }
    .rr-main--page { padding: 20px 13px 50px; }
    .rr-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .rr-blog-main .rr-cards { grid-template-columns: minmax(0, 1fr); }
    .rr-blog-content .site-latest-grid,
    .rr-blog-content .site-latest--1 .site-latest-grid,
    .rr-blog-content .site-latest--2 .site-latest-grid,
    .rr-blog-content .site-latest--3 .site-latest-grid,
    .rr-blog-content .site-latest--4 .site-latest-grid { grid-template-columns: minmax(0, 1fr); }
    .rr-article { padding: 18px 15px 22px; }
    .rr-entry-title { font-size: clamp(25px, 7vw, 34px); }
    .rr-entry-content { font-size: 15.5px; }
    .rr-footer-inner { padding: 24px 16px; flex-direction: column; align-items: flex-start; }
    .rr-modal-dialog { padding: 20px; }
}

@media (max-width: 480px) {
    .rr-clock-label { display: none; }
    .rr-brand-name { font-size: 17px; }
    .rr-player { min-height: 380px; }
    .rr-page-title { font-size: 27px; }
    .rr-entry-lead { font-size: 15px; }
    .rr-author { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .rr-icon,
    .rr-card,
    .rr-drawer { transition: none; }
}

/* El botón flotante del plugin WhatsApp (.rcms-wa) se muestra en este theme:
   es el acceso rápido de la esquina y no choca con las redes flotantes
   (columna fija a la izquierda) ni con el reloj (arriba a la derecha).
   Se configura en Plugins → WhatsApp (número, color, lado, tamaño…).
   Para ocultarlo, basta con añadir aquí: body .rcms-wa { display: none !important; } */