.section,
.section1,
.section2 {
    width: 1200px;
    margin: 0 auto;
}

.section,
.section1,
.section2 {
    margin-top: 20px;
}
.section_body {
    display: flex;
    width: 100%;
    gap: 20px;
    box-sizing: border-box;
}

.section_body_left {
    width: 45%;
    height: auto;
}

.section_body_right {
    width: 55%;
    height: auto;
}

.section_body_right > h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-black);
}

.section_body_right_content {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-black);
    line-height: 20px;
    text-align: justify;
    margin-top: 10px;
}

.swiper {
    width: 100%;
    height: 250px;
}

.swiper-slide > a > img {
    width: 100%;
    height: 245px;
    object-fit: fil;
}

.swiper-button-next,
.swiper-button-prev {
    width: 35px !important;
    height: 35px !important;
    background-color: var(--background-F5911F);
    border-radius: 50%;
    padding: 4px;
    box-sizing: border-box;
}

.swiper-navigation-icon {
    color: var(--color-white);
    height: 25px !important;
    width: 25px !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--background-F5911F) !important;
}

.section1_title {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-black);
    text-transform: capitalize;
    text-align: center;
}

.section1_list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.section1_list_item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding-bottom: 20px;
}

.section1_list_item:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.section1_list_item_img {
    width: 100%;
    height: 200px;
}

.section1_list_item_img > img {
    width: 100%;
    height: 200px;
    object-fit: fill;
}

.section1_list_item_content {
    padding: 0px 5px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-black);
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

.section1_button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* From Uiverse.io by zymantas-katinas */
.button {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    outline: none;
    cursor: pointer;
    font-family: sans-serif;
}

/* Shadow layer */
.button .shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(247, 146, 15, 0.25);
    border-radius: 8px;
    transform: translateY(2px);
    transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

/* Edge layer */
.button .edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(
        to left,
        hsl(35, 100%, 35%) 0%,
        hsl(35, 92%, 53%) 8%,
        hsl(35, 92%, 53%) 92%,
        hsl(35, 100%, 35%) 100%
    );
}

/* Front layer */
.button .front {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1.25rem;
    color: white;
    background: var(--background-F5911F);
    border-radius: 8px;
    transform: translateY(-4px);
    transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

/* Hover and active states */
.button:hover .shadow {
    transform: translateY(4px);
    transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.button:hover .front {
    transform: translateY(-6px);
    transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.button:active .shadow {
    transform: translateY(1px);
    transition: transform 34ms;
}

.button:active .front {
    transform: translateY(-2px);
    transition: transform 34ms;
}

/* Disable text selection */
.button .front span {
    user-select: none;
}

.section2_list {
    display: flex;
    gap: 40px;
    box-sizing: border-box;
    margin-top: 20px;
}

.section2_list_left,
.section2_list_right {
    width: 50%;
}

.section2_list_item_title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-black);
    text-transform: capitalize;
}

.section2_list_item_content {
    text-align: justify;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--color-black);
}

.swiper-slide > img {
    width: 100%;
    height: 250px;
    object-fit: fill;
}

@media only screen and (max-width: 1199px) {
    .section,
    .section1,
    .section2 {
        width: 1000px;
    }
}
@media only screen and (max-width: 999px) {
    .section,
    .section1,
    .section2 {
        width: 100%;
        padding: 0px 10px;
        box-sizing: border-box;
    }
    .section_body {
        flex-wrap: wrap;
        gap: 0px;
    }
    .section_body_left,
    .section_body_right {
        width: 100%;
    }

    .section1_list {
        grid-template-columns: repeat(2, 1fr);
    }
    .section1_list_item_img {
        height: auto;
    }
    .section1_list_item_img > img {
        height: 160px;
    }

    .section1_list_item_content {
        font-size: 14px;
    }

    .button .front {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .section2_list {
        gap: 0px;
        flex-wrap: wrap;
    }

    .section2_list_left,
    .section2_list_right {
        width: 100%;
    }
}
