/* ==========================================================
   THE MEDICAL VOICE
   Archivo independiente de la nueva sección IASH
   ========================================================== */

.mv-section-header,
.mv-home,
.mv-breadcrumb-wrap {
    font-family: 'Poppins', sans-serif;
}

.mv-section-header *,
.mv-home *,
.mv-breadcrumb-wrap * {
    box-sizing: border-box;
}

/* ==========================================================
   ENCABEZADO GENERAL DE THE MEDICAL VOICE
   Se reutiliza en todas las páginas de esta sección
   ========================================================== */

.mv-section-header {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    background:
        url('../images/medical-voice-header.jpg') center right / cover no-repeat;
}

.mv-section-header__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(244, 250, 254, 1) 0%,
            rgba(244, 250, 254, 0.98) 29%,
            rgba(244, 250, 254, 0.82) 43%,
            rgba(244, 250, 254, 0.20) 66%,
            rgba(244, 250, 254, 0.05) 100%);
}

.mv-section-header__inner {
    position: relative;
    z-index: 2;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mv-section-header__copy {
    width: 54%;
    padding: 34px 0;
}

.mv-section-header__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #0d69b5;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 2.6px;
}

.mv-section-header__copy h1 {
    margin: 0 0 5px;
    color: #18449c;
    font-size: 44px;
    line-height: 1.1;
    font-weight: 800;
}

.mv-section-header__copy p {
    margin: 0;
    color: #445b7f;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 400;
}

.mv-section-header__message {
    width: 210px;
    margin-right: 8px;
    padding-left: 28px;
    border-left: 1px solid rgba(24, 68, 156, 0.35);
    color: #18449c;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 500;
}

.mv-section-header__message i {
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 17px;
    background: #0d69b5;
}

/* ==========================================================
   BREADCRUMB
   ========================================================== */

.mv-breadcrumb-wrap {
    background: #f1f5f9;
    border-bottom: 1px solid #e6edf4;
}

.mv-breadcrumb {
    margin: 0;
    padding: 14px 0;
    background: transparent;
    border-radius: 0;
}

.mv-breadcrumb .breadcrumb-item {
    font-size: 13px;
}

.mv-breadcrumb .breadcrumb-item a {
    color: #18449c;
    text-decoration: none;
}

.mv-breadcrumb .breadcrumb-item a:hover {
    color: #63b4e6;
}

.mv-breadcrumb .breadcrumb-item.active {
    color: #6b778d;
}

/* ==========================================================
   HOME - ESTRUCTURA
   ========================================================== */

.mv-home {
    padding: 38px 0 70px;
    background: #fff;
}

.mv-home__layout {
    align-items: stretch;
}

.mv-sidebar-wrap {
    display: block;
}

.mv-content {
    padding-left: 26px;
}

/* ==========================================================
   NAVEGACIÓN / ÁRBOL
   ========================================================== */

.mv-tree {
    height: 100%;
    min-height: 650px;
    padding: 13px;
    border: 1px solid #dce6ef;
    border-radius: 9px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
    box-shadow: 0 7px 22px rgba(24, 68, 156, 0.05);
}

.mv-tree a {
    text-decoration: none !important;
}

.mv-tree__home {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 15px;
    border-radius: 7px;
    color: #18449c;
    font-size: 16px;
    font-weight: 700;
    transition: background-color .25s ease, color .25s ease;
}

.mv-tree__home .fa {
    width: 25px;
    font-size: 24px;
    text-align: center;
}

.mv-tree__home:hover,
.mv-tree__home.active {
    background: #e9f3ff;
    color: #0d69b5;
}

.mv-tree__group {
    margin-top: 8px;
}

.mv-tree__parent {
    display: grid;
    grid-template-columns: 28px 1fr 16px;
    gap: 10px;
    align-items: center;
    padding: 15px 12px;
    border-radius: 7px;
    color: #182d56;
    transition: background-color .25s ease, color .25s ease;
}

.mv-tree__parent:hover {
    background: #f0f6fc;
    color: #0d69b5;
}

