/* ═══════════════════════════════════════════════════════════════════════════
   ROTAR Blog de Noticias, Reportajes, Fotos, Videos y Centro Técnico v1.2.1
   Full-Width Adaptable & 100% Responsive Design (PC Ultra-Wide, Laptop, Tablet, Mobile)
   Paleta Corporativa ROTAR:
   - Navy Industrial Principal: #0a192f / #0d3b5c
   - Cyan Técnico ROTAR:        #00AEEF
   - Naranja Industrial ROTAR:  #ff8c00
   - Fondo Claro Limpio:        #f8fafc
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --rbn-navy: #0a192f;
    --rbn-navy-mid: #0d3b5c;
    --rbn-cyan: #00AEEF;
    --rbn-cyan-dark: #0082b4;
    --rbn-orange: #ff8c00;
    --rbn-orange-dark: #e07b00;
    --rbn-bg-light: #f8fafc;
    --rbn-text: #0f172a;
    --rbn-muted: #64748b;
    --rbn-border: #e2e8f0;
    --rbn-radius: 18px;
    --rbn-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --rbn-max-width: 1780px;
}

.rbn-wrapper,
.rbn-compact-widget,
.rbn-modal-overlay {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--rbn-text);
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.rbn-wrapper *,
.rbn-compact-widget *,
.rbn-modal-overlay * {
    box-sizing: border-box;
}

/* ── Blindaje Global de Botones contra estilos del tema (Hello Elementor #c36) ── */
.rbn-wrapper button,
.rbn-wrapper [type="button"],
.rbn-compact-widget button,
.rbn-compact-widget [type="button"],
.rbn-modal-overlay button,
.rbn-modal-overlay [type="button"] {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    outline: none !important;
}

/* ── Desbloqueo automático de ancho completo en WordPress / Hello Elementor / Astra ── */
body:has(.rbn-wrapper) .site-main,
body:has(.rbn-wrapper) .page-content,
body:has(.rbn-wrapper) .entry-content,
body.rbn-fullwidth-page .site-main,
body.rbn-fullwidth-page .page-content,
body.rbn-fullwidth-page .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body:has(.rbn-wrapper) .page-header,
body.rbn-fullwidth-page .page-header {
    display: none !important;
}

.elementor-element-populated:has(> .elementor-widget-container > .rbn-wrapper),
.rbn-elementor-host.elementor-element-populated {
    padding: 0 !important;
}

.rbn-wrapper {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: var(--rbn-bg-light);
    overflow-x: clip;
    padding-bottom: clamp(48px, 6vw, 90px);
}

/* Contenedor Fluido de Ancho Completo (Aprovecha hasta 97% de la pantalla hasta 1780px) */
.rbn-container {
    width: min(var(--rbn-max-width), 97vw);
    max-width: var(--rbn-max-width);
    margin: 0 auto;
    padding: 0 clamp(10px, 1.4vw, 24px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   1. HERO CORPORATIVO FULL-BLEED
   ═══════════════════════════════════════════════════════════════════════════ */
.rbn-hero {
    position: relative;
    background: linear-gradient(135deg, #071324 0%, #0a192f 55%, #0d3b5c 100%);
    padding: clamp(48px, 7vw, 92px) clamp(16px, 4vw, 48px) clamp(44px, 6vw, 76px);
    text-align: center;
    overflow: hidden;
    color: #fff;
    width: 100%;
}

.rbn-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    filter: saturate(1.1) contrast(1.1);
    z-index: 0;
}

.rbn-hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 174, 239, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.12) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    z-index: 1;
}

.rbn-hero-container {
    position: relative;
    z-index: 2;
    width: min(1380px, 96%);
    margin: 0 auto;
}

.rbn-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 174, 239, 0.35);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: clamp(10.5px, 1.2vw, 12.5px);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    backdrop-filter: blur(12px);
    max-width: 100%;
    text-align: center;
}

.rbn-pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--rbn-cyan);
    box-shadow: 0 0 12px var(--rbn-cyan);
    flex-shrink: 0;
    animation: rbnPulse 2s infinite;
}

@keyframes rbnPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.55;
    }
}

.rbn-hero-title {
    font-size: clamp(26px, 4.5vw, 56px);
    font-weight: 800;
    color: #fff !important;
    line-height: 1.12;
    margin: 0 auto 18px;
    letter-spacing: -0.5px;
    max-width: 1100px;
}

.rbn-hero-title .rbn-highlight {
    background: linear-gradient(135deg, #00AEEF 0%, #38bdf8 50%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rbn-hero-subtitle {
    font-size: clamp(14.5px, 1.8vw, 19px);
    color: rgba(255, 255, 255, 0.82);
    max-width: 880px;
    margin: 0 auto 32px;
    line-height: 1.6;
    font-weight: 400;
}

/* Buscador en Hero */
.rbn-hero-search-bar {
    max-width: 900px;
    margin: 0 auto 38px;
    width: 100%;
}

.rbn-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 60px;
    padding: 6px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(0, 174, 239, 0.25);
    transition: box-shadow 0.3s var(--rbn-ease);
}

.rbn-search-input-wrap:focus-within {
    box-shadow: 0 18px 45px rgba(0, 174, 239, 0.35), 0 0 0 3px var(--rbn-cyan);
}

.rbn-search-icon {
    width: 22px;
    height: 22px;
    color: var(--rbn-navy-mid);
    flex-shrink: 0;
    margin-right: 12px;
}

.rbn-search-input {
    width: 100%;
    border: none !important;
    background: transparent !important;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--rbn-navy) !important;
    padding: 12px 0 !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0;
}

.rbn-search-clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #e2e8f0 !important;
    border: none !important;
    color: #334155 !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    margin: 0 0 0 8px !important;
    border-radius: 50% !important;
    line-height: 1 !important;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.rbn-search-clear svg {
    width: 15px !important;
    height: 15px !important;
    display: block !important;
    margin: 0 !important;
    flex-shrink: 0;
}

