.section_especialidades .carrossel_videos {
    --vcard-largura: clamp(200px, 22vw, 290px);
    --vcard-raio: 18px;
    position: relative;
    width: 65%;
    min-width: 0;
}

.carrossel_trilho {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 48px calc(50% - var(--vcard-largura) / 2);
    overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.carrossel_trilho::-webkit-scrollbar {
    display: none;
}

.vcard {
    position: relative;
    flex: 0 0 var(--vcard-largura);
    aspect-ratio: 9 / 16;
    border-radius: var(--vcard-raio);
    overflow: hidden;
    background: var(--blacked);
    scroll-snap-align: center;
    opacity: .45;
    transform: scale(.9);
    transition: transform 300ms ease, opacity 300ms ease, box-shadow 300ms ease;
}

.vcard.vcard--ativo {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 2px var(--gold-medium), 0 12px 28px rgba(0, 0, 0, .28);
}

.vcard_midia,
.vcard_midia video,
.vcard_midia img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vcard_midia img {
    opacity: 1 !important;
}

.vcard_corpo {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 56px 16px 16px;
    background: linear-gradient(to top, rgba(10, 10, 14, .95) 35%, rgba(10, 10, 14, 0));
}

.section_especialidades .vcard_corpo h4 {
    color: var(--gold-medium) !important;
    font-size: .95rem;
    letter-spacing: .04em;
    margin: 0;
}

.section_especialidades .vcard_corpo h5 {
    color: var(--gray-100) !important;
    font-size: .78rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vcard_acoes {
    display: flex;
    gap: 8px;
    align-items: center;
}

.vcard_whatsapp,
.vcard_saiba {
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    padding: 8px 12px;
    text-decoration: none;
    white-space: nowrap;
}

.vcard_whatsapp {
    flex: 1;
    text-align: center;
    background: var(--gold-medium);
    color: var(--blacked);
}

.vcard_saiba {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .4);
}

.vcard_som {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.vcard_som svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    stroke: var(--white);
    stroke-width: 1.5;
}

.vcard_som[aria-pressed="false"] .vcard_som_onda {
    display: none;
}

.vcard_som_onda {
    fill: none;
}

.vcard_play {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 64px;
    height: 64px;
    margin: auto;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.vcard_play svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
    transform: translateX(2px);
}

.carrossel_seta {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(24, 24, 24, .8);
    display: grid;
    place-items: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 200ms ease;
}

.carrossel_seta:hover,
.carrossel_seta:focus-visible {
    background: var(--gold-dark);
}

.carrossel_seta svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--white);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carrossel_seta--anterior {
    left: 4px;
}

.carrossel_seta--proximo {
    right: 4px;
}

@media (max-width: 1024px) {
    .section_especialidades .carrossel_videos {
        --vcard-largura: min(68vw, 300px);
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vcard {
        transition: none;
    }

    .carrossel_trilho {
        scroll-behavior: auto;
    }
}
