@CHARSET "UTF-8";

/* ========================================
   律师网站全局样式
   ======================================== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #fff;
    color: #1f2329;
    line-height: 1.6;
    padding-top: 64px;
}

body.body-white {
    background: #fff;
}

/* Navbar Base */
.navbar-fixed-top, .navbar-fixed-bottom {
    position: fixed;
}

.navbar-fixed-top {
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* ========================================
   共享组件样式（导航、页头、区块、卡片、页脚等）
   ======================================== */

/* Body */
.lw-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #fff;
    color: #1f2329;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.lw-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    height: 64px;
    padding: 0;
    margin: 0;
}

.lw-brand {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 15px;
    color: #1f2329 !important;
    font-weight: 600;
    font-size: 18px;
}

.lw-brand-icon {
    font-size: 24px;
    margin-right: 8px;
    color: #3370ff;
}

.lw-brand-text {
    letter-spacing: -0.5px;
}

.lw-nav {
    margin-left: 40px;
}

.lw-nav > li > a {
    color: #646a73;
    font-size: 14px;
    font-weight: 500;
    padding: 20px 16px;
    transition: color 0.2s;
}

.lw-nav > li > a:hover {
    color: #1f2329;
    background: transparent;
}

.lw-nav-right {
    margin-right: 0;
}

.lw-cta-btn {
    background: #2d5a87 !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 8px 20px !important;
    margin-top: 12px;
    font-weight: 500;
    font-size: 14px !important;
    transition: all 0.2s;
}

.lw-cta-btn:hover {
    background: #3a6a9a !important;
    color: #fff !important;
}

/* Page Header */
.lw-page-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    padding: 100px 0 60px;
}

.lw-breadcrumb {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 16px;
}

.lw-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.lw-breadcrumb span {
    margin: 0 8px;
}

.lw-page-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

/* Sections */
.lw-section {
    padding: 80px 0;
}

.lw-section-gray {
    background: #f8f9fc;
}

.lw-section-dark {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
}

.lw-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.lw-section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1f2329;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.lw-section-dark .lw-section-title {
    color: #fff;
}

.lw-section-desc {
    font-size: 16px;
    color: #646a73;
}

.lw-section-dark .lw-section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.lw-section-more {
    text-align: center;
    margin-top: 40px;
}

/* Grid */
.lw-grid {
    display: grid;
    gap: 24px;
}

.lw-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.lw-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.lw-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Cards */
.lw-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #eff0f5;
    transition: all 0.25s;
}

.lw-card:hover {
    border-color: #d5d8e3;
    box-shadow: 0 8px 24px rgba(31, 35, 41, 0.08);
    transform: translateY(-2px);
}

/* Team Cards */
.lw-card-team {
    text-align: center;
}

.lw-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid #e8eef8;
}

.lw-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lw-avatar i {
    font-size: 40px;
    color: #3370ff;
}

.lw-team-name {
    font-size: 17px;
    font-weight: 600;
    color: #1f2329;
    margin-bottom: 4px;
}

.lw-team-title {
    font-size: 14px;
    color: #3370ff;
    font-weight: 500;
    margin-bottom: 8px;
}

.lw-team-exp {
    font-size: 13px;
    color: #8f959e;
    margin-bottom: 16px;
}

