@charset "UTF-8";

/* ----------------------------------------------------------------common-------------------------------------- */
.w320 {
    width: 320px;
}

.w870 {
    width: 870px;
}

.w296 {
    width: 296px;
}

.w880 {
    width: 880px;
}

.w1300 {
    width: 1300px;
}

.w300 {
    width: 300px;
}

.line4 {
    -webkit-line-clamp: 4;
}

.line5 {
    -webkit-line-clamp: 5;
}

.line6 {
    -webkit-line-clamp: 6;
}

.line7 {
    -webkit-line-clamp: 7;
}

.line8 {
    -webkit-line-clamp: 8;
}

.line9 {
    -webkit-line-clamp: 9;
}

.pt_pb-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.pt_pb-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.pt_pb-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.pt_pb-110 {
    padding-top: 110px;
    padding-bottom: 110px;
}

.pt_pb-120 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.pt_pb-130 {
    padding-top: 130px;
    padding-bottom: 130px;
}

.pt-65 {
    padding-top: 65px;
}

.pb-65 {
    padding-bottom: 65px;
}

.mb-65 {
    margin-bottom: 65px;
}

.bggr {
    background: #f8f8f8;
    /* background: #F7F8FC; */
}

.sub-bg {
    background: #f5f5f5;
}

.blue_d-bg {
    background: #F2F7F5;
}

.bgbl {
    background: #edf5f6;
}

.huise-bg {
    background-color: #F8F7F0;
}

.color_q_bule {
    background: #f2faff;
}

.bg_jb_green {
    background: linear-gradient(174deg, rgba(217, 233, 213, 1) 0%, rgba(215, 231, 211, 1) 17%, rgba(239, 243, 232, 1) 35%, rgba(248, 247, 240, 1) 65%, rgba(248, 247, 240, 1) 100%);
}

.bg_bqx {
    background: #F1F6F4;
}

.df {
    display: flex;
}

.box_shadow {
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
}

.ggrgs {
    color: #636673;
}

.img_cover {
    -o-object-fit: cover;
    object-fit: cover;
}

.img_ctain {
    -o-object-fit: contain;
    object-fit: contain;
}

.img_c_t {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top;
    object-position: top;
}

.g60 {
    color: #606370;
}

.color_white {
    color: #fff;
}

.color_green {
    color: #4baf47;
}

.grid-number1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-number2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-number3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-number4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-number5 {
    grid-template-columns: repeat(5, 1fr);
}

.grid-number6 {
    grid-template-columns: repeat(6, 1fr);
}

.grid-number7 {
    grid-template-columns: repeat(7, 1fr);
}

.grid-number8 {
    grid-template-columns: repeat(8, 1fr);
}

.grid-number9 {
    grid-template-columns: repeat(9, 1fr);
}

.m_auto {
    margin: 0 auto;
}

.col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
    padding: 0 24px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.col-lg-4-nopading {
    flex: 0 0 auto;
    width: 33.33333333%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}