.mv-tree__parent-icon {
    color: #18449c;
    font-size: 24px;
    text-align: center;
}

.mv-tree__parent-label {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.mv-tree__chevron {
    color: #18449c;
    font-size: 15px;
    text-align: right;
}

.mv-tree__children {
    position: relative;
    margin-left: 24px;
    padding: 0 0 2px 12px;
}

.mv-tree__children::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 18px;
    width: 1px;
    background: #cbd9e6;
}

.mv-tree__child {
    position: relative;
    display: grid;
    grid-template-columns: 10px 26px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 52px;
    margin: 2px 0;
    padding: 8px 10px 8px 0;
    border-radius: 7px;
    color: #344b70;
    font-size: 14px;
    font-weight: 500;
    transition: background-color .25s ease, color .25s ease;
}

.mv-tree__child .fa {
    color: #18449c;
    font-size: 21px;
    text-align: center;
}

.mv-tree__dot {
    position: relative;
    left: -17px;
    width: 9px;
    height: 9px;
    border: 2px solid #9fb4ca;
    border-radius: 50%;
    background: #fff;
    z-index: 2;
}

.mv-tree__child:hover,
.mv-tree__child.active {
    background: #e9f3ff;
    color: #0d69b5;
}

.mv-tree__child:hover .mv-tree__dot,
.mv-tree__child.active .mv-tree__dot {
    border-color: #0d69b5;
    background: #0d69b5;
}

.mv-tree__separator {
    height: 1px;
    margin: 15px 8px 6px;
    background: #dce6ef;
}

/* ==========================================================
   CARDS GRANDES DE CONTENIDO
   ========================================================== */

.mv-feature-card {
    position: relative;
    min-height: 330px;
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid #dce8f1;
    border-radius: 10px;
    background: #f8fbfe;
    box-shadow: 0 8px 25px rgba(24, 68, 156, 0.07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.mv-feature-card:last-child {
    margin-bottom: 0;
}

.mv-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 34px rgba(24, 68, 156, 0.12);
}

.mv-feature-card__image {
    position: absolute;
    inset: 0;
}

.mv-feature-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center right;
}

.mv-feature-card__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(247, 251, 254, 1) 0%,
            rgba(247, 251, 254, 0.99) 38%,
            rgba(247, 251, 254, 0.90) 47%,
            rgba(247, 251, 254, 0.20) 67%,
            rgba(247, 251, 254, 0.02) 100%);
}

.mv-feature-card__content {
    position: relative;
    z-index: 2;
    width: 52%;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px 38px;
}

.mv-feature-card__eyebrow {
    display: block;
    margin-bottom: 15px;
    color: #0d69b5;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.mv-feature-card h2 {
    margin: 0 0 14px;
    color: #18449c;
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
}

.mv-feature-card p {
    max-width: 390px;
    margin: 0 0 25px;
    color: #536a88;
    font-size: 16px;
    line-height: 1.55;
}

.mv-feature-card__button {
    width: fit-content;
    min-width: 190px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 12px 24px;
    border-radius: 5px;
    background: #0d69b5;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color .25s ease, transform .25s ease;
}

.mv-feature-card__button:hover {
    background: #18449c;
    color: #fff !important;
    transform: translateY(-1px);
}

.mv-feature-card__button .fa {
    transition: transform .25s ease;
}

.mv-feature-card__button:hover .fa {
    transform: translateX(4px);
}

/* Encuadre de las imágenes de las dos secciones principales */
.mv-feature-card--physicians .mv-feature-card__image img {
    object-position: center center;
}

.mv-feature-card--patients .mv-feature-card__image img {
    object-position: center center;
}

/* El título de Physicians es más largo que el resto */
.mv-feature-card--physicians h2 {
    font-size: 30px;
    line-height: 1.18;
}

@media (max-width: 1199px) {
    .mv-feature-card--physicians h2 {
        font-size: 30px;
    }
}

/* ==========================================================
   NAVEGACIÓN MOBILE
   ========================================================== */

.mv-mobile-nav-wrap {
    display: none;
}

