/* ============================================================
   BARRELBITE HOMEPAGE V1
   ============================================================ */

.bb-home {
    padding-top: 34px;
    padding-bottom: 60px;
}

.bb-section {
    margin-bottom: 56px;
}

.bb-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.bb-section-heading h2 {
    margin: 0;
    color: #f4f6fa;
    font-size: 25px;
    font-weight: 700;
}

.bb-section-link,
.bb-card-link {
    color: #e7ad22;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.bb-section-link:hover,
.bb-card-link:hover {
    color: #ffd36d;
}

/* NEWS */

.bb-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bb-news-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    min-height: 160px;
    background: #161a20;
    border: 1px solid #2a303a;
    border-radius: 12px;
    transition: border-color .2s, transform .2s;
}

.bb-news-card:hover {
    border-color: #b98a21;
    transform: translateY(-2px);
}

.bb-card-date {
    color: #8c98a9;
    font-size: 12px;
    margin-bottom: 12px;
}

.bb-news-title {
    color: #f1f3f7;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
    margin: 0 0 18px;
}

.bb-news-title a {
    color: inherit;
    text-decoration: none;
}

.bb-news-title a:hover {
    color: #e7ad22;
}

.bb-news-card .bb-card-link {
    margin-top: auto;
}

/* ANALYSIS */

.bb-analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bb-analysis-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 24px;
    background: #161a20;
    border: 1px solid #2a303a;
    border-radius: 12px;
    transition: border-color .2s, transform .2s;
}

.bb-analysis-card:hover {
    border-color: #b98a21;
    transform: translateY(-2px);
}

.bb-analysis-edition {
    color: #e7ad22;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bb-analysis-card h3 {
    font-size: 18px;
    line-height: 1.5;
    color: #f4f6fa;
    margin: 0 0 14px;
}

.bb-analysis-preview {
    color: #aeb6c3;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 22px;
    overflow-wrap: anywhere;
}

.bb-analysis-card .bb-card-link {
    margin-top: auto;
}

.bb-empty {
    color: #aeb6c3;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .bb-analysis-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .bb-home {
        padding-top: 24px;
    }

    .bb-news-grid,
    .bb-analysis-grid {
        grid-template-columns: 1fr;
    }

    .bb-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .bb-section-heading h2 {
        font-size: 22px;
    }

    .bb-section {
        margin-bottom: 42px;
    }

    .bb-analysis-card {
        min-height: auto;
    }
}


/* ============================================================
   BARRELBITE HOMEPAGE INTRODUCTION
   ============================================================ */

.bb-home-intro {
    margin-bottom: 36px;
}

.bb-home-intro h1 {
    color: #f4f6fa;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px;
}

.bb-home-intro p {
    color: #aeb8c6;
    font-size: 14px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0;
}


/* ============================================================
   INFORMATION SECTIONS
   ============================================================ */

.bb-info-section {
    margin-top: 36px;
}

.bb-info-content {
    max-width: 1050px;
}

.bb-info-content p {
    color: #aeb8c6;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 17px;
}

.bb-info-content h3 {
    color: #e7ad22;
    font-size: 18px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 13px;
    line-height: 1.5;
}


/* ============================================================
   EXPLORE ENERGY INTELLIGENCE
   ============================================================ */

.bb-explore-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bb-explore-card {
    display: block;
    padding: 26px;
    background: #161a20;
    border: 1px solid #2a303a;
    border-radius: 12px;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.bb-explore-card:hover {
    border-color: #b98a21;
    transform: translateY(-2px);
}

.bb-explore-card h3 {
    color: #f4f6fa;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 14px;
}

.bb-explore-card p {
    color: #aeb8c6;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.bb-explore-card span {
    color: #e7ad22;
    font-size: 14px;
    font-weight: 600;
}

.bb-explore-card:hover span {
    color: #ffd36d;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 700px) {

    .bb-home-intro h1 {
        font-size: 23px;
    }

    .bb-info-content p {
        font-size: 14px;
    }

    .bb-info-content h3 {
        font-size: 17px;
    }

    .bb-explore-grid {
        grid-template-columns: 1fr;
    }

    .bb-explore-card {
        padding: 22px;
    }

}