.rbn-search-clear:hover {
    background: var(--rbn-navy) !important;
    color: #fff !important;
}

.rbn-quick-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.rbn-quick-tag {
    background: rgba(255, 255, 255, 0.09) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    box-shadow: none !important;
}

.rbn-quick-tag:hover,
.rbn-quick-tag:focus {
    background: var(--rbn-cyan) !important;
    border-color: var(--rbn-cyan) !important;
    color: #fff !important;
    transform: translateY(-1px);
    outline: none !important;
}

/* KPIs Hero Adaptables */
.rbn-hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
}

.rbn-metric-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 15px 18px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.rbn-metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(0, 174, 239, 0.2);
    color: var(--rbn-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rbn-metric-icon svg {
    width: 22px;
    height: 22px;
}

.rbn-metric-text strong {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    color: #fff;
}

.rbn-metric-text span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
}

/* ═══════════════════════════════════════════════════════════════════════════
   2. BARRA DE NAVEGACIÓN DE CATEGORÍAS Y FORMATOS (CON SCROLL TÁCTIL EN MÓVIL)
   ═══════════════════════════════════════════════════════════════════════════ */
.rbn-nav-bar-sticky {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rbn-border);
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.05);
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
}

.rbn-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-wrap: wrap;
}

.rbn-cat-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rbn-cat-tab {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 16px !important;
    border-radius: 50px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--rbn-navy) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none !important;
    transition: all 0.25s var(--rbn-ease);
}

.rbn-cat-tab svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.rbn-cat-tab:hover,
.rbn-cat-tab:focus,
.rbn-cat-tab:active {
    border-color: var(--rbn-cyan) !important;
    background: var(--rbn-cyan) !important;
    background-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 4px 14px rgba(0, 174, 239, 0.28) !important;
}

.rbn-cat-tab.active,
.rbn-cat-tab.active:hover,
.rbn-cat-tab.active:focus {
    background: var(--rbn-navy) !important;
    background-color: var(--rbn-navy) !important;
    border-color: var(--rbn-navy) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(10, 25, 47, 0.22) !important;
}

.rbn-tab-count {
    background: var(--rbn-cyan);
    color: #ffffff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 700;
}

.rbn-cat-tab:hover .rbn-tab-count {
    background: var(--rbn-navy);
    color: #ffffff;
}

/* Filtros de formato: Noticias, Reportajes, Videos, Fotos (Blanco + Colores del Logo ROTAR) */
.rbn-format-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rbn-format-btn {
    padding: 8px 16px !important;
    border-radius: 50px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--rbn-navy) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none !important;
    transition: all 0.22s var(--rbn-ease);
}

.rbn-format-btn:hover,
.rbn-format-btn:focus,
.rbn-format-btn:active {
    border-color: var(--rbn-cyan) !important;
    background: var(--rbn-cyan) !important;
    background-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 174, 239, 0.28) !important;
    outline: none !important;
}

.rbn-format-btn.active,
.rbn-format-btn.active:hover,
.rbn-format-btn.active:focus {
    background: linear-gradient(135deg, var(--rbn-cyan) 0%, #0077b6 100%) !important;
    background-color: var(--rbn-cyan) !important;
    border-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0, 174, 239, 0.32) !important;
}

.rbn-tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    background: #ffffff !important;
    color: var(--rbn-navy) !important;
    border: 1.5px solid var(--rbn-cyan) !important;
    white-space: nowrap;
    transition: all 0.25s;
}

.rbn-tool-pill:hover,
.rbn-tool-pill:focus {
    background: var(--rbn-cyan) !important;
    border-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
}

.rbn-tool-pill--orange {
    background: var(--rbn-navy) !important;
    color: #ffffff !important;
    border-color: var(--rbn-navy) !important;
}

.rbn-tool-pill--orange:hover,
.rbn-tool-pill--orange:focus {
    background: var(--rbn-cyan) !important;
    border-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   3. REPORTAJE DESTACADO PRINCIPAL
   ═══════════════════════════════════════════════════════════════════════════ */
.rbn-main-content {
    padding-top: clamp(28px, 4vw, 48px);
}

.rbn-featured-banner {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(10, 25, 47, 0.08);
    border: 1px solid var(--rbn-border);
    margin-bottom: clamp(36px, 5vw, 56px);
}

.rbn-featured-visual {
    position: relative;
    min-height: 390px;
    background: var(--rbn-navy);
    overflow: hidden;
    cursor: pointer;
}

.rbn-featured-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s var(--rbn-ease);
}

.rbn-featured-banner:hover .rbn-featured-bg {
    transform: scale(1.06);
}

.rbn-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.72) 0%, rgba(13, 59, 92, 0.35) 100%);
}

.rbn-play-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px rgba(255, 140, 0, 0.25), 0 12px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s var(--rbn-ease), background 0.3s;
    z-index: 3;
}

.rbn-featured-visual:hover .rbn-play-overlay-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--rbn-cyan);
}

.rbn-play-overlay-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
}

