/*
 * Jornada do Ser — correções responsivas de alta prioridade.
 * Versão 0.28.17.
 *
 * Este arquivo é carregado depois da folha principal para garantir que as
 * regras responsivas prevaleçam inclusive sobre estilos persistidos pelo FSE
 * e sobre as regras padrão do bloco Navigation do WordPress.
 */

/* -------------------------------------------------------------------------- */
/* Profissionais — botão Fale conosco idêntico ao WhatsApp do contato final  */
/* -------------------------------------------------------------------------- */
.jds-professionals-final-contact__action-area {
    justify-items: center !important;
}

.jds-professionals-final-contact__button.jds-final-contact__button.jds-final-contact__button--whatsapp {
    -webkit-appearance: none !important;
    appearance: none !important;
    align-items: center !important;
    /* O lado mais claro inicia o degradê, conforme o padrão solicitado. */
    background: linear-gradient(135deg, #0b6970 0%, var(--jds-teal-dark) 100%) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 24px rgba(7, 63, 67, .18) !important;
    box-sizing: border-box !important;
    color: #fff !important;
    display: inline-flex !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    gap: 10px !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 8px 18px !important;
    text-align: center !important;
    text-decoration: none !important;
    width: min(100%, 290px) !important;
}

.jds-professionals-final-contact__button.jds-final-contact__button.jds-final-contact__button--whatsapp:hover,
.jds-professionals-final-contact__button.jds-final-contact__button.jds-final-contact__button--whatsapp:focus-visible {
    box-shadow: 0 16px 28px rgba(7, 63, 67, .24) !important;
    color: #fff !important;
    filter: brightness(1.03) !important;
    transform: translateY(-2px) !important;
}

.jds-professionals-final-contact__button .jds-final-contact__button-icon {
    align-items: center !important;
    border: 1px solid rgba(255,255,255,.5) !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    flex: 0 0 32px !important;
    height: 32px !important;
    justify-content: center !important;
    width: 32px !important;
}

.jds-professionals-final-contact__button .jds-final-contact__button-icon svg {
    fill: currentColor !important;
    height: 17px !important;
    width: 17px !important;
}

/* -------------------------------------------------------------------------- */
/* Registros institucionais — conteúdo rigorosamente centralizado             */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-card,
    .jds-home-clinic-records .jds-clinic-environment__registry-card {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy,
    .jds-home-clinic-records .jds-clinic-environment__registry-copy {
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        margin-inline: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy strong,
    .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy span,
    .jds-home-clinic-records .jds-clinic-environment__registry-copy strong,
    .jds-home-clinic-records .jds-clinic-environment__registry-copy span {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        text-align: center !important;
        width: 100% !important;
    }

    .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-icon,
    .jds-home-clinic-records .jds-clinic-environment__registry-icon {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

html.jds-compact-landscape .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-card,
html.jds-compact-landscape .jds-home-clinic-records .jds-clinic-environment__registry-card {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

html.jds-compact-landscape .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy,
html.jds-compact-landscape .jds-home-clinic-records .jds-clinic-environment__registry-copy {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin-inline: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

html.jds-compact-landscape .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy strong,
html.jds-compact-landscape .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy span,
html.jds-compact-landscape .jds-home-clinic-records .jds-clinic-environment__registry-copy strong,
html.jds-compact-landscape .jds-home-clinic-records .jds-clinic-environment__registry-copy span {
    margin-inline: auto !important;
    max-width: 100% !important;
    text-align: center !important;
    width: 100% !important;
}

html.jds-compact-landscape .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-icon,
html.jds-compact-landscape .jds-home-clinic-records .jds-clinic-environment__registry-icon {
    margin-inline: auto !important;
}


/* -------------------------------------------------------------------------- */
/* A Clínica — registros iguais à grade institucional da página Início       */
/* -------------------------------------------------------------------------- */
/*
 * Regras antigas do carrossel atribuíam 100% de largura a cada registro e
 * mantinham overflow oculto no viewport, fazendo apenas o CNPJ permanecer
 * visível. Aqui a área de registros é explicitamente estática: 4 cards em
 * grade 2 x 2 no celular/tablet, inclusive em paisagem.
 */
@media (max-width: 1024px) {
    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-shell {
        border: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry,
    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__viewport {
        contain: none !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
        touch-action: auto !important;
        width: 100% !important;
    }

    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-track {
        display: grid !important;
        gap: 14px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        transition: none !important;
        width: 100% !important;
        will-change: auto !important;
    }

    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-card {
        align-items: center !important;
        background: #fff !important;
        border: 1px solid rgba(40, 35, 31, .08) !important;
        border-radius: 16px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex: none !important;
        flex-direction: column !important;
        gap: 8px !important;
        justify-content: center !important;
        margin: 0 !important;
        max-width: 100% !important;
        min-height: 154px !important;
        min-width: 0 !important;
        padding: 18px 14px !important;
        text-align: center !important;
        transform: none !important;
        width: 100% !important;
    }

    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy {
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        grid-template-rows: none !important;
        justify-content: center !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        text-align: center !important;
        transform: none !important;
        width: 100% !important;
    }

    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy strong,
    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy span {
        margin: 0 auto !important;
        max-width: 100% !important;
        overflow: visible !important;
        overflow-wrap: anywhere !important;
        text-align: center !important;
        white-space: normal !important;
        width: 100% !important;
        word-break: normal !important;
    }

    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-icon {
        margin: 0 auto 7px !important;
    }
}

@media (max-width: 430px) {
    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-track {
        gap: 10px !important;
    }

    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-card {
        min-height: 148px !important;
        padding: 15px 9px !important;
    }

    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy strong {
        font-size: 12px !important;
    }

    .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-copy span {
        font-size: 11px !important;
    }
}

html.jds-compact-landscape .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry,
html.jds-compact-landscape .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__viewport {
    contain: none !important;
    overflow: visible !important;
}

html.jds-compact-landscape .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-track {
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    transform: none !important;
    width: 100% !important;
}

html.jds-compact-landscape .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__registry-card {
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
}

/* -------------------------------------------------------------------------- */
/* Celular/tablet em paisagem — cabeçalho                                     */
/* Logotipo à esquerda + Auto Agendamento + menu recolhido à direita.         */
/* -------------------------------------------------------------------------- */
html.jds-compact-landscape .jds-site-header .jds-main-header__inner {
    align-items: center !important;
    box-sizing: border-box !important;
    display: grid !important;
    gap: clamp(8px, 1.6vw, 18px) !important;
    grid-template-columns: minmax(0, 1fr) auto 48px !important;
    min-height: 88px !important;
    padding: 9px clamp(14px, 2.8vw, 28px) !important;
    width: 100% !important;
}

html.jds-compact-landscape .jds-site-header .jds-brand {
    grid-column: 1 !important;
    justify-self: start !important;
    margin: 0 !important;
    max-width: 330px !important;
    min-width: 0 !important;
    width: min(330px, 42vw) !important;
}

html.jds-compact-landscape .jds-site-header .jds-brand .wp-block-site-logo,
html.jds-compact-landscape .jds-site-header .jds-brand .wp-block-site-logo a,
html.jds-compact-landscape .jds-site-header .jds-brand .wp-block-site-logo img,
html.jds-compact-landscape .jds-site-header .jds-brand .jds-brand-logo img {
    display: block !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

html.jds-compact-landscape .jds-site-header .jds-brand .wp-block-site-logo img,
html.jds-compact-landscape .jds-site-header .jds-brand .jds-brand-logo img {
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

html.jds-compact-landscape .jds-site-header .jds-header-cta {
    align-items: center !important;
    display: flex !important;
    grid-column: 2 !important;
    justify-self: end !important;
    margin: 0 !important;
    width: auto !important;
}

html.jds-compact-landscape .jds-site-header .jds-header-cta .wp-block-button,
html.jds-compact-landscape .jds-site-header .jds-header-cta .wp-block-button__link {
    margin: 0 !important;
    width: auto !important;
}

html.jds-compact-landscape .jds-site-header .jds-header-cta .wp-block-button__link {
    font-size: clamp(10px, 1.45vw, 12px) !important;
    gap: 8px !important;
    min-height: 46px !important;
    padding: 9px clamp(12px, 2vw, 19px) !important;
}

html.jds-compact-landscape .jds-site-header .jds-header-cta .wp-block-button__link::before {
    flex-basis: 19px !important;
    height: 19px !important;
    width: 19px !important;
}

html.jds-compact-landscape .jds-site-header .jds-nav {
    flex: none !important;
    grid-column: 3 !important;
    justify-self: end !important;
    margin: 0 !important;
    min-width: 48px !important;
    order: initial !important;
    width: 48px !important;
}

html.jds-compact-landscape body .jds-site-header .jds-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
    visibility: hidden !important;
}

html.jds-compact-landscape body .jds-site-header .jds-nav button.wp-block-navigation__responsive-container-open,
html.jds-compact-landscape body .jds-site-header .jds-nav .wp-block-navigation__responsive-container-open {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    box-sizing: border-box !important;
    color: var(--jds-teal-dark) !important;
    display: flex !important;
    height: 48px !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 8px !important;
    visibility: visible !important;
    width: 48px !important;
}

html.jds-compact-landscape .jds-site-header .jds-nav .wp-block-navigation__responsive-container-open svg {
    height: 29px !important;
    width: 29px !important;
}

html.jds-compact-landscape body .jds-site-header .jds-nav .wp-block-navigation__responsive-container.is-menu-open {
    display: block !important;
    visibility: visible !important;
}

html.jds-compact-landscape .jds-site-header .jds-nav .wp-block-navigation__responsive-container.is-menu-open .jds-nav__auto {
    display: flex !important;
}

@media (max-width: 640px) and (orientation: landscape) {
    html.jds-compact-landscape .jds-site-header .jds-main-header__inner {
        grid-template-columns: minmax(0, 1fr) auto 44px !important;
        padding-inline: 10px !important;
    }

    html.jds-compact-landscape .jds-site-header .jds-brand {
        width: min(220px, 38vw) !important;
    }

    html.jds-compact-landscape .jds-site-header .jds-header-cta .wp-block-button__link {
        font-size: 9.5px !important;
        gap: 6px !important;
        min-height: 42px !important;
        padding-inline: 10px !important;
    }
}

/* -------------------------------------------------------------------------- */
/* 0.28.17 — celular em paisagem: marca central e CTA somente dentro do menu */
/* -------------------------------------------------------------------------- */
html.jds-phone-landscape .jds-site-header .jds-main-header__inner {
    align-items: center !important;
    display: grid !important;
    gap: 0 !important;
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    grid-template-rows: minmax(68px, auto) !important;
    min-height: 76px !important;
    padding: 4px 12px !important;
}

html.jds-phone-landscape .jds-site-header .jds-brand {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    margin: 0 !important;
    max-width: 330px !important;
    min-width: 0 !important;
    width: min(330px, 70vw) !important;
}

html.jds-phone-landscape .jds-site-header .jds-brand .wp-block-site-logo,
html.jds-phone-landscape .jds-site-header .jds-brand .wp-block-site-logo a,
html.jds-phone-landscape .jds-site-header .jds-brand .wp-block-site-logo img,
html.jds-phone-landscape .jds-site-header .jds-brand .jds-brand-logo img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
}

html.jds-phone-landscape .jds-site-header .jds-brand .wp-block-site-logo img,
html.jds-phone-landscape .jds-site-header .jds-brand .jds-brand-logo img {
    height: auto !important;
    max-height: 64px !important;
    object-fit: contain !important;
    object-position: center center !important;
}

html.jds-phone-landscape .jds-site-header .jds-header-cta {
    display: none !important;
}

html.jds-phone-landscape .jds-site-header .jds-nav {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin: 0 !important;
    min-width: 48px !important;
    width: 48px !important;
}

html.jds-phone-landscape .jds-site-header .jds-nav .wp-block-navigation__responsive-container.is-menu-open .jds-nav__auto {
    display: flex !important;
}

/* -------------------------------------------------------------------------- */
/* Contato final — três botões na mesma linha em paisagem                     */
/* -------------------------------------------------------------------------- */
html.jds-compact-landscape .jds-clinic-final-contact__actions,
html.jds-compact-landscape .jds-services-final-contact__actions {
    align-items: stretch !important;
    display: grid !important;
    flex-wrap: nowrap !important;
    gap: clamp(8px, 1.6vw, 16px) !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 980px !important;
    width: 100% !important;
}

html.jds-compact-landscape .jds-clinic-final-contact__actions .jds-final-contact__button,
html.jds-compact-landscape .jds-services-final-contact__actions .jds-final-contact__button {
    box-sizing: border-box !important;
    flex: none !important;
    font-size: clamp(10.5px, 1.45vw, 14px) !important;
    gap: clamp(6px, 1vw, 12px) !important;
    min-width: 0 !important;
    padding: 9px clamp(8px, 1.5vw, 18px) !important;
    width: 100% !important;
}

html.jds-compact-landscape .jds-clinic-final-contact__actions .jds-final-contact__button-icon,
html.jds-compact-landscape .jds-services-final-contact__actions .jds-final-contact__button-icon {
    flex-basis: 28px !important;
    height: 28px !important;
    width: 28px !important;
}

html.jds-compact-landscape .jds-clinic-final-contact__actions .jds-final-contact__button > span:last-child,
html.jds-compact-landscape .jds-services-final-contact__actions .jds-final-contact__button > span:last-child {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* -------------------------------------------------------------------------- */
/* Perfil profissional — botões finais centralizados em paisagem              */
/* -------------------------------------------------------------------------- */
html.jds-compact-landscape .jds-prof-profile__cta {
    align-items: center !important;
}

html.jds-compact-landscape .jds-prof-profile__cta-actions {
    align-self: center !important;
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: center !important;
    justify-items: stretch !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 600px !important;
    min-width: 0 !important;
    width: min(100%, 600px) !important;
}

html.jds-compact-landscape .jds-prof-profile__cta-actions .jds-prof-profile__cta-button {
    box-sizing: border-box !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

/* -------------------------------------------------------------------------- */
/* Rodapé — duas colunas estáveis e alinhadas em celular/tablet paisagem      */
/* -------------------------------------------------------------------------- */
html.jds-compact-landscape .jds-footer-main {
    padding: 30px 0 22px !important;
}

html.jds-compact-landscape .jds-footer-grid {
    align-items: start !important;
    display: grid !important;
    gap: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    row-gap: 0 !important;
    width: min(calc(100% - 44px), 1240px) !important;
}

html.jds-compact-landscape .jds-footer-grid > .jds-footer-column,
html.jds-compact-landscape .jds-footer-grid > .jds-footer-column:first-child,
html.jds-compact-landscape .jds-footer-grid > .jds-footer-column:last-child,
html.jds-compact-landscape .jds-footer-grid > .jds-footer-column:nth-child(odd),
html.jds-compact-landscape .jds-footer-grid > .jds-footer-column:nth-child(even) {
    align-self: start !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.14) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    min-width: 0 !important;
    padding: 26px 28px !important;
    width: 100% !important;
}

html.jds-compact-landscape .jds-footer-grid > .jds-footer-column:nth-child(odd) {
    padding-left: 0 !important;
}

html.jds-compact-landscape .jds-footer-grid > .jds-footer-column:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,.14) !important;
    padding-right: 0 !important;
}

html.jds-compact-landscape .jds-footer-grid > .jds-footer-column:nth-child(-n+2) {
    border-top: 0 !important;
    padding-top: 0 !important;
}

html.jds-compact-landscape .jds-footer-column--brand,
html.jds-compact-landscape .jds-footer-column--technical,
html.jds-compact-landscape .jds-footer-column--information,
html.jds-compact-landscape .jds-footer-column--navigation {
    text-align: left !important;
}

html.jds-compact-landscape .jds-footer-column--brand .jds-footer-brand-title,
html.jds-compact-landscape .jds-footer-column--brand .jds-footer-brand-subtitle,
html.jds-compact-landscape .jds-footer-column--brand .jds-footer-brand-records,
html.jds-compact-landscape .jds-footer-column--brand .jds-footer-technical,
html.jds-compact-landscape .jds-footer-column .jds-footer-heading,
html.jds-compact-landscape .jds-footer-column--technical .jds-footer-technical-details {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

html.jds-compact-landscape .jds-footer-column--brand .jds-footer-brand-title,
html.jds-compact-landscape .jds-footer-column .jds-footer-heading {
    margin-top: 0 !important;
}

html.jds-compact-landscape .jds-footer-column--brand .jds-footer-social-heading {
    margin: 24px auto 14px !important;
    text-align: center !important;
}

html.jds-compact-landscape .jds-footer-column--brand .jds-footer-social-icons {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

html.jds-compact-landscape .jds-footer-column--technical .jds-footer-technical-details {
    align-content: start !important;
    align-items: start !important;
    padding-top: 0 !important;
}

html.jds-compact-landscape .jds-footer-navigation .wp-block-navigation__container {
    display: grid !important;
    gap: 8px 10px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
}


/* -------------------------------------------------------------------------- */
/* 0.28.14 — compatibilidade com HTML antigo em cache                         */
/* -------------------------------------------------------------------------- */
/* A Clínica: funciona tanto com o markup 0.28.8 (track/carrossel) quanto com
   o markup atual (registry-fixed). O breakpoint de 1280px cobre tablets e
   celulares, inclusive paisagem, sem depender de pointer/coarse. */
@media (max-width: 1280px) {
  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-shell {
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry,
  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__viewport {
    contain: none !important;
    overflow: visible !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-track,
  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-fixed {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    transform: none !important;
    transition: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-track > .jds-clinic-environment__registry-card,
  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-fixed > .jds-clinic-environment__registry-card {
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 154px !important;
    margin: 0 !important;
    padding: 18px 14px !important;
    border: 1px solid rgba(40,35,31,.08) !important;
    border-radius: 16px !important;
    background: #fff !important;
    text-align: center !important;
    transform: none !important;
  }

  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    grid-template-rows: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    transform: none !important;
  }

  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-copy strong,
  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-copy span {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    text-align: center !important;
  }

  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-icon {
    margin: 0 auto 8px !important;
  }

  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__carousel--registry .jds-clinic-environment__controls {
    display: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 0.28.15 — registros de A Clínica                                           */
/* -------------------------------------------------------------------------- */
.jds-clinic-environment__registry-home.jds-home-clinic-records {
  background: transparent;
  margin-top: 46px;
  padding: 0;
}

.jds-clinic-environment__registry-home .jds-home-clinic-records__registry-shell {
  margin-top: 0;
}

@media (max-width: 1024px),
       (orientation: landscape) and (max-width: 1366px) {
  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-home .jds-clinic-environment__registry-track {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    transform: none !important;
  }

  body .jds-clinic-environment:not(.jds-clinic-environment--editor) .jds-clinic-environment__registry-home .jds-clinic-environment__registry-card {
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 0.28.16 — Profissionais: pílula limitada pelo texto de apoio              */
/* -------------------------------------------------------------------------- */
@media (orientation: landscape) and (max-width: 1366px) {
  body .jds-professionals-final-contact .jds-professionals-final-contact__action-area {
    align-items: stretch !important;
    display: inline-grid !important;
    justify-items: stretch !important;
    justify-self: center !important;
    max-width: 100% !important;
    text-align: center !important;
    width: max-content !important;
  }

  body .jds-professionals-final-contact .jds-professionals-final-contact__button.jds-final-contact__button.jds-final-contact__button--whatsapp {
    align-self: stretch !important;
    background: linear-gradient(90deg, #21a6a2 0%, #0b6970 52%, #063438 100%) !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    font-size: 13px !important;
    gap: 8px !important;
    justify-self: stretch !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-height: 40px !important;
    min-width: 0 !important;
    padding: 5px 12px !important;
    white-space: nowrap !important;
    width: 100% !important;
  }

  body .jds-professionals-final-contact .jds-professionals-final-contact__support {
    margin: 0 !important;
    max-width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    width: max-content !important;
  }

  body .jds-professionals-final-contact .jds-professionals-final-contact__button .jds-final-contact__button-icon {
    flex: 0 0 28px !important;
    height: 28px !important;
    width: 28px !important;
  }
}

html.jds-compact-landscape body .jds-professionals-final-contact .jds-professionals-final-contact__action-area {
  align-items: stretch !important;
  display: inline-grid !important;
  justify-items: stretch !important;
  justify-self: center !important;
  max-width: 100% !important;
  width: max-content !important;
}

html.jds-compact-landscape body .jds-professionals-final-contact .jds-professionals-final-contact__button.jds-final-contact__button.jds-final-contact__button--whatsapp {
  align-self: stretch !important;
  background: linear-gradient(90deg, #21a6a2 0%, #0b6970 52%, #063438 100%) !important;
  justify-self: stretch !important;
  margin: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  width: 100% !important;
}

html.jds-compact-landscape body .jds-professionals-final-contact .jds-professionals-final-contact__support {
  margin: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  width: max-content !important;
}

/* -------------------------------------------------------------------------- */
/* 0.29.9 — Rodapé: redes abaixo da identificação do fundador                */
/* -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .jds-footer-column--brand {
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .jds-footer-column--brand > .jds-footer-brand-title {
    order: 1;
  }

  .jds-footer-column--brand > .jds-footer-brand-subtitle {
    order: 2;
  }

  .jds-footer-column--brand > .jds-footer-brand-records {
    order: 3;
  }

  .jds-footer-column--brand > .jds-footer-technical {
    order: 4;
  }

  .jds-footer-column--brand > .jds-footer-social-heading {
    align-self: flex-start !important;
    margin: 20px 0 11px !important;
    max-width: 100% !important;
    order: 5;
    text-align: left !important;
    white-space: nowrap !important;
    width: auto !important;
  }

  .jds-footer-column--brand > .jds-footer-social-icons {
    align-self: flex-start !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    order: 6;
    width: auto !important;
  }
}

html.jds-compact-landscape .jds-footer-column--brand {
  align-items: flex-start !important;
  display: flex !important;
  flex-direction: column !important;
}

html.jds-compact-landscape .jds-footer-column--brand > .jds-footer-brand-title {
  order: 1;
}

html.jds-compact-landscape .jds-footer-column--brand > .jds-footer-brand-subtitle {
  order: 2;
}

html.jds-compact-landscape .jds-footer-column--brand > .jds-footer-brand-records {
  order: 3;
}

html.jds-compact-landscape .jds-footer-column--brand > .jds-footer-technical {
  order: 4;
}

html.jds-compact-landscape .jds-footer-column--brand > .jds-footer-social-heading {
  align-self: flex-start !important;
  margin: 20px 0 11px !important;
  max-width: 100% !important;
  order: 5;
  text-align: left !important;
  white-space: nowrap !important;
  width: auto !important;
}

html.jds-compact-landscape .jds-footer-column--brand > .jds-footer-social-icons {
  align-self: flex-start !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  order: 6;
  width: auto !important;
}
