/* 璟卓律师事务所H5模板自定义样式 */

/* 分页样式 */
.atf-pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.atf-pagination .pagination {
    display: inline-flex;
    padding-left: 0;
    margin: 0;
    border-radius: 0.25rem;
}

.atf-pagination .pagination .page-item {
    margin: 0 5px;
}

.atf-pagination .pagination .page-link {
    position: relative;
    display: block;
    padding: 8px 15px;
    margin-left: -1px;
    line-height: 1.25;
    color: #f76f30;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.atf-pagination .pagination .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #f76f30;
    border-color: #f76f30;
}

.atf-pagination .pagination .page-item:hover .page-link {
    color: #fff;
    background-color: #f76f30;
    border-color: #f76f30;
}

/* 子栏目样式 */
.atf-subcategory-item {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: all 0.3s ease;
    height: 100%;
}

.atf-subcategory-item:hover {
    background-color: #f76f30;
    transform: translateY(-5px);
}

.atf-subcategory-item:hover h4,
.atf-subcategory-item:hover p,
.atf-subcategory-item:hover .atf-subcategory-icon i {
    color: #fff;
}

.atf-subcategory-item a {
    text-decoration: none;
    color: inherit;
}

.atf-subcategory-icon {
    font-size: 30px;
    margin-bottom: 15px;
    color: #f76f30;
}

.atf-subcategory-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1e1e1e;
    transition: all 0.3s ease;
}

.atf-subcategory-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

/* 联系方式部件样式 */
.atf-contact-widget {
    padding: 0;
}

.atf-contact-widget-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.atf-contact-widget-item .icon {
    width: 40px;
    height: 40px;
    background-color: #f76f30;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 15px;
}

.atf-contact-widget-item .content h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.atf-contact-widget-item .content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* 博客水平布局样式 */
.atf-single-blog.horizontal {
    margin-bottom: 30px;
}

.atf-single-blog.horizontal .atf-blog-img {
    height: 220px;
    overflow: hidden;
}

.atf-single-blog.horizontal .atf-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 律师详情和案例详情样式 */
.atf-attorney-detail,
.atf-case-detail {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
}

.atf-attorney-detail h4,
.atf-case-detail h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1e1e1e;
}

.atf-attorney-detail ul,
.atf-case-detail ul {
    padding-left: 0;
    list-style: none;
}

.atf-attorney-detail ul li,
.atf-case-detail ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.atf-attorney-detail ul li:last-child,
.atf-case-detail ul li:last-child {
    border-bottom: none;
}

.atf-attorney-detail ul li strong,
.atf-case-detail ul li strong {
    margin-right: 10px;
    color: #1e1e1e;
}

/* 搜索结果页样式 */
.atf-search-result-form {
    position: relative;
}

.atf-search-box {
    position: relative;
}

.atf-search-box input {
    width: 100%;
    height: 50px;
    padding: 10px 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    padding-right: 50px;
}

.atf-search-box button {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
    width: 50px;
    background-color: #f76f30;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
}

.atf-no-results {
    background-color: #f9f9f9;
    border-radius: 5px;
    color: #666;
}

.atf-no-results i {
    color: #f76f30;
}

/* 语言下拉菜单样式 */
.language-dropdown {
    min-width: 100px;
    padding: 5px 0;
    margin-top: 10px;
}

.language-dropdown li {
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.language-dropdown li:hover {
    background-color: #f9f9f9;
}

.language-dropdown li.active a {
    color: #f76f30;
} 