/* WLWC Case Studies - frontend styles. Designed to be theme-safe. */
.wlwc-case-studies-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin:0 auto;padding:0;}
.wlwc-case-study-card{background:#fff !important;overflow:hidden;display:flex;flex-direction:column;height:100%;border: 1px solid #E8E8E8;
    padding: 15px;
    border-radius: 20px;}
.wlwc-case-study-media{display:block;position:relative;overflow:hidden;aspect-ratio:16/10;background:#f4f4f4;text-decoration:none;}
.wlwc-case-study-image,.wlwc-cs-image{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease;}
.wlwc-case-study-media:hover .wlwc-cs-image{transform:scale(1.03);}
.wlwc-cs-video,.wlwc-cs-video iframe,.wlwc-cs-video video{width:100%;height:100%;display:block;object-fit:cover;}
.wlwc-cs-video iframe{border:0;}
.wlwc-cs-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#777;font-size:18px;}
.wlwc-case-study-card-content{padding:25px 0 0;}
.wlwc-case-study-category{font-size:12px;line-height:1.4;text-transform:uppercase;letter-spacing:.12em;font-weight:600;margin-bottom:5px;opacity:.7;}
.wlwc-case-study-title{font-size:28px;line-height:1.2 !important; margin:0 0 12px !important;}
.wlwc-case-study-title a{color:inherit;text-decoration:none;}
.wlwc-case-study-excerpt{font-size:16px;line-height:1.7;margin-bottom:18px;}
.wlwc-case-study-excerpt p{margin:0;}
.wlwc-case-study-read-more{display:inline-flex;gap:8px;align-items:center;text-decoration:none;font-weight:600;}
.wlwc-case-study-read-more span{transition:transform .25s ease;}
.wlwc-case-study-read-more:hover span{transform:translateX(4px);}
.wlwc-case-studies-empty{grid-column:1/-1;}

.wlwc-case-study-single{padding:40px 20px 90px;}
.wlwc-case-study-single-container{max-width:1200px;margin:0 auto;}
.wlwc-case-study-single-header{text-align:center;margin:0 auto 35px;max-width:900px;}
.wlwc-case-study-single-header h1{margin:0;font-size:52px;line-height:1.1;}
.wlwc-case-study-single-media{margin-bottom:45px;overflow:hidden;}
.wlwc-case-study-single-media .wlwc-cs-image{height:auto;max-height:720px;object-fit:cover;}
.wlwc-case-study-single-media .wlwc-cs-video{aspect-ratio:16/9;}
.wlwc-case-study-single-content{margin:0 auto;}
.wlwc-case-study-single-content img{max-width:100%;height:auto;}
.case-study-number h5.service-heading {
    font-size: 21px;
    font-weight: bold;
}
.p-color-white p {
    color: #fff;
}
.wlwc-case-study-card:hover {
    box-shadow: 0 44px 98px 0 rgba(0,0,0,0.12);
    border-bottom-style: solid;
    background: rgba(255, 255, 255, 0.05);
}


@media (max-width:767px){
 .wlwc-case-studies-grid{grid-template-columns:1fr;gap:45px;}
 .wlwc-case-study-title{font-size:24px;}
 .wlwc-case-study-single{padding:40px 18px 60px;}
 .wlwc-case-study-single-header h1{font-size:38px;}
}
