/* ==========================================================================
   LangGo Careers — Trang Bản tin nội bộ
   Khối bài nổi bật và lưới "Tất cả bản tin" dùng chung posts-feed.css; file này
   chỉ có banner đỏ, hàng pill chuyên mục và vài chỗ chỉnh khoảng cách.
   ========================================================================== */

/* --------------------------------------------------------------------------
   BANNER ĐỎ — chữ nằm nửa trái, ảnh nền (nếu có) phủ kín
   -------------------------------------------------------------------------- */
.btnb-banner {
    position: relative;
    display: flex;
    align-items: center;
    padding: 56px 0 44px;
    overflow: hidden;
    font-family: var(--font-shell);
    /* Nền vân rèm đỏ cắt từ banner cẩm nang của langmaster (chỉ phần nền, không
       lấy chữ và người in sẵn trong ảnh); dải 260px lặp ngang phủ mọi bề rộng.
       Gradient phía sau là màu dự phòng khi ảnh chưa tải. */
    background:
        url('../images/ban-tin/bg-curtain.webp') repeat-x center / 260px 100%,
        linear-gradient(180deg, #D01B21 0%, #A00A0E 100%);
}

.btnb-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btnb-banner__inner {
    position: relative;
    z-index: 1;
}

.btnb-banner__title {
    margin: 0;
    font-family: 'Anton', var(--font-shell);
    font-size: clamp(32px, 3.1vw, 60px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 1);
}

.btnb-banner__desc {
    max-width: 620px;
    margin: 18px 0 0;
    font-size: clamp(15px, 1.05vw, 18px);
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255, 255, 255, 1);
}

/* --------------------------------------------------------------------------
   HÀNG PILL CHUYÊN MỤC — chuyên mục đang xem đảo màu
   -------------------------------------------------------------------------- */
.btnb-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 780px;
    margin-top: 26px;
}

.btnb-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: var(--radius-pill);
    background: transparent;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}

.btnb-pill:hover {
    background: rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, 1);
}

.btnb-pill.is-active,
.btnb-pill.is-active:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--brand);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}

/* --------------------------------------------------------------------------
   NỘI DUNG — chỉnh lại khoảng cách của khối dùng chung
   -------------------------------------------------------------------------- */
.btnb-page {
    padding: 0 20px;
    font-family: var(--font-shell);
}

/* Khối nổi bật ở đây không có nhãn nên bỏ phần chừa chỗ cho nhãn */
.btnb-featured { padding: 44px 0 0; }

.btnb-featured .cnnn-featured__grid { margin-top: 0; }

.btnb-feed { padding: 40px 0 72px; }

/* Trang này không kẻ đường ngang phía trên nhãn "Tất cả bản tin" */
.btnb-feed .cnnn-all__head {
    align-items: center;
    border-top: 0;
}

/* Nhãn vàng có icon nên phải nới khung 215x40 cố định của .cnnn-tag */
.btnb-feed__label {
    width: auto;
    min-width: 180px;
    padding-inline: 18px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .btnb-banner { padding: 36px 0 30px; }
    .btnb-banner__desc { margin-top: 12px; }
    .btnb-pills { gap: 8px; margin-top: 18px; }
    .btnb-pill { font-size: 13px; padding: 7px 14px; }
    .btnb-featured { padding-top: 28px; }
    .btnb-feed { padding: 28px 0 48px; }
}
