.doctors-section {
    overflow: hidden;
}

.doctors-container {
    width: 100%;
    position: relative;
}

.doctors-header {
    justify-content: space-between;
}

.doctors-description {
    margin-top: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0;
    vertical-align: middle;
    color: var(--color-text);
}

.doctors-nav {
    display: flex;
    gap: 10px;
}

.doctors-cards-track:not(.swiper) {
    overflow: hidden;

    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding-bottom: 60px;
}

.doctors-cards-track:not(.swiper):not(:has(> .doctor-card:nth-child(2))) {
    padding-bottom: 0;
}

.doctors-cards-track.swiper {

    overflow: hidden;
    max-height: none;
}

.doctors-cards-track .doctor-card {
    flex-shrink: 0;
    box-sizing: border-box;
    width: min(320px, calc(100% - 50px));
    max-width: none;
    height: auto;
    margin-left: 0;
    margin-right: 0;
}

.doctors-button-wrapper {
    display: flex;
    justify-content: center;
    padding: 30px 20px 0;
    width: 100%;
}

.section-doctor__subtitle {
    font-size: 18px !important;
    max-width: 600px;
    text-align: left;
}

@media (min-width: 768px) {
    .doctors-cards-track .doctor-card {
        width: calc((100% - 20px) / 2);
    }

    .doctors-cards-track:not(.swiper):not(:has(> .doctor-card:nth-child(3))) {
        padding-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .doctors-cards-track .doctor-card {
        width: calc((100% - 40px) / 3);
    }

    .doctors-cards-track:not(.swiper):not(:has(> .doctor-card:nth-child(4))) {
        padding-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .doctors-cards-track .doctor-card {
        width: calc((100% - 60px) / 4);
    }

    .doctors-cards-track:not(.swiper):not(:has(> .doctor-card:nth-child(5))) {
        padding-bottom: 0;
    }
}

@media (min-width: 1440px) {

}

@media (min-width: 1920px) {

}

.doctors-section .doctor-info {
    gap: 12px;
    padding: 0 4px;
}

.doctors-section .doctor-name {
    margin-bottom: 0;
}

.doctors-section .doctor-description {
    margin-bottom: 0;
}

.doctors-section .doctor-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 16px;
    line-height: 1.4;
    color: #003163;
}

.doctors-section .doctor-experience,
.doctors-section .doctor-operations,
.doctors-section .doctor-cost {
    margin: 0;
    color: #003163;
}

.doctors-section .doctor-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.doctors-section .doctor-categories img {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
    max-width: 24px;
    max-height: 18px;
}

.doctors-section .doctor-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.doctors-section .doctor-buttons .btn {
    flex: 1 1 auto;
    width: auto;
    margin-top: 0;
    text-align: center;
}
