header {
    background: #151515;
    border-bottom-color: #151515;
    box-shadow: 0 0 15px rgba(21, 21, 21, 0.35);
}

@font-face {
    font-family: "Fugaz One";
    src: url(../fonts/FugazOne-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Black.ttf') format('truetype');
    font-weight: 900; /* 最粗的字重 */
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700; /* 粗体 */
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Italic.ttf') format('truetype');
    font-weight: 400; /* 正常字重 */
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Light.ttf') format('truetype');
    font-weight: 300; /* 细体 */
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400; /* 正常字重 */
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Thin.ttf') format('truetype');
    font-weight: 100; /* 最细的字重 */
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 20px 20px;
    max-width: 1200px;
    margin: auto;
    font-family: "Lato", sans-serif;
}


.nav-links {
    display: flex;
    gap: 20px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 16px;
    font-family: "Lato", sans-serif;
    font-weight: 600;
}

.nav-links li:hover {
    text-decoration: 2px underline #FFE146;
    text-underline-offset: 5px;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.line1,
.line2,
.line3 {
    width: 22px;
    height: 3px;
    background-color: #FFE146;
    margin: 2px;
}

.logo a {
    font-family: "Fugaz One", serif;
    color: #FFE146;
    font-size: 28px;
    line-height: 36px;
    letter-spacing: 1px;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #151515;
        padding: 10px;
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 9999;
        padding-top: 60px;
        height: 100vh;
    }

    .navbar {
        padding: 5px 20px;
    }

    .logo img {
        max-width: 180px;
        max-height: 25px;
    }

    .nav-links.nav-active {
        display: flex;
        position: fixed;
    }

    .nav-links li {
        margin: 7px 0;
    }

    .burger {
        display: flex;
    }

    .toggle {
        position: fixed;
        z-index: 9999;
        right: 20px;
        font-size: 24px;
        top: 20px;
    }
}


.t_1l {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.t_12 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.t_13 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.t_14 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.section {
    padding: 40px 0;
}

.m1 img {
    width: 100%;
    aspect-ratio: 1/0.6;
    object-fit: cover;
}

.align-items-center {
    align-items: center;
}

.m1 h2 {
    font-size: 28px;
    line-height: 1.5;
}

.m1 h2:hover,
.m2 h4:hover {
    text-decoration: underline;
}

.m1 p {
    font-weight: 700;
    color: rgba(0, 0, 0, 0.5);
}

.m2 h4 {
    font-size: 18px;
    line-height: 1.3;
}

.m2 p {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.5);
}

.m2 img {
    width: 100%;
    aspect-ratio: 1/0.6;
    object-fit: cover;
}

.m3 h4 {
    color: #151515;
    font-size: 20px;
    line-height: 1.4 !important;
    height: 50px;
}

.m3 .team-classic-caption {
    padding: 12px 25px 20px;
}

.m3 .team-classic:hover .team-classic-caption {
    padding-bottom: 30px;
}

.slideInDown h2 {
    font-size: 32px;
    line-height: 1.5;
}

.m4 .slick-slide {
    padding: 0 10px !important;
}

.m4 .slider-dots {
    margin-top: 30px;
    max-width: max-content;
}

.m4 .testimonials-modern {
    padding: 20px 0;
}

.m4 .slider-dots .item {
    width: 25% !important;
}

.m4 .slider-dots .slick-track {
    max-width: max-content;
    width: 100% !important;
}

.m4 p {
    color: #151515;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4 !important;
}

.m5 .post-modern-caption {
    padding: 20px;
}

.m5 h4 a,
.post-modern-title {
    font-size: 20px;
    line-height: 1.4 !important;
}

.m5 h4 a:hover {
    color: #151515;
    text-decoration: underline;
}

.ui-to-top.active {
    display: none !important;
}

.post-modern-figure img {
    width: 100%;
}


.dt-content h1,
.dt-content h1 span,
.dt-content h2,
.dt-content h2 span {
    font-size: 18px !important;
    line-height: 1.5 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    color: #151515 !important;
    font-family: "Lato", sans-serif;
}

.dt-content .dt-title {
    font-size: 24px !important;
    line-height: 1.5 !important;
    color: #151515 !important;
    margin-bottom: 15px !important;
    font-style: normal !important;
    font-weight: bold;
    font-family: "Lato", sans-serif;
    position: relative;
    padding-top: 10px;
}


.dt-content h3,
.dt-content h3 span,
.dt-content h4,
.dt-content h4 span {
    font-size: 18px !important;
    line-height: 1.5 !important;
    text-indent: 0px !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-style: normal !important;
    color: #151515 !important;
    font-weight: 600 !important;
    font-family: "Lato", sans-serif;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.dt-content p,
.dt-content span {
    color: #151515 !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-style: normal !important;
    font-family: "Lato", sans-serif;
    font-weight: 400 !important;
    text-align: left !important;
    margin-left: 0 !important;
}

.dt-content ul,
.dt-content ol {
    margin-bottom: 15px;
    margin-left: 10px;
    font-family: "Lato", sans-serif;
    padding-left: 15px;
    color: #151515 !important;

}

.dt-content ul {
    list-style: disc;
}

.dt-content ol {
    list-style: decimal;
}

.dt-content ul li,
.dt-content ol li {
    display: list-item;
    color: #151515 !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    font-style: normal;
    font-family: "Lato", sans-serif;
    font-weight: 400 !important;
}

.dt-content img {
    cursor: auto;
    margin-bottom: 15px;
    width: 100% !important;
    display: block;
    margin: auto !important;
    height: auto !important;
    max-width: 500px;
}


.search {
    width: 100%;
    max-width: 500px;
    position: relative;
    padding: 0px 0 30px;
    margin: auto;
}

.search input {
    width: 100%;
    border: 1px solid #C4C4C4;
    background: #FFFFFF;
    padding-left: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #999999;
    font-family: "Lato", sans-serif;
    outline: none;
    border-radius: 5px;
}

.search-result {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.search-result .item {
    flex: 0 0 calc(33.33% - 10px);
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 10px;
}

.search-result .item img {
    width: 100%;
    aspect-ratio: 1/0.6;
    background-color: #d9d9d9;
    border-radius: 10px;
}

.search-result .item p {
    color: #151515;
    font-weight: 600;
    margin-top: 10px;
}


@media (max-width:768px) {
    .section {
        padding: 25px 0;
    }

    .m1 h2,
    .m1 p {
        margin-top: 10px;
    }

    .m2 .wow-outer {
        margin-bottom: 15px;
    }

    .m4 .slider-dots .item {
        width: 50% !important;
    }

    .search-result .item {
        flex: 0 0 calc(50% - 10px);
    }
}


@media (max-width:550px) {
    .section {
        padding: 15px 0;
    }

    .m1 h2,
    .m1 p,
    .m2 h4,
    .m2 p {
        margin-top: 5px;
        text-align: left;
        letter-spacing: 0;
    }

    .m2 .wow-outer {
        margin-bottom: 15px;
    }

    .m1 h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    .m1 p {
        font-size: 16px;
        line-height: 1.3;
    }

    .box-icon-classic {
        max-width: none;
    }

    .slideInDown h2 {
        font-size: 26px;
        line-height: 1.5;
    }

    .row-35>* {
        margin-bottom: 10px;
    }

    .m3 .team-classic-caption {
        padding: 10px 20px 15px;
    }

    .post-modern {
        width: 100%;
        max-width: none
    }

    .logo a {
        font-size: 24px;
    }

    .row-30>* {
        margin-bottom: 15px;
    }

    .m5 .post-modern-caption {
        padding: 12px;
    }
}
.slick-prev, .slick-next {
    display: flex
}
@media (max-width:992px) {
    .slick-prev {
        left: 40%;
        bottom: -15px;
        top: auto;
        transform: translate(0, 0);
    }
    .slick-next{
        right: 40%;
        bottom: -15px;
        top: auto;
        transform: translate(0, 0);
    }
    .m4{
        padding-bottom: 40px;
    }
}