@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 (max-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;
}

/* ----------------------------------------------------------------首页-------------------------------------- */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #e8f5e9 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero .tit {
    font-size: 48px;
    margin-bottom: 1.5rem;
    color: #2c5e2e;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #555;
}

/* 内容部分 */

.section-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.section-title .tit {
    font-size: 32px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
    color: #2c5e2e;
}

.section-title p {
    margin-bottom: 16px;
    font-size: 16px;
}

.section-title .tit::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 80px;
    background-color: #69b578;
}

.bg_home_mk{
    background-color: #f8f9fa;
}
/* section:nth-child(odd) {
	background-color: #f8f9fa;
}

section:nth-child(even) {
	background-color: #ffffff;
} */

.text-content {
    flex: 1;
}

.text-content p {
    margin-bottom: 16px;
    font-size: 16px;
}

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

.image-content img {
    max-width: 100%;
    height: 350px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.image-content img:hover {
    transform: translateY(-5px);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #69b578;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(105, 181, 120, 0.3);
}

.btn:hover {
    background-color: #2c5e2e;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(44, 94, 46, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #69b578;
    border: 2px solid #69b578;
}

.btn-outline:hover {
    background-color: #69b578;
    color: white;
}

/* 生津好处卡片 */
.benefits-cards {
    display: grid;
    column-gap: 40px;
    row-gap: 30px;
    margin: 40px 0;
}

.benefit-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

/* .benefit-card .icon {
	color: #69b578;
	font-size: 2.5rem;
	margin-bottom: 1rem;
} */

.benefit-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #2c5e2e;
}

.benefit-card p {
    font-size: 16px;
}

/* 食品推荐 */
.foods-grid {
    display: grid;
    column-gap: 40px;
    row-gap: 30px;
    margin: 40px 0;
}

.food-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.food-item:hover {
    transform: translateY(-5px);
}

.food-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.food-info {
    padding: 16px;
}

.food-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

/* 保健品 */

.products-row {
    display: grid;
    column-gap: 20px;
    row-gap: 30px;
}

.product-card {
    /* 	flex: 0 0 auto;
    width: 300px; */
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /* margin-right: 20px; */
    transition: all 0.3s ease;
}

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

.product-image {
    height: 220px;
    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-info {
    padding: 20px;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.product-manufacturer {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.product-functions {
    margin-bottom: 15px;
}

.function-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.function-description {
    font-size: 14px;
    color: #34495e;
    /* line-height: 1.5; */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

.specs-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.specs-description {
    font-size: 14px;
    color: #34495e;
}

/* 文章 */
.article-grid {
    display: grid;
    column-gap: 20px;
    row-gap: 20px;
}

.article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-5px);
    color: #333;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.article-content {
    padding: 20px;
}

.article-tag {
    display: inline-block;
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    /* line-height: 1.4; */
}

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

.article-meta i {
    font-size: 20px;
    margin-right: 5px;
}

.article-meta i:before {
    vertical-align: middle;
}

.article-date {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

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

/* ----------------------------------------------文章列表/文章详情------------------------------------ */
.sj_sidebar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 25px;
}

.sj_sidebar .sidebar-title {
    font-size: 18px;
    color: #2a8a73;
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.related-article {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.related-article a {
    text-decoration: none;
    color: #555;
    display: flex;
    font-size: 16px;
    align-items: center;
    transition: color 0.3s;
}

.related-article a i {
    font-size: 16px;
    margin-right: 8px;
    color: #2a8a73;
}

.related-article a:hover {
    color: #2a8a73;
}

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

.keyword_sidebar a {
    background-color: #f0f7f5;
    color: #2a8a73;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
    text-decoration: underline;
}

.keyword_sidebar a:hover {
    background-color: #2a8a73;
    color: #fff;
}


/* 文章详情 */
.article-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.article-header h1 {
    font-size: 28px;
    color: #222;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    align-items: center;
    color: #888;
    font-size: 14px;
}

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

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
    text-align: justify;
}

.article-content h2 {
    font-size: 22px;
    color: #2a8a73;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

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

.article-content img {
    width: 100%;
    border-radius: 6px;
    margin: 20px 0;
}

.article-content .highlight {
    background-color: #f0f7f5;
    border-left: 4px solid #2a8a73;
    padding: 15px;
    font-size: 16px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

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

.ttk {
    font-family: "ttk" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icon-shijian:before {
    content: "\e8b8";
}

.icon-xiangyoujiantou:before {
    content: "\e65f";
}

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

.icon-rili:before {
    content: "\e67f";
}

.icon-gongsi:before {
    content: "\e67c";
}