body{
    overflow-x: hidden;
}
.lb{
    width: 100vw;
    min-height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 40px;
    margin-bottom: 40px;
}
.list{
    width: 1350px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.list-left{
    width: 280px;
    height: auto ;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.list-title{
    width: 280px;
    height: 76px;
    background: #31a361;
    color: #fff;
    font-size: 30px;
    line-height: 76px;
    text-align: center;
    font-weight: 600;
}
.list-left-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-left-ul li {
    width: 280px;
    min-height: 76px;
    line-height: 70px;
    font-size: 30px;
    text-align: center;
    border-bottom: 1px solid #fff;
 
    cursor: pointer;
    background: #e8e8e8;
    position: relative; /* 让 menu-arrow 以 li 为基准 */
    transition: background 0.3s ease;
}

.list-left-ul li:hover {
    background: #f5f5f5;
}

/* 新增：二级菜单展开的动画 */
.list-left-erul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease-out;
    background: #dcdcdc; /* 二级菜单背景色 */
}

/* 展开时的状态 */
.list-left-ul li.active .list-left-erul {
    max-height: 500px; /* 适当调高 */

}

.list-left-erul li {
    width: 100%;
    min-height: 50px;
    line-height: 50px;
    font-size: 24px;
    text-align: center;
    position: relative;
}
.list-left-erul li a{
    color: #656161;
    text-decoration: none;
}


.list-left-erul li:nth-child(1){
    border-top: 1px solid #fff;
}
.list-left-erul li::before {
    content: ""; /* 占位调整文本位置 */
    display: inline-block;
    width: 40px; /* 控制右偏移量 */
}
.list-left-erul li:hover {
    background: #e0e0e0;
}


.menu-arrow {
    position: absolute; /* 让箭头脱离文档流，不占用 a 的空间 */
    right: 15px; /* 让箭头始终靠右 */
    top: 50%;
    transform: translateY(-50%); /* 垂直居中 */
    font-size: 20px;
    color: #31a361;
    transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    pointer-events: none; /* 防止箭头影响点击 */
}

/* 当菜单展开时，箭头隐藏 */
.list-left-ul li.active .menu-arrow {
    opacity: 0;  /* 透明度变为 0，让箭头消失 */
    visibility: hidden; /* 让箭头不可见，但不影响布局 */
}

.list-right{
    width: 100%;
    padding-left: 50px;
    min-width: 900px;
}
.list-right-title {
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc; /* 添加灰色边框线 */
}
.list-right-title h1{
    font-size: 30px;
    color: #31a361;
    font-weight: 400;
}
.list-right-title-right p{
    font-size: 16px;
    color: #333333;
}
.list-right-title-right a{
    font-size: 16px;
    color: #333333;
    font-weight: 400;
}

.list-right-section{
    width: 100%;

    margin-top: 20px;
}
.list-right-section ul li {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc; /* 添加灰色边框线 */
}
.list-right-section ul li a{
    font-size: 20px;
    color: #333333;
    font-weight: 400;
    width: 100%;
}
.list-right-section ul li a:hover{
    color: #31a361;
}
.list-right-section ul li a:hover span{
    color: #31a361;
}
.list-right-section ul li a span{
float: right;
font-size: 20px;
color: #333333;
font-weight: 400;
}



/* 让 ul 变成 flex 布局，每行排列 3 个 */
.tplist ul {
    display: flex;
    justify-content: space-between; /* 确保三张图片均匀排列 */
    flex-wrap: wrap; /* 保持响应式，防止超出 */
    padding: 0;
    margin: 0;
    list-style: none;
    margin-top: 30px;
}

/* 每个 li 占 1/3 宽度，确保三张图片一行排列 */
.tplist li {
    width: 32%; /* 保证三张图片并排，留少量空隙 */
    text-align: center;
    margin-bottom: 20px; /* 保持图片之间的间距 */
    background: #f6f6f6;
    border-bottom: 4px solid #dbe8e2; /* 添加下边框线 */
}
/* 图片容器 */
.tplist-image {
    width: 325px;
    height: 250px;
    background: #f5f5f5; /* 浅灰色背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* 避免放大时溢出 */
    transition: background 0.3s ease;
    margin: 0 auto; /* 确保居中 */
}

/* 图片样式，确保填充整个容器 */
.tplist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片填充整个区域，不变形 */
    transition: transform 0.3s ease;

}

