.elementor-2239 .elementor-element.elementor-element-0b42651{--display:flex;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-2239 .elementor-element.elementor-element-0b42651{--content-width:1600px;}}/* Start custom CSS for html, class: .elementor-element-34363e5 *//* ==========================================
   ADEC BRAND-MATCHED CASE STUDIES CSS
   ========================================== */
.km-cases-page {
    font-family: 'Poppins', sans-serif;
    color: #475467;
    background-color: #ffffff;
    width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    line-height: 1.6;
}

.km-cases-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Badges */
.km-cases-badge {
    display: inline-block;
    padding: 8px 18px;
    background-color: #eaf2ff;
    color: #0066cc;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500; /* Strictly 500 */
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Section Header */
.km-cases-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.km-cases-section-header h2 {
    font-size: 44px;
    line-height: 1.25;
    font-weight: 500; /* Strictly 500 */
    color: #051B4D;
    margin: 20px 0 18px;
    letter-spacing: -1px;
}

.km-cases-section-header p {
    font-size: 18px;
    color: #667085;
    font-weight: 400; /* Under 450 */
}

/* ==========================================
   SECTION 1: HERO BANNER
   ========================================== */
.km-cases-hero {
    background: linear-gradient(135deg, #040b21 0%, #051b4d 100%);
    color: #ffffff;
    padding: 140px 0 120px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.km-cases-hero-content {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;
}

.km-cases-hero-content .km-cases-badge {
    background-color: rgba(0, 102, 204, 0.2);
    border: 1px solid rgba(0, 102, 204, 0.3);
    color: #49A4FF;
    margin-bottom: 25px;
}

.km-cases-hero h1 {
    font-size: 60px;
    line-height: 1.15;
    font-weight: 500; /* Strictly 500 */
    color: #ffffff;
    margin: 0 0 25px;
    letter-spacing: -2px;
}

.km-cases-hero h1 span {
    color: #49A4FF;
}

.km-cases-hero p {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 400; /* Under 450 */
}

/* ==========================================
   SECTION 2: CASE STUDIES GRID
   ========================================== */
.km-cases-grid-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.km-cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.km-case-card {
    background-color: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(5, 27, 77, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Vector Card Mockup Wrap */
.km-case-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.04) 0%, rgba(5, 27, 77, 0.01) 100%);
    border: 1px solid #e7edf5;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.km-case-glow-core {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: #eaf2ff;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.km-case-vector {
    width: 64px;
    height: 64px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.km-case-category {
    font-size: 12px;
    font-weight: 500;
    color: #0066cc;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.km-case-card h3 {
    font-size: 22px;
    font-weight: 500; /* Strictly 500 */
    color: #051B4D;
    line-height: 1.3;
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.km-case-card p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #667085;
    margin: 0 0 25px;
    font-weight: 400; /* Under 450 */
    
    /* Forces precisely 2 lines excerpt before hiding text */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Know More CTA Link styling */
.km-case-know-more {
    font-size: 14.5px;
    font-weight: 500;
    color: #0066cc;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: color 0.3s ease;
}

.km-case-know-more img {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* Hovers */
.km-case-card:hover {
    transform: translateY(-8px);
    border-color: #0066cc;
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.05);
}

.km-case-card:hover h3 {
    color: #0066cc;
}

.km-case-card:hover .km-case-vector {
    transform: scale(1.15);
}

.km-case-card:hover .km-case-know-more {
    color: #051B4D;
}

.km-case-card:hover .km-case-know-more img {
    transform: translateX(4px);
}

/* ==========================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================== */
@media (max-width: 991px) {
    .km-cases-hero h1 {
        font-size: 46px;
    }
    .km-cases-section-header h2 {
        font-size: 36px;
    }
    .km-cases-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .km-cases-hero,
    .km-cases-grid-section {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .km-cases-container {
        padding: 0 20px;
    }
    .km-cases-hero {
        padding: 100px 0 80px;
    }
    .km-cases-hero h1 {
        font-size: 34px;
    }
    .km-cases-hero p {
        font-size: 18px;
    }
    .km-case-card {
        padding: 25px;
        border-radius: 20px;
    }
    .km-case-card h3 {
        font-size: 19px;
    }
}/* End custom CSS */