html, body {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f5f5f5;
}
#app{
    background: #f3f3f3;
}

.immigration-banner {
    width: 100%;
    height: 315px;
    position: relative;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-size: 72px;
    color: #002768;
    text-align: center;
}

/* Content Section Styles */
.content-section-list {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 60px;
    margin-bottom: 160px;
}

/* Search Section Styles */
.search-section {
    padding: 0 70px;
    padding-bottom: 60px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-label {
    font-size: 14px;
    color: #333333;
    white-space: nowrap;
}

.search-input {
    width: 210px;
    height: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    background-color: #ffffff;
    padding: 0 10px;
    font-size: 14px;
}


.search-input:focus {
    outline: none;
    border-color: #e0e0e0;
}

.search-buttons {
    display: flex;
    gap: 10px;
}

.btn-search {
    width: 68px;
    height: 30px;
    border: 1px solid #002768;
    border-radius: 5px;
    background-color: #002768;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background-color: #002768;
}

.btn-reset {
    width: 68px;
    height: 30px;
    border: 1px solid #002768;
    border-radius: 5px;
    background-color: #ffffff;
    color: #002768;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background-color: #ffffff;
}

/* Case List Section Styles */
.case-list-section {
}

.case-header {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
    padding-left: 30px;
}

.list-inline-item{
    text-decoration: none;
}


.precedent-title {
   font-size: 18px;
   color: #002768;
   margin-right: 20px;
   text-decoration: none;
}
.precedent-title:hover{
    text-decoration: none;
}
.precedent-title:focus{
    text-decoration: none;
    border: none;
}
.precedent-text:hover{
    text-decoration: none;
}
.precedent-title.active .precedent-text {
    color: #be133d;
    border-bottom: 2px solid #be133d;
    padding: 0 2px;
}

.precedent-text {
    font-size: 18px;
    color: #002768;
    transition: all 0.1s ease;
    cursor: pointer;
}

.case-items {
    min-height: 200px;
    /* border-top: 1px solid #e0e0e0; */
}
/* 123 */

/*  */
.news-ui-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-ui-item {
    display: flex;
    align-items: center;
    border-radius: 0;
    height: 146px;
    border-bottom: 1px solid #e7e7e7;
    padding: 30px 25px;
    margin-bottom: 0;
    position: relative;
    cursor: pointer;
  }
  
  .news-ui-item:nth-child(n+5) {
    border-bottom: none;
  }
  .news-ui-date {
    /* width: 78px; */
    height: 90px;
    border: 1.5px solid #002768;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /* margin-left: 25px; */
    margin-right: 32px;
    margin-top: 0;
    margin-bottom: 0;
    background: #fff;
    padding-left: 12px;
    padding-right: 12px;
  }
  .news-ui-date-month {
    width: 25px;
    height: 3px;
    background: #002768;
    margin-top: 8px;
  }
  
  .news-ui-date-day {
    font-size: 18px;
    color: #002768;
    line-height: 1.1;
    font-weight: 600;
  
  }
  
  .news-ui-date-year {
    font-size: 16px;
    color: #566890;
    margin-top: 8px;
  }

  .news-ui-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 110%;
    min-width: 0;
  }

  .news-ui-content-title {
    font-size: 18px;
    color: #002768;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }

  .news-ui-content-desc {
    font-size: 16px;
    color: #666666;
    /* margin-bottom: 10px; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }

  /* Case List Section Styles */
.case-list-section {
    position: relative;
}

/* Pagination Section Styles */
.pagination-section {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    text-align: center;
    margin: 32px 0 0 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-size: 18px;
    cursor: pointer;
    font-weight: normal;
}

.page-item:hover {
    border-color: #002768;
    color: #002768;
}

.page-item.active {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #002768;
    color: #002768;
    font-weight: bold;
}

.page-ellipsis {
    color: #333333;
    font-size: 14px;
    padding: 0 4px;
    pointer-events: none;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 全局A标签样式 - 去除所有下划线和边框 */
a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

a:hover {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

a:focus {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

a:active {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

a:visited {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* 确保按钮样式的A标签也不显示下划线和边框 */
.btn, .btn:hover, .btn:focus, .btn:active {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}


/* Loading Styles */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(255, 255, 255, 0.8); */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 4px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #002768;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.loading-text {
    font-size: 14px;
    color: #002768;
    font-weight: 500;
}

.loading-content {
    opacity: 0.6;
    pointer-events: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ====== 移动端响应式适配 ====== */
@media (max-width: 1200px) {
    body{
        height: 100vh;
    }
    /* 头部 */
    .immigration-banner{
        height: 4rem;
        border-top: 1px solid #e0e0e0;
        background: #ffffff;
    }
    .banner-img{
        display: none;
    }
    .banner-title{
        font-size: 1.227rem;
        color: #333333;
    }
    /* 内容 */
    .content-section-list{
        margin-top: 20px;
        padding: 0 1.333rem;
        background: #ffffff;
    }
    /* 搜索 */
    .search-section{
        padding: 0;
        padding-top: 2.6rem;
    }
    .search-form{
        gap: 10px;
    }
    .search-input{
        width: 8.067rem;
        font-size: 12px;
    }
    .btn-search{
        width: 4rem;
        height: 1.860rem;
        font-size: 0.853rem;
    }
    .btn-reset{
        width: 4rem;
        height: 1.860rem;
        font-size: 0.853rem;
    }
    .case-header{
        padding-left: 10px;
        margin-bottom: 15px;
    }

    /* 列表 */
    .case-list-section{
        margin-top: 20px;
    }
    .precedent-text{
        font-size: 1.120rem;
    }
    .news-ui-item{
        padding: 0.8rem 1.467rem;
        height: auto;
    }
    .news-ui-content{
        height: auto;
    }
    .news-ui-date{
        height: auto;
        margin-right: 0.933rem;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }
    .news-ui-date-day{
        font-size: 0.960rem;
    }
    .news-ui-date-month{
        margin-top: 4px;
    }
    .news-ui-date-year{
        margin-top: 4px;
        color: #002768;
        font-size: 0.8rem;
    }
    .news-ui-content-title{
        font-size: 0.960rem;
    }
    .news-ui-content-desc{
        font-size: 0.640rem;
        margin-top: 20px;
    }

    /* 分页 */
    .pagination-section{
        margin: 20px 0;
        /* padding: 0 1.333rem; */
    }
    .pagination{
        gap: 16px;
    }
    .page-item{
        font-size: 14px;
    }
    .page-item.active{
        border: none;
    }
    
}