/* 鼠标悬停时放大图片 */
.tplist-image:hover img {
    transform: scale(1.1); /* 放大 10%，但不会影响文本 */
}

/* 文字样式 */
.tplist-text {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}


/* 内容区域 */


.nry{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.nry-title{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nry-title h1{
    font-size: 30px;
    text-align: center;
    color: #31a361;
    margin-top: 10px;
    margin-bottom: 10px;

}
.nry-title-sj{
    font-size: 14px;
    margin-bottom: 20px;
}
.nry-content {
    width: 100%;
    text-align: left; /* 使内容左对齐 */
}

.nry-content p {
    font-size: 16px;
    line-height: 200%;
    text-indent: 2em;
    margin-bottom: 20px;
    font-family: "微软雅黑", tahoma, arial, 宋体;
    color: #666;
}

.nry-content span {
    font-size: 16px;
    font-family: "微软雅黑", tahoma, arial, 宋体;
    color: #666;
}

.nry-content img {
    display: block; /* 使图片成为块级元素 */
    margin: 10px auto; /* 添加上下边距并居中 */
}

/* ===================== 预约详情页（gryy.htm） ===================== */
.inner-page {
    flex: 1 0 auto;
    padding: 58px 0 76px;
    background: #fff;
}

.appointment-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.appointment-sidebar {
    overflow: hidden;
    background: #f3f4f3;
    border: 1px solid #ecefec;
    border-radius: 8px;
}

.appointment-sidebar-title,
.appointment-sidebar a {
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 16px 28px;
}

.appointment-sidebar-title {
    margin: 0;
    background: var(--green);
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}

.appointment-sidebar a {
    position: relative;
    border-top: 1px solid #fff;
    color: #454545;
    font-size: 19px;
    transition: color .2s, background .2s, padding-left .2s;
}

.appointment-sidebar a::after {
    content: "›";
    margin-left: auto;
    color: #8a8a8a;
    font-size: 26px;
    line-height: 1;
}

.appointment-sidebar a:hover,
.appointment-sidebar a.is-current {
    padding-left: 32px;
    background: #e9f6ee;
    color: var(--green);
}

.appointment-sidebar a.is-current {
    font-weight: 600;
    box-shadow: inset 4px 0 0 var(--green);
}

.appointment-sidebar a.is-current::after {
    color: var(--green);
}

.appointment-content {
    min-width: 0;
}

.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    padding: 0 0 20px;
    border-bottom: 1px solid #d9dedb;
}

.page-heading-kicker {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 14px;
    letter-spacing: .12em;
}

.page-heading h1 {
    margin: 0;
    color: #236f45;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 8px;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.breadcrumb a:hover {
    color: var(--green);
}

.breadcrumb strong {
    color: #454545;
    font-weight: 500;
}

.appointment-intro {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--green);
    background: #f4faf6;
}

.appointment-intro p {
    margin: 0;
    color: #404b43;
    font-size: 17px;
    line-height: 1.9;
}

.appointment-guide,
.equipment-panel {
    border: 1px solid #e4ebe6;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(34, 82, 53, .06);
}

.appointment-guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 30px 34px;
}

