/* seção especialistas */

.section-experts {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* tabs categorias */

.experts-tabs-swiper {
    width: 100%;
    margin-bottom: 30px;
    padding: 10px 50px;
    position: relative;
    display: flex;
    align-items: center;
}

.experts-tabs-swiper .swiper-wrapper {
    align-items: center;
}

.experts-tabs-swiper .swiper-slide {
    width: auto;
}

.experts-tab {
    border: none;
    background: #F3F7F9;
    border: 1px solid #E6EFF2;
    border-radius: 6px;
    font-size: 14px;
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: .2s;
}

.experts-tab:hover {
    background: #d7e3f0;
}

.experts-tab.active {
    background: #2f80ed;
    color: #fff;
}

/* botões swiper */

.experts-tabs-swiper .swiper-button-prev,
.experts-tabs-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #1c7ce4;
    border: 1px solid #F3F7F9;
    font-weight: 900;
    margin: initial;
    transform: translateY(-50%);
}

.experts-tabs-swiper .swiper-button-prev {
    left: 0;
}

.experts-tabs-swiper .swiper-button-next {
    right: 0;
}

.experts-tabs-swiper .swiper-button-prev:after,
.experts-tabs-swiper .swiper-button-next:after {
    font-size: 12px;
}

/* grid especialistas */

.experts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* card */

.expert-card {
    display: flex;
    flex-direction: column;
    background: #ffff;
    border-radius: 16px;
    overflow: hidden;
}

/* avatar */

.expert-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0px;
    background: linear-gradient(180deg, #DBEAFE 50%, #60A5FA 210.1%);
}

.expert-avatar img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}

.expert-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    background: #F3F7F9;
    padding: 16px;
}

/* nome */
.expert-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1E3A8A;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* especialidade */

.expert-specialty {
    font-size: 16px;
    font-weight: 500;
    color: #059669;
    margin-bottom: 6px;
}

/* register */

.expert-register {
    font-weight: 700;
    font-size: 14px;
    color: #1E293B;
    margin-bottom: 16px;
}

/* botão */
.expert-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.expert-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px; /* ou 48px */
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}
.expert-btn > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.expert-btn.btn-whatsapp {
    background: #059669;
    color: #ffffff;
}
.expert-btn.btn-whatsapp:hover {
    background: #178f69;
}
.expert-btn.btn-bio {
    background: linear-gradient(81.26deg, #06B6D4 -20.11%, #2563EB 110.12%);
    color: #FFFFFF;
}
.expert-btn.btn-bio:hover {
    background: linear-gradient(81.26deg, #06B6D4 -20.11%, #1e40af 110.12%);
}

/* desktop */
@media (min-width: 1024px) {
    .experts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* celular pequeno */
@media (max-width: 767px) {
    .experts-grid {
        grid-template-columns: 1fr;
    }
}