﻿/* =========================================================
   CHUYÊN ĐỀ 65 NĂM PETROVIETNAM
   File riêng: 65nam.css
========================================================= */


/* =========================
   HERO
========================= */

.hero-65nam {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #0b6fca;
}


/* Ảnh banner */
.hero-65nam-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}


/* Lớp phủ nhẹ để chữ rõ hơn */
.hero-65nam-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient( 90deg, rgba(0, 78, 165, 0.10) 0%, rgba(0, 94, 190, 0.15) 45%, rgba(0, 70, 145, 0.08) 100% );
}


/* Khối nội dung nằm trên ảnh */
.hero-65nam-content {
    position: relative;
    z-index: 3;
    width: min(1200px, 92%);
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 5px;
}


/* =========================
   BREADCRUMB 65 NĂM
========================= */

.breadcrumb-65nam {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1050px;
    min-height: 54px;
    padding: 10px 28px;
    margin: 0 auto 28px;
    gap: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 5px 20px rgba(0, 65, 145, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    font-size: 15px;
}


/* Trang chủ */
.breadcrumb-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}


.breadcrumb-home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 19px;
    flex-shrink: 0;
    /* chỉnh thị giác 1px */
    transform: translateY(-1px);
}


.breadcrumb-home span {
    display: inline-flex;
    align-items: center;
    height: 19px;
    margin: 0;
    padding: 0;
    line-height: 19px;
}


/* dấu > */
.breadcrumb-arrow {
    position: relative;
    display: block;
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    margin: 0 3px;
    font-size: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.85);
    border-right: 2px solid rgba(255, 255, 255, 0.85);
    transform: rotate(45deg);
}


/* Nội dung bên phải */
.breadcrumb-current {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #fff;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
}



/* =========================
   TIÊU ĐỀ
========================= */

.title-65nam {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-shadow: 0 3px 10px rgba(0, 48, 110, 0.28);
}


    /* Dòng thứ 2 */
    .title-65nam span {
        display: block;
        margin-top: 5px;
    }


/* =========================
   GẠCH TRANG TRÍ
========================= */

.decor-65nam {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 23px 0 12px;
}


/* Gạch */
.decor-line {
    display: block;
    height: 3px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.25);
}


    /* Gạch ngắn */
    .decor-line.short {
        width: 55px;
    }


    /* Gạch dài */
    .decor-line.long {
        width: 120px;
    }


/* Chấm */
.decor-65nam i {
    display: block;
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.65);
}


/* =========================
   NGÀY THÁNG
========================= */

.date-65nam {
    color: #fff;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 7px rgba(0, 52, 115, 0.28);
}



/* =========================================================
   RESPONSIVE
========================================================= */


/* Laptop nhỏ */
@media (max-width: 1200px) {

    .hero-65nam {
        height: 460px;
    }

    .hero-65nam-content {
        width: 92%;
    }

    .breadcrumb-65nam {
        max-width: 880px;
        padding: 11px 24px;
        font-size: 14px;
    }

    .title-65nam {
        font-size: 36px;
        max-width: 950px;
    }

    .date-65nam {
        font-size: 21px;
    }
}


/* Tablet */
@media (max-width: 991px) {

    .hero-65nam {
        height: 430px;
    }

    .hero-65nam-content {
        width: 94%;
    }

    .breadcrumb-65nam {
        width: 92%;
        max-width: none;
        padding: 10px 18px;
        margin-bottom: 24px;
        gap: 10px;
        font-size: 13px;
    }

    .breadcrumb-home svg {
        width: 17px;
        height: 17px;
    }

    .breadcrumb-arrow {
        font-size: 22px;
    }

    .breadcrumb-current {
        line-height: 1.4;
    }

    .title-65nam {
        font-size: 30px;
        max-width: 850px;
    }

    .decor-65nam {
        margin-top: 20px;
    }

    .decor-line.short {
        width: 45px;
    }

    .decor-line.long {
        width: 95px;
    }

    .date-65nam {
        font-size: 19px;
    }
}


/* Mobile ngang / tablet nhỏ */
@media (max-width: 767px) {

    .breadcrumb-65nam {
        width: 96%;
        max-width: none;
        min-height: 48px;
        padding: 9px 14px;
        margin-bottom: 20px;
        gap: 9px;
        border-radius: 18px;
    }


    .breadcrumb-home {
        font-size: 12px;
        gap: 6px;
    }


        .breadcrumb-home svg {
            width: 15px;
            height: 15px;
        }


        .breadcrumb-home span {
            line-height: 15px;
        }


    .breadcrumb-arrow {
        width: 7px;
        height: 7px;
        border-width: 1.5px;
        margin: 0 2px;
    }


    .breadcrumb-current {
        flex: 1;
        font-size: 11px;
        line-height: 1.35;
    }
}


/* Mobile nhỏ */
@media (max-width: 480px) {

    .breadcrumb-65nam {
        width: 96%;
        padding: 8px 11px;
        gap: 7px;
        margin-bottom: 18px;
    }


    .breadcrumb-home {
        font-size: 11px;
    }


        .breadcrumb-home svg {
            width: 14px;
            height: 14px;
        }


        .breadcrumb-home span {
            display: block;
            line-height: 14px;
        }


    .breadcrumb-arrow {
        width: 6px;
        height: 6px;
    }


    .breadcrumb-current {
        font-size: 10px;
        line-height: 1.3;
    }
}

/* =========================================================
   BANNER 65 NĂM - TRANG CHỦ
========================================================= */

.banner65-home {
    position: relative;
    width: 100%;
    /* khoảng trắng thật ở trên và dưới */
    margin-top: 30px;
    /* không dùng padding tạo khoảng cách nữa */
    padding: 0;
    /* không cần background */
    background: transparent;
    overflow: hidden;
}


.banner65-home-link {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    text-decoration: none;
}


.banner65-home-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    object-fit: contain;
}


/*
    Section ngay sau banner.

    home.css mặc định đã là 30px,
    nhưng khai báo lại ở đây để banner 65 năm
    tự kiểm soát khoảng cách.
*/
.banner65-home + .section {
    padding-top: 30px;
}
