body {
    padding-top: 0px;
}
#map {
    width: 100%;
    aspect-ratio: 191 / 81;
    height: auto;
    margin-top: 10rem;
}
.header {
    background: rgba(255, 255, 255, 1);
}
.return-home {
    font-weight: bold;
    font-size: 1.67rem;
    color: #10222e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.return-home:hover {
    opacity: 0.8;
}
.return-home img {
    height: 1.67rem;
}
.info-container-info {
    position: absolute;
    top: 1.66rem;
    left: 2.5rem;
    width: 20.42rem;
    display: flex;
    flex-direction: column;
    gap: 1.67rem;
    z-index: 999;
}
.stat-box {
    width: 100%;
}
.post-con{
    display: none;
    position: absolute;
    top: 1.2rem;
    left: 24.5rem;
    z-index: 999;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 600;
    font-size: 2rem;
    color: #333;
}
.post-con span{
    position: relative;
    padding-right: 2rem;
}
.post-con span::after{
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: url("../image/case/icon-post-r.png") no-repeat center center;
    background-size: 100% 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.post-con .name{
    color: #547130;
}
.post-con .name::after{
    background: none;
}
.lengend-container {
    position: absolute;
    bottom: 13rem;
    left: 2.5rem;
    z-index: 999;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 0.83rem 0.83rem 0.83rem 0.83rem;
    padding: 1rem 1.5rem 0.16rem;
    font-weight: 400;
    font-size: 1.35rem;
    color: #000000;
}
.l-title {
    font-weight: bold;
    font-size: 1.35rem;
    color: #000000;
    margin-bottom: 0.3rem;
}
.l-content{
    display: flex;
    flex-direction: column;
}
.l-content .item{
    display: flex;
    flex-direction: row;
}
.l-content .item .item-l{
    width: 15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.l-content .item .item-l::before {
    content: "";
    display: block;
    width: 1rem;
    height: 1rem;
    background: #E0F4B1;
    border: 0.08rem solid #674620;
    border-radius: 0.2rem;
}
.l-content .item:nth-child(2) .item-l::before {
    background: #B6E08E;
}
.l-content .item:nth-child(3) .item-l::before {
    background: #5DBC48;
}
.l-content .item .item-r {
    margin-bottom: 0.67rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.l-content .item .item-r::before {
    content: "";
    display: block;
    width: 1rem;
    height: 1rem;
    background: #275cbf;
    border: 0.08rem solid #ffffff;
    border-radius: 50%;
}
.l-content .item:nth-child(2) .item-r::before {
    background: #00a391;
}
.l-content .item:nth-child(3) .item-r::before {
    background: #e39326;
}
.desc{
    margin: -11.58rem 21.88rem 0.8rem;
    position: relative;
    z-index: 999;
}
.desc span {
    font-size: 1.3rem;
    color: #000; padding: 0 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.83rem; height: 2.92rem; line-height: 2.92rem; display: inline-block;
}
.row {
    width: calc(100% - 20rem);
    border-radius: 0.4rem;
    overflow: hidden;
    margin: 0.8rem 10rem 14.83rem;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
    z-index: 100;
    position: relative;
    background-color: #fff;
    padding: 2.5rem 3rem 5.42rem;
    background: linear-gradient(180deg, #efffc9 0, #ffffff 6.33rem);
}
.case-table {
    background-color: transparent;
    border-collapse: collapse;
    width: 100%;
}
.case-table thead {
    border-radius: 0px;
}
.case-table th,
.case-table td {
    padding: 1rem;
    font-weight: 500;
    font-size: 1.35rem;
    color: #0f212d;
    text-align: center;
}
.case-table th {
    height: 6.33rem;
    font-weight: bold;
    font-size: 1.33rem;
    color: #0f212d;
}
#caseTableBody tr {
    border-bottom: 0.08rem solid #cccccc;
}
.action-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
    background: url("../image/case/icon-info.png") no-repeat center center;
    background-size: cover;
    cursor: pointer;
    color:#547130;
}
.action-icon:hover {
    opacity: 0.8;
}
.layui-table tbody tr td{
    cursor: pointer !important;
}
.layui-table-view{
    border: none;
}
.layui-table-view:after{
    content: '';
    background: none;
    border: none;
}
.layui-table-view .layui-table-header{
    border-bottom: none;
}
.layui-table-view .layui-table-body{
    margin-bottom: 0;
}
.layui-table-view .layui-table{
    background: none;
}
.layui-table-view .layui-table .layui-table-cell {
    height: auto;
    line-height: normal;
    padding: 16px 15px;
}
.layui-table-view .layui-table td, .layui-table-view .layui-table th{
    border-right: none !important;
    border-color: #ccc;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 500;
    font-size: 1.4rem;
    color: #0F212D;
    background: none;
}
.layui-table-view .layui-table td:last-child, .layui-table-view .layui-table th:last-child{
    border-right: none !important;
}
.layui-table-view .layui-table th{
    font-weight: bold;
    font-size: 1.4rem;
    border-bottom: none;
}
.layui-table-view .layui-table-main .layui-table tr td:nth-child(1) div,
.layui-table-view .layui-table-main .layui-table tr td:nth-child(3) div,
.layui-table-view .layui-table-main .layui-table tr td:nth-child(4) div{
    text-align: left;
}
.layui-table-grid-down .layui-icon{
    margin: -8px 0 0 -8px;
}
.layui-table-sort[lay-sort=asc] .layui-table-sort-asc {
    border-bottom-color: #46A057;
}
.layui-table-sort[lay-sort=desc] .layui-table-sort-desc {
    border-top-color:#46A057;
}

.search-container{
    width: 42rem;
    height: 5.5rem;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 2.8rem;
    position: absolute;
    top: 4.2rem;
    right: 4rem;
    z-index: 11;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}
.search-input-wrapper{
    position: relative;
    flex: 1;
}
.search-container .search-input{
    width: 100%;
    height: 5.5rem;
    background: none;
    border: none;
    outline: none;
    font-size: 1.4rem;
}
.search-container .search-btn{
    width: 2rem;
    height: 2rem;
    border: none;
    background: url("../image/case/icon-search.png") no-repeat center center;
    background-size: cover;
    cursor: pointer;
    margin-left: 1rem;
}
.search-dropdown{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-height: 20rem;
    overflow: hidden;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 0.5rem;
    display: none;
}
.search-dropdown-item{
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1.4rem;
    border-bottom: 1px solid #f0f0f0;
}
.search-dropdown-item:hover{
    background: #f5f5f5;
}
.search-dropdown-item:last-child{
    border-bottom: none;
}
.filter-con{
    display: flex;
    align-items: center;
    height: 6rem;
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 1rem;
    margin: -11.58rem 10rem 2rem;
    padding: 0 4rem;
    position: relative;
    z-index: 100;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 500;
    font-size: 1.4rem;
    color: #0F212D;
    gap: 5rem;
}
.filter-con span{
    width: 4.2rem;
}
.filter-con .filter-select{
    flex: 1;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    border: none;
    border-bottom: 0.1rem solid #CCCCCC;;
    background: none;
    outline: none;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 500;
    font-size: 1.4rem;
    color: #46A057;
    cursor: pointer;
}
.filter-con .filter-select option{
    cursor: pointer;
}
.filter-con button{
    width: 6.5rem;
    height: 3rem;
    background: url("../image/case/reset-btn.png") no-repeat center center;
    background-size: cover;
    border: none;
    cursor: pointer;
}
/* 地图点击小弹窗 */
.case-small-tip{
    display: none;
    width: 36.4rem;
    height: 51.1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    position: absolute;
    top: 22rem;
    right: 4rem;
    z-index: 200;
}
.case-small-tip .title{
    width: 100%;
    height: 4.2rem;
    background: #45813F;
    border-radius: 1rem 1rem 0rem 0rem;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 500;
    color: #fff;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.case-small-tip .title span{
    display: block;
    width: 22rem;
    font-weight: bold;
    font-size: 1.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.case-small-tip .title span::before{
    content: '';
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    background: url("../image/case/icon-point2.png") no-repeat center center;
    background-size: cover;
    vertical-align: text-top;
    margin-right: 0.5rem;
}
.case-small-tip .title i,
.case-small-tip .title em{
    font-size: 1.4rem;
    font-style: normal;
    cursor: pointer;
}
.case-small-tip .title em{
    background: #89A64B;
    color: #F2FDE0;
    border-radius: 3px;
    padding: 0 0.8rem;
}
.case-small-tip .title i::after{
    content: '';
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    background: url("../image/case/icon-tip-b.png") no-repeat center center;
    background-size: cover;
    vertical-align: middle;
}
.case-small-tip .title b{
    width: 1.3rem;
    height: 1.3rem;
    background: url("../image/case/icon-close.png") no-repeat center center;
    background-size: cover;
    vertical-align: text-top;
    cursor: pointer;
}
.case-small-tip .con{
    width: 100%;
    height: calc(100% - 4.2rem);
    padding: 2rem 2.5rem;
}
.case-small-tip .con .banner{
    width: 100%;
    height: 17.7rem;
    position: relative;
}
.case-small-tip .con .banner img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.case-small-tip .con .banner p {
    width: 100%;
    position: absolute; /* Absolute positioning to fill container */
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.case-small-tip .con .info{
    width: 100%;
    height: calc(100% - 17.7rem);
    overflow-y: auto;
}
.case-small-tip .con .info .item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    height: 4.2rem;
    border-bottom: 0.1rem solid #999999;
    box-sizing: border-box;
}
.case-small-tip .con .info .item span{
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 1.4rem;
    color: #666666;
}
.case-small-tip .con .info .item span:nth-child(1){
    width: 9.5rem;
}
.case-small-tip .con .info .item span:nth-child(2){
    width: calc(100% - 9.5rem);
    color: #0F212D;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 地图点击大弹窗 */
.case-big-tip{
    display: none;
    width: 158.3rem;
    height: 58rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    position: absolute;
    top: 20.5rem;
    right: 4rem;
    z-index: 1000;
}
/* 标题栏 */
.case-title-bar {
    height: 4.2rem;
    line-height: 3.9rem;
    background-color: #45813F; /* Green header */
    color: #fff;
    padding: 0 4.5rem 0 2.5rem ; /* Extend full width */
    border-radius: 1rem 1rem 0rem 0rem;
}

.case-title-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.case-title-bar .title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.case-title-bar .title-wrap .icon {
    width: 2.4rem;
    height: 2.4rem;
}

.case-title-bar h1 {
    font-size: 2.2rem;
    font-weight: 500;
    margin: 0;
}

.case-title-bar .status-tag {
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.7rem;
    margin-right: 0.7rem;
}

.case-title-bar .arrow-up {
    display: inline-block;
    width: 1.4rem;
    height: 1.5rem;
    background: url("../image/case/icon-tip-s.png") no-repeat center center;
    background-size: cover;
    background-size: cover;
    vertical-align: inherit;
    margin-top: 1.4rem;
}
.case-title-bar .status-tag em{
    line-height: normal;
    font-style: normal;
    background: #89A64B;
    color: #F2FDE0;
    border-radius: 3px;
    padding: 0 0.8rem;
}
.case-title-bar .closeTip {
    width: 1.4rem;
    height: 1.4rem;
    background: url("../image/case/icon-close.png") no-repeat center center;
    background-size: cover;
    vertical-align: text-top;
    margin-left: 0.3rem;
    position: absolute;
    right: -2.2rem;
    cursor: pointer;
}

/* 顶部信息区：左图右文 */
.case-top-section {
    display: flex;
    height: calc(100% - 4.2rem);
    gap: 2rem;
    align-items: stretch;
    padding: 1.2rem 2.5rem;
}

/* 左侧轮播图 */
.case-gallery {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    background: #fff;
    min-height: auto;
    display: flex;
    flex-direction: column;
}

.gallery-viewport {
    width: 100%;
    flex: 1; /* Take remaining height */
    overflow: hidden;
    position: relative;
}

.gallery-viewport img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute; /* Absolute positioning to fill container */
    top: 0;
    left: 0;
}
.gallery-viewport p {
    width: 100%;
    object-fit: cover;
    display: block;
    position: absolute; /* Absolute positioning to fill container */
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-controls {
    position: relative; /* Not absolute anymore */
    bottom: auto;
    left: auto;
    right: auto;
    display: flex;
    justify-content: space-between; /* Arrow on sides */
    align-items: center;
    padding: 1rem 2rem;
    margin-top: 0;
    flex-shrink: 0; /* Don't shrink */
    height: 4.5rem; /* Fixed height for controls */
}

.gallery-controls button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 1;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.gallery-controls button:hover {
    opacity: 0.8;
}

.gallery-controls button img {
    height: 1.6rem; /* Smaller arrows */
    width: auto;
}

.gallery-controls .dots {
    display: flex;
    gap: 1.2rem;
}

.gallery-controls .dots span {
    width: 1.2rem;
    height: 1.2rem;
    background-color: #D8D8D8; /* Grey inactive */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-controls .dots span.active {
    background-color: #88B04B; /* Green active */
}

/* 右侧信息卡片 */
.case-info-card {
    flex: 0.8;
    display: flex;
    flex-direction: column;
}

.case-info-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
}

.case-info-card .card-header h2 {
    font-size: 1.8rem;
    color: #45813F;
    font-weight: bold;
    margin: 0;
}

.case-info-card .card-header .view-map {
    font-size: 1.4rem;
    color: #4a7c59;
    text-decoration: none;
    font-weight: 500;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    padding-right: 1rem;
}

.info-item {
    width: 100%;
    border-bottom: 0.1rem solid #999999;
}

.info-item label {
    font-size: 1.4rem;
    color: #888;
    margin-bottom: 0.4rem;
    display: block;
}

.info-item .content {
    font-size: 1.6rem;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    font-family: Source Han Sans CN, Source Han Sans CN;
}
.info-item textarea.content {
    width: 100%;
    background: none;
    border: none;
    min-height: 13rem;
    resize: none;
    outline: none;
    font-family: Source Han Sans CN, Source Han Sans CN;
}
.laytable-cell-1-0-0,laytable-cell-1-0-2,laytable-cell-1-0-3{
    min-width: 150px !important;
}
.layui-table-cell{
    overflow: initial;
    text-overflow: initial;
    white-space: normal;
    word-break: break-all;
}
@media (min-width: 1600px) and (max-width: 1919px) {

}
@media (min-width: 1440px) and (max-width: 1599px) {
    #map {
        aspect-ratio: 176 / 81;
    }
}
@media (min-width: 1366px) and (max-width: 1439px) {

}
@media (min-width: 1280px) and (max-width: 1365px) {
    #map {
        aspect-ratio: 188 / 81;
    }
}
@media (max-width: 1279px) {
    #map {
        aspect-ratio: 168 / 81;
    }
}