.mv-mobile-nav {
    margin-bottom: 24px;
    border: 1px solid #dce6ef;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.mv-mobile-nav summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: #18449c;
    background: #eef6fd;
    font-size: 15px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.mv-mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mv-mobile-nav__arrow {
    margin-left: auto;
    transition: transform .25s ease;
}

.mv-mobile-nav[open] .mv-mobile-nav__arrow {
    transform: rotate(180deg);
}

.mv-mobile-nav__body {
    padding: 8px;
}

.mv-mobile-nav__body a {
    display: block;
    padding: 11px 13px;
    border-radius: 6px;
    color: #344b70;
    font-size: 14px;
    text-decoration: none !important;
}

.mv-mobile-nav__body a:hover,
.mv-mobile-nav__body a.active {
    background: #e9f3ff;
    color: #0d69b5;
}

.mv-mobile-nav__body .mv-mobile-nav__parent {
    margin-top: 4px;
    color: #182d56;
    font-weight: 700;
}

.mv-mobile-nav__body .mv-mobile-nav__child {
    padding-left: 30px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1199px) {
    .mv-section-header__copy h1 {
        font-size: 39px;
    }

    .mv-section-header__copy p {
        font-size: 24px;
    }

    .mv-feature-card__content {
        width: 57%;
    }

    .mv-feature-card h2 {
        font-size: 34px;
    }
}

@media (max-width: 991px) {
    .mv-section-header {
        min-height: 205px;
    }

    .mv-section-header__inner {
        min-height: 205px;
    }

    .mv-section-header__copy {
        width: 68%;
    }

    .mv-section-header__message {
        display: none;
    }

    .mv-sidebar-wrap {
        display: none;
    }

    .mv-mobile-nav-wrap {
        display: block;
    }

    .mv-content {
        padding-left: 15px;
    }
}

@media (max-width: 767px) {
    .mv-section-header {
        min-height: 190px;
        background-position: 68% center;
    }

    .mv-section-header__inner {
        min-height: 190px;
    }

    .mv-section-header__copy {
        width: 100%;
        padding: 28px 0;
    }

    .mv-section-header__overlay {
        background:
            linear-gradient(90deg,
                rgba(244, 250, 254, 1) 0%,
                rgba(244, 250, 254, 0.98) 52%,
                rgba(244, 250, 254, 0.73) 76%,
                rgba(244, 250, 254, 0.44) 100%);
    }

    .mv-section-header__copy h1 {
        font-size: 31px;
    }

    .mv-section-header__copy p {
        font-size: 20px;
    }

    .mv-section-header__eyebrow {
        font-size: 11px;
    }

    .mv-home {
        padding-top: 26px;
        padding-bottom: 55px;
    }

    .mv-feature-card {
        min-height: 470px;
    }

    .mv-feature-card__image {
        top: 205px;
        height: 265px;
    }

    .mv-feature-card__image img {
        object-position: center;
    }

    .mv-feature-card--physicians .mv-feature-card__image img,
    .mv-feature-card--patients .mv-feature-card__image img {
        object-position: center;
    }

    .mv-feature-card__shade {
        background:
            linear-gradient(180deg,
                rgba(247, 251, 254, 1) 0%,
                rgba(247, 251, 254, 1) 44%,
                rgba(247, 251, 254, 0.65) 56%,
                rgba(247, 251, 254, 0.03) 100%);
    }

    .mv-feature-card__content {
        width: 100%;
        min-height: 470px;
        justify-content: flex-start;
        padding: 30px 26px;
    }

    .mv-feature-card h2 {
        font-size: 31px;
    }

    .mv-feature-card p {
        max-width: 100%;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .mv-section-header {
        min-height: 172px;
    }

    .mv-section-header__inner {
        min-height: 172px;
    }

    .mv-section-header__copy h1 {
        font-size: 27px;
    }

    .mv-section-header__copy p {
        font-size: 18px;
    }

    .mv-breadcrumb {
        padding: 11px 0;
    }

    .mv-feature-card {
        min-height: 445px;
    }

    .mv-feature-card__image {
        top: 220px;
        height: 225px;
    }

    .mv-feature-card__content {
        min-height: 445px;
        padding: 27px 22px;
    }

    .mv-feature-card h2 {
        font-size: 27px;
    }

    .mv-feature-card__eyebrow {
        font-size: 10px;
        letter-spacing: 1.1px;
    }

    .mv-feature-card__button {
        min-width: 165px;
        padding: 11px 19px;
        font-size: 13px;
    }
}

/* ==========================================================
   THE MEDICAL VOICE / GUIDELINES
   SOLO estilos nuevos de esta subsección.
   Prefijo exclusivo: mvg-
   ========================================================== */

/* ----------------------------------------------------------
   Estado del padre "For Physicians..." en el árbol lateral
   ---------------------------------------------------------- */

.mvg-page .mvg-tree-parent-current {
    color: #18449c;
}

/* ----------------------------------------------------------
   Pestañas Guidelines / IASH Materials
   Más chicas, iguales entre sí y alineadas hacia la izquierda.
   La diferencia activa/inactiva se marca con líneas y sombras,
   no con cambio de tamaño.
   ---------------------------------------------------------- */

.mvg-tabs {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 10px;
    min-height: 50px;
    margin: 0 0 30px;
    padding: 0 0 0 22px;
}

/* Línea gris continua que hace evidente la lógica de pestañas */
.mvg-tabs::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #cfd7df;
    z-index: 1;
}

/* refuerzo de la línea hacia la izquierda, antes de la primera lengüeta */
.mvg-tabs::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 22px;
    height: 1px;
    background: #aeb9c5;
    z-index: 3;
}

