
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #f9fafb;
    padding: 0;
    margin: 0;
    color: #1f2937;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    padding: 30px 24px 48px;
}
h3 {
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #111827;
}
p, li {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e4f;
}
.container table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 16px;
    background: #fff;
    border: 2px solid #333;
}
.container th, .container td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
}
.container th {
    background-color: #f1f5f9;
    color: #1f2937;
    font-weight: 600;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    margin-top: 20px;
    border-radius: 40px;
    font-weight: 500;
    transition: background 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,123,255,0.2);
}
.btn:hover {
    background-color: #0056b3;
    text-decoration: none;
}
.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 40px 0 20px;
    letter-spacing: -0.3px;
    color: #0a2540;
}
.case-item {
    margin-bottom: 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.case-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
/* 统一图片容器大小 */
.image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 图片覆盖整个容器，保持比例，超出部分裁剪 */
    cursor: pointer;
    display: block;
}
.case-link {
    display: block;
    padding: 12px 16px;
    text-align: center;
    background-color: #f9fafb;
    font-size: 15px;
    font-weight: 500;
    color: #007BFF;
    text-decoration: none;
    border-top: 1px solid #e5e7eb;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: auto;
}
.case-link:hover {
    background-color: #eff6ff;
    color: #0056b3;
    text-decoration: underline;
}
.image-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
    align-items: stretch;
    margin-top: 20px;
    margin-bottom: 10px;
}
.image-col {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}
@media (max-width: 700px) {
    .container {
        padding: 20px 16px;
    }
    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    .image-row {
        gap: 20px;
    }
    .image-col {
        min-width: 100%;
    }
    .image-wrapper {
        height: 180px;
    }
}
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
}
.close-lightbox:hover {
    color: #ccc;
}
