/* linyi-disputes.css */

/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 15px 0 0;
    margin-bottom: 20px;
}

.nav-menu a {
    color: #777;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1e6bd6;
    border-bottom: 2px solid #1e6bd6;
    padding-bottom: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a5bb0, #1e6bd6);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.hero p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero a {
    display: inline-block;
    background: white;
    color: #1e6bd6;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
}

.hero a:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

/* Section Headings */
.section-title {
    color: #1e6bd6;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

/* List Styles */
ul {
    padding-left: 20px;
    margin: 16px 0;
}

li {
    margin: 6px 0;
}

/* Info Boxes */
.tbox {
    min-width: 300px;
    max-width: 340px;
    margin-right: 30px;
    padding: 16px;
    background: #eef5ff;
    border-left: 4px solid #1e6bd6;
    font-size: 13px;
    font-style: italic;
}

.tbox span {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
    color: #555;
}

/* Legal Team */
.lawyer-card {
    flex: 1;
    min-width: 240px;
    position: relative;
    text-align: center;
}

.lawyer-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px;
}

.linkedin-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    background: #0a66c2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.linkedin-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
}

.lawyer-name {
    font-weight: bold;
    margin: 0;
}

.lawyer-title {
    margin: 6px 0;
    font-size: 0.9rem;
    color: #666;
}

.lawyer-details {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #333;
}

.view-profile-btn {
    background: #1e6bd6;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s ease;
}

.view-profile-btn:hover {
    background: #1550a0;
}

/* Client Experiences */
.client-testimonial {
    display: flex;
    overflow: hidden;
    width: 100%;
    margin: 26px 0 50px;
    animation: slideX 40s linear infinite;
}

.client-testimonial div {
    min-width: 300px;
    max-width: 340px;
    padding: 16px;
    background: #f8fbff;
    border-left: 4px solid #1e6bd6;
    font-size: 13px;
    font-style: italic;
    margin-right: 30px;
}

.client-testimonial div:last-child {
    margin-right: 0;
}

.client-testimonial div span {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
    color: #555;
}

@keyframes slideX {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* FAQ */
/* .faq-item {
     margin-bottom: 12px;
    border-bottom: 1px solid #eee; 
   padding-bottom: 12px; 
   
} */

.faq-question {
    background: none;
    border: none;
    text-align: left;
    font-weight: bold;
    color: #1e6bd6;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #0a55b4;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.faq-answer {
    display: none;
    margin-top: 8px;
    color: #555;
    font-size: 0.95rem;
    /* 添加伪元素 */
    position: relative;
}

/* 当答案显示时，在其下方添加一条线 */
.faq-answer:not([style*="display: none"])::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #eee;
    margin-top: 16px;
}

/* Contact */
.contact-box {
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    background: #f9fbfd;
    margin-top: 36px;
}

.contact-box h2 {
    color: #1e6bd6;
    margin-bottom: 16px;
}

.contact-box p {
    margin: 6px 0;
    font-size: 0.9rem;
    color: #555;
}

/* Footer */
footer {
    max-width: 960px;
    margin: 40px auto 20px;
    padding: 0 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }

    .lawyer-card {
        min-width: 100%;
        margin-bottom: 20px;
    }

    .client-testimonial {
        flex-direction: column;
        animation: none;
    }

    .client-testimonial div {
        margin-right: 0;
        margin-bottom: 16px;
    }
}