:root {
    --abc-blue: #001689;
    --abc-green: #00AE42;
    --abc-green-soft: #34C759;
    --abc-navy: #1B3159;
    --abc-night: #181F36;
    --abc-ink: #101936;
    --abc-text: #1C1C1E;
    --abc-muted: #6E7585;
    --abc-line: #E5E5EA;
    --abc-page: #F2F2F7;
    --abc-surface: #FFFFFF;
    --abc-surface-dark: #0C0F29;
    --abc-font-body: 'Poppins', sans-serif;
    --abc-font-heading: 'Roboto', sans-serif;
    --abc-font-meta: 'Encode Sans', sans-serif;
    --abc-space-1: 8px;
    --abc-space-2: 16px;
    --abc-space-3: 24px;
    --abc-space-4: 32px;
    --abc-space-5: 48px;
    --abc-space-6: 64px;
    --abc-radius-card: 8px;
    --abc-radius-panel: 20px;
    --abc-radius-pill: 999px;
    --abc-shadow-card: 0 16px 38px rgba(16, 25, 54, 0.10);
    --abc-shadow-dark: 0 18px 42px rgba(4, 9, 47, 0.28);
    --medicos-bg: linear-gradient(180deg, #23305C 0%, #181F36 55%, #101936 100%);
    --medicos-header-height: 78px;
}

html {
    scroll-padding-top: var(--medicos-header-height);
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100%;
}

body {
    max-width: 100%;
    font-family: var(--abc-font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

body.medicos-menu-open {
    overflow: hidden;
}

body.medicos-landing:not(.medicos-menu-open) {
    min-height: 100%;
    overflow: visible !important;
    overscroll-behavior-y: auto;
    touch-action: pan-y;
}

body.medicos-landing.medicos-menu-open {
    overflow: hidden !important;
}

body.medicos-login,
body.medicos-landing {
    background: var(--medicos-bg);
    color: #FFFFFF;
}

html.medicos-login-document {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior-y: auto;
    scroll-padding-top: 0;
}

html.medicos-login-document body.medicos-login {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    overscroll-behavior-y: auto;
}

body.bg-home {
    background: var(--abc-page);
    color: var(--abc-text);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--abc-green);
}

img {
    max-width: 100%;
}

.highlight-green {
    color: var(--abc-green);
}

.highlight-blue,
.blue {
    color: var(--abc-blue);
}

.medicos-brand-green {
    color: var(--abc-green);
}

.medicos-hero-sup {
    color: #FFFFFF;
    margin-left: -5px;
}

.medicos-logo-home,
.medicos-logo-fe {
    width: 260px;
}

.medicos-nav-search-icon {
    color: #FFFFFF;
    font-size: 20px;
    margin-right: 12px;
}

.medicos-welcome-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.medicos-login-separator {
    border: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.72);
    margin: var(--abc-space-4) 0;
    opacity: 1;
}

.medicos-field-error,
.medicos-register-error {
    display: none;
    font-family: var(--abc-font-body);
    font-weight: 600;
}

.medicos-field-error {
    font-size: 12px;
}

.medicos-register-error {
    font-size: 13px;
}

.medicos-reference-number {
    color: var(--abc-green);
    font-family: 'Gilroy-Bold', var(--abc-font-heading);
    font-weight: 700;
}

.medicos-reference-emphasis {
    font-style: italic;
}

.medicos-sidebar-separator {
    border: 0;
    border-top: 3px dotted var(--abc-line);
    margin: var(--abc-space-2) 0 var(--abc-space-3);
    opacity: 1;
}

.medicos-icon-pink {
    color: #D82D7E;
}

.medicos-icon-purple {
    color: #AF52DE;
}

.medicos-icon-orange {
    color: #FF9500;
}

.medicos-icon-red {
    color: #FF2D55;
}

.medicos-icon-indigo {
    color: #5856D6;
}

.medicos-chevron-blue {
    color: var(--abc-blue);
}

.medicos-chevron-light {
    color: #FFFFFF;
}

.medicos-download-card-top {
    padding-top: 10px;
}

.medicos-emc-item + .medicos-emc-item {
    margin-top: var(--abc-space-4);
}

.medicos-video-error {
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    border-radius: var(--abc-radius-card);
    background: #0C0F29;
    color: #FFFFFF;
    padding: var(--abc-space-3);
    font-family: var(--abc-font-body);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

/* Header */
.bg-menu {
    min-height: var(--medicos-header-height);
    background: rgba(27, 49, 89, 0.98);
    border-bottom: 2px solid rgba(0, 174, 66, 0.86);
    box-shadow: 0 14px 34px rgba(16, 25, 54, 0.22);
}

.navbar {
    padding: 12px 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: var(--abc-space-3);
}

.navbar-brand img {
    width: 172px;
    max-height: 52px;
    object-fit: contain;
}

.navbar-nav,
.home {
    gap: 10px;
    align-items: center;
    font-family: var(--abc-font-heading);
}

.nav-link,
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    padding: 10px 8px;
    font-family: var(--abc-font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--abc-green) !important;
    opacity: 1;
}

.btn-success-sesion,
.btn-success-sesi\00F3n,
.logout-btn,
.btn-login,
.btn-register,
.btn-success-regis,
.btn-success-dos {
    min-height: 44px;
    border: 0;
    border-radius: var(--abc-radius-card);
    background: var(--abc-green-soft);
    color: #FFFFFF;
    font-family: var(--abc-font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

.btn-success-sesion,
.btn-success-sesi\00F3n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    padding: 0 18px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.btn-login,
.btn-register,
.btn-success-regis,
.btn-primary-form,
.btn-secondary-back {
    border-radius: var(--abc-radius-pill);
}

.btn-success-sesion:hover,
.btn-success-sesi\00F3n:hover,
.logout-btn:hover,
.btn-login:hover,
.btn-register:hover,
.btn-success-regis:hover,
.btn-success-dos:hover {
    background: var(--abc-green);
    color: #FFFFFF;
}

.user-profile-menu .user-image {
    min-height: 48px;
    padding-left: var(--abc-space-2);
}

.user-name {
    color: #FFFFFF;
    font-size: 10px;
    line-height: 1.25;
}

.user-menu-content {
    border-radius: var(--abc-radius-card);
    box-shadow: var(--abc-shadow-card);
}

.logout {
    border-radius: var(--abc-radius-card);
    background: var(--abc-green);
    color: #FFFFFF;
}

/* Footer */
.bg-footer {
    border-top: 2px solid var(--abc-green-soft);
    background: #1A1D37;
    color: #FFFFFF;
}

.bg-footer .container-fluid {
    padding-right: var(--abc-space-5);
    padding-left: var(--abc-space-5);
}

.bg-footer .row {
    row-gap: var(--abc-space-3);
}

.bg-footer .text-success {
    margin-bottom: var(--abc-space-1);
    color: var(--abc-green-soft) !important;
    font-family: var(--abc-font-heading);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.28;
}

.text-footer {
    min-width: 0;
    max-width: 360px;
    margin-bottom: 0;
    color: #FFFFFF;
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: normal;
}

.fa-youtube,
.fa-envelope,
.fa-phone {
    color: var(--abc-green-soft);
}

/* Login */
.medicos-login .register-two {
    flex: 1 0 auto;
    min-height: calc(100vh - 190px);
    min-height: calc(100svh - 190px);
    padding: 92px 0 84px;
}

.medicos-login .bg-footer {
    flex-shrink: 0;
}

.register-two .container {
    max-width: 1280px;
}

.register-two .row {
    row-gap: var(--abc-space-4);
}

.register-two a > img[alt="ABCito"] {
    width: 360px;
    max-width: 78%;
}

.title-success {
    color: var(--abc-green);
    font-family: var(--abc-font-body);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
}

.text-log {
    margin-bottom: var(--abc-space-3);
    color: #FFFFFF;
    font-family: var(--abc-font-body);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
}

.input-custom,
.input-custom-regis,
.form-home {
    min-height: 48px;
    border-radius: var(--abc-radius-pill);
    font-family: var(--abc-font-body);
    font-size: 16px;
    line-height: 1.45;
}

.input-custom {
    padding: 10px 22px;
    border: 2px solid var(--abc-green-soft);
    background: #1D223F;
    color: #FFFFFF;
}

.input-custom-regis,
.form-home {
    padding: 8px 16px;
    border: 1px solid var(--abc-line);
    background: #FFFFFF;
    color: var(--abc-text) !important;
}

.input-custom::placeholder {
    color: rgba(255, 255, 255, 0.56);
}

.input-custom-regis::placeholder,
.form-home::placeholder {
    color: #8E8E93;
}

.form-control:focus,
.input-custom:focus,
.input-custom-regis:focus,
.form-home:focus {
    border-color: var(--abc-green);
    box-shadow: 0 0 0 4px rgba(0, 174, 66, 0.12);
}

.form-check {
    gap: 10px;
}

.form-check-input {
    width: 18px;
    height: 18px;
}

.form-check-input:checked {
    background-color: var(--abc-green-soft);
    border-color: var(--abc-green-soft);
}

.text-login,
.pass,
.register-txt,
.txt-green-register {
    letter-spacing: 0;
}

.text-login {
    color: #F9F9F9 !important;
    font-size: 14px;
}

.pass {
    color: var(--abc-green-soft);
    font-family: var(--abc-font-body);
    font-size: 14px;
    font-weight: 700;
}

.register-txt,
.txt-green-register {
    font-family: 'Heebo', sans-serif;
    font-size: 20px;
}

.txt-green-register {
    color: var(--abc-green);
    font-weight: 800;
}

/* Landing and home hero */
.inicio {
    padding-top: 128px;
    padding-bottom: var(--abc-space-4);
}

body.medicos-home .bg-home-ini {
    padding-top: 96px;
    padding-bottom: var(--abc-space-5);
}

.bg-home-ini {
    background: linear-gradient(180deg, #23305C 0%, #23305C 49%, #181F36 100%);
}

.hero-text,
.hero-text-home {
    max-width: 980px;
    color: #FFFFFF;
    font-family: var(--abc-font-heading);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.22;
    text-transform: uppercase;
}

.num {
    margin-bottom: var(--abc-space-2);
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--abc-font-meta);
    font-size: 13px;
    line-height: 1.35;
}

.registro-box {
    border-radius: var(--abc-radius-panel);
    padding: var(--abc-space-4);
    box-shadow: var(--abc-shadow-dark);
    overflow: hidden;
}

.registro-box .text-success {
    color: var(--abc-green-soft) !important;
}

.txt-form {
    color: #18384D;
    font-family: var(--abc-font-heading);
    font-size: 18px;
    line-height: 1.36;
}

.btn-primary-form {
    min-height: 44px;
    border: 0;
    background: var(--abc-blue);
    color: #FFFFFF;
    font-family: var(--abc-font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
}

.btn-primary-form:hover,
.btn-primary-form:active {
    background: #061C96;
    color: #FFFFFF;
}

.btn-secondary-back {
    min-height: 44px;
    border: 2px solid var(--abc-surface-dark);
    background: transparent;
    color: var(--abc-surface-dark);
    font-family: var(--abc-font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
}

.text-terminos,
.declaro {
    color: #3A3A3C;
    font-family: var(--abc-font-body);
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Section headings */
.text-white-m,
.text-white-m-home,
.text-success-4 {
    font-family: var(--abc-font-heading);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.text-white-m {
    color: #FFFFFF;
}

.text-white-m-home {
    color: var(--abc-blue);
}

.text-success-4 {
    color: var(--abc-green-soft);
}

.text-white-sub,
.text-white-sub-home {
    font-family: var(--abc-font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: 0;
}

.text-white-sub {
    color: #FFFFFF;
}

.text-white-sub-home {
    color: var(--abc-night);
}

.bg-primary,
.bg-primary-home {
    background: var(--abc-blue) !important;
    box-shadow: var(--abc-shadow-dark);
}

.medicos-landing .dos {
    width: min(90%, 1296px);
    max-width: calc(100% - 32px);
    margin-right: auto !important;
    margin-left: auto !important;
}

.medicos-landing .dos .rounded-section {
    width: 100%;
}

.fw-bold,
.text-success-2,
.sub {
    letter-spacing: 0;
}

.fw-bold,
.text-success-2 {
    font-family: var(--abc-font-body);
    font-size: 32px;
    font-weight: 800 !important;
}

.sub {
    font-family: var(--abc-font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}

/* Cards and content blocks */
.bg-card,
.bg-card-home,
.card-slide,
.card-slide-home,
.card-h,
.card-h-home,
.card,
.sidebar {
    border-radius: var(--abc-radius-card);
}

.bg-card,
.card-h {
    background: var(--abc-surface-dark);
}

.bg-card-home,
.card-slide-home,
.card-h-home,
.card,
.sidebar {
    background: var(--abc-surface);
    box-shadow: var(--abc-shadow-card);
}

.bg-card,
.bg-card-home {
    width: 350px;
    min-height: 283px;
    padding: var(--abc-space-4) var(--abc-space-2);
}

.card-slide,
.card-slide-home {
    width: 355px;
    min-height: 325px;
    height: auto;
    overflow: hidden;
}

.card-h,
.card-h-home {
    width: 410px;
    height: auto;
    min-height: 620px;
    padding: var(--abc-space-4);
}

.content-box-i {
    gap: var(--abc-space-3);
}

.card-txt,
.card-txt-home,
.txt-slider,
.txt-slider-home,
.text-sub,
.text-sub-home,
.text-card-h,
.text-card-h-home,
.text-white-d,
.text-white-d-home,
.text-web,
.text-web-home {
    font-family: var(--abc-font-body);
    letter-spacing: 0;
}

.card-txt,
.card-txt-home,
.txt-slider,
.txt-slider-home {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.text-sub,
.text-sub-home {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.text-success-3 {
    color: var(--abc-green);
    font-family: var(--abc-font-body);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: 0;
}

.read,
.txt-card-con,
.text-green,
.sub-web {
    color: var(--abc-green-soft);
    font-family: var(--abc-font-meta);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.txt-card-con {
    display: inline-block;
}

.descargables,
.descargables-home {
    min-height: 68px;
    border-radius: var(--abc-radius-card);
}

.descargables-home {
    border: 1px solid #D9D9D9;
    background: #F9F9F9;
}

.descar-card {
    min-width: 0;
    height: auto;
}

.play-button {
    width: 128px;
    height: 128px;
    border: 0;
    border-radius: 50%;
    background: var(--abc-green);
    color: #FFFFFF;
}

/* Article layout */
.mda {
    display: flex;
    gap: var(--abc-space-4);
    padding-top: calc(var(--medicos-header-height) + var(--abc-space-4));
    padding-bottom: var(--abc-space-5);
}

.main-content {
    width: 70%;
}

.sidebar {
    width: 30%;
    padding: var(--abc-space-4) var(--abc-space-3);
}

.card {
    padding: var(--abc-space-4);
}

.category {
    color: #8E8E93;
    font-family: var(--abc-font-body);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

.title {
    color: var(--abc-green);
    font-family: 'Gilroy-Bold', var(--abc-font-heading);
    font-size: 30px;
    line-height: 1.15;
}

.description {
    color: #333333;
    text-align: left;
    font-family: var(--abc-font-body);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.subtitle {
    color: var(--abc-green);
    font-family: var(--abc-font-body);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
}

.references {
    color: #333333;
    font-family: 'Gilroy-Regular', var(--abc-font-body);
    font-size: 10px;
    line-height: 1.8;
}

.references-tit {
    color: var(--abc-green);
    font-family: var(--abc-font-body);
    font-size: 10px;
    font-weight: 800;
}

.sidebar-title {
    color: var(--abc-blue);
    font-family: var(--abc-font-body);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: 0;
}

.recent-post {
    overflow: hidden;
    border-radius: var(--abc-radius-card);
}

/* Mobile menu */
.mobile-header {
    min-height: 70px;
    border-bottom: 2px solid var(--abc-green);
}

.mobile-header img {
    width: 160px;
}

.menu-toggle,
.close-menu {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--abc-radius-card);
    background: transparent;
    color: #FFFFFF;
}

.mobile-menu {
    background: var(--abc-navy);
    color: #FFFFFF;
}

.mobile-menu .menu-header {
    align-items: center;
}

.mobile-menu .menu-header img {
    width: 162px;
}

.menu-links {
    margin: var(--abc-space-4) 0;
}

.menu-links li,
.menu-links a {
    color: #F9F9F9;
    font-family: var(--abc-font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.search-box {
    border: 1px solid var(--abc-green);
    background: #0B2047;
}

.txt-place-movil {
    color: #FFFFFF;
    outline: none;
}

.txt-place-movil::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.movil-search {
    color: var(--abc-green);
}

@media (max-width: 1199.98px) {
    .navbar {
        padding-right: var(--abc-space-2);
        padding-left: var(--abc-space-2);
    }

    .navbar-brand img {
        width: 150px;
    }

    .nav-link,
    .navbar-dark .navbar-nav .nav-link {
        font-size: 13px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .hero-text,
    .hero-text-home {
        font-size: 34px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --medicos-header-height: 70px;
    }

    .navbar-desktop {
        display: none !important;
    }

    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        width: 100%;
    }

    body.medicos-landing,
    body.bg-home {
        padding-top: var(--medicos-header-height);
    }

    .inicio,
    body.medicos-home .bg-home-ini {
        padding-top: var(--abc-space-4);
    }

    .register-two {
        padding: var(--abc-space-5) 0;
    }

    .hero-text,
    .hero-text-home {
        max-width: 100%;
        font-size: 30px;
        text-align: center;
    }

    .text-white-m,
    .text-white-m-home,
    .text-success-4 {
        font-size: 34px;
    }

    .text-white-sub,
    .text-white-sub-home {
        font-size: 18px;
    }

    .mda {
        flex-direction: column;
        padding-top: var(--abc-space-4);
    }

    .main-content,
    .sidebar {
        width: 100%;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        display: flex;
        width: 100vw;
        max-width: 100vw;
        height: 100%;
        padding: var(--abc-space-3);
        overflow-y: auto;
        overflow-x: hidden;
        flex-direction: column;
        box-sizing: border-box;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-100%);
        transition: transform 0.32s ease, visibility 0s linear 0.32s;
    }

    .mobile-menu.active {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition-delay: 0s;
    }
}

@media (max-width: 767.98px) {
    .bg-footer .container-fluid {
        padding-right: var(--abc-space-3);
        padding-left: var(--abc-space-3);
    }

    .bg-footer {
        text-align: left;
    }

    .bg-footer .d-flex {
        min-width: 0;
        align-items: flex-start !important;
    }

    .bg-footer .fa-envelope,
    .bg-footer .fa-phone {
        margin-top: 3px;
        flex: 0 0 auto;
    }

    .title-success {
        font-size: 28px;
    }

    .text-log {
        font-size: 24px;
    }

    .register-txt,
    .txt-green-register {
        font-size: 17px;
    }

    .register-txt {
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .txt-green-register {
        display: inline-block;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .registro-box {
        padding: var(--abc-space-3);
    }

    .hero-text,
    .hero-text-home {
        font-size: 24px;
        line-height: 1.26;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .hero-text-home {
        margin-top: 0;
    }

    .num {
        width: 100%;
        text-align: center;
    }

    .image-container {
        justify-content: center;
        gap: var(--abc-space-2);
        overflow: hidden;
    }

    .svg-palabras {
        width: min(250px, 100%);
        max-width: 100%;
        margin-left: 0;
    }

    .bg-primary,
    .bg-primary-home {
        box-shadow: none;
    }

    .medicos-landing .dos {
        padding-right: var(--abc-space-2);
        padding-left: var(--abc-space-2);
    }

    .medicos-landing .dos .rounded-section {
        padding-right: 0;
        padding-left: 0;
    }

    .fw-bold,
    .text-success-2 {
        font-size: 26px;
    }

    .sub {
        margin-bottom: var(--abc-space-2);
    }

    .text-white-m,
    .text-white-m-home,
    .text-success-4 {
        font-size: 30px;
    }

    .text-white-sub,
    .text-white-sub-home {
        font-size: 16px;
    }

    .bg-card,
    .bg-card-home,
    .card-slide,
    .card-slide-home,
    .card-h,
    .card-h-home {
        width: 100%;
        max-width: 350px;
        margin-right: auto;
        margin-left: auto;
    }

    .card-h,
    .card-h-home {
        min-height: 0;
        padding: var(--abc-space-3);
    }

    .card {
        padding: var(--abc-space-3);
    }

    .content-box-i {
        gap: var(--abc-space-2);
    }

    .play-button {
        width: 92px;
        height: 92px;
        font-size: 42px;
    }

    .title {
        font-size: 26px;
    }

    .description {
        font-size: 15px;
    }

    .subtitle {
        font-size: 20px;
    }

    .form-wrapper {
        max-width: 100%;
        overflow: hidden;
        contain: paint;
    }

    .registro-box form {
        max-width: 100%;
        overflow: hidden;
    }

    .form-container {
        max-width: 300%;
    }

    .form-step {
        min-width: 0;
    }

    .medicos-landing .container-fluid > .row {
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .medicos-landing .row.gx-4 {
        --bs-gutter-x: 0;
    }

    .medicos-landing .card-h.mx-2,
    .medicos-landing .card-h-home.mx-2 {
        max-width: calc(100vw - 36px);
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .hero-text,
    .hero-text-home,
    .text-white-m,
    .text-white-m-home,
    .text-success-4,
    .text-white-sub,
    .text-white-sub-home,
    .text-success-3,
    .text-sub,
    .card-txt,
    .card-txt-home,
    .txt-slider,
    .txt-slider-home,
    .text-card-h,
    .text-card-h-home,
    .text-white-d,
    .text-white-d-home,
    .text-web,
    .text-web-home,
    .title,
    .subtitle,
    .description,
    .txt-form,
    .register-txt,
    .txt-green-register,
    .menu-links a,
    .logout-btn {
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
    }

    .hero-text,
    .hero-text-home,
    .register-txt,
    .txt-green-register {
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .txt-green-register {
        display: inline-block;
    }
}

@media (max-width: 390px) {
    .mobile-header img,
    .mobile-menu .menu-header img {
        width: 142px;
    }

    .hero-text,
    .hero-text-home {
        font-size: 23px;
    }

    .bg-card,
    .bg-card-home,
    .card-slide,
    .card-slide-home {
        max-width: 332px;
    }
}

/* Internal medical pages scroll normalization */
body.bg-home:not(.medicos-menu-open) {
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

body.bg-home:not(.medicos-home):not(.medicos-emc):not(.medicos-menu-open) {
    scroll-padding-top: var(--medicos-header-height);
}

body.bg-home:not(.medicos-home):not(.medicos-emc) .webinar-section,
body.bg-home:not(.medicos-home):not(.medicos-emc) .erge-container,
body.bg-home:not(.medicos-home):not(.medicos-emc) .herramientas-container,
body.bg-home:not(.medicos-home):not(.medicos-emc) .register-registro,
body.bg-home:not(.medicos-home):not(.medicos-emc) .farmaco {
    overflow: visible;
}

body.bg-home:not(.medicos-home):not(.medicos-emc) .main-content,
body.bg-home:not(.medicos-home):not(.medicos-emc) .main-content-w,
body.bg-home:not(.medicos-home):not(.medicos-emc) .sidebar,
body.bg-home:not(.medicos-home):not(.medicos-emc) .sidebar-erge,
body.bg-home:not(.medicos-home):not(.medicos-emc) .sidebar-w {
    min-height: 0;
    height: auto;
    overflow: visible;
}

body.bg-home:not(.medicos-home):not(.medicos-emc) .card,
body.bg-home:not(.medicos-home):not(.medicos-emc) .erge-card,
body.bg-home:not(.medicos-home):not(.medicos-emc) .abcito-card,
body.bg-home:not(.medicos-home):not(.medicos-emc) .recurso-card,
body.bg-home:not(.medicos-home):not(.medicos-emc) .recent-post {
    max-width: 100%;
}

body.bg-home:not(.medicos-home):not(.medicos-emc) .bg-footer {
    position: relative;
    z-index: 1;
    clear: both;
}

@media (min-width: 992px) {
    body.bg-home:not(.medicos-home):not(.medicos-emc) .register-registro.farmaco {
        padding-top: var(--medicos-header-height);
    }
}

@media (max-width: 991.98px) {
    body.bg-home:not(.medicos-home):not(.medicos-emc) .webinar-section,
    body.bg-home:not(.medicos-home):not(.medicos-emc) .descargables-title {
        padding-top: var(--abc-space-4);
    }

    body.bg-home:not(.medicos-home):not(.medicos-emc) .erge-container,
    body.bg-home:not(.medicos-home):not(.medicos-emc) .herramientas-container {
        display: grid;
        gap: var(--abc-space-3);
    }

    body.bg-home:not(.medicos-home):not(.medicos-emc) .register-registro.farmaco {
        min-height: auto;
    }
}