.rbn-featured-badges-top {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.rbn-badge-featured {
    background: var(--rbn-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.rbn-badge-cat {
    background: rgba(10, 25, 47, 0.85);
    color: var(--rbn-cyan);
    border: 1px solid rgba(0, 174, 239, 0.4);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

.rbn-badge-media {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    color: #fff;
    backdrop-filter: blur(8px);
}

.rbn-badge-media--video {
    background: rgba(220, 38, 38, 0.88);
}

.rbn-badge-media--photos {
    background: rgba(2, 132, 199, 0.88);
}

.rbn-featured-svg-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 68px;
    height: 68px;
    background: rgba(10, 25, 47, 0.85);
    border: 1.5px solid rgba(0, 174, 239, 0.45);
    border-radius: 16px;
    padding: 10px;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.rbn-featured-body {
    padding: clamp(24px, 3.5vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rbn-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--rbn-muted);
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.rbn-meta-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f9ff;
    color: var(--rbn-navy-mid);
    border: 1px solid #bae6fd;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12.5px;
}

.rbn-meta-date-pill svg {
    width: 14px;
    height: 14px;
    stroke: var(--rbn-cyan);
}

.rbn-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rbn-meta-item svg {
    width: 15px;
    height: 15px;
    stroke: var(--rbn-cyan);
}

.rbn-meta-author {
    font-weight: 600;
    color: var(--rbn-navy-mid);
}

.rbn-featured-title {
    font-size: clamp(20px, 2.5vw, 31px);
    font-weight: 800;
    color: var(--rbn-navy);
    line-height: 1.25;
    margin: 0 0 14px;
    cursor: pointer;
    transition: color 0.25s;
}

.rbn-featured-title:hover {
    color: var(--rbn-cyan-dark);
}

.rbn-featured-excerpt {
    font-size: clamp(14.5px, 1.4vw, 16px);
    color: #475569;
    line-height: 1.65;
    margin: 0 0 20px;
}

.rbn-featured-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.rbn-spec-chip {
    background: #f1f5f9;
    border-left: 3px solid var(--rbn-cyan);
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
}

.rbn-spec-label {
    color: var(--rbn-muted);
    margin-right: 4px;
}

.rbn-spec-val {
    color: var(--rbn-navy);
}

.rbn-featured-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Botones corporativos (Blanco + Colores del Logo ROTAR) */
.rbn-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, var(--rbn-cyan), #0077b6) !important;
    background-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 13px 26px !important;
    border-radius: 50px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 174, 239, 0.3) !important;
    transition: all 0.3s var(--rbn-ease);
    text-align: center;
}

.rbn-btn-primary:hover,
.rbn-btn-primary:focus,
.rbn-btn-primary:active {
    background: var(--rbn-navy) !important;
    background-color: var(--rbn-navy) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(10, 25, 47, 0.35) !important;
    outline: none !important;
}

.rbn-btn-primary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: currentColor;
}

.rbn-btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--rbn-navy) !important;
    border: 2px solid var(--rbn-navy) !important;
    padding: 11px 22px !important;
    border-radius: 50px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}

.rbn-btn-outline:hover,
.rbn-btn-outline:focus,
.rbn-btn-outline:active {
    background: var(--rbn-navy) !important;
    background-color: var(--rbn-navy) !important;
    border-color: var(--rbn-navy) !important;
    color: #ffffff !important;
    outline: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   4. GRILLA FLUIDA DE ARTÍCULOS, NOTICIAS, FOTOS Y VIDEOS
   ═══════════════════════════════════════════════════════════════════════════ */
.rbn-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 26px;
    flex-wrap: wrap;
    gap: 16px;
}

.rbn-header-right-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rbn-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--rbn-cyan-dark);
    margin-bottom: 6px;
}

.rbn-section-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--rbn-navy);
    margin: 0;
    line-height: 1.2;
}

.rbn-results-counter {
    font-size: 13.5px;
    color: var(--rbn-muted);
    background: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--rbn-border);
}

/* Grilla auto-adaptable que ocupa todo el ancho disponible */
.rbn-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: clamp(18px, 2.2vw, 28px);
    margin-bottom: clamp(48px, 6vw, 72px);
    width: 100%;
}

/* En pantallas grandes de escritorio (>1480px) permite 4 columnas si el contenedor es amplio */
@media (min-width: 1520px) {
    .rbn-articles-grid.rbn-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rbn-articles-grid.rbn-cols-2 {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
}

.rbn-article-card {
    background: #fff;
    border-radius: var(--rbn-radius);
    border: 1px solid var(--rbn-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
    transition: transform 0.35s var(--rbn-ease), box-shadow 0.35s var(--rbn-ease), border-color 0.35s;
    height: 100%;
}

.rbn-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(10, 25, 47, 0.12);
    border-color: rgba(0, 174, 239, 0.45);
}

.rbn-card-media {
    position: relative;
    height: clamp(200px, 20vw, 235px);
    background: var(--rbn-navy);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.rbn-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--rbn-ease);
}

.rbn-article-card:hover .rbn-card-img {
    transform: scale(1.08);
}

.rbn-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.4) 0%, rgba(10, 25, 47, 0.15) 45%, rgba(10, 25, 47, 0.88) 100%);
}

.rbn-card-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(255, 140, 0, 0.25);
    z-index: 3;
    transition: transform 0.25s, background 0.25s;
}

.rbn-card-media:hover .rbn-card-play-icon {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--rbn-cyan);
}

.rbn-card-play-icon svg {
    width: 22px;
    height: 22px;
    margin-left: 2px;
}

.rbn-card-top-bar {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    gap: 6px;
    flex-wrap: wrap;
}

.rbn-card-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 50px;
    color: #fff;
    background: var(--rbn-navy);
}

.rbn-cat--materiales {
    background: #0284c7;
}

.rbn-cat--tipos {
    background: #ea580c;
}

.rbn-cat--suelos {
    background: #0d9488;
}

.rbn-cat--ingenieria {
    background: #4f46e5;
}

.rbn-card-format-badge {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
}

.rbn-card-tech-icon {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(10, 25, 47, 0.85);
    border: 1px solid rgba(0, 174, 239, 0.4);
    padding: 6px;
    z-index: 2;
}

.rbn-card-badge-bottom {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 68px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rbn-card-badge-bottom>span {
    font-size: 11px;
    font-weight: 700;
    color: var(--rbn-cyan);
    background: rgba(10, 25, 47, 0.85);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 174, 239, 0.25);
}

.rbn-card-media-counts {
    display: inline-flex;
    gap: 5px;
}

.rbn-card-media-counts span {
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 140, 0, 0.9);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
}

.rbn-card-content {
    padding: clamp(18px, 2vw, 24px);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rbn-card-date-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
    flex-wrap: wrap;
}

.rbn-card-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--rbn-navy-mid);
}

.rbn-card-date svg {
    width: 14px;
    height: 14px;
    stroke: var(--rbn-orange);
    flex-shrink: 0;
}