.mvg-tabs__line {
    display: none;
}

/* Ambas pestañas tienen exactamente el mismo tamaño */
.mvg-tab {
    position: relative;
    z-index: 2;
    width: 285px;
    height: 54px;
    display: block;
    overflow: hidden;
    margin: 0;
    border: 1px solid #cfd7df;
    border-bottom: 1px solid #cfd7df;
    border-radius: 8px 8px 0 0;
    background: #f7fafc;
    color: #18449c !important;
    text-decoration: none !important;
    opacity: .90;
    box-shadow:
        0 -2px 4px rgba(24, 68, 156, .06),
        2px 0 4px rgba(24, 68, 156, .04),
        -2px 0 4px rgba(24, 68, 156, .04);
    transition:
        opacity .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease,
        background-color .25s ease;
}

/* Activa: misma geometría, pero se "abre" sobre la línea inferior */
.mvg-tab.is-active {
    width: 285px;
    height: 54px;
    opacity: 1;
    z-index: 5;
    border-color: #9dbfd7;
    border-bottom-color: #fff;
    background: #fff;
    box-shadow:
        0 -4px 7px rgba(24, 68, 156, .18),
        3px 0 5px rgba(24, 68, 156, .08),
        -3px 0 5px rgba(24, 68, 156, .08);
}

/* Pequeño acento superior, discreto */
.mvg-tab:not(.is-active):hover {
    opacity: 1;
    border-color: #b7c9d8;
    transform: translateY(-2px);
    box-shadow:
        0 -3px 5px rgba(24, 68, 156, .10),
        2px 0 4px rgba(24, 68, 156, .05),
        -2px 0 4px rgba(24, 68, 156, .05);
}

.mvg-tab__image {
    position: absolute;
    inset: -2px;
    z-index: 0;
    overflow: hidden;
}

.mvg-tab__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.045);
    transition: transform .4s ease, filter .3s ease;
}

.mvg-tab:not(.is-active) .mvg-tab__image img {
    filter: saturate(.72) brightness(1.08);
}

.mvg-tab:hover .mvg-tab__image img {
    transform: scale(1.065);
}

.mvg-tab__gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(249, 252, 255, .99) 0%,
            rgba(249, 252, 255, .96) 54%,
            rgba(249, 252, 255, .72) 76%,
            rgba(249, 252, 255, .34) 100%);
}

