.view-more {
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    margin-left: auto;
    white-space: nowrap;
}

.view-more:hover {
    color: var(--main-color);
    transform: translateX(5px);
}

/* STYLE 1: CƠ BẢN */
.title-style-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
    position: relative;
}

.title-style-1 h2 {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    padding-left: 15px;
    position: relative;
    line-height: 1.3;
}

.title-style-1 h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    background: var(--main-color);
    border-radius: 4px;
}

/* STYLE 2: KHỐI ĐỎ */
.title-style-2 {
    display: flex;
    align-items: center;
}

.title-style-2 h2 {
    font-size: 24px;
    font-weight: 800;
    color: white;
    background: var(--main-color);
    padding: 10px 30px;
    border-radius: 8px 24px 0 24px;
    margin: 0;
    text-transform: uppercase;
    box-shadow: 5px 5px 15px rgba(255, 92, 92, 0.25);
}

/* STYLE 3: VIÊN THUỐC TRẮNG */
.title-style-3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title-style-3 .inner-box {
    background: #ffffff;
    padding: 8px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.title-style-3 h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.title-style-3 .dot {
    width: 8px;
    height: 8px;
    background: var(--main-color);
    border-radius: 50%;
    flex-shrink: 0;
}

/* GIẢ LẬP NỀN SỰ KIỆN */
.bg-event {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 60px 40px;
    border-radius: 20px;
    color: white;
}

/* STYLE 4: KÍNH MỜ */
.title-style-4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.title-style-4 .glass-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.title-style-4 h2 {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.title-style-4 a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

/* STYLE 5: THẺ NỔI */
.title-style-5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.title-style-5 .solid-box {
    background: white;
    padding: 12px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--main-color);
}

.title-style-5 h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    text-transform: uppercase;
}

.title-style-5 a {
    background: white;
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}


/* ==================================================================
           MOBILE RESPONSIVE (MỚI THÊM VÀO)
           Tự động kích hoạt khi màn hình nhỏ hơn 768px (Điện thoại/Tablet nhỏ)
        ================================================================== */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }

    /* Giảm lề body */
    .section-demo {
        padding: 0;
        margin-bottom: 40px;
    }

    .bg-event {
        padding: 30px 20px;
    }

    /* Giảm lề trong background ảnh */

    /* Giảm kích thước chữ chung cho H2 */
    .title-style-1 h2,
    .title-style-2 h2,
    .title-style-3 h2,
    .title-style-4 h2,
    .title-style-5 h2 {
        font-size: 18px !important;
        /* Chữ nhỏ lại còn 18px */
    }

    /* Style 1: Nút xem thêm nhỏ lại */
    .view-more {
        font-size: 12px;
    }

    /* Style 2: Padding nhỏ lại */
    .title-style-2 h2 {
        padding: 8px 20px;
        border-radius: 6px 15px 0 15px;
    }

    /* Style 3: Pill gọn hơn */
    .title-style-3 .inner-box {
        padding: 6px 15px;
        width: 100%;
        justify-content: flex-start;
    }

    .title-style-3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Xuống dòng nút xem thêm */
    .title-style-3 .view-more {
        margin-left: 15px;
    }

    /* Style 4 (Glass): Box nhỏ lại */
    .title-style-4 .glass-box {
        padding: 8px 20px;
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .title-style-4 {
        gap: 10px;
        justify-content: center;
    }

    /* Căn giữa nội dung */

    /* Style 5 (Solid): Box nhỏ lại */
    .title-style-5 .solid-box {
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }

    .title-style-5 {
        gap: 10px;
        justify-content: center;
    }
}