.rbn-card-author-short {
    font-size: 12px;
    color: var(--rbn-muted);
    font-weight: 500;
}

.rbn-card-title {
    font-size: clamp(17px, 1.5vw, 19.5px);
    font-weight: 700;
    color: var(--rbn-navy);
    line-height: 1.32;
    margin: 0 0 10px;
    cursor: pointer;
    transition: color 0.2s;
}

.rbn-card-title:hover {
    color: var(--rbn-cyan-dark);
}

.rbn-card-summary {
    font-size: 14px;
    color: #475569;
    line-height: 1.58;
    margin: 0 0 16px;
}

.rbn-card-specs-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    margin-top: auto;
}

.rbn-card-spec-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    padding: 3px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.rbn-card-spec-row:last-child {
    border-bottom: none;
}

.rbn-cs-key {
    color: var(--rbn-muted);
}

.rbn-cs-val {
    font-weight: 700;
    color: var(--rbn-navy);
    text-align: right;
}

.rbn-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.rbn-tag-chip {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.rbn-tag-chip:hover {
    background: var(--rbn-cyan);
    color: #fff;
}

.rbn-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    gap: 10px;
}

.rbn-read-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid var(--rbn-cyan) !important;
    color: var(--rbn-navy) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 9px 18px !important;
    margin: 0 !important;
    border-radius: 50px !important;
    line-height: 1.2 !important;
    cursor: pointer;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: all 0.25s var(--rbn-ease);
}

.rbn-read-btn:hover,
.rbn-read-btn:focus,
.rbn-read-btn:active {
    background: linear-gradient(135deg, var(--rbn-cyan) 0%, #0077b6 100%) !important;
    background-color: var(--rbn-cyan) !important;
    border-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
    gap: 11px !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 174, 239, 0.28) !important;
    outline: none !important;
}

.rbn-read-btn svg {
    width: 17px !important;
    height: 17px !important;
    flex-shrink: 0;
    stroke: currentColor !important;
    color: inherit !important;
}

/* ── Compaginador de Hojas (Paginación cuando hay > 8 noticias) ── */
.rbn-pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--rbn-border);
    border-radius: 18px;
    padding: 16px 24px;
    margin: -24px 0 clamp(44px, 5vw, 68px);
    box-shadow: 0 8px 26px rgba(10, 25, 47, 0.05);
}

.rbn-pag-info {
    font-size: 14px;
    color: #334155;
}

.rbn-pag-info strong {
    color: var(--rbn-navy);
    font-weight: 800;
}

.rbn-pag-sub {
    color: var(--rbn-muted);
    font-size: 13px;
    margin-left: 4px;
}

.rbn-pag-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rbn-pag-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--rbn-navy) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: all 0.2s var(--rbn-ease);
}

.rbn-pag-btn.rbn-pag-num {
    padding: 0 12px !important;
}

.rbn-pag-btn svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    flex-shrink: 0;
}

.rbn-pag-btn:hover:not(:disabled),
.rbn-pag-btn:focus:not(:disabled) {
    background: var(--rbn-cyan) !important;
    background-color: var(--rbn-cyan) !important;
    border-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    outline: none !important;
}

.rbn-pag-btn.active,
.rbn-pag-btn.active:hover,
.rbn-pag-btn.active:focus {
    background: var(--rbn-navy) !important;
    background-color: var(--rbn-navy) !important;
    border-color: var(--rbn-navy) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(10, 25, 47, 0.22) !important;
}

.rbn-pag-btn:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}

.rbn-shop-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #bae6fd;
    color: var(--rbn-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}

.rbn-shop-link:hover {
    background: var(--rbn-navy);
    border-color: var(--rbn-navy);
    color: #ffffff !important;
}

.rbn-shop-link svg {
    width: 17px;
    height: 17px;
}

/* Empty state */
.rbn-empty-state {
    text-align: center;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    padding: 56px 24px;
    margin-bottom: 64px;
}

.rbn-empty-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0f9ff;
    color: var(--rbn-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.rbn-empty-icon svg {
    width: 28px;
    height: 28px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   5. SELECTOR INTERACTIVO DE SUELOS
   ═══════════════════════════════════════════════════════════════════════════ */
.rbn-interactive-block {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--rbn-border);
    padding: clamp(24px, 4vw, 48px);
    margin-bottom: clamp(36px, 5vw, 56px);
    box-shadow: 0 12px 36px rgba(10, 25, 47, 0.05);
    width: 100%;
}

.rbn-block-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto clamp(24px, 3.5vw, 40px);
}

.rbn-block-header h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: var(--rbn-navy);
    margin: 6px 0 12px;
    line-height: 1.2;
}

.rbn-block-header p {
    font-size: clamp(14.5px, 1.5vw, 16.5px);
    color: var(--rbn-muted);
    line-height: 1.6;
    margin: 0;
}

.rbn-floor-selector-layout {
    display: grid;
    grid-template-columns: minmax(360px, 440px) 1fr;
    gap: clamp(20px, 2.5vw, 32px);
    align-items: start;
}

.rbn-floor-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.rbn-floor-btn {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    text-align: left !important;
    padding: 15px 18px !important;
    border-radius: 14px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--rbn-navy) !important;
    cursor: pointer;
    font-family: 'Outfit', sans-serif !important;
    white-space: normal !important;
    overflow: visible !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
    text-transform: none !important;
    transition: all 0.25s var(--rbn-ease);
}

.rbn-floor-btn:hover,
.rbn-floor-btn:focus,
.rbn-floor-btn:active {
    border-color: var(--rbn-cyan) !important;
    background: #f0f9ff !important;
    background-color: #f0f9ff !important;
    color: var(--rbn-navy) !important;
    outline: none !important;
}

.rbn-floor-btn.active,
.rbn-floor-btn.active:hover,
.rbn-floor-btn.active:focus {
    background: var(--rbn-navy) !important;
    background-color: var(--rbn-navy) !important;
    border-color: var(--rbn-navy) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(10, 25, 47, 0.2) !important;
}

