html {
  scroll-behavior: smooth;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.desktop-dropdown {
  position: relative;
}

.desktop-dropdown > summary {
  position: relative;
  color: #0b1c31;
  font-size: 14px;
  font-weight: 400;
  line-height: 37px;
  white-space: nowrap;
}

.desktop-dropdown > summary::after,
.mobile-dropdown > summary::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border: solid #315b99;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}

.desktop-dropdown[open] > summary,
.desktop-dropdown > summary:hover {
  color: var(--primary-color);
}

.desktop-dropdown[open] > summary::after,
.mobile-dropdown[open] > summary::after {
  transform: translateY(1px) rotate(225deg);
}

.desktop-dropdown > ul {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  z-index: 60;
  width: max-content;
  min-width: 320px;
  padding: 16px;
  border: 1px solid #315b99;
  background: #fff;
}

.desktop-dropdown > ul a {
  display: block;
  padding: 8px 7px;
  color: var(--primary-color);
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.desktop-dropdown > ul a:hover {
  background: #f3f6fa;
}

.desktop-dropdown > summary:focus-visible,
.mobile-nav-toggle:focus-visible,
.mobile-dropdown > summary:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.mobile-nav {
  display: none;
}

.related-section-link {
  display: block;
  color: inherit;
}

.linked-content-card {
  position: relative;
}

.content-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.content-card-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.index01bg a.btn {
  display: inline-block;
  text-decoration: none;
}

.prev_next > span {
  display: block;
  padding: 5px 0;
  color: #777;
}

.form-status {
  margin-top: 12px;
  text-align: center;
  line-height: 1.6;
}

.wow {
  visibility: visible;
}

@media (max-width: 1299px) {
  .desktop-dropdown > summary {
    font-size: 15px;
  }
}

@media (max-width: 999px) {
  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .mobile-nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .mobile-nav-toggle > span {
    display: block;
    width: 24px;
    height: 2px;
    background: #888;
  }

  .mobile-nav[open] .mobile-nav-toggle > span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-nav[open] .mobile-nav-toggle > span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav[open] .mobile-nav-toggle > span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-nav-panel {
    box-sizing: border-box;
    position: fixed;
    top: 80px;
    right: 20px;
    width: calc(100% - 40px);
    max-width: 360px;
    max-height: calc(100svh - 100px);
    overflow-y: auto;
    padding: 12px 20px;
    border: 1px solid #d6dfe9;
    background: #fff;
    box-shadow: 0 12px 30px rgb(11 28 49 / 12%);
  }

  .mobile-nav-panel > ul > li {
    border-bottom: 1px solid #e9edf2;
  }

  .mobile-nav-panel > ul > li:last-child {
    border-bottom: 0;
  }

  .mobile-dropdown > summary,
  .mobile-nav-panel > ul > li > a {
    display: block;
    padding: 16px 0;
    color: #0b1c31;
    font-size: 15px;
    line-height: 1.5;
  }

  .mobile-dropdown > ul {
    padding: 0 0 12px 12px;
  }

  .mobile-dropdown > ul a {
    display: block;
    padding: 10px 0;
    color: var(--primary-color);
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
