:root {
  --dia-navy: #071737;
  --dia-blue: #073a76;
  --dia-green: #00ad82;
  --dia-focus: #ffbf47;
}

#header.header--dia-educa,
#header.header--dia-educa.sticky {
  background-color: var(--dia-blue);
  border-bottom-color: rgba(255, 255, 255, .2);
}

#header.header--dia-educa.sticky #main-nav > ul > li > a,
#header.header--dia-educa.sticky #menu-right a {
  color: #fff;
}

#header.header--dia-educa.sticky #main-nav > ul > li > a::before {
  background: #fff;
}

#header.header--dia-educa.sticky #light-logo { display: block; }
#header.header--dia-educa.sticky #scroll-logo { display: none; }
#header.header--dia-educa.sticky .menu-btn { filter: none; }

.dia-educa {
  background: #fff;
  color: #171717;
  padding: 115px 20px 48px;
}

.dia-educa__container {
  margin: 0 auto;
  max-width: 900px;
}

.dia-educa__banner {
  display: block;
  height: auto;
  width: 100%;
}

.dia-educa__languages {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 38px 0 28px;
}

.dia-educa__language {
  align-items: center;
  background: var(--dia-green);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 22px;
  font-weight: 700;
  justify-content: center;
  min-height: 58px;
  padding: 10px 20px;
  text-decoration: none;
}

.dia-educa__language:hover { color: #fff; text-decoration: none; }
.dia-educa__language span {
  background: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  height: 18px;
  margin-left: 20px;
  width: 18px;
}
.dia-educa__language.is-active span { background: var(--dia-blue); }

.dia-educa__registration {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 400px;
}

.dia-educa__form h1,
.dia-educa__attendance legend {
  color: #181818;
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 18px;
  text-align: center;
}

.dia-educa__field { margin-bottom: 14px; }
.dia-educa__field label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px 12px;
}
.dia-educa__field input,
.dia-educa__field select {
  background: #fff;
  border: 2px solid var(--dia-navy);
  border-radius: 10px;
  font-size: 17px;
  min-height: 52px;
  padding: 10px 14px;
  width: 100%;
}

.dia-educa__attendance { border: 0; margin: 20px 0 0; padding: 0; }
.dia-educa__radio-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dia-educa__radio-grid label {
  align-items: center;
  background: var(--dia-blue);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
  min-height: 56px;
  padding: 10px 16px;
}
.dia-educa__radio-grid input {
  accent-color: var(--dia-green);
  height: 20px;
  margin-left: 15px;
  width: 20px;
}

.dia-educa__submit {
  background: #181f4d;
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin: 20px auto 0;
  min-height: 52px;
  min-width: 150px;
  padding: 10px 24px;
}
.dia-educa__submit:disabled { cursor: wait; opacity: .65; }
.dia-educa__side-image { display: block; height: auto; max-width: 400px; width: 100%; }
.dia-educa__error { color: #b42318; font-size: 14px; margin: 4px 10px 0; min-height: 0; }
.dia-educa__status { color: #b42318; font-weight: 600; margin: 12px 0 0; text-align: center; }

.dia-educa :focus-visible,
.dia-educa-modal :focus-visible {
  outline: 4px solid var(--dia-focus);
  outline-offset: 3px;
}

.dia-educa-modal {
  align-items: center;
  background: rgba(1, 9, 27, .82);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 10000;
}
.dia-educa-modal[hidden] { display: none; }
.dia-educa-modal__content { max-width: 400px; position: relative; width: 100%; }
.dia-educa-modal__close {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  color: #071737;
  display: flex;
  font-size: 28px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  z-index: 1;
}
.dia-educa-modal__link { display: block; }
.dia-educa-modal__link:not([href]) { cursor: default; }
.dia-educa-modal__link img { border-radius: 8px; display: block; height: auto; width: 100%; }

@media (max-width: 760px) {
  .dia-educa { padding: 95px 14px 36px; }
  .dia-educa__languages { gap: 12px; margin: 22px 0; }
  .dia-educa__language { font-size: 17px; min-height: 50px; padding: 8px; }
  .dia-educa__language span { height: 14px; margin-left: 10px; width: 14px; }
  .dia-educa__registration { grid-template-columns: 1fr; }
  .dia-educa__side-image { margin: 0 auto; }
}

@media (max-width: 420px) {
  .dia-educa__radio-grid { grid-template-columns: 1fr; }
}
