/* VPSRox — blog listing page */

.bl-hero {
    padding: 72px 0 40px;
    text-align: center;
}

.bl-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.bl-crumb a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.bl-crumb a:hover { color: var(--bg-card); }

.bl-crumb-current {
    color: var(--text-main);
    font-weight: 600;
}

.bl-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 16px;
}

.bl-hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-main);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.bl-hero-lead {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Metrics ribbon */
.bl-metrics {
    padding: 0 0 48px;
}

.bl-metrics-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 42, 29, 0.06);
}

.bl-metric {
    flex: 1 1 160px;
    padding: 28px 24px;
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.bl-metric:last-child { border-right: none; }

.bl-metric strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--bg-card);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.bl-metric span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Article stream — sidebar layout */
.bl-stream {
    padding: 0 0 72px;
}

.bl-stream-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}

.bl-sidebar {
    position: sticky;
    top: 96px;
}

.bl-sidebar-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.bl-filters {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bl-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-align: left;
}

.bl-filter:hover {
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-main);
}

.bl-filter.is-active {
    background: var(--bg-card);
    color: var(--text-light);
    border-color: var(--bg-card);
}

.bl-filter-count {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
    min-width: 24px;
    text-align: center;
}

.bl-filter.is-active .bl-filter-count {
    background: rgba(255, 255, 255, 0.15);
}

.bl-main-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.bl-main-head h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.bl-result-count {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Featured card */
.bl-featured {
    background: linear-gradient(145deg, var(--bg-card) 0%, #153828 100%);
    color: var(--text-light);
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bl-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(15, 42, 29, 0.28);
}

.bl-featured::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 211, 135, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.bl-featured-label {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    position: relative;
}

.bl-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light-secondary);
}

.bl-tag--new {
    background: rgba(42, 211, 135, 0.22);
    color: var(--accent-mint);
}

.bl-featured-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
    position: relative;
    letter-spacing: -0.3px;
}

.bl-featured-title a,
.bl-card-title a {
    color: inherit;
    transition: opacity 0.2s;
}

.bl-featured-title a:hover { opacity: 0.85; }

.bl-excerpt {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
    position: relative;
}

.bl-featured .bl-excerpt {
    color: var(--text-light-secondary);
    max-width: 720px;
}

.bl-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light-secondary);
    margin-bottom: 20px;
    position: relative;
}

.bl-byline-sep { opacity: 0.5; }

.bl-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-mint);
    position: relative;
}

.bl-soon-badge {
    font-size: 13px;
    color: var(--text-light-secondary);
    font-style: italic;
}

/* Grid cards */
.bl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.bl-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.bl-card:hover {
    border-color: rgba(42, 211, 135, 0.35);
    box-shadow: 0 8px 28px rgba(15, 42, 29, 0.07);
    transform: translateY(-2px);
}

.bl-card--soon { opacity: 0.72; }

.bl-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.bl-card .bl-tag {
    background: rgba(15, 42, 29, 0.06);
    color: var(--text-secondary);
}

.bl-date {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.bl-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 10px;
    flex: 1;
}

.bl-card .bl-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex: 1;
}

.bl-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.bl-author {
    font-size: 12px;
    color: var(--text-muted);
}

.bl-arrow {
    color: var(--accent-green);
    display: flex;
}

/* Empty state */
.bl-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-white);
    border: 1px dashed var(--border-light);
    border-radius: 16px;
}

.bl-empty h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.bl-empty p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.bl-reset-btn {
    padding: 10px 22px;
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    background: var(--bg-white);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.bl-reset-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: #9CA3AF;
}

/* Resource links strip */
.bl-resources {
    padding: 0 0 72px;
}

.bl-resources-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding: 20px 28px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.bl-resources-label {
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

.bl-resources a {
    color: var(--bg-card);
    font-weight: 600;
    transition: color 0.2s;
}

.bl-resources a:hover { color: var(--accent-green); }

.bl-resources-sep {
    color: var(--text-muted);
    user-select: none;
}

/* CTA */
.bl-cta {
    padding: 72px 0 96px;
}

.bl-cta-inner {
    background: linear-gradient(145deg, var(--bg-card) 0%, #071410 100%);
    border-radius: 24px;
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.bl-cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(42, 211, 135, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.bl-cta-text {
    position: relative;
    max-width: 560px;
}

.bl-cta-text h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.bl-cta-text p {
    font-size: 15px;
    color: var(--text-light-secondary);
    line-height: 1.65;
    margin: 0;
}

.bl-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
}

.bl-cta-actions .btn-primary {
    background: var(--accent-green);
    color: var(--bg-card);
}

.bl-cta-actions .btn-primary:hover {
    background: var(--accent-mint);
    color: var(--bg-card);
}

.bl-cta-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.bl-cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 960px) {
    .bl-stream-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bl-sidebar {
        position: static;
    }

    .bl-filters {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .bl-filter {
        flex: 0 1 auto;
        width: auto;
    }
}

@media (max-width: 640px) {
    .bl-hero h1 { font-size: 34px; }

    .bl-metrics {
        padding: 0 0 32px;
    }

    .bl-metrics-inner {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-radius: 16px;
    }

    .bl-metric {
        flex: none;
        padding: 16px 8px;
        border-right: 1px solid var(--border-light);
        border-bottom: none;
    }

    .bl-metric:last-child {
        border-right: none;
        border-bottom: none;
    }

    .bl-metric strong {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .bl-metric span {
        font-size: 11px;
        line-height: 1.35;
    }

    .bl-metric:last-child strong {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: -0.2px;
        line-height: 1.35;
    }

    .bl-grid { grid-template-columns: 1fr; }

    .bl-featured { padding: 28px 24px; }

    .bl-featured-title { font-size: 22px; }

    .bl-cta-inner { padding: 40px 28px; }

    .bl-resources-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .bl-resources-sep { display: none; }
}

@media (max-width: 480px) {
    .bl-metric {
        padding: 14px 6px;
    }

    .bl-metric strong {
        font-size: 20px;
    }

    .bl-metric:last-child strong {
        font-size: 12px;
    }

    .bl-metric span {
        font-size: 10px;
    }
}
