/* ============================================================
   EDO Landing Page - theme_sli
   CSS scoped under .edo-landing to avoid clashing with Moodle Boost.
   Loaded only on the public frontpage (guest users).
   ============================================================ */
.display-5,
.display-5 strong {
  font-size: 3rem;
  vertical-align: unset;
}
.display-5 {
  font-weight: 300;
}

strong {
  font-weight: 700;
  vertical-align: unset;
}
.edo-landing {
  --bs-edo-btn-border-radius: 12px;
  --bs-edo-divider-color: #cce3f2;
  --bs-edo-colored-section: #f1fbfe;
  --bs-edo-help-colored-panel: #f2f2f2;
  --bs-edo-footer-section: #0071bc;
  --bs-edo-text-primary: #0071bc;
  --bs-edo-text-secondary: black;
  --bs-edo-btn-primary: #0dc3f4;
  --bs-edo-btn-color: white;
  --bs-edo-btn-border-color: transparent;
  --bs-edo-btn-hover-border-color: transparent;

  font-family: "Titillium Web", sans-serif;
  font-weight: 300;
  color: #212529;
  background: #fff;
}

.edo-landing .video-aspect {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #000;
}

.edo-landing .video-aspect iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.edo-landing .fade-in-img {
  opacity: 0;
  transition:
    opacity 1.5s ease,
    transform 1.5s ease;
  transform: translateY(20px);
}

.edo-landing .fade-in-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.edo-landing .header-logo .edo-logo {
  height: 120px;
}

.edo-landing .header-logo .edo-ngeu-logo,
.edo-landing .header-logo .edo-mlps-logo,
.edo-landing .header-logo .edo-gol-logo {
  max-height: 85px;
}

.edo-landing .edo-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5rem;
  text-wrap: wrap;
}

@media (min-width: 576px) {
  .edo-landing .edo-body {
    font-size: 1rem;
  }
}

.edo-landing .edo-title1 {
  color: var(--bs-edo-text-primary);
  font-weight: 700;
}

.edo-landing .edo-subtitle1 {
  color: var(--bs-edo-text-primary);
}

.edo-landing .edo-title2 {
  color: var(--bs-edo-text-secondary);
  font-weight: 700;
}

.edo-landing .b-example-divider {
  background-color: var(--bs-edo-divider-color);
  height: 2px;
}

.edo-landing .edo-colored-section {
  background-color: var(--bs-edo-colored-section);
}

.edo-landing .edo-help-colored-panel {
  background-color: var(--bs-edo-help-colored-panel);
  clip-path: polygon(50px 0%, 100% 0%, 100% 100%, 0% 100%);
}

.edo-landing .edo-footer-section {
  background-color: var(--bs-edo-footer-section);
  color: #fff;
}

.edo-landing .edo-footer-section a,
.edo-landing .edo-footer-section .accessibility,
.edo-landing .edo-footer-section .accessibility a {
  color: #fff;
}

.edo-landing .edo-footer-section .privacy-policy {
  font-size: 0.8rem;
  font-weight: 300;
}

.edo-landing .edo-footer-section .accessibility {
  font-size: 1rem;
  font-weight: 300;
}

.edo-landing .edo-title-item {
  color: black;
  font-size: calc(1.2rem);
}

@media (min-width: 576px) {
  .edo-landing .edo-program .edo-title-item {
    min-height: 70px;
  }
}

.edo-landing .edo-step-img {
  height: 275px;
}

.edo-landing .edo-text-block {
  min-height: 150px;
  vertical-align: top;
}

.edo-landing .edo-flex-block img {
  max-width: 150px;
}

.edo-landing .edo-help-title {
  font-size: 2rem;
  font-weight: 700;
}

.edo-landing .edo-help-link {
  color: var(--bs-edo-text-primary);
}

.edo-landing .btn-edo {
  background-color: var(--bs-edo-btn-primary);
  color: var(--bs-edo-btn-color);
  border-radius: var(--bs-edo-btn-border-radius);
  box-shadow:
    3px 3px white,
    5px 6px black;
  width: 250px;
  border-color: var(--bs-edo-btn-border-color);
  font-weight: 700;
}

.edo-landing .btn-edo:hover,
.edo-landing .btn-edo:focus,
.edo-landing .btn-edo:active {
  color: var(--bs-edo-btn-color);
  background-color: var(--bs-edo-btn-primary);
  border-color: var(--bs-edo-btn-hover-border-color);
}

/* Login CTA in the EDO landing nav */
.edo-landing .edo-login-cta {
  background-color: var(--bs-edo-text-primary);
  color: #fff;
  border-radius: var(--bs-edo-btn-border-radius);
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--bs-edo-text-primary);
  display: inline-block;
}

.edo-landing .edo-login-cta:hover,
.edo-landing .edo-login-cta:focus {
  background-color: #fff;
  color: var(--bs-edo-text-primary);
  text-decoration: none;
}

/* Smartphone (sotto il breakpoint sm di Bootstrap) */
@media (max-width: 575.98px) {
  .display-5,
  .display-5 strong {
    font-size: 2rem;
  }

  .edo-landing .header-logo .edo-logo {
    height: 80px;
  }

  .edo-landing .header-logo .edo-ngeu-logo,
  .edo-landing .header-logo .edo-mlps-logo,
  .edo-landing .header-logo .edo-gol-logo {
    max-height: 55px;
  }

  .edo-landing .edo-help-title {
    font-size: 1.5rem;
  }

  .edo-landing .edo-step-img {
    height: auto;
    max-width: 100%;
  }

  .edo-landing .edo-text-block {
    min-height: 0;
  }

  .edo-landing .btn-edo {
    width: 100%;
  }

  .edo-landing .edo-login-cta {
    display: block;
    text-align: center;
  }
}
