/* Knowledge Center page (QW-21567). Plain CSS on purpose: served direct, not through the dotless bundle,
   because it uses :has(), calc-size() and interpolate-size which the 1.6.7 compiler may not parse */
.knowledge-intro {
  max-width: 1140px;
  margin: 30px auto 0;
  font-size: 16px;
  color: #333333;
}
.knowledge-intro p {
  max-width: 70ch;
}
@media screen and (max-width: 1200px) {
  .knowledge-intro {
    padding-left: 15px;
    padding-right: 15px;
  }
}
/* =========================
  Layout
  ========================= */

.knowledge-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  column-gap: 3.2em;
  margin: 0 auto;
  margin-bottom: 5em;
  max-width: 1140px;
}

/* Sidebar navigation */
#knowledge-nav {
  width: 100%;
  max-width: 308px;
  padding: 1.2em 0;
  position: sticky;
  top: 2.05em;
  font-size: 16px;
}

/* Knowledge center content */
#knowledge-center {
  width: 100%;
  color: #333333;
  font-size: 16px;
}

/* =========================
  Navigation styling
  ========================= */

#knowledge-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#knowledge-nav li {
  margin-bottom: 0;
}

/* Main section links */
#knowledge-nav > ul > li > a {
  display: block;
  text-decoration: none;
  color: #003057;
  padding: 0.5em 0;
  border-top: solid 1px rgba(0, 48, 87, 0.15);
  font-size: 16px;
}

#knowledge-nav > ul > li:last-of-type {
    border-bottom: solid 1px rgba(0, 48, 87, 0.15);
}

#knowledge-nav li:has(a[aria-current="page"]) {
  border-left: solid 2px #2472B2;
  padding-bottom: .45em;
}

#knowledge-nav li:has(a[aria-current="page"]) a {
  padding-left: 12px;
  padding-bottom: .25em;
  transition: padding ease 0s;
}

/* Subsection links */
#knowledge-nav ul ul a {
  font-size: 13px;
  display: block;
  padding: 0.25em 0;
  font-weight: 400;
  text-decoration: none;
  color: rgba(0, 48, 87, 0.8);
}

@keyframes revealSubtopic {
  0% {
    opacity: 0;
    height: 0;
    overflow-y: clip;
  }
  100% {
    opacity: 1;
    height: calc-size(auto);
    overflow-y: auto;
  }
 }

 #knowledge-nav ul li:has(a[aria-current="page"]) ul {
  overflow-y: clip;
  animation: revealSubtopic ease .2s;
  interpolate-size: allow-keywords;
 }

 @media (prefers-reduced-motion: reduce) {
    #knowledge-nav ul li:has(a[aria-current="page"]) ul {
      animation: none;
    }
 }

 

/* Hover & focus */
#knowledge-nav a:hover {
  text-decoration: underline;
}

#knowledge-nav a:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
  text-decoration: underline;
}

/* Active section indicator */
#knowledge-nav a[aria-current="page"] {
  font-weight: 600;
}

/* =========================
  Knowledge center content
  ========================= */

#knowledge-center > section {
  width: 100%;
}

#knowledge-center > section p, #knowledge-center > section img, #knowledge-center > section a, #knowledge-center > section ul {
  max-width: 70ch;
}

/* Hide non-active sections safely */
#knowledge-center > section[hidden] {
  display: none;
}

/* Headings */
#knowledge-center h2 {
  margin-top: .8em;
  font-size: 1.8em !important;
  color: #2472b2;
  font-weight: 500;
  padding-top: .4em;
  margin-bottom: 0em !important;
  background: #ffffff;
}

#knowledge-center h3 {
  color: #003057;
  margin-top: .4em;
  font-size: 1.4em !important;
  border-bottom: solid 1px rgba(0, 48, 87, 0.5);
  box-shadow: 0 0px 4px 2px #ffffff;
  width: 100%;
  font-weight: 400;
  padding-bottom: .2em;
  padding-top: 1em;
  position: sticky;
  top: 0;
  background: #ffffff;
  position: relative;
}

