.privacy-policy-section {
  background-image: linear-gradient(54deg, #ffffffc2, #e9f7edcf);
  position: relative;
}

.privacy-policy-section .policy-wrapper-main {
  display: grid;
  grid-template-columns: 20rem 1fr;
  gap: 4rem;
  align-items: flex-start;
  padding: 4rem 0;
  max-width: 90%;
  margin: 0 auto;
  width: 100%;
}

.privacy-policy-section .section-nav {
  position: sticky;
  top: 6rem;
  width: 100%;
}

.privacy-policy-section .section-nav h3 {
  font-size: 1.5rem;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.5;
}

.privacy-policy-section .main-index-nav {
  margin-top: 1rem;
  list-style: none;
}

.privacy-policy-section .main-index-nav > li {
  margin-bottom: 0.5rem;
}

.privacy-policy-section .main-index-nav a {
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  /* white-space: nowrap; */
  padding: 1rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.5s ease;
  line-height: 22px;
}

.privacy-policy-section .main-index-nav a:hover {
  background-color: #bee6c9;
}

/* .privacy-policy-section .main-index-nav .submenu {
  display: none;
  padding-left: 0;
  list-style: none;
} */

.privacy-policy-section .main-index-nav .submenu a {
  font-weight: 400;
  width: 100%;
  white-space: normal;
  line-height: 1.5;
  padding: 0.75rem 1rem;
}

.privacy-policy-section .main-index-nav .submenu li {
  margin-bottom: 0.25rem;
}

.privacy-policy-section .policy-content-wrapper {
  justify-self: end;
  width: 100%;
}

.privacy-policy-section .policy-content-wrapper p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #000;
  line-height: 1.5;
  font-weight: 400;
}

.privacy-policy-section .policy-content-wrapper a {
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.35s ease-in-out;
}

.privacy-policy-section .policy-content-wrapper h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
}

.privacy-policy-section .policy-content-wrapper h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
}

.privacy-policy-section .policy-content-wrapper h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.privacy-policy-section .policy-content-wrapper h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  font-family: "Montserrat", sans-serif;
}

.privacy-policy-section .policy-content-wrapper ul {
  margin-bottom: 1rem;
  padding-left: 1rem;
  list-style: disc;
}

.privacy-policy-section .policy-content-wrapper li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  list-style: disc;
  line-height: 1.5;
}

/* Active states */
.privacy-policy-section .main-index-nav .current > a {
  background-color: #bee6c9;
}

.privacy-policy-section .main-index-nav .current .submenu {
  display: block;
}

/* Submenu visibility */
.privacy-policy-section .submenu.hidden {
  display: none;
}

.privacy-policy-section .submenu:not(.hidden) {
  display: block;
}

.section-nav {
  position: relative;
  cursor: pointer;
}

.section-nav::after {
  display: none;
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.section-nav.active::after {
  transform: translateY(-50%) rotate(180deg);
  /* rotate to point up */
}
.section-nav {
    position: sticky;
    top: 150px;
    align-self: start;
}

.section-nav ul {
    list-style: none;
}

/* 3. ScrollSpy active styles (see JS tab for activation) */
.section-nav li.active>a {
    color: #333;
    font-weight: 500;
}

/* Sidebar Navigation */
.section-nav {
    padding-left: 0;
    border-left: 1px solid #efefef;
}

.section-nav a {
    text-decoration: none;
    display: block;
    padding: .125rem 0;
    color: #ccc;
    transition: all 50ms ease-in-out;
    padding: .75rem 1rem;
}

.section-nav a:hover,
.section-nav a:focus {
    color: #666;
}

/** page layout **/
.policy-wrapper-main {
    display: flex;
}

/** enlarge the sections for this demo, so that we have a long scrollable page **/
section {
    padding-bottom: 20rem;
}

.page-template-policy main {
    margin-top: 70px;
}

/* css start */
.section-nav a {
    color: #000;
    font-size: 1rem;
    line-height: 0.5;
}

.section-nav .active {
    background-color: #bee6c9;
    font-weight: 600;
}

.submenu {
    padding-left: 2rem;
    font-weight: 400;
}

.submenu.hidden {
    display: none;
}

.section-nav {
    width: 30%;
}

.policy-content-wrapper {
    width: 70%;
}


@media (min-width: 1440px) {
  .privacy-policy-section .policy-wrapper-main {
    max-width: 1320px;
  }
}

@media (max-width: 991px) {
  .privacy-policy-section .policy-wrapper-main {
    grid-template-columns: 1fr;
    padding: 6rem 0;
    gap: 3rem;
  }

  .section-nav::after {
    display: inline-block;
  }

  .privacy-policy-section .section-nav {
    position: relative;
    top: 0;
  }

  .privacy-policy-section .section-nav h3 {
    border: 1px solid #000;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    cursor: pointer;
  }

  .privacy-policy-section .main-index-nav {
    display: none;
  }

  .privacy-policy-section .section-nav.open::after {
    transform: translateY(-50%) rotate(222deg);
    top: 26px;
  }

  .privacy-policy-section .main-index-nav.active {
    display: block;
  }

  .privacy-policy-section .policy-content-wrapper {
    justify-self: start;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .privacy-policy-section .policy-wrapper-main {
    padding: 4rem 0;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .privacy-policy-section .section-nav h3 {
    font-size: 1rem;
  }
}

@media (max-width: 479px) {
  .privacy-policy-section .main-index-nav .submenu a {
    padding-left: 1rem;
  }
}