.lw-team-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.lw-team-tags span {
    background: #f4f5f9;
    color: #646a73;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

/* Buttons */
.lw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.lw-btn-primary {
    background: #fff;
    color: #1e3a5f;
}

.lw-btn-primary:hover {
    background: #f5f5f5;
    color: #1e3a5f;
    text-decoration: none;
}

.lw-btn-outline {
    background: transparent;
    color: #3370ff;
    border: 1px solid #3370ff;
}

.lw-btn-outline:hover {
    background: #3370ff;
    color: #fff;
    text-decoration: none;
}

/* Footer */
.lw-footer {
    background: #0d1117;
    color: #8b949e;
    padding: 60px 0 30px;
}

.lw-footer-main {
    padding-bottom: 40px;
    border-bottom: 1px solid #21262d;
}

.lw-footer-brand {
    margin-bottom: 20px;
}

.lw-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.lw-footer-logo .lw-brand-icon {
    font-size: 24px;
    color: #3370ff;
}

.lw-footer-desc {
    font-size: 14px;
    line-height: 1.7;
}

.lw-footer-links h5,
.lw-footer-contact h5 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.lw-footer-links ul,
.lw-footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lw-footer-links li,
.lw-footer-contact li {
    margin-bottom: 12px;
}

.lw-footer-links a {
    color: #8b949e;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.lw-footer-links a:hover {
    color: #3370ff;
}

.lw-footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.lw-contact-icon {
    width: 20px;
    text-align: center;
}

.lw-footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.lw-footer-bottom p {
    font-size: 13px;
    margin: 0;
}

.lw-footer-bottom a {
    color: #8b949e;
    text-decoration: none;
    margin-right: 16px;
}

.lw-footer-bottom a:hover {
    color: #3370ff;
}

/* Team Leader Card (homepage) */
.lw-card-team-leader {
    text-decoration: none;
    border-color: #c8d8f0;
    background: linear-gradient(to bottom, #f8faff, #fff);
}

.lw-card-team-leader:hover {
    border-color: #2d5a87;
    box-shadow: 0 8px 24px rgba(45, 90, 135, 0.12);
}

.lw-card-team-leader .lw-avatar {
    border-color: #2d5a87;
    background: #e8f0ff;
}

.lw-team-link {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #2d5a87;
    font-weight: 500;
}

/* Placeholder Cards */
.lw-card-placeholder {
    opacity: 0.65;
}

.lw-card-placeholder .lw-avatar {
    background: #e8eef8;
    border-style: dashed;
}

.lw-card-placeholder .lw-avatar i {
    font-size: 40px;
    color: #b0b8c8;
}

.lw-card-placeholder .lw-team-exp {
    color: #b0b8c8;
    font-style: italic;
}

/* Responsive - shared */
@media (max-width: 1200px) {
    .lw-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .lw-grid-5,
    .lw-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .lw-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .lw-page-header {
        padding: 80px 0 40px;
    }
    .lw-page-title {
        font-size: 26px;
    }
    .lw-section {
        padding: 60px 0;
    }
    .lw-section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .lw-page-header {
        padding: 70px 0 30px;
    }
    .lw-page-title {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .lw-grid-5,
    .lw-grid-4,
    .lw-grid-3 {
        grid-template-columns: 1fr;
    }
    .lw-page-header {
        padding: 70px 0 30px;
    }
    .lw-page-title {
        font-size: 22px;
    }
    .lw-card {
        padding: 20px;
    }
    .lw-footer {
        padding: 40px 0 20px;
    }
}

/* Back to top */
#backtotop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 8px;
    display: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    z-index: 999;
}

#backtotop:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: #3370ff;
}

#backtotop:hover i {
    color: #fff;
}

#backtotop i {
    font-size: 18px;
    color: #3370ff;
    transition: color 0.2s;
}

/* ========================================
   兼容旧版ThinkCMF组件样式
   ======================================== */

.tc-main {
    margin-top: 20px;
}

.tc-box {
    background: #fff;
    padding: 5px 10px;
    margin: 0 0 10px 0;
}

.body-white .tc-box {
    border: solid 1px #eee;
}

.tc-box.first-box {
    margin: 0 0 10px 0;
}

.tc-box.article-box {
    padding: 5px 20px;
}

.tc-gridbox-container {
    width: 25%;
    float: left;
}

.tc-gridbox {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border: solid 1px #eee;
    background: #fff;
    cursor: pointer;
    margin: 0 10px 20px 10px;
}

.tc-gridbox:hover {
    -webkit-box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
    -moz-box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
    box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
}

.tc-gridbox a {
    text-decoration: none;
}

@media (min-width: 768px) and (max-width: 979px) {
    .tc-gridbox {
        display: block;
        float: none;
        width: 95%;
    }
}

@media (max-width: 979px) {
    .tc-gridbox-container {
        display: block;
        float: none;
        width: 100%;
    }
    .tc-gridbox {
        margin: 0 0 10px 0;
    }
}

.tc-gridbox .header {
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    text-align: center;
    background: #fff;
}

.tc-gridbox .footer {
    padding: 5px 14px 5px 14px;
    text-align: right;
    background: #fff;
}

