@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap");

:root {
    --primary-cl: #778a09;
    --secondary-cl: rgb(219, 112, 46);
    --white-cl: #fff;
    --red-cl: #dc3545;
    --gray-cl: #edf1f0;
}

* {
    box-sizing: border-box;
}
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body {
    font-family: "Quicksand", sans-serif !important;
}

.btn-secondary-cl {
    background-color: var(--secondary-cl);
    color: var(--white-cl);
}
.btn-secondary-cl:hover {
    color: var(--white-cl);
}

.text-upper {
    text-transform: uppercase;
}
.text-bold {
    font-weight: bold;
}
.text-left {
    text-align: left !important;
}

.mY-24 {
    margin: 24px 0;
}

.mb-14 {
    margin-bottom: 14px;
}
.mb-24 {
    margin-bottom: 24px;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.gap-8 {
    gap: 8px !important;
}

.pc-block-mb-none {
    display: block;
}
.pc-none-mb-block {
    display: none;
}

button.slick-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
p {
    color: #000;
    font-family: "Quicksand", sans-serif;
}

.txt-2line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.txt-3line {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.txt-4line {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.txt-8line {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.btn-custom {
    padding: 8px 16px;
    outline: 0;
    border: 0;
    color: #fff;
    text-align: center;
    font-weight: 500;
    border-radius: 4px;
}

.bg-red-cl {
    background-color: var(--red-cl) !important;
}
.bg-secondary-cl {
    background-color: var(--secondary-cl) !important;
}

.desktop-hiden {
    display: none !important;
}

.h2-title {
    text-transform: uppercase;
    font-size: 36px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 24px;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* banner core */

.banner {
    margin: 0 auto;
}
.banner__wrap {
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--gray-cl);
}
.banner__wrap p,
.banner__wrap h2 {
    margin: 0;
}
.banner__content,
.banner__sliders {
    width: 50%;
    height: 100%;
}
.banner__content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}
.banner__item img {
    width: 100%;
    object-fit: cover;
    display: block;
    object-position: center;
    width: 100%;
    height: 100%;
}
.banner__title {
    font-size: 24px;
    color: var(--primary-cl);
    font-weight: bold;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.banner__name {
    font-weight: bold;
    max-width: 540px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.banner__desc {
    max-width: 454px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.banner__item {
    aspect-ratio: 16/10;
    /* min-height: 450px; */
}
@media (min-width: 1820px) {
    .banner {
        max-width: 1820px;
        margin: 0 auto;
    }
}
@media screen and (max-width: 1023.98px) {
    .banner__wrap {
        flex-direction: column-reverse;
    }
    .banner__sliders {
        height: 300px;
        overflow: hidden;
    }
    .banner__content {
        padding: 24px;
    }
    .banner__sliders,
    .banner__content {
        width: 100%;
    }
    .pc-block-mb-none {
        display: none;
    }
    .pc-none-mb-block {
        display: block;
    }
    .banner__title {
        font-size: 16px;
    }
    .banner__name {
        font-size: 20px;
    }
    .banner__desc {
        font-size: 14px;
        max-width: 500px;
    }

    /* comment facebook */
    .fb_iframe_widget_fluid_desktop,
    .fb_iframe_widget_fluid_desktop span,
    .fb_iframe_widget_fluid_desktop iframe {
        max-width: 100% !important;
        width: 100% !important;
    }
}
@media screen and (max-width: 767px) {
    .banner__content {
        padding: 24px 14px;
        gap: 8px;
    }
    .banner__item {
        aspect-ratio: 16/9;
        height: unset;
    }
    .banner__sliders {
        height: 100%;
    }
}

/* close banner core */

/* button core */
.button__core {
    padding: 8px 24px;
    outline: none;
    border: 2px solid transparent;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    background-color: var(--primary-cl);
    width: max-content;
    border-radius: 8px;
    color: #fff;
}
.button__core:hover {
    text-decoration: none;
    opacity: 0.8;
}
/* close button core */

@media screen and (max-width: 1023px) {
    .mb-mobile-0 {
        margin-bottom: 0 !important;
    }
    .mobile-mb-14 {
        margin-bottom: 14px !important;
    }
    .h2-title {
        font-size: 24px;
    }
    .mb-block {
        display: block !important;
    }
}