.col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
    padding: 0 24px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.col-lg-6-nopading {
    flex: 0 0 auto;
    width: 50%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.col-lg-8 {
    flex: 0 0 auto;
    padding: 0 24px;
    width: 66.66666667%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.col-lg-8-nopading {
    flex: 0 0 auto;
    width: 66.66666667%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
    padding: 0 24px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.col-lg-12-nopading {
    flex: 0 0 auto;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.col-lg-6-p15 {
    flex: 0 0 auto;
    width: 50%;
    padding: 0 15px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.shadow {
    box-shadow: 0 0 4px #ccc;
    transition: box-shadow 0.24s;
}

.container {
    max-width: 960px
}

@media (min-width:992px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 960px
    }
}

@media (min-width:1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px
    }
}

@media (min-width:1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1320px
    }
}


.bor-bottom {
    border-bottom: 1px solid #d9d9d9;
}

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

.pos_re {
    position: relative;
}

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

.text-align-c {
    text-align: center;
}

.text-align-e {
    text-align: end;
}

.d_flex-direction {
    flex-direction: row-reverse;
}

.j-con-space-between {
    justify-content: space-between;
}

.j-con-space-center {
    justify-content: center;
}

.f-flex-direction {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* 养生导航 */
.ys_nav_box {
    /* padding: 20px 0; */
    background: #f7f7f7;
    color: #333;
    border-bottom: 1px solid #eee;
}

.ys_conm_nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ys_conm_nav .left_nav {
    width: 75%;
}

.ys_conm_nav .left_nav .home_a {
    position: relative;
    height: 60px;
    line-height: 60px;
    font-size: 27px;
    font-weight: bold;
    padding: 0px 15px;
    color: white;
    /* background: #48a8b1; */
}

.ys_conm_nav .left_nav .uls .li {
    position: relative;
    float: left;
}

.ys_conm_nav .left_nav .uls .li .a {
    display: block;
    position: relative;
    height: 60px;
    line-height: 60px;
    color: #000000;
    font-size: 18px;
    padding: 0 15px;
}

.ys_conm_nav .left_nav .uls .li .sub-menu {
    position: absolute;
    text-align: left;
    top: 100%;
    left: 0;
    background-color: #fff;
    visibility: hidden;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    /* padding: 7px; */
    left: -14px;
    opacity: 0;
    z-index: -1;
    box-shadow: 0 4px 15px rgba(1, 15, 28, 0.06);
    border-radius: 0;
    -webkit-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: top center;
    -ms-transform-origin: top center;
    transform-origin: top center;
    -webkit-transition: all .4s ease 0s;
    transition: all .4s ease 0s;
    /* padding: 18px 20px 18px 18px; */
    left: -27px;
}

.sub-menu li {
    position: relative;
}

.sub-menu li a {
    display: block;
    /* text-align: center; */
    color: #646464;
    position: relative;
    padding: 0px 24px;
    line-height: 54px;
    font-size: 18px;
    margin-right: 3px;
    -webkit-transition: all .4s ease 0s;
    transition: all .4s ease 0s;
}

.sub-menu li a i {
    position: absolute;
    font-family: "font awesome 6 pro";
    left: -15px;
    font-size: 16px;
    top: 0px;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease-in-out;
    z-index: -1;
}

.sub-menu li:hover a {
    padding-left: 30px;
    color: #45b859;
}

.sub-menu li:hover a i {
    left: 0;
    opacity: 1;
    visibility: visible;
    z-index: 1;
    color: #45b859;
}

.ys_conm_nav .left_nav .uls .li:hover .a {
    color: #04aa8a;
}

.ys_conm_nav .left_nav .uls .li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    z-index: 9;
}

.ys_conm_nav .left_nav .home_a a {
    color: #ff7f00;
}

.ys_conm_nav .right_nav {
    width: 20%;
}

.med_dr_search {
    position: relative;
    line-height: 50px;
}

.med_dr_search .search_frame {
    width: 260px;
    height: 34px;
    line-height: 34px;
    padding: 0 25px 0 18px;
    border: 1px solid #ddd;
    border: none;
    font-size: 16px;
    border-radius: 20px;
}

.med_dr_search .button_s {
    text-align: center;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 40px;
    height: 34px;
    line-height: 34px;
    border: 0;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    color: #666;
    /* font-size: 20px; */
    background-color: white;
}

.med_dr_search .button_s i {
    font-size: 20px;
}

.med_dr_search .search_frame:focus {
    outline: none;
    font-size: 16px !important;
}

/* ----------------------------------------------------------------首页-------------------------------------- */
:root {
    --primary: #6C63FF;
    --secondary: #FF6584;
    --dark: #2D3748;
    --light: #F7FAFC;
    --accent: #4FD1C5;
    --gray: #718096;
    --border-radius: 16px;
    --primary-rgb: 108, 99, 255;
    --secondary-rgb: 255, 101, 132;
    --accent-rgb: 79, 209, 197;
    --gray-rgb: 113, 128, 150;
}

/* 去湿气 */
.hero {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 430px;
    height: 360px;
    /* 使用不规则的border-radius创造花瓣形状 */
    border-radius: 60% 40% 65% 35% / 40% 65% 35% 60%;
    background: radial-gradient(circle at center, rgba(108, 99, 255, 0.01) 0%, rgba(108, 99, 255, 0.05) 50%, rgba(108, 99, 255, 0.08) 100%);
    z-index: 0;
    /* 组合旋转和形状变化动画 */
    animation: rotateClockwise 30s linear infinite, morphShape1 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    /* 使用不同的不规则border-radius */
    border-radius: 35% 65% 30% 70% / 65% 30% 70% 35%;
    background: radial-gradient(circle at center, rgba(255, 101, 132, 0.01) 0%, rgba(255, 101, 132, 0.05) 50%, rgba(255, 101, 132, 0.08) 100%);
    z-index: 0;
    /* 组合旋转和不同周期的形状变化动画 */
    animation: rotateCounterClockwise 25s linear infinite, morphShape2 20s ease-in-out infinite;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
    font-weight: 800;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray);
    max-width: 500px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(108, 99, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(108, 99, 255, 0.3);
}

.btn:hover::before {
    width: 100%;
}

/* ==================== 动画效果 ==================== */
/* 定义旋转动画 */
@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateCounterClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

/* 定义第一个形状变化动画 - 更多的凹凸变化 */
@keyframes morphShape1 {
    0% {
        border-radius: 60% 40% 65% 35% / 40% 65% 35% 60%;
    }

    25% {
        border-radius: 30% 70% 45% 55% / 75% 45% 55% 25%;
    }

    50% {
        border-radius: 75% 25% 35% 65% / 35% 75% 25% 65%;
    }

    75% {
        border-radius: 40% 60% 75% 25% / 60% 30% 70% 40%;
    }

    100% {
        border-radius: 60% 40% 65% 35% / 40% 65% 35% 60%;
    }
}

/* 定义第二个形状变化动画 - 不同的凹凸节奏 */
@keyframes morphShape2 {
    0% {
        border-radius: 35% 65% 30% 70% / 65% 30% 70% 35%;
    }

    25% {
        border-radius: 70% 30% 65% 35% / 40% 60% 30% 70%;
    }

    50% {
        border-radius: 40% 60% 40% 60% / 60% 30% 70% 40%;
    }

    75% {
        border-radius: 60% 40% 70% 30% / 35% 60% 40% 65%;
    }

    100% {
        border-radius: 35% 65% 30% 70% / 65% 30% 70% 35%;
    }
}

/* ==================== 内容区块样式 ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 祛湿气是什么意思 ==================== */
#what {
    background: #EDF2F7;
}

.faq-container {
    max-width: 900px;
    margin: 30px auto 0;
}

.faq-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    border-left: 5px solid transparent;
    transition: border-left 0.3s ease, background-color 0.3s ease;
}

