.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    padding: 20px 20px;
    max-width: 1200px;
    margin: auto;
}


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

.nav-links li a {
    color: #1D2228;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 700;
    padding: 0 20px;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-radius: 50%;
    z-index: -1;
    background-color: #9f4103;
    opacity: .3;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.nav-links li a:hover::before {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.nav-links li a.active,
.nav-links li a:hover {
    color: #1D2228;
}

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

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

.logo a {
    font-size: 28px;
    font-style: italic;
    font-weight: 700;
    color: #9f4103;
}

.logo a:hover {
    color: #9f4103;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        /* 将导航链接改为纵向布局 */
        background-color: #fff;
        /* 为导航链接添加背景色 */
        padding: 10px;
        /* 为导航链接添加内边距 */
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 9999;
        padding-top: 60px;
        height: 100vh;
    }

    .navbar {
        padding: 3px 20px;
    }

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

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

    .nav-links li {
        margin: 10px 0;
        /* 调整导航链接的上下间距 */
    }

    .burger {
        display: flex;
    }

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

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

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

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

.flex {
    display: flex;
    flex-wrap: wrap;
}

.ct-categories-3 .ct-category:hover h5 {
    text-decoration: underline;
}

.ct-categories-3 .item {
    flex: 0 0 25%;
    display: flex;
width: 25%;
}

.ct-categories-3 .item .ct-category {
    padding: 15px;
}

.ct-categories-3 .item .ct-category .ct-category-info {
    background-color: #f7f4ee;
}

@media (max-width:1024px) {
    .ct-categories-3 .item {
        flex: 0 0 33.333%;
width: 33.333%;
    }
}

@media (max-width:768px) {
    .ct-categories-3 .item .ct-category {
        padding: 10px;
    }

    .section.section-padding {
        padding: 30px 0 0px;
    }
}

@media (max-width:550px) {
    .ct-categories-3 .item {
        flex: 0 0 50%;
width: 50%;

    }

    .ct-categories-3 .ct-category .ct-category-info {
        padding: 10px;
    }

    .ct-categories-3 .item .ct-category .ct-category-info h5 {
        font-size: 16px;
        line-height: 22px;
        -webkit-line-clamp: 3;
    }

    .ct-categories-3 .item .ct-category .ct-category-info p {
        line-height: 18px;
    }




}

.m2 .left {
    flex: 0 0 60%;
}

.m2 .right {
    flex: 0 0 40%;
}

.m2-left-1,
.m2-left-4 {
    flex: 0 0 100%;
}

.m2-left-2,
.m2-left-3,
.m2-left-5,
.m2-left-6 {
    flex: 0 0 50%;
}

.post a {
    display: block;
    padding: 15px;
}

.post .post-body span {
    color: #E35901;
    background-color: #efcfb9;
    border-radius: 8px;
    font-weight: 600;
    margin: 0 0 10px 0;
    font-size: 13px;
    padding: 4px 10px;
    display: block;
    width: max-content;
    text-transform: capitalize;
}

.post .post-body a {
    padding-top: 0;
}

.post .post-body:hover h5,
.sidebar-widget .media .text:hover h6,
.recipe.featured-recipe .recipe-thumbnail:hover h6 {
    text-decoration: underline;
}

.post .post-body p {
    margin-bottom: 0;
}

.sidebar-widget h5 {
    padding: 15px;
}

.sidebar-widget .media .img {
    padding: 15px;
    margin: 0;
}

.sidebar-widget .media .text {
    padding: 15px 15px 15px 0;
    margin-bottom: 0px;
    display: block;
}

.sidebar-widget .media {
    margin-bottom: 0px;
}

.recipe.featured-recipe .recipe-thumbnail {
    position: relative;
}

.recipe.featured-recipe .recipe-thumbnail a {
    padding: 15px;
    display: block;
}

.recipe .recipe-thumbnail img {
    border-radius: 8px;
}

.recipe.featured-recipe .recipe-thumbnail .recipe-body {
    color: #fff;
    position: absolute;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    background-color: rgba(0, 0, 0, .2);
    border-radius: 8px;
    opacity: 1;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    pointer-events: none;
    padding: 20px;
    border-bottom: 0;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.recipe.featured-recipe .recipe-thumbnail .recipe-body h6 {
    color: #fff;
}

@media (max-width:768px) {

    .post a,
    .sidebar-widget .media .img {
        padding: 10px;
    }

    .sidebar-widget .media .text {
        padding: 10px 10px 10px 0;
    }

    .post .post-body span {
        padding: 0px 10px;
    }

    .m2 .left,
    .m2 .right {
        flex: 0 0 100%;
    }
}

@media (max-width:550px) {
    .title {
        font-size: 22px;
        margin-bottom: 0px;
        line-height: 30px;
    }

    .post .post-body span {
        font-size: 12px;
        line-height: 18px;
        margin: 0 0 4px 0;
    }

    .post .post-body .post-title {
        font-size: 18px;
        margin-bottom: 4px;
        line-height: 24px;
    }

    .post .post-body p {
        font-size: 14px;
        line-height: 20px;
    }

    .sidebar-widget h5 {
        padding: 0 10px;
    }

    .recipe.featured-recipe .recipe-thumbnail a {
        padding: 10px;
    }

    .recipe.featured-recipe .recipe-thumbnail .recipe-body {
        color: #fff;
        position: absolute;
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }
}

.dt-content p,
.dt-content span {
    color: #000 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-style: normal !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    text-align: left !important;
    margin-left: 0 !important;
}

.dt-content h1,
.dt-content h2,
.dt-content h2 span{
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    color: #000 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.dt-content .dt-title {
    font-size: 22px !important;
    line-height: 1.4 !important;
    color: #000 !important;
    margin-bottom: 15px !important;
    font-style: normal;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-top: 15px !important;
}

.dt-content h3,
.dt-content h4,
.dt-content h3 span,
.dt-content h4 span{
    font-size: 16px !important;
    line-height: 1.44 !important;
    text-indent: 0px !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-style: normal;
    color: #000;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-left: 0 !important;
}



.dt-content ul,
.dt-content ol {
    margin-bottom: 15px;
    margin-left: 0;
    padding-left: 30px !important;
    font-family: 'Montserrat', sans-serif !important;
}

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

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

}

.dt-content ul li,
.dt-content ol li {
    color: #000 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    font-style: normal;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
}

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

.dt-1 {
    display: flex;
    justify-content: space-between;
}

.cate .recipe-list a {
    padding: 15px;
    display: block;
}

.cate .left,
.dt .left {
    flex: 0 0 66.666667%;
}

.dt .left {
    padding: 15px;
}

.cate .right,
.dt .right {
    flex: 0 0 33.333333%;
}

.cate .recipe-text {
    margin-bottom: 0;
}

.cate .recipe-thumbnail a {
    padding-right: 0;
}

.cate h2 {
    font-size: 30px;
    line-height: 48px;
    padding-left: 15px;
    text-transform: capitalize;
}

.recipe.recipe-list .recipe-body:hover h5 {
    text-decoration: underline;
}

@media (max-width:768px) {

    .cate .left,
    .cate .right,
    .dt .left,
    .dt .right {
        flex: 0 0 100%;
    }

    .dt .left {
        padding: 10px;
    }

    .sidebar-widget h5 {
        padding: 10px;
    }


}

@media (max-width:550px) {

    .dt .container,
    .cate .container {
        padding: 0;
    }

    .dt-content .dt-title {
        margin-top: 0px !important;
    }

    .cate h2 {
        font-size: 22px;
        margin-bottom: 0px;
        line-height: 30px;
        padding-left: 10px;
    }

    .section {
        padding: 10px 0;
    }

    .cate .recipe-list a {
        padding: 10px;
    }

    .cate .recipe-thumbnail a {
        padding-right: 0;
    }

    .cate .recipe-text {
        line-height: 20px;
    }
    .section.section-padding {
        padding: 0px 0 0px;
    }
.dt .left{
        padding: 0px 10px 10px;
}
.dt-content .dt-title {
    font-size: 20px !important;
    line-height: 1.2 !important;
}
.dt-1 p{    margin-bottom: 5px !important;
}
}

.search {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto 10px;
}

.search input {
    width: 100%;
    border-radius: 15px;
    border: 1px solid #848486;
    padding: 4px 15px;
    outline: none;
}

.media h5{
    font-size: 16px;
    line-height: 26px;
    padding: 0;
}