.tc-gridbox .header .item-image {
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
}

.tc-gridbox .header img {
    margin-bottom: 5px;
    width: 100%;
}

.tc-gridbox .header h3 {
    color: #454a4e;
    margin: 0 5px;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 24px;
}

.tc-gridbox .header h3 a,
.tc-gridbox .header h3 a:focus,
.tc-gridbox .header h3 a:hover {
    color: #454a4e;
    white-space: nowrap;
}

.tc-gridbox .header .meta {
    color: #5a6065;
}

.tc-gridbox .header hr {
    border-top-color: #eee;
    border-bottom: none;
    margin: 5px 0;
}

.tc-gridbox .body {
    padding-right: 14px;
    padding-left: 14px;
    margin-bottom: 14px;
    color: #343a3f;
}

.tc-gridbox .body a {
    color: #666;
}

.tc-gridbox .body a:hover {
    color: #428bca;
}

.tc-gridbox .btn {
    float: right;
    margin-right: 10px;
    margin-bottom: 18px;
}

/* Masonry */
.masonary-container .item {
    margin-bottom: 20px;
}

.masonary-container .item h3 {
    line-height: 100%;
}

.masonary-container .grid-sizer, .masonary-container .item {
    width: 24.9%;
    margin: 10px 0.05%;
    float: left;
    zoom: 1;
}

