/* ==========================================================================
   FRONT PAGE CSS
   ========================================================================== */

/* ----------------------------------------
   HERO
   ---------------------------------------- */
.rbx-hero {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: center;
    padding: calc(var(--gap-lg) * 1.5) 0;
}

.rbx-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rbx-hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.rbx-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    text-align: left;
}

.rbx-hero-badge {
    display: inline-block;
    background: rgba(224, 32, 32, 0.2);
    border: 1px solid rgba(224, 32, 32, 0.4);
    color: var(--rbx-red-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3em 0.85em;
    border-radius: var(--radius-xl);
    margin-bottom: var(--gap-sm);
}

.rbx-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--rbx-white);
    margin-bottom: 0.4em;
    line-height: 1.1;
    font-weight: 900;
}

.rbx-hero-accent {
    color: var(--rbx-red);
}

.rbx-hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--rbx-text);
    margin-bottom: calc(var(--gap) * 1.5);
    max-width: 540px;
    line-height: 1.7;
}

.rbx-hero-actions {
    display: flex;
    gap: var(--gap-sm);
    flex-wrap: wrap;
}

/* ----------------------------------------
   CATEGORY STRIP
   ---------------------------------------- */
.rbx-category-strip {
    background: var(--rbx-dark-alt);
    border-top: 1px solid var(--rbx-border);
    border-bottom: 1px solid var(--rbx-border);
    padding: 0.9em 0;
}

.rbx-category-pills {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
    align-items: center;
}

.rbx-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.35em 0.9em;
    border-radius: var(--radius-xl);
    background: var(--rbx-mid);
    border: 1px solid var(--rbx-border);
    color: var(--rbx-text);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--transition);
    text-decoration: none;
}
.rbx-pill:hover {
    background: var(--rbx-red);
    border-color: var(--rbx-red);
    color: var(--rbx-white);
    text-decoration: none;
}
.rbx-pill-count {
    background: rgba(255,255,255,0.12);
    padding: 0.05em 0.5em;
    border-radius: var(--radius);
    font-size: 0.72rem;
}

/* ----------------------------------------
   FEATURED ARTICLES SECTION
   ---------------------------------------- */
.rbx-featured-section {
    padding: calc(var(--gap-lg)) 0 calc(var(--gap) * 2.5);
}

/* ----------------------------------------
   STATS BAR
   ---------------------------------------- */
.rbx-stats-bar {
    background: var(--rbx-dark-alt);
    border-top: 1px solid var(--rbx-border);
    padding: calc(var(--gap) * 1.5) 0;
}

.rbx-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    text-align: center;
}

.rbx-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3em;
}

.rbx-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--rbx-white);
    line-height: 1;
}

.rbx-stat-label {
    font-size: 0.8rem;
    color: var(--rbx-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rbx-stat-item:nth-child(odd) .rbx-stat-number { color: var(--rbx-red); }
.rbx-stat-item:nth-child(even) .rbx-stat-number { color: var(--rbx-blue-light); }