.faq-item.active .faq-question {
    border-left: 5px solid var(--primary);
    background-color: rgba(108, 99, 255, 0.03);
}

.faq-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.faq-item.active .faq-icon {
    background-color: var(--primary);
}

.faq-icon i {
    font-size: 22px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.faq-item.active .faq-icon i {
    color: #fff;
}

.faq-question h3 {
    flex: 1;
    font-size: 18px;
    color: var(--dark);
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.toggle-icon {
    font-size: 24px;
    color: var(--gray);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

/* 使用max-height简化过渡效果 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 10000px;
    /* 足够大的值以包含内容 */
}

.faq-content {
    padding: 20px;
    opacity: 1;
}

.faq-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* FAQ响应式调整 */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
        margin-right: 15px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-content {
        padding: 0 20px 20px 65px;
    }
}



/* ==================== 去湿气的好处 ==================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: absolute;
    top: 170px;
    right: 25px;
    box-shadow: 0 10px 15px -3px rgba(108, 99, 255, 0.3);
}

.card-icon i {
    font-size: 30px;
    color: #fff;
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.card-text {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* ==================== 去湿气食材样式 ==================== */
#food {
    background: #EDF2F7;
}

.food-section-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--dark);
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.food-section-title span {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 10px auto 0;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.food-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.food-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.food-icon.primary {
    background-color: rgba(108, 99, 255, 0.1);
}

.food-icon.secondary {
    background-color: rgba(255, 101, 132, 0.1);
}

.food-icon.accent {
    background-color: rgba(79, 209, 197, 0.1);
}

.food-icon i {
    font-size: 30px;
}

.food-icon.primary i {
    color: var(--primary);
}

.food-icon.secondary i {
    color: var(--secondary);
}

.food-icon.accent i {
    color: var(--accent);
}

.food-name {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.food-desc {
    color: var(--gray);
    font-size: 14px;
}

/* ==================== 食谱样式 ==================== */
.recipe-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.recipe-card {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.recipe-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 25px -5px rgba(108, 99, 255, 0.2);
}

.recipe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.recipe-card:hover .recipe-image {
    transform: scale(1.08);
}

.recipe-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.recipe-content::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.recipe-card:hover .recipe-content::before {
    opacity: 1;
}

.recipe-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.recipe-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.4s ease;
}

.recipe-card:hover .recipe-title::after {
    width: 100%;
}

.recipe-steps {
    color: var(--gray);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.recipe-card:hover .recipe-steps {
    color: var(--dark);
}

.recipe-benefit {
    color: var(--dark);
    font-weight: 600;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.recipe-card:hover .recipe-benefit {
    padding-left: 15px;
}

.recipe-benefit::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recipe-card:hover .recipe-benefit::before {
    opacity: 1;
}

/* ==================== 茶饮样式 ==================== */
.tea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tea-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 35px 25px 25px;
    /* 增加顶部padding，为图标留出空间 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible;
    /* 修改为visible，确保图标不会被裁剪 */
    margin-top: 20px;
    /* 增加上边距，为图标留出空间 */
}

.tea-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 100%);
    transition: height 0.5s ease;
    z-index: 1;
    border-radius: var(--border-radius);
    /* 确保背景也遵循圆角 */
}