.mvg-tab.is-active .mvg-tab__gradient {
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, .98) 53%,
            rgba(255, 255, 255, .70) 76%,
            rgba(255, 255, 255, .26) 100%);
}

.mvg-tab__content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 6px 12px 5px;
}

.mvg-tab__icon {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(13, 105, 181, .15);
    background: rgba(233, 243, 255, .88);
    color: #0d69b5;
    font-size: 13px;
    transition:
        transform .25s ease,
        background-color .25s ease,
        color .25s ease;
}

.mvg-tab.is-active .mvg-tab__icon {
    background: #0d69b5;
    border-color: #0d69b5;
    color: #fff;
    box-shadow: 0 4px 10px rgba(13, 105, 181, .20);
}

.mvg-tab:hover .mvg-tab__icon {
    transform: translateY(-1px);
}

.mvg-tab__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.mvg-tab__copy small {
    display: block;
    margin-bottom: 3px;
    color: #667d98;
    font-size: 6.5px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.mvg-tab__copy strong,
.mvg-tab.is-active .mvg-tab__copy strong {
    display: block;
    color: #18449c;
    font-size: 15px;
    line-height: 1.12;
    font-weight: 800;
}


/* ----------------------------------------------------------
   Encabezado del contenido de Guidelines
   ---------------------------------------------------------- */

.mvg-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
    padding: 0 4px 20px;
    border-bottom: 1px solid #dce6ef;
}

.mvg-content-header__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #0d69b5;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.mvg-content-header h2 {
    margin: 0 0 7px;
    color: #18449c;
    font-family: 'Poppins', sans-serif;
    font-size: 33px;
    line-height: 1.15;
    font-weight: 800;
}

.mvg-content-header p {
    max-width: 610px;
    margin: 0;
    color: #6b778d;
    font-size: 15px;
    line-height: 1.55;
}

.mvg-content-header__icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e9f3ff;
    color: #0d69b5;
    font-size: 27px;
}

/* ----------------------------------------------------------
   Grid de Guidelines
   ---------------------------------------------------------- */

.mvg-guidelines-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.mvg-guideline-card {
    position: relative;
    min-height: 255px;
    display: flex;
    flex-direction: column;
    padding: 23px 20px 20px;
    overflow: hidden;
    border: 1px solid #dce8f1;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(24, 68, 156, 0.055);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.mvg-guideline-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #0d69b5;
    transition: width .32s ease;
}

.mvg-guideline-card:hover {
    transform: translateY(-5px);
    border-color: #b7d5ea;
    box-shadow: 0 14px 28px rgba(24, 68, 156, 0.12);
}

.mvg-guideline-card:hover::before {
    width: 100%;
}

.mvg-guideline-card__brand {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef6fd;
    border: 1px solid #d3e7f6;
    color: #18449c;
    font-size: 14px;
    line-height: 1.05;
    font-weight: 800;
    text-align: center;
}

.mvg-guideline-card__brand--heart {
    color: #cf3045;
    font-size: 24px;
}

.mvg-guideline-card h3 {
    margin: 0 0 9px;
    color: #18449c;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
}

.mvg-guideline-card p {
    margin: 0 0 18px;
    color: #6b778d;
    font-size: 12.5px;
    line-height: 1.5;
}