.appointment-guide-copy,
.equipment-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.guide-step {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.appointment-guide h2,
.equipment-panel h2 {
    margin: 1px 0 7px;
    color: #2d3c33;
    font-size: 21px;
    font-weight: 600;
}

.appointment-guide p,
.equipment-panel p {
    margin: 0;
    color: #6a746d;
    font-size: 15px;
    line-height: 1.7;
}

.qr-card {
    display: grid;
    width: 176px;
    height: 176px;
    flex: 0 0 176px;
    place-items: center;
    margin: 0;
    padding: 10px;
    border: 1px solid #dce9e0;
    border-radius: 8px;
    background: #fff;
}

.qr-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.equipment-panel {
    margin-top: 26px;
    padding: 30px 34px 34px;
}

.equipment-image {
    display: grid;
    min-height: 180px;
    place-items: center;
    margin: 26px 0 0;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #e5e9e6;
    border-radius: 7px;
    background: #fafcfb;
}

.equipment-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
}

.attachment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    padding: 18px 22px;
    border: 1px solid #dce9e0;
    border-radius: 8px;
    background: #f7fbf8;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.attachment-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 18px rgba(26, 153, 82, .12);
    transform: translateY(-2px);
}

.attachment-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.attachment-card strong,
.attachment-card small {
    display: block;
}

.attachment-card strong {
    color: #2d3c33;
    font-size: 16px;
}

.attachment-card small {
    margin-top: 4px;
    color: #748078;
    font-size: 13px;
}

.attachment-action {
    margin-left: auto;
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .inner-page { padding: 34px 0 52px; }
    .appointment-layout { grid-template-columns: 1fr; gap: 26px; }
    .appointment-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
    .appointment-sidebar-title { grid-column: 1 / -1; min-height: 60px; font-size: 22px; }
    .appointment-sidebar a { min-height: 60px; padding: 13px 20px; }
    .appointment-sidebar a + a { border-left: 1px solid #fff; }
    .appointment-sidebar a:hover, .appointment-sidebar a.is-current { padding-left: 24px; }
}

@media (max-width: 700px) {
    .inner-page { padding-top: 26px; }
    .appointment-layout { gap: 20px; }
    .page-heading { display: block; padding-bottom: 16px; }
    .page-heading h1 { font-size: 28px; }
    .breadcrumb { justify-content: start; margin-top: 14px; font-size: 13px; }
    .appointment-intro { margin: 20px 0; padding: 16px 18px; }
    .appointment-intro p { font-size: 16px; }
    .appointment-guide { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
    .qr-card { align-self: center; width: 160px; height: 160px; }
    .equipment-panel { margin-top: 20px; padding: 24px 20px; }
    .equipment-image { min-height: 120px; margin-top: 20px; padding: 6px; }
    .attachment-card { align-items: flex-start; padding: 16px; }
    .attachment-action { display: none; }
}

@media (max-width: 460px) {
    .appointment-sidebar { display: block; }
    .appointment-sidebar a + a { border-left: 0; }
    .appointment-sidebar-title { min-height: 56px; }
}

/* ===================== 普通栏目页与正文页 ===================== */
.generic-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.page-sidebar {
    overflow: hidden;
    border: 1px solid #ecefec;
    border-radius: 8px;
    background: #f3f4f3;
}

.page-sidebar-title,
.page-sidebar a {
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 14px 26px;
}

.page-sidebar-title {
    margin: 0;
    background: var(--green);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.page-sidebar a {
    border-top: 1px solid #fff;
    color: #444;
    font-size: 17px;
    transition: background .2s, color .2s, padding-left .2s;
}

.page-sidebar a::after {
    content: "›";
    margin-left: auto;
    color: #969696;
    font-size: 24px;
}

.page-sidebar a:hover,
.page-sidebar a.is-current {
    padding-left: 30px;
    background: #e9f6ee;
    color: var(--green);
}

.page-sidebar a.is-current {
    font-weight: 600;
    box-shadow: inset 4px 0 0 var(--green);
}

.generic-content { min-width: 0; }

.content-surface {
    margin-top: 28px;
    padding: 30px 34px;
    border: 1px solid #e4ebe6;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(34, 82, 53, .06);
}

.rich-content {
    color: #475149;
    font-size: 16px;
    line-height: 1.95;
}

.rich-content p { margin: 0 0 1.1em; }
.rich-content p:last-child { margin-bottom: 0; }
.rich-content a { color: var(--green); }
.rich-content a:hover { text-decoration: underline; }

.rich-content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 5px;
}

.rich-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rich-content li {
    border-bottom: 1px solid #e6ebe7;
}

.rich-content li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 8px;
    color: #3e4941;
    transition: color .2s, background .2s;
}

.rich-content li a::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--green);
}

