/* lecture.css */

body {
	font: 16px 'Source Han Sans CN', 'Microsoft Yahei', 'Arial', sans-serif;
	color: #000;
	line-height: 1.5;
	letter-spacing: 0.8px;
	background-color: rgba(249, 249, 249, 1);
}
        
.banner {
    /* margin-top: 50px; */
    max-width: 2560px;
    margin-left: auto;
    margin-right: auto;
    /* height: 525px; */
    background: url('../img/jiangzuobanner.png') no-repeat center center;
    background-size: cover;
    position: relative;
}
        
.banner .overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
        
.banner-content {
    width: 1560px;
    padding: 0 20px;
}
        
.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #333;
}
        
.banner-content p {
    line-height: 1.8;
    color: #666;
}
        
.container {
    max-width: 1560px;
    margin: 40px auto;
    margin: 0 auto;
}

/* 当屏幕宽度小于等于1560px时，container最大宽度为1560px，两边留20px间距 */
@media (max-width: 1560px) {
    .container {
        max-width: 1560px;
        padding: 0 20px;
    }
}
        
        
.breadcrumb {
    margin-bottom: 20px;
    color: #999;
}
        
.case-filter {
    margin-bottom: 20px;
}
        
.case-filter a {
    margin-right: 15px;
    color: #666;
}
        
.case-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
        
.case-item {
    width: 31%;
    background-color: #fff;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}
        
.case-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
        
.case-item .date {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}
        
.case-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}
        
.case-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
        
.pagination {
    text-align: center;
    margin-top: 20px;
}
        
.pagination a {
    margin: 0 5px;
    color: #666;
}
        

.banner-title {
    font-size: 48px;
    color: #CC9522;
    margin-bottom: 40px;
    font-weight: bold;
}
        
.banner-btn {
    padding: 12px 64px;
    background-color: #CC9522;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    border-radius: 100px;
    font-weight: 600;


}

/* 律师列表样式 - 采用主流响应式网格布局 */
.lawyer-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: start;
}

.lawyer-item {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
    background: #fff;
    cursor: pointer;
}

.lawyer-avatar {
    border-radius: 0;
    width: 100%;
    height: 240px;
     /* object-fit: cover; */
    transition: transform 0.4s ease;
    will-change: transform;
}

.lawyer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 悬浮动效：卡片上浮、阴影增强，图片放大 */
.lawyer-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.lawyer-item:hover .lawyer-avatar {
    transform: scale(1.05);
}

.lawyer-info img {
    height: 240px;
}

.lawyer-name {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
   
}
.redText{
 color: #CC9522;
}

.lawyer-location {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 8px;
}

.lawyer-business {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    flex: 1;
}

.lawyer-info-padding {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.date-display {
    margin-top: auto;
    padding-top: 12px;
    font-size: 13px;
    color: #999;
}

/* PC端大屏幕适配 (>1200px) */
@media (min-width: 1200px) {
    .lawyer-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        /* max-width: 1200px; */ /* 移除最大宽度限制，让其撑满容器 */
        margin: 0 auto;
    }
    
    .lawyer-item {
        max-width: none;
    }
}

/* 标准桌面适配 (1024px-1200px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .lawyer-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .lawyer-item {
        max-width: none;
    }
}

/* 平板端适配 (768px-1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .lawyer-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 10px;
    }
    
    .lawyer-item {
        max-width: none;
    }
    
    .lawyer-avatar,
    .lawyer-info img {
        height: 200px;
    }
    
    .lawyer-name {
        font-size: 17px;
    }
    
    .lawyer-business {
        font-size: 13px;
    }
}

/* 移动端适配 (480px-768px) */
@media (min-width: 480px) and (max-width: 767px) {
    .lawyer-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .lawyer-item {
        margin: 0 auto; /* 居中显示 */
    }
    
    .lawyer-avatar,
    .lawyer-info img {
        height: 240px; /* 固定高度240px */
         /* object-fit: cover; */ /* 保持宽高比 */
    }
    
    .lawyer-name {
        font-size: 16px;
    }
    
    .lawyer-business {
        font-size: 13px;
    }
    
    .lawyer-info-padding {
        padding: 16px;
    }
}