.mvg-guideline-card__button {
    width: fit-content;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid #63b4e6;
    border-radius: 5px;
    background: #fff;
    color: #0d69b5 !important;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    text-decoration: none !important;
    transition:
        background-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.mvg-guideline-card__button:hover {
    background: #0d69b5;
    color: #fff !important;
    transform: translateY(-1px);
}

.mvg-guideline-card__button .fa {
    font-size: 10px;
    transition: transform .25s ease;
}

.mvg-guideline-card__button:hover .fa {
    transform: translateX(3px);
}

/* ----------------------------------------------------------
   Responsive exclusivo de Guidelines
   ---------------------------------------------------------- */

@media (max-width: 1199px) {
    .mvg-tab {
        width: 250px;
        height: 52px;
    }

    .mvg-tab.is-active {
        width: 250px;
        height: 52px;
    }

    .mvg-tab__copy strong,
    .mvg-tab.is-active .mvg-tab__copy strong {
        font-size: 16px;
    }

    .mvg-guidelines-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .mvg-tabs {
        margin-top: 2px;
    }
}

@media (max-width: 767px) {
    .mvg-tabs {
        gap: 7px;
        overflow-x: auto;
        overflow-y: hidden;
        min-height: 62px;
        margin-bottom: 26px;
        padding-left: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .mvg-tab,
    .mvg-tab.is-active {
        flex: 0 0 235px;
        width: 235px;
        height: 50px;
    }

    .mvg-tab__content {
        gap: 9px;
        padding: 5px 10px 4px;
    }

    .mvg-tab__icon {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .mvg-tab__copy small {
        font-size: 6.5px;
    }

    .mvg-tab__copy strong,
    .mvg-tab.is-active .mvg-tab__copy strong {
        font-size: 15px;
    }

    .mvg-content-header {
        align-items: flex-start;
    }

    .mvg-content-header h2 {
        font-size: 29px;
    }

    .mvg-content-header__icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        font-size: 23px;
    }

    .mvg-guidelines-grid {
        grid-template-columns: 1fr;
    }

    .mvg-guideline-card {
        min-height: auto;
    }
}

@media (max-width: 480px) {

    .mvg-tab,
    .mvg-tab.is-active {
        flex-basis: 220px;
        width: 220px;
        height: 48px;
    }

    .mvg-content-header__icon {
        display: none;
    }

    .mvg-content-header h2 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mvg-tab,
    .mvg-tab__image img,
    .mvg-tab__icon,
    .mvg-guideline-card,
    .mvg-guideline-card::before,
    .mvg-guideline-card__button,
    .mvg-guideline-card__button .fa {
        transition: none !important;
    }
}

/* ==========================================================
   THE MEDICAL VOICE / IASH MATERIALS
   Agregar al final de assets/css/medical-voice.css
   Prefijo exclusivo: mvmat-
   ========================================================== */

.mvmat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mvmat-card {
    min-width: 0;
}

.mvmat-card__open {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dce8f1;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(24, 68, 156, .07);
    color: inherit;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.mvmat-card__open:hover,
.mvmat-card__open:focus-visible {
    transform: translateY(-4px);
    border-color: #b7d5ea;
    box-shadow: 0 13px 25px rgba(24, 68, 156, .13);
    outline: none;
}

.mvmat-card__preview {
    position: relative;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, #eef5f9 0%, #dceaf2 48%, #f7fafc 100%);
}

.mvmat-card__preview::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: rgba(119, 162, 183, .18);
    clip-path: polygon(0 100%, 25% 35%, 45% 70%, 65% 22%, 100% 78%, 100% 100%);
}

.mvmat-card__preview-shape {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 34%;
    background: rgba(81, 133, 160, .16);
}

.mvmat-card__preview-shape--one {
    left: 12%;
    transform: skewX(-10deg);
}

.mvmat-card__preview-shape--two {
    right: 8%;
    width: 22%;
    background: rgba(34, 93, 125, .10);
    transform: skewX(8deg);
}

.mvmat-card__ppt-icon {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.mvmat-card__ppt-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: 52px;
    /* ajustalo si lo querés más grande o más chico */
    height: auto;
}

.mvmat-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 13px 12px 12px;
}

.mvmat-card__title {
    display: block;
    min-height: 66px;
    margin-bottom: 8px;
    color: #18449c;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.mvmat-card__type {
    display: block;
    margin-bottom: 14px;
    color: #0d69b5;
    font-size: 10.5px;
    line-height: 1.3;
    font-weight: 500;
}

.mvmat-card__button {
    width: 100%;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 4px;
    background: #0d69b5;
    color: #fff;
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 600;
    transition: background-color .25s ease;
}

.mvmat-card__open:hover .mvmat-card__button,
.mvmat-card__open:focus-visible .mvmat-card__button {
    background: #18449c;
}

.mvmat-card__button .fa {
    font-size: 10px;
    transition: transform .25s ease;
}

.mvmat-card__open:hover .mvmat-card__button .fa,
.mvmat-card__open:focus-visible .mvmat-card__button .fa {
    transform: translateX(3px);
}

/* Popup */
body.mvmat-modal-open {
    overflow: hidden;
}

.mvmat-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mvmat-modal.is-open {
    display: flex;
}

.mvmat-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 24, 47, .76);
}

