:root {
  --glass-light: rgba(255, 255, 255, 0.70);
  --glass-light-stuck: rgba(255, 255, 255, 0.82);
  --glass-border-dark: rgba(0, 0, 0, 0.08);
  --blur-strong: blur(14px);
}

[data-acf-module],
[data-acf-module] .fixed-container,
[data-acf-module] .container {
  overflow: visible !important;
}

[data-acf-module] .acf-sticky-subnav-wrapper {
  position: relative;
  z-index: 9990;
}

[data-acf-module] .acf-sticky-subnav {
  position: sticky;
  top: var(--acf-sticky-top, 160px);
  z-index: 9999;
  background: rgb(253 250 243);
}

[data-acf-module] .acf-sticky-subnav.is-fixed {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: var(--acf-sticky-top, 160px);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 9999;
}

[data-acf-module] .acf-sticky-subnav.is-bottom {
  position: absolute;
  left: 0;
  transform: none;
  width: 100%;
  top: auto;
  bottom: 0;
}

[data-acf-module] .acf-sticky-subnav.is-stuck {
  background: var(--glass-light-stuck);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
  background-color: #fff;
  padding: 16px 0;
}

[data-acf-module] .acf-subnav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 80%;
}

.nav-title {
  width: 30%;
}

[data-acf-module] .acf-subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px !important;
  font-weight: 600;
  border-radius: 10px;
  color: rgb(0 29 57);
  text-decoration: none;
  background: rgba(255, 255, 255, 0);
  opacity: 0.85;
  transition: opacity 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

[data-acf-module] .acf-subnav-link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.35);
  padding: 16px 24px !important;
}

[data-acf-module] .acf-subnav-link.is-active {
  opacity: 1;
  background: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  padding: 16px 24px !important;
}

[data-acf-module] .acf-subnav-select-wrap {
  display: none;
  margin-top: 6px;
}

[data-acf-module] .acf-subnav-select {
  width: 100%;
  padding: 12px 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: var(--blur-strong);
  backdrop-filter: var(--blur-strong);
}

[data-acf-module] iframe {
  width: 100%;
  height: 100%;
  min-height: 700px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;
}

@media (max-width: 767px) {
  [data-acf-module] .acf-subnav-list {
    display: none;
  }

  [data-acf-module] .acf-subnav-select-wrap {
    display: block;
  }
}

[data-acf-section] {
  scroll-margin-top: calc(var(--acf-sticky-top, 160px) + 100px);
}

[data-acf-module] .acf-custom-embed iframe {
  width: 100%;
  min-height: 700px;
  border-radius: 14px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
              0 4px 6px -4px rgb(0 0 0 / 0.1) !important;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  [data-acf-module] .acf-sticky-subnav {
    background: #ffffff !important;
  }
}

@media screen and (min-width: 769px) and (max-width: 1279px) {
  [data-acf-module] .acf-subnav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
  }

  .nav-title {
    width: 60%;
    padding: 12px 24px;
    margin: 0 auto;
    text-align: center;
  }

  .nav-flex {
    flex-direction: column !important;
  }
}