#knowledge-center h4 {
  color: inherit;
  font-weight: bold;
  color: #003057;
  margin-top: 2em;
  margin-bottom: 0em;
  font-size: 1.1em !important;
}

#knowledge-center a {
  color: #2472b2;
}

 #knowledge-center strong {
  color: inherit;
 }

#knowledge-center h2:focus-visible, #knowledge-center h3:focus-visible {
  outline: none;
}

#knowledge-center > section img {
  width: 100%;
  height: auto;
  margin: 1em 0;
  background-color: #eee;
}

#knowledge-center ul {
  padding-left: 1.5em;
}


@media screen and (max-width: 1200px) {
  .knowledge-links, .knowledge-layout {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 900px) {
  .knowledge-layout {
    flex-direction: column;
  }

  #knowledge-nav {
    width: 100%;
    max-width: 100%;
    border-right: none;
    position: relative;
  }
}

.knowledge-links {
margin: 0 auto;
margin-bottom: 4em;
max-width: 1140px;
}

.knowledge-links ul {
list-style: none;
gap: 12px;
width: 100%;
flex-wrap: wrap;
padding: 0;

display: grid;
grid-template-columns: repeat(4, 1fr);
}

.knowledge-links ul li {
display: flex;
}

.knowledge-links a {
color: #333;
display: flex;
flex-direction: column;
gap: 6px;
align-items: flex-start;
width: 100%;
border: 1px solid rgba(0, 48, 87, 0.25);
box-shadow: inset 0 -1px 0 rgba(0, 48, 87, 0);
border-bottom-width: 2px;
border-radius: 4px;
background-color: #ffffff;
padding: 18px 12px;
background: linear-gradient(180deg, #FFF 0%, #EEF3F6 100%);
text-decoration: none;
}

.knowledge-links a p {
margin: 0 !important;
font-size: 13px;
}

.knowledge-link-heading {
color: #2472b2;
font-size: 18px !important;
line-height: 1.25em;
}

.knowledge-links a:hover, .knowledge-links a:focus-visible {
border-color: rgba(0, 48, 87, 1);
  transition: all ease .2s;
  box-shadow: inset 0 -1px 0 rgba(0, 48, 87, 0.75);
}

.knowledge-links a:hover .knowledge-link-heading, .knowledge-links a:focus-visible .knowledge-link-heading, .knowledge-links a:hover .knowledge-link-heading span, .knowledge-links a:focus-visible .knowledge-link-heading span {
text-decoration: underline;
}

#knowledge-center section section:target h3:before {
content: '';
height: 4px;
width: 4px;
border-radius: 10px;
background-color: #2472b2;
opacity: 0;
display: block;
position: absolute;
top: calc(.3em + 50%);
left: -.75em;
animation: blip ease 3s;
}

.more-info-links {
list-style-type: square;
}

.more-info-links a {
color: #2472b2;
}

@keyframes blip {
0% {opacity: 1;}
80% {opacity: 1;}
100% {opacity: 0;}
}

@media screen and (max-width: 1040px) {
.knowledge-links ul {
  grid-template-columns: repeat(4, 1fr);
}
.knowledge-link-heading {
  font-size: 16px !important;
}
.knowledge-links a {
  padding: 8px 8px;
  gap: 3px;
}
}

@media screen and (max-width: 740px) {
.knowledge-links-top {
  display: none !important;
}

#knowledge-nav {
  top: 0;
  padding-top: 0px;
}

.knowledge-links ul {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.knowledge-links p:not(.knowledge-link-heading) {
  display: none;
}
}

@media screen and (max-width: 680px) {
.knowledge-links ul {
  gap: 3px;
}
.knowledge-links a {
  padding: 6px 6px;
}
.knowledge-link-heading {
  font-size: 14px !important;
}
}

@media screen and (max-width: 680px) {
.knowledge-links ul {
  grid-template-columns: repeat(2, 1fr);
}
}

@media screen and (min-width: 900px) and (max-height: 715px) {
#knowledge-nav {
  top: 0;
  padding-top: 0;
}
#knowledge-nav > ul > li > a {
  padding: 0.35em 0;
}
}
