/* Customer case listing — generated from the verified 2026-07-27 split */

/* ============================================================
   CUSTOMER CASE LIST PAGE
   ============================================================ */
.customer-case-page {
    background: var(--bg-white);
    overflow: hidden;
}

.case-list-hero-section {
    position: relative;
    min-height: 450px;
    margin-top: 68px;
    display: flex;
    align-items: center;
    padding: 56px 0;
    background: url("../../images/case-banner-lighthouse.webp") center center / cover no-repeat;
    border-bottom: 1px solid rgba(30, 111, 255, 0.14);
    overflow: hidden;
}
.case-list-hero-section .section-container {
    position: relative;
    z-index: 1;
    width: 100%;
}
.case-list-hero-layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 248px;
    text-align: left;
}
.case-list-hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    width: min(100%, 680px);
}
.case-list-hero-kicker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 8px 16px;
    border: 1px solid rgba(30, 111, 255, 0.16);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 26px rgba(30, 111, 255, 0.08);
    color: #1557D0;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.case-list-hero-kicker-icon {
    position: relative;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06B6D4 0%, #1E6FFF 100%);
    box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.12);
}
.case-list-hero-kicker-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #FFFFFF;
    clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 57%, 81% 100%, 50% 74%, 19% 100%, 31% 57%, 0 35%, 38% 35%);
    transform: translate(-50%, -50%);
}
.case-list-hero-copy h1 {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0;
    color: var(--text-primary);
    font-size: 44px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: 0;
}
.case-list-hero-copy h1 span {
    display: block;
    white-space: nowrap;
}

.customer-case-list-section {
    padding: 56px 0 100px;
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F6FAFF 100%);
}
.customer-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.customer-case-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid rgba(30, 111, 255, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.customer-case-card[hidden] {
    display: none !important;
}
.customer-case-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-card-hover);
}
.customer-case-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #EAF2FF;
}
.customer-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}
.customer-case-card:hover .customer-case-image img {
    transform: scale(1.04);
}
.customer-case-mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 58px;
    display: flex;
    align-items: flex-end;
    padding: 18px 22px;
    background: linear-gradient(180deg, rgba(5, 18, 43, 0) 0%, rgba(5, 18, 43, 0.78) 100%);
}
.customer-case-mask span {
    max-width: 100%;
    overflow: hidden;
    color: var(--text-white);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.customer-case-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 22px 22px;
}
.customer-case-body p {
    display: -webkit-box;
    flex: 1;
    overflow: hidden;
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.customer-case-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 4px;
    color: var(--color-primary);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}
.customer-case-link::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
}
.customer-case-link:hover {
    color: var(--color-primary-dark);
}
.customer-case-link:hover::after {
    transform: translateX(3px) rotate(45deg);
}
.case-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 44px;
}
.case-pagination[hidden] {
    display: none !important;
}
.case-pagination button {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid rgba(30, 111, 255, 0.16);
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    transition: all var(--transition-fast);
}
.case-pagination button:hover:not(:disabled),
.case-pagination button:focus-visible {
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.case-pagination button.active {
    color: var(--text-white);
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.case-pagination button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}
.case-industry {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-primary-bg);
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}
.case-name { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.case-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}
.case-body strong { color: var(--text-primary); }

@media (max-width: 1199px) {
    .case-list-hero-layout {
            min-height: 220px;
        }

    .case-list-hero-copy h1 { font-size: 36px; }

    .customer-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .case-list-hero-section {
            min-height: 0;
            padding: 44px 0;
            background: url("../../images/case-banner-lighthouse.webp") 61% center / auto 100% no-repeat;
        }

    .case-list-hero-layout {
            min-height: 180px;
            justify-content: flex-start;
            text-align: left;
        }

    .case-list-hero-copy {
            justify-content: flex-start;
            width: min(100%, 358px);
        }

    .case-list-hero-kicker {
            margin-bottom: 12px;
            padding: 7px 13px;
            font-size: 13px;
        }

    .case-list-hero-kicker-icon {
            width: 18px;
            height: 18px;
        }

    .case-list-hero-copy h1 {
            max-width: 358px;
            text-align: left;
            font-size: 24px;
            line-height: 1.35;
        }

    .customer-case-list-section { padding: 36px 0 72px; }

    .customer-case-grid {
            grid-template-columns: 1fr;
            gap: 18px;
        }

    .customer-case-card {
            min-height: 0;
        }

    .customer-case-body {
            padding: 20px 18px 22px;
        }

    .case-pagination {
            flex-wrap: wrap;
            margin-top: 30px;
        }
}