.mvmat-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(1120px, 96vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
}

.mvmat-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 18px;
    border-bottom: 1px solid #dce6ef;
    background: #fff;
}

.mvmat-modal__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #0d69b5;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.mvmat-modal__header h3 {
    margin: 0;
    color: #18449c;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

.mvmat-modal__close {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d7e1ea;
    border-radius: 50%;
    background: #f5f9fc;
    color: #18449c;
    font-size: 17px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.mvmat-modal__close:hover,
.mvmat-modal__close:focus-visible {
    border-color: #0d69b5;
    background: #0d69b5;
    color: #fff;
    outline: none;
}

.mvmat-modal__viewer {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0b1727;
}

.mvmat-modal__viewer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1199px) {
    .mvmat-card__title {
        min-height: 72px;
        font-size: 12.5px;
    }
}

@media (max-width: 767px) {
    .mvmat-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mvmat-card__open {
        max-width: 420px;
    }

    .mvmat-card__preview {
        height: 150px;
    }

    .mvmat-card__title {
        min-height: 0;
        font-size: 14px;
    }

    .mvmat-card__type {
        font-size: 11px;
    }

    .mvmat-card__button {
        font-size: 11px;
    }

    .mvmat-modal {
        padding: 12px;
    }

    .mvmat-modal__dialog {
        width: 100%;
        max-height: 94vh;
    }

    .mvmat-modal__header {
        padding: 12px 13px;
    }

    .mvmat-modal__header h3 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .mvmat-modal__viewer {
        aspect-ratio: 4 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mvmat-card__open,
    .mvmat-card__button,
    .mvmat-card__button .fa,
    .mvmat-modal__close {
        transition: none !important;
    }
}

/* ==========================================================
   THE MEDICAL VOICE / FOR PATIENTS / MATERIALS
   Agregar al final de assets/css/medical-voice.css
   Prefijo exclusivo: mvpm-
   ========================================================== */

.mvpm-page .mv-content {
    min-width: 0;
}

.mvpm-content-header {
    margin-bottom: 18px;
}

/* ----------------------------------------------------------
   CARD HORIZONTAL DE MATERIAL
   ---------------------------------------------------------- */

.mvpm-material-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 13px;
    padding: 12px;
    border: 1px solid #dce8f1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(24, 68, 156, .045);
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.mvpm-material-card:last-child {
    margin-bottom: 0;
}

.mvpm-material-card:hover {
    transform: translateY(-2px);
    border-color: #bdd8ea;
    box-shadow: 0 10px 24px rgba(24, 68, 156, .09);
}

.mvpm-material-card__image-button {
    position: relative;
    width: 190px;
    height: 108px;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: #eef4f8;
    cursor: pointer;
}

.mvpm-material-card__image-button::after {
    content: "\f03e";
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 105, 181, .92);
    color: #fff;
    font-family: FontAwesome;
    font-size: 12px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .22s ease, transform .22s ease;
}

.mvpm-material-card:hover .mvpm-material-card__image-button::after,
.mvpm-material-card__image-button:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.mvpm-material-card__image-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.mvpm-material-card:hover .mvpm-material-card__image-button img {
    transform: scale(1.025);
}

.mvpm-material-card__image-button:focus-visible {
    outline: 2px solid #0d69b5;
    outline-offset: 2px;
}

.mvpm-material-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px 5px 2px 0;
}

.mvpm-material-card h3 {
    margin: 0 0 3px;
    color: #0d69b5;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
}

.mvpm-material-card__date {
    display: block;
    margin-bottom: 4px;
    color: #8a98aa;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 500;
}

