/* Estilo base RedBaires */

body {
    background-color: #f5f5f5;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Logo */

.rb-logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: .03em;
    color: #111;
}

.rb-logo-main span {
    color: #d62828;
}

.rb-logo-sub {
    font-size: .8rem;
}

/* Header */

.rb-topbar {
    background-color: #ffffff;
}

.rb-logo-bar {
    background-color: #ffffff;
}

.rb-main-nav {
    background-color: #d62828;
}

.rb-main-nav .nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: .9rem;
}

/* Breaking */

.rb-breaking {
    background-color: #b10025;
    color: #fff;
}


.rb-breaking-text a {
    color: #fff;
}


.rb-breaking {
    background-color: #c8102e;
    color: #fff;
}

.rb-breaking-label {
    background-color: #8b001a;
    color: #fff;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.rb-breaking-link {
    color: #fff;
    text-decoration: none;
}

.rb-breaking-link:hover {
    text-decoration: underline;
}

.rb-breaking-text {
    font-size: 0.95rem;
}


/* Banners */

.rb-banner-placeholder {
    border: 1px dashed #ccc;
    padding: 20px;
    font-size: .85rem;
    color: #888;
    background-color: #fafafa;
}

/* Hero */

.rb-hero {
    border: none;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    background-color: #ffffff;
}

/* Altura del HERO en desktop */
.rb-hero-media {
    height: 360px; /* podés probar 300, 350, 400 según gusto */
    background-size: cover;
    background-position: center;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

/* velo más claro y uniforme */
.rb-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.10) 0%,     /* arriba MUY suave */
        rgba(0,0,0,.25) 100%    /* abajo suave */
    );
}


.rb-hero .card-body {
    position: relative;
}

/* título grande del hero */
.rb-hero-title {
    font-size: 1.7rem;
    font-weight: 800;
}

/* badge de categoría dentro del hero */
.rb-hero .badge {
    font-size: .8rem;
    padding: .35rem .7rem;
    border-radius: 999px;
}


/* Tarjetas */

.rb-card-title {
    font-size: 1rem;
    font-weight: 700;
}

.rb-card-summary {
    font-size: .9rem;
}

/* Listas compactas */

.rb-list-compact li {
    margin-bottom: .35rem;
}

.rb-list-compact a {
    font-size: 0.92rem;
    line-height: 1.3;
    text-decoration: none;
}

.rb-list-compact a:hover {
    text-decoration: underline;
}


/* Sidebar */

.rb-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.rb-sidebar-widget {
    background-color: #ffffff;
    border-radius: .25rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
}

.rb-list-ranking {
    counter-reset: rank;
}

.rb-list-ranking li {
    counter-increment: rank;
    margin-bottom: .4rem;
}

.rb-list-ranking li::before {
    content: counter(rank) ". ";
    font-weight: 700;
    color: #d62828;
}

/* ============================
   FOOTER — Colores corregidos
   ============================ */

/* ===== FOOTER ===== */
.rb-footer {
    background: #111;
    color: #ddd;
    border-top: 1px solid #222;
    font-size: 0.95rem;
}

.rb-footer-logo {
    width: 44px;
    height: 44px;
    margin-top: 2px;
}

.rb-logo-footer {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
}

.rb-logo-footer span {
    color: #d7263d; /* rojo marca RedBaires */
}

.rb-footer-title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.rb-footer-text {
    color: #bbb !important;
}

.rb-footer-link {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    padding: 2px 0;
    transition: color 0.2s ease;
}

.rb-footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Mobile: un poco más de aire entre columnas */
@media (max-width: 768px) {
    .rb-footer .col-md-3 {
        margin-top: 0.75rem;
    }
    .rb-logo-footer {
        font-size: 1.5rem;
    }
}



/* Colores por categoría (badges) */

