.ac-get-doctors,
.ac-get-doctors *,
.ac-get-doctors *::before,
.ac-get-doctors *::after {
    box-sizing: border-box;
}

.ac-get-doctors {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(180deg, #131313 0%, #1872cd 100%);
    color: #fff;
    font-family: var(--tamc-font, "Noto Sans Hebrew", "Noto Sans Display", Arial, sans-serif);
}

.ac-get-doctors__inner {
    width: 100%;
    max-width: 1640px;
    margin-inline: auto;
    padding: 40px 20px;
}

.ac-get-doctors__title {
    margin: 0 0 36px;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.ac-get-doctors__card {
    position: relative;
    min-width: 0;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    border: 3px solid #40474e;
    border-radius: 20px;
    background: #1a4065;
}

.ac-get-doctors__card-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.ac-get-doctors__card-link:focus-visible {
    outline: 4px solid #fff;
    outline-offset: -7px;
}

.ac-get-doctors__image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 17px;
    object-fit: cover;
    opacity: 0.82;
    transition: opacity 0.2s ease, transform 0.2s ease;
    -webkit-user-drag: none;
}

.ac-get-doctors__card:hover .ac-get-doctors__image {
    opacity: 1;
    transform: scale(1.015);
}

.ac-get-doctors__info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 145px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 18px 13px;
    border-top: 3px solid #40474e;
    border-radius: 0 0 17px 17px;
    background: linear-gradient(180deg, rgb(0 0 0 / 28%), rgb(0 0 0 / 88%));
    box-shadow: inset 5px 5px 4px rgb(255 255 255 / 8%);
    text-align: center;
    backdrop-filter: blur(15px);
}

.ac-get-doctors__name,
.ac-get-doctors__categories,
.ac-get-doctors__category,
.ac-get-doctors__description {
    display: block;
}

.ac-get-doctors__name {
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.15;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ac-get-doctors__categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 14px;
}

.ac-get-doctors__category {
    color: #76b8f8;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.15;
}

.ac-get-doctors__description {
    display: -webkit-box;
    min-height: 32px;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ac-get-doctors__empty {
    margin: 0;
    color: #fff;
    text-align: center;
}

.ac-get-doctors__more {
    margin-top: 36px;
    text-align: center;
}

.ac-get-doctors__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 325px);
    min-height: 52px;
    padding: 12px 20px;
    border-radius: 3px;
    background: #fff;
    color: #246fae;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ac-get-doctors__button:hover,
.ac-get-doctors__button:focus-visible {
    background: #e8f2fc;
    color: #174f82;
    transform: translateY(-1px);
}

@media (max-width: 1399px) {
    .ac-get-doctors__inner {
        max-width: 1240px;
    }

}

@media (max-width: 800px) {
    .ac-get-doctors__inner {
        padding-inline: 0;
    }

    .ac-get-doctors__title {
        margin-bottom: 30px;
        padding-inline: 20px;
        font-size: 32px;
    }

    .ac-get-doctors__info {
        min-height: 130px;
        padding: 14px 10px;
    }

    .ac-get-doctors__name {
        font-size: 18px;
    }

    .ac-get-doctors__category {
        font-size: 14px;
    }

    .ac-get-doctors__more {
        padding-inline: 20px;
    }
}

@media (max-width: 520px) {
    .ac-get-doctors__title {
        font-size: 24px;
    }

    .ac-get-doctors__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ac-get-doctors__image,
    .ac-get-doctors__button {
        transition: none;
    }
}