.rbn-floor-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: rgba(0, 174, 239, 0.14);
    color: var(--rbn-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.rbn-floor-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.rbn-floor-btn-info {
    flex: 1 1 0%;
    min-width: 0;
    white-space: normal !important;
    overflow: visible !important;
}

.rbn-floor-btn-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--rbn-navy) !important;
    line-height: 1.3;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
}

.rbn-floor-btn.active .rbn-floor-btn-info strong {
    color: #fff !important;
}

.rbn-floor-btn-info small {
    display: block;
    font-size: 12.5px;
    color: #64748b !important;
    margin-top: 4px;
    line-height: 1.38;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
}

.rbn-floor-btn.active .rbn-floor-btn-info small {
    color: rgba(255, 255, 255, 0.78) !important;
}

.rbn-floor-detail-panel {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: clamp(20px, 3vw, 32px);
}

.rbn-floor-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.rbn-floor-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rbn-cyan-dark);
    background: #e0f2fe;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.rbn-floor-panel-top h3 {
    font-size: clamp(20px, 2.2vw, 25px);
    font-weight: 800;
    color: var(--rbn-navy);
    margin: 0 0 4px;
}

.rbn-fl-sub {
    font-size: 14px;
    color: var(--rbn-muted);
    margin: 0;
}

.rbn-floor-hardness-box {
    background: var(--rbn-navy);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    text-align: right;
}

.rbn-floor-hardness-box span {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.rbn-floor-hardness-box strong {
    font-size: 14px;
    color: var(--rbn-cyan);
}

.rbn-floor-diagnosis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.rbn-diag-card {
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.rbn-diag--best {
    border-left: 4px solid #16a34a;
}

.rbn-diag--avoid {
    border-left: 4px solid #dc2626;
}

.rbn-diag-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.rbn-diag--best .rbn-diag-title {
    color: #15803d;
}

.rbn-diag--avoid .rbn-diag-title {
    color: #b91c1c;
}

.rbn-diag-title svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.rbn-diag-card p {
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
    margin: 0;
}

.rbn-floor-engineering-tip {
    background: linear-gradient(90deg, rgba(0, 174, 239, 0.09), rgba(255, 140, 0, 0.06));
    border: 1px solid rgba(0, 174, 239, 0.25);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.rbn-tip-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--rbn-navy-mid);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.rbn-floor-engineering-tip p {
    margin: 0;
    font-size: 14px;
    color: var(--rbn-navy);
    line-height: 1.55;
}

.rbn-floor-panel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.rbn-fl-metrics {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: #475569;
}

/* ═══════════════════════════════════════════════════════════════════════════
   6. TABLA COMPARATIVA DE MATERIALES (100% ANCHO COMPLETO Y SIN SCROLL EN ESCRITORIO)
   ═══════════════════════════════════════════════════════════════════════════ */
.rbn-matrix-section {
    padding: clamp(28px, 3vw, 44px) clamp(14px, 1.8vw, 26px) !important;
}

.rbn-table-responsive {
    overflow-x: visible;
    border-radius: 16px;
    border: 1px solid var(--rbn-border);
    width: 100% !important;
    max-width: 100% !important;
    background: #fff;
    box-shadow: 0 6px 24px rgba(10, 25, 47, 0.04);
}

@media (max-width: 1024px) {
    .rbn-table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rbn-wrapper table.rbn-tech-table,
    table.rbn-tech-table {
        min-width: 960px !important;
    }
}

.rbn-wrapper table.rbn-tech-table,
table.rbn-tech-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
    margin: 0 !important;
    font-size: 14px !important;
    text-align: left !important;
    border: none !important;
}

.rbn-wrapper table.rbn-tech-table thead tr,
table.rbn-tech-table thead tr {
    background: var(--rbn-navy) !important;
    color: #fff !important;
}

.rbn-wrapper table.rbn-tech-table th,
table.rbn-tech-table th {
    padding: 16px 14px !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #fff !important;
    background: var(--rbn-navy) !important;
    border: none !important;
    border-bottom: 2px solid rgba(0, 174, 239, 0.45) !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
}

.rbn-wrapper table.rbn-tech-table td,
table.rbn-tech-table td {
    padding: 15px 14px !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    background: transparent !important;
    vertical-align: middle !important;
    line-height: 1.4 !important;
}

.rbn-wrapper table.rbn-tech-table tbody tr:nth-child(even) td {
    background: #fafcff !important;
}

.rbn-wrapper table.rbn-tech-table tbody tr:hover td {
    background: #f0f9ff !important;
}

.rbn-col-material {
    width: 21%;
}

.rbn-col-hardness {
    width: 11%;
}

.rbn-col-load {
    width: 15%;
}

.rbn-col-care {
    width: 13%;
}

.rbn-col-noise {
    width: 11%;
}

.rbn-col-temp {
    width: 9%;
}

.rbn-col-floor {
    width: 12%;
}

.rbn-col-action {
    width: 8%;
    text-align: right !important;
    white-space: nowrap;
}

.rbn-mat-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rbn-mat-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(10, 25, 47, 0.2);
}

.rbn-mat-cell strong {
    display: block;
    color: var(--rbn-navy);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.28;
}

.rbn-mat-cell small {
    display: block;
    color: var(--rbn-muted);
    font-size: 12px;
    margin-top: 2px;
    line-height: 1.3;
}

.rbn-mono-badge {
    display: inline-block;
    font-family: 'Outfit', monospace;
    font-size: 12.5px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--rbn-navy);
    border: 1px solid #e2e8f0;
    padding: 4px 9px;
    border-radius: 8px;
    white-space: nowrap;
}

.rbn-rating-wrap {
    width: 100%;
    min-width: 0;
}

.rbn-rating-wrap--compact {
    width: 100%;
    min-width: 0;
}

.rbn-rating-Wrap small,
.rbn-rating-wrap small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    line-height: 1.3;
}