.tea-card:hover {
    transform: translateY(-12px) rotate(1deg);
    /* 减小旋转角度 */
    box-shadow: 0 20px 30px -10px rgba(var(--primary-rgb), 0.3);
}

.tea-card:hover::before {
    height: 100%;
}

.tea-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -25px;
    /* 调整位置，确保图标完全可见 */
    left: 25px;
    transition: all 0.4s ease;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* 默认状态添加阴影 */
}

.tea-card:hover .tea-icon {
    transform: scale(1.15) rotate(-5deg);
    /* 减小旋转幅度 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.tea-icon.primary {
    background-color: var(--primary);
}

.tea-icon.secondary {
    background-color: var(--secondary);
}

.tea-icon.accent {
    background-color: var(--accent);
}

.tea-icon i {
    font-size: 26px;
    color: white;
    transition: transform 0.4s ease;
}

.tea-card:hover .tea-icon i {
    transform: rotate(360deg);
}

.tea-title {
    font-size: 18px;
    margin: 10px 0 15px;
    padding-top: 0;
    /* 减少顶部内边距 */
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
    z-index: 2;
}

.tea-card:hover .tea-title {
    transform: scale(1.05);
}

.tea-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.tea-card:hover .tea-title::after {
    transform: scaleX(1);
    transform-origin: left;
}

.tea-title.primary {
    color: var(--primary);
}

.tea-title.secondary {
    color: var(--secondary);
}

.tea-title.accent {
    color: var(--accent);
}

.tea-desc {
    color: var(--gray);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.tea-card:hover .tea-desc {
    color: var(--dark);
}

.tea-benefit {
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    display: inline-block;
    overflow: hidden;
}

.tea-benefit::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(var(--primary-rgb), 0.2);
    transform: translateY(5px);
    transition: transform 0.3s ease;
    z-index: -1;
}

.tea-card:hover .tea-benefit::before {
    transform: translateY(0);
}

/* 确保所有卡片内容在动画过程中保持可见 */
@media (max-width: 768px) {
    .tea-card {
        padding-top: 40px;
        /* 移动设备上增加更多顶部间距 */
    }

    .tea-icon {
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        /* 在移动设备上居中图标 */
    }

    .tea-card:hover .tea-icon {
        transform: translateX(-50%) scale(1.15);
        /* 保持居中定位的同时缩放 */
    }
}

