.gae-contact-bar {
  display: none;
}

.nods-review .valores .valor,
.nods-review #lista-cursos :is(.sec-tag, .chip),
.nods-review .entry .current-label {
  font-size: max(12px, .75rem) !important;
}

.nods-review #lista-cursos .nods3-course-es {
  font-size: max(12px, .875rem) !important;
}

form .gf-consent {
  display: block;
}

form .gf-consent label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-content: center;
  align-items: start;
  gap: .7rem;
}

form :is(.gf-consent label, label.consent, label.check) {
  min-block-size: 44px;
  min-inline-size: 44px;
  cursor: pointer;
}

form input[type="checkbox"] {
  inline-size: 24px;
  block-size: 24px;
  flex-shrink: 0;
}

.gm .gm-cerrar {
  min-inline-size: 44px;
  min-block-size: 44px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .gae-contact-page {
    --gae-contact-safe-area: env(safe-area-inset-bottom, 0px);
    --gae-contact-space: calc(61px + var(--gae-contact-safe-area));
    scroll-padding-bottom: var(--gae-contact-space);
  }

  .gae-contact-page body {
    padding-bottom: var(--gae-contact-space);
  }

  .gae-contact-page .gae-contact-bar {
    position: fixed;
    z-index: 119;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-right, 0px))
      calc(8px + var(--gae-contact-safe-area)) max(12px, env(safe-area-inset-left, 0px));
    background: #061c3d;
    border-top: 1px solid #b8944f;
  }

  .gae-contact-bar a {
    display: grid;
    place-items: center;
    min-block-size: 44px;
    min-inline-size: 44px;
    padding: 4px 8px;
    border: 1px solid #d8b878;
    border-radius: 3px;
    color: #fff;
    font: 700 .875rem/1.3 var(--body, Arial, sans-serif);
    text-align: center;
    text-decoration: none;
  }

  .gae-contact-bar .gae-contact-inquiry {
    color: #061c3d;
    background: #e4c785;
  }

  .gae-contact-bar a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  .gae-contact-page :is(.flotante, #nods-tools-toggle) {
    bottom: calc(var(--gae-contact-space) + 1rem);
  }

  .gae-contact-page .nods-tools {
    bottom: calc(76px + var(--gae-contact-space)) !important;
    max-height: calc(100dvh - 108px - var(--gae-contact-space)) !important;
  }

  .gae-contact-page .panel-flot {
    bottom: calc(var(--gae-contact-space) + 4.5rem);
    max-height: calc(100dvh - var(--gae-contact-space) - 6rem);
    overflow-y: auto;
  }

  .gae-contact-page.gae-cookie-banner-open :is(.gae-contact-bar, .flotante, .panel-flot) {
    visibility: hidden;
  }

  .gae-contact-page .hero.nods4-home .hero-bg {
    position: absolute !important;
    inset: 0 0 auto !important;
    width: 100% !important;
    height: 360px !important;
    margin: 0 !important;
    overflow: hidden;
    isolation: isolate;
  }

  .gae-contact-page .hero.nods4-home .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gae-contact-page .hero.nods4-home .hero-bg::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, #061c3df2, #061c3dc4 62%, #061c3d);
  }

  .gae-contact-page .nods4-home .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
  }

  .gae-contact-page .nods4-home .hero-actions {
    order: 2;
  }

  .gae-contact-page .nods4-home .hero-inner > p.sub {
    order: 3;
    margin: 20px 0 0 !important;
  }
}

@media (max-width: 450px) and (max-height: 650px) {
  .gae-contact-page .hero.nods4-home {
    padding-top: 80px !important;
  }

  .gae-contact-page .nods4-home .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
  }

  .gae-contact-page .nods4-home .hero-actions a {
    min-inline-size: 0;
    padding-inline: 7px;
    text-align: center;
  }

  .gae-contact-page:has(.nods4-home) .gae-cookie-banner:has(.gae-cookie-prefs[hidden]) {
    max-height: 32dvh !important;
    gap: 8px;
    padding-block: 8px !important;
  }

  .gae-contact-page:has(.nods4-home) .gae-cookie-banner:has(.gae-cookie-prefs[hidden]) .gae-cookie-copy {
    min-height: 0;
    overflow-y: auto;
  }

  .gae-contact-page:has(.nods4-home) .gae-cookie-banner:has(.gae-cookie-prefs[hidden]) .gae-cookie-actions {
    flex-shrink: 0;
  }
}