.mvpm-material-card p {
    margin: 0 0 10px;
    color: #536a88;
    font-size: 12.5px;
    line-height: 1.4;
}

.mvpm-material-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
}

.mvpm-button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        background-color .22s ease,
        border-color .22s ease,
        color .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}

.mvpm-button .fa {
    font-size: 12px;
}

.mvpm-button--primary {
    border: 1px solid #0d69b5;
    background: #0d69b5;
    color: #fff !important;
}

.mvpm-button--primary:hover,
.mvpm-button--primary:focus-visible {
    border-color: #18449c;
    background: #18449c;
    color: #fff !important;
    transform: translateY(-1px);
    outline: none;
}

.mvpm-button--outline {
    border: 1px solid #63b4e6;
    background: #fff;
    color: #0d69b5 !important;
}

.mvpm-button--outline .fa-file-pdf-o {
    color: #e14a4a;
}

.mvpm-button--outline:hover,
.mvpm-button--outline:focus-visible {
    border-color: #0d69b5;
    background: #eef6fd;
    color: #18449c !important;
    transform: translateY(-1px);
    outline: none;
}

/* ----------------------------------------------------------
   POPUP DE IMAGEN
   ---------------------------------------------------------- */

body.mvpm-modal-open {
    overflow: hidden;
}

.mvpm-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.mvpm-modal.is-open {
    display: flex;
}

.mvpm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 28, 47, .78);
    backdrop-filter: blur(2px);
}

.mvpm-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(1040px, 94vw);
    max-height: 92vh;
    overflow: hidden;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(0, 0, 0, .28);
}

.mvpm-modal__header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 16px 12px 20px;
    border-bottom: 1px solid #e0e8ef;
}

.mvpm-modal__header h3 {
    margin: 0;
    color: #18449c;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.mvpm-modal__close {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef6fd;
    color: #18449c;
    font-size: 16px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.mvpm-modal__close:hover,
.mvpm-modal__close:focus-visible {
    background: #0d69b5;
    color: #fff;
    outline: none;
}

.mvpm-modal__body {
    max-height: calc(92vh - 58px);
    overflow: auto;
    padding: 18px;
    background: #f5f8fb;
    text-align: center;
}

.mvpm-modal__body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 5px 18px rgba(24, 68, 156, .10);
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 1199px) {
    .mvpm-material-card {
        grid-template-columns: 168px minmax(0, 1fr);
    }

    .mvpm-material-card__image-button {
        width: 168px;
        height: 102px;
    }
}

@media (max-width: 767px) {
    .mvpm-material-card {
        grid-template-columns: 145px minmax(0, 1fr);
        gap: 14px;
        padding: 10px;
    }

    .mvpm-material-card__image-button {
        width: 145px;
        height: 92px;
    }

    .mvpm-material-card h3 {
        font-size: 15px;
    }

    .mvpm-material-card p {
        font-size: 11.5px;
    }

    .mvpm-button {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 10px;
    }
}

@media (max-width: 575px) {
    .mvpm-material-card {
        display: block;
        padding: 12px;
    }

    .mvpm-material-card__image-button {
        width: 100%;
        height: auto;
        aspect-ratio: 2 / 1;
        margin-bottom: 13px;
    }

    .mvpm-material-card__content {
        padding: 0;
    }

    .mvpm-material-card h3 {
        font-size: 16px;
    }

    .mvpm-material-card p {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .mvpm-material-card__actions {
        gap: 7px;
    }

    .mvpm-button {
        flex: 1 1 140px;
    }

    .mvpm-modal {
        padding: 12px;
    }

    .mvpm-modal__dialog {
        width: 100%;
        max-height: 94vh;
    }

    .mvpm-modal__header h3 {
        font-size: 14px;
    }

    .mvpm-modal__body {
        max-height: calc(94vh - 58px);
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mvpm-material-card,
    .mvpm-material-card__image-button::after,
    .mvpm-material-card__image-button img,
    .mvpm-button,
    .mvpm-modal__close {
        transition: none !important;
    }
}