@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    outline: none !important;
    font-family: 'Poppins', sans-serif;
}

.container__content {
    width: min(100%, 1660px) !important;
    margin: 0 auto !important;

}

/*SECTION HERO*/

.section__hero {
    padding: 0 1em !important;
}

.form-select {
    appearance: revert !important;
}

.content-hero {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 0 0 2em 0 !important;
}

.hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(36px, 48em);
    color: #26C4C3;
}

.hero__subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 30px);
    font-weight: 700;
    color: #2B647F;
    align-items: center;
}

.hero__subtitle--span {
    color: #26C4C3;
}

/*HERO: SELECT*/
#filtro_especialidad {
    display: flex;
    border: none;
    background: #26C4C3;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    padding: 0.75rem 1rem;
    width: min(100%, 300px);
}

#filtro_especialidad option {
    background: #fff;
    color: #808080;
}

#filtro_especialidad:focus {
    border-radius: 12px 12px 0 0 !important;
    outline: none !important;
}

#filtro_especialidad option {
    background: #26C4C3 !important;
    color: #fff !important;
    border: none;
}

#filtro_especialidad option:last-child {
    border-radius: 0 0 12px 12px !important;
}

/*SECTION CARDS*/
.wrapper-card {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(1em, 2vw, 2em);
    padding: 0 1em !important;
}

.profesionales__container {
    margin: 0 0 3em 0;
}

.profesionales-hero {
    padding: 0 1em !important;
}

.profesionales-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profesionales-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.profesionales-card__header {
    position: relative;
    min-height: 280px !important;
    background-color: #f5f5f5;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

.profesionales-card__header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px 12px 0 0;
}

.profesionales-card__body {
    padding: 0 .5em;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.profesionales-card__title {
    font-size: clamp(1em, 3vw, 1.2em) !important;
    color: #2B647F;
    font-weight: 600;
    place-items: center;
}

.profesionales-card__especialidades {
    flex: 1;
}

.profesionales-card__paragraph {
    font-size: clamp(.8rem, 2vw, 1rem);
    font-weight: 400;
    color: #333333
}

.profesionales-card__footer-btn {
    cursor: pointer;
    font-weight: 400;
    width: 100%;
    display: grid;
    place-content: center;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    width: 100%;
    padding: 1em 0;
    border-top: .01em solid #ccc;
    border-radius: 0 0 16px 16px;
}

.profesionales-card__footer-btn:hover {
    background: #26C4C3;
    color: white;
    cursor: pointer;
}