.rich-content li a:hover {
    padding-left: 14px;
    color: var(--green);
    background: #f6fbf8;
    text-decoration: none;
}

.rich-content li a span { margin-left: auto; color: #8b948e; font-size: 14px; }

/* ===================== 预约方式图片列表 ===================== */
.booking-image-list {
    padding: 30px;
}

.booking-image-list ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.booking-image-list li {
    min-width: 0;
}

.booking-image-list li a {
    display: block;
    overflow: hidden;
    border: 1px solid #e1e9e3;
    border-radius: 8px;
    background: #fff;
    color: #354038;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.booking-image-list li a:hover {
    border-color: var(--green);
    box-shadow: 0 10px 22px rgba(26, 153, 82, .14);
    color: var(--green);
    text-decoration: none;
    transform: translateY(-4px);
}

.booking-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f2f5f3;
}

.booking-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
    transition: transform .35s ease;
}

.booking-image-list li a:hover .booking-image img {
    transform: scale(1.05);
}

.booking-title {
    display: block;
    padding: 15px 16px 16px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
}

.article-surface { padding-top: 30px; }

.article-header {
    margin: 0 0 28px;
    padding: 0 0 20px;
    border-bottom: 1px solid #e4ebe6;
    text-align: center;
}

.article-header h1 {
    margin: 0 0 16px;
    color: #2d3c33;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.45;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 16px;
    margin: 0;
    color: #829087;
    font-size: 14px;
    line-height: 1.7;
}

.article-meta span + span::before {
    content: "|";
    margin-right: 16px;
    color: #c4cbc6;
}

.article-surface .rich-content {
    max-width: 920px;
    margin: 0 auto;
}

.article-surface .rich-content p {
    color: #3f4a42;
    font-size: 17px;
    line-height: 2;
    text-indent: 2em;
}

.article-surface .rich-content p[style*="text-align: center"] { text-indent: 0; }

@media (max-width: 992px) {
    .generic-layout { grid-template-columns: 1fr; gap: 26px; }
    .page-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-sidebar-title { grid-column: 1 / -1; min-height: 60px; font-size: 22px; }
    .page-sidebar a { min-height: 60px; padding: 13px 20px; }
    .page-sidebar a + a { border-left: 1px solid #fff; }
    .booking-image-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .content-surface { margin-top: 20px; padding: 22px 18px; }
    .rich-content { font-size: 15px; line-height: 1.85; }
    .rich-content li a { padding: 15px 4px; }
    .booking-image-list { padding: 18px; }
    .booking-image-list ul { grid-template-columns: 1fr; gap: 18px; }
    .booking-title { padding: 13px 14px 14px; font-size: 16px; }
    .article-surface { padding-top: 24px; }
    .article-header { margin-bottom: 22px; padding-bottom: 16px; }
    .article-header h1 { margin-bottom: 12px; font-size: 24px; }
    .article-meta { gap: 4px 10px; font-size: 13px; }
    .article-meta span + span::before { margin-right: 10px; }
    .article-surface .rich-content p { font-size: 16px; line-height: 1.9; }
}

@media (max-width: 460px) {
    .page-sidebar { display: block; }
    .page-sidebar a + a { border-left: 0; }
}