.rbn-rating-bar {
    width: 100%;
    max-width: 155px;
    height: 7px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 4px;
}

.rbn-rating-bar--cyan .rbn-rating-fill {
    background: linear-gradient(90deg, #00AEEF, #0284c7);
}

.rbn-rating-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--rbn-cyan), var(--rbn-orange));
    border-radius: 10px;
}

.rbn-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
}

.rbn-status--good {
    background: #dcfce7;
    color: #15803d;
}

.rbn-status--medium {
    background: #e0f2fe;
    color: #0369a1;
}

.rbn-status--warn {
    background: #fef3c7;
    color: #b45309;
}

.rbn-best-floor-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.rbn-table-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 13px;
    color: var(--rbn-navy) !important;
    background: #ffffff !important;
    border: 1.5px solid var(--rbn-cyan) !important;
    padding: 6px 12px;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s;
}

.rbn-table-link:hover,
.rbn-table-link:focus {
    background: var(--rbn-cyan) !important;
    border-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   7. TIPOS DE RUEDAS INDUSTRIALES Y MONTAJES
   ═══════════════════════════════════════════════════════════════════════════ */
.rbn-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 22px;
}

.rbn-type-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--rbn-ease);
}

.rbn-type-card:hover {
    background: #fff;
    border-color: var(--rbn-cyan);
    box-shadow: 0 14px 34px rgba(10, 25, 47, 0.08);
    transform: translateY(-4px);
}

.rbn-type-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 8px;
}

.rbn-type-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--rbn-navy);
    color: var(--rbn-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rbn-type-icon-box svg {
    width: 24px;
    height: 24px;
}

.rbn-type-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--rbn-orange-dark);
    background: rgba(255, 140, 0, 0.12);
    padding: 4px 10px;
    border-radius: 50px;
}

.rbn-type-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--rbn-navy);
    margin: 0 0 8px;
}

.rbn-type-card p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 16px;
}

.rbn-type-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.rbn-type-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    margin-bottom: 8px;
}

.rbn-type-bullets li svg {
    width: 16px;
    height: 16px;
    color: var(--rbn-cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

.rbn-type-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--rbn-navy-mid) !important;
    text-decoration: none !important;
    margin-top: auto;
}

.rbn-type-link:hover {
    color: var(--rbn-orange) !important;
}

.rbn-type-link svg {
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   8. CALCULADORA DE CAPACIDAD DE CARGA POR RUEDA
   ═══════════════════════════════════════════════════════════════════════════ */
.rbn-calc-section {
    background: linear-gradient(135deg, #0a192f 0%, #0d3b5c 100%);
    border-radius: 26px;
    padding: clamp(24px, 4.5vw, 52px);
    color: #fff;
    margin-bottom: clamp(36px, 5vw, 56px);
    box-shadow: 0 24px 60px rgba(10, 25, 47, 0.25);
}

.rbn-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(24px, 3.5vw, 44px);
    align-items: center;
}

.rbn-eyebrow--light {
    color: var(--rbn-cyan);
}

.rbn-calc-info h2 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: #fff !important;
    margin: 6px 0 14px;
    line-height: 1.2;
}

.rbn-calc-info p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin: 0 0 22px;
}

.rbn-formula-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(0, 174, 239, 0.35);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.rbn-formula-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--rbn-orange);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.rbn-formula-box code {
    display: block;
    font-size: clamp(13px, 1.35vw, 15px);
    color: #fff;
    background: transparent;
    font-weight: 700;
    margin-bottom: 6px;
}

.rbn-formula-legend {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.4;
}

.rbn-calc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.rbn-calc-card-header h3 {
    margin: 0 !important;
}

.rbn-calc-precision-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: #e0f2fe;
    color: var(--rbn-navy-mid);
    border: 1px solid #bae6fd;
    padding: 4px 12px;
    border-radius: 50px;
}

.rbn-res-top-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.rbn-res-kpis {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rbn-res-kpi-chip {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 120px;
}

.rbn-res-kpi-chip small {
    display: block;
    font-size: 11px;
    color: var(--rbn-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.rbn-res-kpi-chip strong {
    display: block;
    font-size: 13.5px;
    color: var(--rbn-navy);
    font-weight: 800;
    margin-top: 2px;
}

.rbn-calc-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rbn-calc-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.rbn-calc-benefits li svg {
    width: 24px;
    height: 24px;
    color: var(--rbn-cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

.rbn-calc-benefits strong {
    display: block;
    font-size: 15px;
    color: #fff;
}

.rbn-calc-benefits span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.rbn-calc-card {
    background: #fff;
    color: var(--rbn-navy);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.rbn-calc-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--rbn-navy);
    margin: 0 0 20px;
}

.rbn-calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.rbn-calc-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.rbn-calc-field input,
.rbn-calc-field select {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--rbn-navy);
    background: #f8fafc;
}

.rbn-calc-result-box {
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: 16px;
    padding: clamp(16px, 2.5vw, 22px);
    margin-top: 20px;
}

.rbn-res-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--rbn-navy-mid);
    letter-spacing: 0.8px;
}

.rbn-res-value {
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 800;
    color: var(--rbn-navy);
    line-height: 1.1;
    margin: 4px 0;
}

.rbn-res-value small {
    font-size: 18px;
    color: var(--rbn-cyan-dark);
}

.rbn-res-sub {
    display: block;
    font-size: 12.5px;
    color: #475569;
    margin-bottom: 12px;
}

.rbn-res-suggestion {
    font-size: 13.5px;
    color: var(--rbn-navy);
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    border-left: 4px solid var(--rbn-orange);
    margin-bottom: 16px;
}

.rbn-res-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.rbn-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #16a34a;
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s;
    text-align: center;
}

.rbn-btn-whatsapp:hover {
    background: #15803d;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   9. BANNER CTA INFERIOR
   ═══════════════════════════════════════════════════════════════════════════ */
.rbn-bottom-cta {
    background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 48px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    color: #fff;
    border: 1px solid rgba(0, 174, 239, 0.25);
}

.rbn-cta-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--rbn-orange);
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}