/* ==================== 禁忌样式 ==================== */
.food-warning {
    margin-top: 50px;
    background-color: rgba(255, 101, 132, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
}

.warning-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary);
    display: flex;
    align-items: center;
}

.warning-title svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary);
    margin-right: 10px;
}

.warning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.warning-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.warning-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 10px;
}

.warning-text {
    color: var(--gray);
}


/* 保健品卡片样式 */
.products-container {
    display: grid;
    column-gap: 40px;
    row-gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-overlay a {
    color: white;
}

.product-btn {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.product-info {
    padding: 20px;
}


.product-disclaimer {
    text-align: center;
    margin-top: 40px;
    color: #777;
    font-size: 14px;
    font-style: italic;
}

/* 保健品卡片中各信息项的样式 */
.product-name {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
    text-align: center;
    padding-bottom: 4px;
    border-bottom: 2px solid #4CAF50;
}

.product-company {
    /* display: flex; */
    /* align-items: center; */
    margin: 10px 0;
    color: #333;
    font-size: 15px;
}

.product-company::before {
    content: "企业";
    background-color: #3498db;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 14px;
    font-weight: bold;
}

.product-spec {
    /* display: inline-block; */
    margin: 10px 0;
    color: #333;
    font-size: 14px;
    background-color: #f8f9fa;
    border-left: 4px solid #e74c3c;
    padding: 5px 10px;
    width: 100%;
    box-sizing: border-box;
}

.product-function {
    margin-top: 15px;
    line-height: 1.7;
    color: #555;
    font-size: 14px;
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 5px;
    position: relative;
}

.product-function::before {
    content: "功效";
    /* position: absolute;
    top: -10px;
    left: 10px; */
    background-color: #f39c12;
    color: white;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 15px;
    margin-right: 10px;
    font-weight: bold;
}

/* ==================== 文章列表样式 - 横排布局 ==================== */
#articles {
    background: #EDF2F7;
}

.article-grid {
    display: grid;
    column-gap: 40px;
    row-gap: 30px;
}

.article-home {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
}

.article-home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.article-home:hover {
    box-shadow: 0 15px 25px -10px rgba(var(--primary-rgb), 0.15);
    transform: translateY(-10px);
}

.article-home:hover::after {
    transform: scaleX(1);
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-number {
    font-size: 40px;
    font-weight: 800;
    color: rgba(var(--primary-rgb), 0.1);
    line-height: 1;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.article-home:hover .article-number {
    color: rgba(var(--primary-rgb), 0.25);
}

.article-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.article-home:hover .article-tag {
    background-color: var(--primary);
    color: white;
}

.article-home h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 700;
    transition: color 0.3s ease;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-home:hover h3 {
    color: var(--primary);
}

.article-home p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.article-home:hover p {
    color: var(--dark);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 12px;
    padding-top: 15px;
    border-top: 1px dashed rgba(var(--gray-rgb), 0.2);
    margin-top: auto;
    transition: all 0.3s ease;
}

.article-home:hover .article-meta {
    border-top-color: rgba(var(--primary-rgb), 0.2);
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta .date svg,
.article-meta .views svg {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    fill: var(--gray);
    transition: fill 0.3s ease;
}

.article-home:hover .article-meta svg {
    fill: var(--primary);
}

.article-readmore {
    position: absolute;
    right: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.article-readmore svg {
    width: 18px;
    height: 18px;
    fill: var(--primary);
    transition: all 0.3s ease;
}

.article-home:hover .article-readmore {
    opacity: 1;
    transform: translateY(0);
    background-color: var(--primary);
}

.article-home:hover .article-readmore svg {
    fill: white;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-home {
        padding: 20px;
    }
}


/* -------------------------------------------------------------文章列表/文章详情 ----------------------------------*/
.qsq_sidebar {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 19px;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 600;
    background-color: #ecf5f2;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(58, 137, 118, 0.2);
}

.sidebar-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: #3a8976;
    border-radius: 8px 0 0 8px;
}

.sidebar-title i {
    margin-right: 10px;
    color: #3a8976;
    font-weight: 400;
    font-size: 26px;
}

.related-article {
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    background-color: white;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    /* border-top: 3px solid #3a8976; */
    overflow: hidden;
}

.related-article:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 25px 25px 0;
    border-color: transparent #eef4fa transparent transparent;
    transition: all 0.3s ease;
}

.related-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.related-article .tit {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
    padding-right: 20px;
}

.related-article a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}

.related-article a:hover {
    color: #3a8976;
}

.related-article a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #3a8976;
    transition: width 0.3s ease;
}

.related-article a:hover:after {
    width: 100%;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-item svg {
    margin-right: 5px;
    color: #3a8976;
}

.related-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.related-article:hover:after {
    border-color: transparent #3a8976 transparent transparent;
}

.related-article:last-child {
    margin-bottom: 0;
}

.keyword_sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword_sidebar a {
    display: inline-block;
    padding: 5px 12px;
    background-color: #e6f4f1;
    color: #1a8f7d;
    border-radius: 20px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.keyword_sidebar a:hover {
    background-color: #1a8f7d;
    color: white;
}

/* 文章内容 */
.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 36px;
    color: #1f1f1f;
    margin-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.article-nr-meta {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

.article-nr-meta span {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.article-nr-meta svg {
    margin-right: 5px;
    opacity: 0.7;
}

.article-divider {
    height: 4px;
    width: 60px;
    background-color: #3a8976;
    margin: 30px 0;
    border-radius: 2px;
}

.article-nr-content p {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    letter-spacing: 0.2px;
}

/* .article-nr-content h2 {
	font-size: 28px;
	color: #2c3e50;
	margin: 50px 0 25px;
	position: relative;
	font-weight: 700;
	letter-spacing: -0.5px;
	padding-left: 20px;
	line-height: 1.3;
}

.article-nr-content h2:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 5px;
	background: linear-gradient(to bottom, #3a8976, #4ac0a8);
	border-radius: 3px;
}

.article-nr-content h2:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 80px;
	height: 1px;
	background-color: #eaeaea;
} */

.article-nr-content h2 {
    font-size: 22px;
    color: #3a4a5c;
    margin: 35px 0 20px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.article-nr-content h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #3a8976, transparent);
    border-radius: 1.5px;
}

.article-nr-content h3 {
    font-size: 18px;
    color: #444;
    margin: 25px 0 15px;
}

/* -------------------------------------------------------------icon ----------------------------------*/
@font-face {
    font-family: "ttk";
    /* Project id 4005981 */
    src: url('//at.alicdn.com/t/c/font_4005981_6ehlpfojjw9.woff2?t=1743057067440') format('woff2'),
    url('//at.alicdn.com/t/c/font_4005981_6ehlpfojjw9.woff?t=1743057067440') format('woff'),
    url('//at.alicdn.com/t/c/font_4005981_6ehlpfojjw9.ttf?t=1743057067440') format('truetype');
}

.ttk {
    font-family: "ttk" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-cha1:before {
    content: "\e68c";
}

.icon-shicai1:before {
    content: "\e68d";
}

.icon-gou:before {
    content: "\e682";
}

.icon-wenti:before {
    content: "\e605";
}

.icon-yundongjiankang:before {
    content: "\e691";
}

.icon-weihai:before {
    content: "\e68b";
}

.icon-remen:before {
    content: "\e646";
}

.icon-yiyaobaojian:before {
    content: "\e64d";
}

.icon-wenzhang:before {
    content: "\e6c7";
}

.icon-zhiyejinengjianding:before {
    content: "\e604";
}

.icon-yanchanghuiyi:before {
    content: "\e69a";
}

.icon-jihuashengyu-mian:before {
    content: "\e6d4";
}

.icon-shipin2:before {
    content: "\e61b";
}

.icon-yanchangriqi:before {
    content: "\e6f5";
}

.icon-liulan:before {
    content: "\e647";
}


.icon-jiantou_xiangyou:before {
    content: "\eb08";
}