@media (max-width: 479px) {
    .masonary-container .grid-sizer, .masonary-container .item {
        width: 98%;
        margin: 10px 1%;
        float: left;
        zoom: 1;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .masonary-container .grid-sizer, .masonary-container .item {
        width: 48%;
        margin: 10px 1%;
        float: left;
        zoom: 1;
    }
}

/* List Boxes */
.list-boxes {
    overflow: hidden;
    padding: 15px 20px;
    margin-bottom: 25px;
    background: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    word-wrap: break-word;
    word-break: break-all;
    border: solid 1px #eee;
}

.list-boxes:hover {
    border: solid 1px #ddd;
}

.list-boxes h2 a {
    color: #555;
}

.list-boxes:hover h2 a {
    color: #f90;
}

.list-boxes .list-actions a {
    font-size: 16px;
    text-decoration: none;
}

.list-boxes p a {
    color: #72c02c;
}

.list-boxes .list-boxes-img li i {
    color: #72c02c;
    font-size: 12px;
    margin-right: 5px;
}

.list-boxes .list-boxes-img img {
    display: block;
    margin: 5px 10px 10px 0;
}

.list-boxes h2 {
    margin-top: 0;
    font-size: 20px;
    line-height: 20px;
}

.list-boxes ul.list-boxes-rating li {
    display: inline;
}

.list-boxes ul.list-boxes-rating li i {
    color: #f8be2c;
    cursor: pointer;
    font-size: 16px;
}

.list-boxes ul.list-boxes-rating li i:hover {
    color: #f8be2c;
}

/* Colored Boxes */
.list-boxes-colored p,
.list-boxes-colored h2 a,
.list-boxes-colored .list-boxes-img li,
.list-boxes-colored .list-boxes-img li i {
    color: #fff;
}

.list-boxes-red {
    background: #e74c3c;
}

.list-boxes-blue {
    background: #3498db;
}

.list-boxes-grey {
    background: #95a5a6;
}

.list-boxes-sea {
    background: #1abc9c;
}

.list-boxes-top-sea {
    border-top: solid 2px #1abc9c;
}

.list-boxes-top-sea:hover {
    border-top-color: #16a085;
}

.list-boxes-top-yellow {
    border-top: solid 2px #f1c40f;
}

.list-boxes-top-yellow:hover {
    border-top-color: #f39c12;
}

.list-boxes-left-orange {
    border-left: solid 2px #e67e22;
}

.list-boxes-left-orange:hover {
    border-left-color: #d35400;
}

.list-boxes-left-green {
    border-left: solid 2px #72c02c;
}

.list-boxes-left-green:hover {
    border-left-color: #5fb611;
}

.list-boxes-right-u {
    border-right: solid 2px #72c02c;
}

.list-boxes-right-u:hover {
    border-right-color: #5fb611;
}

/* Comments */
.comment {
    margin-bottom: 10px;
}

.comment .avatar {
    height: 40px;
    width: 40px;
}

.comment-body {
    overflow: hidden;
}

.comment-content {
    padding-bottom: 2px;
    word-break: break-all;
    word-wrap: break-word;
}

.comment > .pull-left {
    margin-right: 10px;
}

.comment .time {
    color: #ccc;
    font-size: 12px;
    line-height: 14px;
}

.comment-postbox {
    width: 100%;
    padding: 10px;
}

.comment-reply-box {
    position: relative;
}

.comment-reply-box .textbox {
    width: 100%
}

.comment-reply-submit .btn {
    margin-top: 20px;
}

/* Ranking */
.ranking ul li {
    padding: 5px 0;
    height: 36px;
    line-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px dashed #f0f0f0;
}

.ranking ul.unstyled li i {
    margin-right: 5px;
}

.ranking li i {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-right: 15px;
    font-style: normal;
    font-weight: bold;
    color: #FFF;
    text-align: center;
    vertical-align: middle;
    background-color: #aaa;
}

.ranking li.top3 i {
    background: #FC9B0B;
}

/* Comment ranking */
.comment-ranking .comment-ranking-inner {
    padding: 10px;
    background: #f7f7f7;
    position: relative;
    margin-bottom: 10px;
}

.comment-ranking .comment-ranking-inner,
.comment-ranking .comment-ranking-inner:after,
.comment-ranking .comment-ranking-inner:before {
    transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

.comment-ranking .comment-ranking-inner:after,
.comment-ranking .comment-ranking-inner:before {
    width: 0;
    height: 0;
    right: 0px;
    bottom: 0px;
    content: " ";
    display: block;
    position: absolute;
}

.comment-ranking .comment-ranking-inner:after {
    border-top: 15px solid #eee;
    border-right: 15px solid transparent;
    border-left: 0px solid transparent;
    border-left-style: inset;
    border-right-style: inset;
}

.comment-ranking .comment-ranking-inner:before {
    border-bottom: 15px solid #fff;
    border-right: 0 solid transparent;
    border-left: 15px solid transparent;
    border-left-style: inset;
    border-bottom-style: inset;
}

.comment-ranking .comment-ranking-inner:hover {
    border-color: #FC9B0B;
    border-top-color: #FC9B0B;
    background: #f0f0f0;
}

.comment-ranking .comment-ranking-inner:hover:after {
    border-top-color: #FC9B0B;
}

.comment-ranking .comment-ranking-inner span.comment-time {
    color: #777;
    display: block;
    font-size: 11px;
}

.comment-ranking .comment-ranking-inner a {
    text-decoration: none;
}

.comment-ranking .comment-ranking-inner a:hover {
    text-decoration: underline;
}

.comment-ranking .comment-ranking-inner i.fa {
    top: 2px;
    color: #bbb;
    font-size: 18px;
    position: relative;
}

/* Photos */
ul.tc-photos {
    margin: 0;
}

.tc-photos li {
    display: inline;
}

.tc-photos li a {
    text-decoration: none;
}

.tc-photos li img {
    opacity: 0.6;
    width: 50px;
    height: 50px;
    margin: 0 2px 8px;
    border: 1px solid #ddd;
}

.tc-photos li img:hover {
    opacity: 1;
    border: 1px solid #f90;
}

/* Posts */
.posts .dl-horizontal {
    margin-bottom: 15px;
    overflow: hidden;
}

.posts .dl-horizontal dt {
    width: 60px;
    float: left;
}

.posts .dl-horizontal dt .img-wraper {
    display: block;
    width: 55px;
    height: 55px;
    padding: 1px;
    margin-top: 2px;
    border: solid 1px #ddd;
}

.posts .dl-horizontal dt img {
    width: 100%;
    height: 100%;
}

.posts .dl-horizontal dd {
    margin-left: 70px;
}

.posts .dl-horizontal dd p {
    margin: 0;
}

.posts .dl-horizontal dd a {
    font-size: 14px;
    line-height: 16px !important;
}

.posts .dl-horizontal dd a:hover {
    text-decoration: none;
}

.posts .dl-horizontal:hover dt img,
.posts .dl-horizontal:hover dd a {
    color: #FC9B0B;
    border-color: #FC9B0B !important;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