.rbn-bottom-cta-content h3 {
    font-size: clamp(20px, 2.8vw, 30px);
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 8px;
}

.rbn-bottom-cta-content p {
    font-size: clamp(14.5px, 1.5vw, 16px);
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 680px;
}

.rbn-bottom-cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.rbn-btn-cta-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--rbn-cyan), #0077b6) !important;
    background-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(0, 174, 239, 0.35);
    transition: all 0.3s;
}

.rbn-btn-cta-orange:hover,
.rbn-btn-cta-orange:focus {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--rbn-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 255, 255, 0.28);
}

.rbn-btn-cta-orange svg {
    width: 18px;
    height: 18px;
}

.rbn-btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 26px;
    border-radius: 50px;
    background: #ffffff !important;
    border: 1.5px solid #ffffff !important;
    color: var(--rbn-navy) !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s;
}

.rbn-btn-cta-ghost:hover,
.rbn-btn-cta-ghost:focus {
    background: var(--rbn-cyan) !important;
    border-color: var(--rbn-cyan) !important;
    color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   10. MODAL DE LECTURA MULTIMEDIA (100% RESPONSIVE DESKTOP & MÓVIL)
   ═══════════════════════════════════════════════════════════════════════════ */
.rbn-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 19, 36, 0.86) !important;
    background-color: rgba(7, 19, 36, 0.86) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 2.5vw, 24px);
}

.rbn-modal-overlay.rbn-open {
    display: flex !important;
    animation: rbnFadeIn 0.25s ease;
}

@keyframes rbnFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.rbn-modal-container {
    background: #ffffff !important;
    background-color: #ffffff !important;
    width: 100%;
    max-width: 1180px;
    max-height: 92vh;
    border-radius: clamp(14px, 2vw, 24px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.rbn-modal-topbar {
    background: #0a192f !important;
    background-color: #0a192f !important;
    color: #ffffff !important;
    padding: 13px clamp(16px, 2.5vw, 24px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    gap: 10px;
    flex-shrink: 0;
}

.rbn-modal-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(12.5px, 1.4vw, 14px);
    color: #ffffff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rbn-modal-brand strong,
.rbn-modal-brand span {
    color: #ffffff !important;
}

.rbn-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00AEEF !important;
    flex-shrink: 0;
}

.rbn-modal-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.rbn-modal-print-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    padding: 7px 14px !important;
    margin: 0 !important;
    border-radius: 50px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.rbn-modal-print-btn:hover,
.rbn-modal-print-btn:focus {
    background: #00AEEF !important;
    background-color: #00AEEF !important;
    border-color: #00AEEF !important;
    color: #ffffff !important;
}

.rbn-modal-print-btn svg {
    width: 15px !important;
    height: 15px !important;
    display: block !important;
    flex-shrink: 0;
}

.rbn-modal-close-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    line-height: 1 !important;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: none !important;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.rbn-modal-close-btn svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    margin: 0 !important;
    stroke: currentColor;
    flex-shrink: 0;
}

.rbn-modal-close-btn:hover,
.rbn-modal-close-btn:focus {
    background: #ef4444 !important;
    background-color: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.05);
    outline: none !important;
}

.rbn-modal-scroll-area {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.rbn-modal-hero {
    position: relative;
    padding: clamp(26px, 4vw, 46px) clamp(20px, 3.5vw, 40px) clamp(22px, 3vw, 34px);
    background: linear-gradient(135deg, #071324 0%, #0a192f 60%, #0d3b5c 100%) !important;
    background-color: #0a192f !important;
    color: #ffffff !important;
    overflow: hidden;
}

.rbn-modal-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    z-index: 0;
}

.rbn-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.78) 0%, #0a192f 100%) !important;
    z-index: 1;
}

.rbn-modal-hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
}

.rbn-modal-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.rbn-modal-cat {
    background: #00AEEF !important;
    background-color: #00AEEF !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 50px;
}

.rbn-modal-format-pill {
    background: #0d3b5c !important;
    background-color: #0d3b5c !important;
    border: 1px solid rgba(0, 174, 239, 0.45);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 50px;
}

.rbn-modal-readtime {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 50px;
}

.rbn-modal-hero-content h2 {
    font-size: clamp(20px, 2.8vw, 31px);
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 10px;
    line-height: 1.24;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.rbn-modal-sub {
    font-size: clamp(14px, 1.5vw, 16px);
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0 0 14px;
    line-height: 1.5;
}

.rbn-modal-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9) !important;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.rbn-modal-date-highlight {
    background: rgba(0, 174, 239, 0.24) !important;
    border: 1px solid rgba(0, 174, 239, 0.55) !important;
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
}

.rbn-modal-body-grid {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: clamp(22px, 3vw, 36px);
    padding: clamp(22px, 3.5vw, 36px) clamp(20px, 3.5vw, 40px);
    align-items: start;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.rbn-modal-main-col {
    background: #ffffff !important;
    background-color: #ffffff !important;
    min-width: 0;
}

.rbn-modal-video-box {
    margin-bottom: 28px;
    background: #0a192f !important;
    background-color: #0a192f !important;
    border-radius: 16px;
    padding: clamp(14px, 2vw, 18px);
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(10, 25, 47, 0.14);
}

.rbn-media-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #00AEEF !important;
    flex-wrap: wrap;
    gap: 6px;
}

.rbn-media-section-title span {
    color: #00AEEF !important;
}

.rbn-media-section-title small {
    font-weight: 500;
    color: #94a3b8 !important;
    letter-spacing: 0;
}

.rbn-video-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.rbn-video-player-wrap iframe,
.rbn-video-player-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.rbn-modal-gallery-box {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 2px solid #e2e8f0;
}

.rbn-gallery-stage {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
    text-align: center;
}

.rbn-gallery-stage img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