/* 小屏手机适配 (<480px) */
@media (max-width: 479px) {
    .lawyer-list {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }
    
    .lawyer-item {
        margin: 0 auto; /* 居中显示 */
        border-radius: 8px;
    }
    
    .lawyer-avatar,
    .lawyer-info img {
        height: 240px; /* 固定高度240px */
         /* object-fit: cover; */ /* 保持宽高比 */
    }
    
    .lawyer-name {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .lawyer-business {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .lawyer-info-padding {
        padding: 14px;
    }
    
    .date-display {
        font-size: 12px;
        padding-top: 8px;
    }
}
/* 公共的面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 20px 0;
    font-size: 18px;
    padding-top: 30px; /* 默认顶部间距 */
    color: #CC9522;
}

@media (max-width: 1024px) {
    .breadcrumb {
        padding-top: 110px; /* 再次调整面包屑顶部间距，确保不被遮挡 */
        margin-bottom: 20px; /* 确保面包屑底部有足够间距 */
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding-top: 100px; /* 移动端面包屑顶部间距 */
        margin-bottom: 15px; /* 移动端面包屑底部间距 */
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding-top: 90px; /* 小屏手机面包屑顶部间距 */
        margin-bottom: 10px; /* 小屏手机面包屑底部间距 */
    }
}

.breadcrumb .home-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 16px;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #CC9522;
}

.breadcrumb .current {
    color: #CC9522;
}

.breadcrumb a {
    display: flex;
    align-items: center;
    color: #CC9522;
}

.breadcrumb a:hover {
    opacity: 0.8;
}
.center-pagination {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 6px;
    padding: 40px 0 0 0;
    font-size: 32px;
    background: transparent;
    user-select: none;
}
.center-pagination .arrow {
    width: 29px;
    object-fit: contain;
    vertical-align: middle;
}
.center-pagination .arrow.right {
    filter: invert(18%) sepia(98%) saturate(7492%) hue-rotate(-7deg) brightness(97%) contrast(119%);
}
.center-pagination .page {
    color: rgba(18, 18, 18, 1);
    text-decoration: none;
    padding: 0 8px;
    font-size: 16px;
    position: relative;
    transition: color 0.2s;
    line-height: 21px;
}
.center-pagination .page.active {
    color:#CC9522;
}
.center-pagination .page.active::after {
    content: '';
    display: block;
    margin: 0 auto;
    margin-top: 2px;
    width: 9px;
    height: 1px;
    background: #CC9522;
    border-radius: 2px;
}
.center-pagination .page:hover:not(.active) {
    color: #CC9522;
}
.banner-subTitle{
    margin-bottom: 15px;
}

/* 响应式设计 - 整合到上面的网格布局中 */
@media (max-width: 1024px) {
    .banner-title {
        font-size: 42px;
    }
    
    .banner-content h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .banner-content {
        padding: 0 20px;
    }
    
    .breadcrumb {
        padding: 15px 0;
        font-size: 16px;
    }
    
    .center-pagination {
        padding: 30px 0 0 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 300px;
    }
    
    .banner-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-btn {
        padding: 8px 32px;
        font-size: 16px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .banner-content {
        padding: 0 20px;
    }
    
    .breadcrumb {
        padding: 15px 0;
        font-size: 16px;
    }
    
    .center-pagination {
        padding: 30px 0 0 0;
        justify-content: center;
    }
}

/* 超小屏幕适配 */
@media (max-width: 360px) {
    .banner-title {
        font-size: 24px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-btn {
        padding: 6px 24px;
        font-size: 14px;
    }
}


