

.case{
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
}
   
    
.section-header__title{
    display:flex;
    align-items:center;
    gap:20px;
    margin:40px 0;
    font-size:28px;
}
    
.section-header__title::before,
.section-header__title::after{
    content:"";
    flex:1;
    height:2px;
    background:#999;
}
    
    
.case__facts{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:40px;
}
    
.fact-card{
    border:2px solid #5fb7d9;
    padding:20px;
    background:white;
}
    
.fact-card ul{
    padding-left:20px;
}
    
    
.case__description{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:40px;
}
    
.text-card{
    border:2px solid #5fb7d9;
    padding:20px;
    background:white;
}
    
.card-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    grid-auto-rows: 1fr;
}
    
.media-card{
    border:2px solid #5fb7d9;
    background:white;
    padding:25px;
    height: 100%;
    display:flex;
    flex-direction:column;
    transition:transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

.media-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.media-card__icon {
    width: 70px;
    height: 70px; 
    margin-bottom: 15px;
    margin: 0 auto 15px auto;
}

.media-card__title {
    margin-bottom: 10px;
    text-align: center;
}

.media-card p {
    flex-grow: 1; 
}

.media-card__link {
    color: #1380E5;
    font-weight: 600;
    text-decoration: none;
}

.media-card__link:hover {
    text-decoration: underline;
}
    
.carousel{
    position:relative;
    margin-bottom:20px;
}

.carousel__viewport{
    overflow: hidden;
    height:300px;
}
    
.carousel__track{
    display:flex;
    transition:transform 0.4s ease;
}
    
.carousel__image{
    width:100%;
    height: auto;
    display: block;
}

.carousel__slide{
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    flex-shrink: 0;
}
    
.carousel__button{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:#1ea2d4;
    color:white;
    border:none;
    width:35px;
    height:35px;
    border-radius:50%;
    cursor:pointer;
    font-size:18px;
}
    
.carousel__button--prev{
    left:10px;
}
    
.carousel__button--next{
    right:10px;
}

.carousel__dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:10px;
}
    
.carousel__dot{
    width:10px;
    height:10px;
    background:#ffffff;
    border-radius:50%;
    cursor:pointer;
}

.carousel__dot--active{
    background:#1ea2d4;
}

@media (max-width:900px){

    .case__facts{
    grid-template-columns:1fr 1fr;
    }
    
    .case__description{
    grid-template-columns:1fr;
    }
    
    .card-grid{
    grid-template-columns:1fr;
    }
    
    .nav__list{
    flex-direction:column;
    }
    
}