.rbn-gallery-caption {
    padding: 12px 18px;
    font-size: 13.5px;
    color: #e2e8f0;
    background: #0a192f;
    text-align: left;
}

.rbn-gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rbn-gallery-thumb {
    width: 84px !important;
    height: 60px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 2.5px solid transparent !important;
    cursor: pointer;
    padding: 0 !important;
    background: #0f172a !important;
    background-color: #0f172a !important;
    transition: all 0.2s;
}

.rbn-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rbn-gallery-thumb.active,
.rbn-gallery-thumb:hover,
.rbn-gallery-thumb:focus {
    background: #0f172a !important;
    background-color: #0f172a !important;
    border-color: var(--rbn-cyan) !important;
    transform: translateY(-2px);
}

.rbn-modal-article-content {
    font-size: clamp(15px, 1.5vw, 16.5px);
    line-height: 1.72;
    color: #1e293b !important;
    background: #ffffff !important;
}

.rbn-modal-article-content p,
.rbn-modal-article-content li {
    color: #1e293b !important;
}

.rbn-article-lead {
    font-size: clamp(15.5px, 1.6vw, 17.5px);
    line-height: 1.65;
    color: #0a192f !important;
    background: #f0f9ff !important;
    background-color: #f0f9ff !important;
    border-left: 4px solid #00AEEF !important;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
}

.rbn-modal-article-content h3 {
    font-size: clamp(18px, 2vw, 20.5px);
    font-weight: 800;
    color: #0a192f !important;
    margin: 26px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.rbn-modal-article-content ul,
.rbn-modal-article-content ol {
    display: block !important;
    list-style-position: outside !important;
    padding-left: 24px !important;
    margin: 0 0 22px 0 !important;
}

.rbn-modal-article-content ul {
    list-style-type: disc !important;
}

.rbn-modal-article-content ol {
    list-style-type: decimal !important;
}

.rbn-modal-article-content li {
    display: list-item !important;
    flex-direction: initial !important;
    align-items: initial !important;
    justify-content: initial !important;
    margin-bottom: 12px !important;
    line-height: 1.68 !important;
    text-align: left !important;
    color: #1e293b !important;
}

.rbn-modal-article-content li strong,
.rbn-modal-article-content li em,
.rbn-modal-article-content li code,
.rbn-modal-article-content p strong,
.rbn-modal-article-content p em,
.rbn-modal-article-content p code {
    display: inline !important;
}

.rbn-modal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.rbn-sidebar-card {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px;
    padding: 20px;
}

.rbn-sidebar-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: #0a192f !important;
    margin: 0 0 14px;
}

.rbn-sidebar-cta {
    background: linear-gradient(180deg, #0a192f 0%, #0d3b5c 100%) !important;
    background-color: #0a192f !important;
    color: #ffffff !important;
    text-align: center;
}

.rbn-sidebar-cta h4 {
    color: #fff !important;
}

.rbn-sidebar-cta p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 18px;
}

.rbn-sidebar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
}

.rbn-w-full {
    width: 100%;
    margin-bottom: 10px;
}

/* Widget Compacto */
.rbn-compact-widget {
    width: 100%;
    max-width: var(--rbn-max-width);
    margin: 0 auto;
    padding: 24px 0;
}

.rbn-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   REGLAS RESPONSIVE AVANZADAS (TABLETS, MÓVILES Y PANTALLAS PEQUEÑAS)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1120px) {
    .rbn-featured-banner {
        grid-template-columns: 1fr;
    }

    .rbn-featured-visual {
        min-height: 290px;
    }

    .rbn-floor-selector-layout {
        grid-template-columns: 1fr;
    }

    /* En tablet, los botones de suelo pasan a ser una grilla de 2 columnas para no ocupar tanto alto */
    .rbn-floor-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .rbn-calc-grid {
        grid-template-columns: 1fr;
    }

    .rbn-modal-body-grid,
    #rbn-article-modal .rbn-visor-body-grid {
        grid-template-columns: 1fr !important;
    }

    .rbn-modal-sidebar,
    #rbn-article-modal .rbn-visor-sidebar {
        position: static !important;
    }
}

.rbn-featured-svg-badge,
.rbn-card-tech-icon {
    display: none !important;
}

@media (max-width: 768px) {
    .rbn-container {
        width: 100%;
        padding: 0 16px;
    }

    /* En móvil, las pestañas de categoría y formato deslizan horizontalmente tipo App nativa */
    .rbn-nav-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .rbn-cat-tabs,
    .rbn-format-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .rbn-cat-tabs::-webkit-scrollbar,
    .rbn-format-filters::-webkit-scrollbar {
        display: none;
    }

    .rbn-floor-buttons {
        grid-template-columns: 1fr;
    }

    .rbn-floor-hardness-box {
        width: 100%;
        text-align: left;
    }

    .rbn-calc-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rbn-bottom-cta {
        flex-direction: column;
        text-align: center;
    }

    .rbn-bottom-cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .rbn-btn-cta-orange,
    .rbn-btn-cta-ghost,
    .rbn-featured-actions .rbn-btn-primary,
    .rbn-featured-actions .rbn-btn-outline,
    .rbn-res-actions .rbn-btn-primary,
    .rbn-res-actions .rbn-btn-whatsapp {
        width: 100%;
    }

    /* Modal pantalla casi completa en teléfonos móviles */
    .rbn-modal-overlay,
    #rbn-article-modal.rbn-visor-overlay {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    .rbn-modal-container,
    #rbn-article-modal .rbn-visor-container {
        max-height: 96vh !important;
        height: 96vh !important;
        border-radius: 20px 20px 0 0 !important;
    }

    .rbn-modal-print-btn span,
    .rbn-visor-print-btn span {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .rbn-hero-metrics {
        grid-template-columns: 1fr;
    }

    .rbn-quick-tags {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }

    .rbn-featured-visual {
        min-height: 230px;
    }

    .rbn-gallery-thumb {
        width: 68px;
        height: 50px;
    }
}