.clinic-atmosphere {
    background: rgba(252, 245, 252, 1);
    overflow: hidden; 
}

.clinic-atmosphere__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
}

.clinic-atmosphere__header-text { flex: 1; min-width: 0; }

.clinic-atmosphere__title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 55px;
    line-height: 64px;
    color: #5C075E;
    margin: 0 0 20px 0;
}

.clinic-atmosphere__description {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #5C075E;
    margin: 0;
    max-width: 844px;
}

.clinic-atmosphere__nav {
    display: flex;
    gap: 25px;
    flex-shrink: 0;
    align-self: flex-end;
    padding-bottom: 4px;
}

.clinic-atmosphere__nav-btn {
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background: #8D2A8F;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.clinic-atmosphere__nav-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(141, 42, 143, 0.35);
}

.clinic-atmosphere__slider-wrapper {
    position: relative;
    overflow: visible;    
}

.clinic-atmosphere__slider {
    overflow: visible;
}

.clinic-atmosphere__slide {
    width: 517px !important;
    height: 330px;
}

.clinic-atmosphere__photo-wrap {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    background: #e0e0df;
    text-decoration: none;
}

.clinic-atmosphere__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

a.clinic-atmosphere__photo-wrap:hover .clinic-atmosphere__photo {
    transform: scale(1.04);
}

@media (max-width: 1200px) {
    .clinic-atmosphere__slider-wrapper { margin-left: -80px; padding-left: 80px; }
    .clinic-atmosphere__slide { width: 440px !important; height: 290px; }
}

@media (max-width: 1024px) {
    .clinic-atmosphere { padding: 0 !important; }
    .clinic-atmosphere__title { font-size: 44px; line-height: 52px; margin-bottom: 14px; }
    .clinic-atmosphere__description { font-size: 16px; }
    .clinic-atmosphere__slider-wrapper { margin-left: -60px; padding-left: 60px; }
    .clinic-atmosphere__slide { width: 360px !important; height: 240px; }
}

@media (max-width: 768px) {
    .clinic-atmosphere__header { flex-direction: column; align-items: flex-start; gap: 24px; }
    .clinic-atmosphere__nav { align-self: auto; }
    .clinic-atmosphere__slider-wrapper { margin-left: -20px; padding-left: 20px; }
    .clinic-atmosphere__slide { width: 280px !important; height: 200px; }
}

@media (max-width: 576px) {
    .clinic-atmosphere { padding: 0; }
    .clinic-atmosphere__nav { display: none; }
    .clinic-atmosphere__title { font-size: 34px; line-height: 42px; }
    .clinic-atmosphere__slide { width: 240px !important; height: 170px; }
    .clinic-atmosphere__nav-btn { width: 44px; height: 44px; }
}