.rb-cat-economia { background-color: #008000; }
.rb-cat-politica { background-color: #a00000; }
.rb-cat-sociedad { background-color: #0a7a9b; }
.rb-cat-espectaculos { background-color: #aa00ff; }
.rb-cat-deportes { background-color: #0077cc; }
.rb-cat-tecnologia { background-color: #ff6f00; }
.rb-cat-internacionales {  background-color: #003366; }
.rb-cat-salud {  background-color: #0057B7; }
.rb-cat-opinion { background-color: #666666; }
.rb-cat-policiales { background-color: #009688; } /* Verde-turquesa */
.rb-cat-otros { background-color: #795548; } /* Marrón profesional */

/* 2. Educación */
.rb-cat-educacion { background-color: #4b0082; } /* Índigo profundo */

/* 3. Ciencia */
.rb-cat-ciencia { background-color: #b30059; } /* Magenta elegante */



/* 5. Opinión (si querés alternativa) */
.rb-cat-opinion-alt { background-color: #cc6600; } /* Naranja quemado */

/* 6. Medio Ambiente */
.rb-cat-ambiente { background-color: #228B22; } /* Verde bosque */

/* 7. Seguridad */
.rb-cat-seguridad { background-color: #880000; } /* Rojo oscuro */

/* 8. Turismo */
.rb-cat-turismo { background-color: #00695c; } /* Verde océano */

/* 9. Cultura Digital */
.rb-cat-digital { background-color: #8e24aa; } /* Púrpura moderno */

/* 10. Economía Internacional */
.rb-cat-eco-int { background-color: #1a237e; } /* Azul profundo distinto al navy */


.rb-cat-economia-text { color: #008000; }
.rb-cat-politica-text { color: #a00000; }
.rb-cat-internacionales-text { color: #003366;}
.rb-cat-salud-text { color: #0057B7;}

.rb-list-note .card {
    box-shadow: 0 3px 10px rgba(0,0,0,.03);
}

/* Página de categoría */

.rb-category-page-title {
    font-size: 2rem;
    font-weight: 800;
}

.rb-category-page-desc {
    font-size: .95rem;
}


/* Tarjetas horizontales para "Principales de hoy" */

.rb-card-horizontal {
    display: flex;
    flex-direction: row;
    height: 100%;
    overflow: hidden;
}

.rb-card-thumb {
    flex: 0 0 120px;            /* ancho fijo de la miniatura */
    min-height: 100%;
    background-size: cover;
    background-position: center;
}

.rb-card-horizontal .card-body {
    padding: 0.75rem 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ajustes de radios para que la imagen y el cuerpo se integren bien */
.rb-card-horizontal .rb-card-thumb {
    border-top-left-radius: .375rem;
    border-bottom-left-radius: .375rem;
}

.rb-card-horizontal {
    border-radius: .375rem;
}

/* Bloques de categoría en home (Economía, Política, etc.) */

.rb-category-section {
    margin-bottom: 3rem;
}

.rb-category-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: .75rem;
}

.rb-category-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
}

.rb-category-title--economia {
    color: #058d2b; /* verde economía */
}

.rb-category-title--politica {
    color: #b30000; /* rojo política */
}

.rb-category-more {
    font-size: .9rem;
}

.rb-category-more a {
    text-decoration: none;
    font-weight: 500;
}

.rb-category-more a:hover {
    text-decoration: underline;
}

/* tarjeta principal de la categoría */
.rb-category-main.card {
    border-left: 4px solid #058d2b; /* se sobreescribe por categoría */
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.rb-category-main.card-politica {
    border-left-color: #b30000;
}

.rb-category-main .card-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.rb-category-main .card-text {
    font-size: .92rem;
}

/* economía */
.rb-category-main.card-economia {
    border-left-color: #058d2b;
}

/* política */
.rb-category-main.card-politica {
    border-left-color: #b30000;
}



.rb-category-main-footer {
    font-size: .8rem;
    color: #777;
}

/* lista lateral de la categoría */

.rb-category-side-list {
    list-style: none;
    padding-left: 0;
    margin: .25rem 0 0;   /* antes estaba 0; */
}

.rb-category-side-list li {
    margin-bottom: .35rem;
}

.rb-category-side-list a {
    font-size: 0.9rem;
    line-height: 1.3;
}

.rb-category-side-list a:hover {
    text-decoration: underline;
}

.rb-card-politica {
    border-left: 4px solid #b30000;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.rb-card-economia {
    border-left: 4px solid #058d2b;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}


.rb-block {
    margin-bottom: 2.5rem !important;
}

/* Corrección global: links sin subrayado */
.rb-link-compact,
.rb-list-compact a,
.rb-category-side-list a,
.rb-section-link,
.rb-card-title a {
    text-decoration: none !important;
}

/* Subrayado SOLO al pasar el mouse */
.rb-link-compact:hover,
.rb-list-compact a:hover,
.rb-category-side-list a:hover,
.rb-section-link:hover,
.rb-card-title a:hover {
    text-decoration: underline !important;
}

.rb-pagination .page-link {
    border-radius: 999px !important;
}

.rb-pagination .page-item.disabled .page-link {
    color: #aaa;
}

.rb-tag-pill {
    display: inline-block;
    padding: 4px 10px;
    margin: 3px 4px 3px 0;
    font-size: 0.78rem;
    border-radius: 999px;

    /* FONDO */
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.35);

    /* TEXTO (nuevo color visible) */
    color: #374151;  /* gris oscuro, muy legible */

    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.rb-tag-pill:hover {
    background: rgba(251, 146, 60, 0.2);
    border-color: #fb923c;
    color: #ffffff; /* blanco en hover */
    cursor: pointer;
}

/* Bloque clima en sidebar */
.rb-weather-block {
    background: linear-gradient(135deg, #f3f4ff, #eef2ff);
    border-radius: 12px;
    padding: 14px 14px 10px;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.rb-weather-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rb-weather-icon {
    font-size: 2rem;
    line-height: 1;
    margin-right: 4px;
}

.rb-weather-temp {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: #111827;
    margin-right: 8px;
}

.rb-weather-city {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
}

.rb-weather-desc {
    font-size: 0.85rem;
    color: #4b5563;
}

.rb-weather-meta {
    font-size: 0.75rem;
    color: #6b7280;
}


.rb-sidebar-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    margin-bottom: 1rem;
}

.rb-sidebar-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

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

.rb-sidebar-list li {
    margin-bottom: 0.35rem;
}

.rb-sidebar-link {
    font-size: 0.9rem;
    color: #111827;
    text-decoration: none;
}

.rb-sidebar-link:hover {
    text-decoration: underline;
}

.rb-ads {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.rb-ads-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 6px;
}

.rb-ads-box {
    width: 100%;
    min-height: 250px;
    border-radius: 8px;
    background: #f9fafb;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.rb-ads-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* Bloques por categoría */
.rb-category-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

/* Encabezado de la sección (Economía / Política / ...) */
.rb-category-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    padding-bottom: .5rem;
}

/* Link "Ver más" */
.rb-section-link {
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    color: #2563eb;
}
.rb-section-link:hover {
    text-decoration: underline;
}

/* Card principal de categoría */
.rb-category-main {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

/* Laterales por categoría */
.rb-category-side-list {
    border-left: 1px solid #e5e7eb;
    padding-left: 1rem;
}
.rb-category-side-item {
    padding: .4rem 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
}
.rb-category-side-item:last-child {
    border-bottom: none;
}
.rb-category-side-item a {
    font-weight: 500;
}
.rb-category-side-item a:hover {
    text-decoration: underline;
}

/* Sidebar */
.rb-sidebar-widget.card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.rb-sidebar-title {
    font-size: 1rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* Ranking "Lo más leído" */
.rb-list-ranking {
    counter-reset: rb-ranking;
}
.rb-list-ranking li {
    counter-increment: rb-ranking;
    margin-bottom: .4rem;
}
.rb-list-ranking li::before {
    content: counter(rb-ranking) ". ";
    font-weight: 700;
    color: #dc2626;
    margin-right: .25rem;
}

/* Links compactos en todo el sitio */
.rb-link-compact {
    color: #1d4ed8;
    text-decoration: none;
}
.rb-link-compact:hover {
    text-decoration: underline;
}
