/* =========================================================
   HANNEKE VERHOEF
   KNOWLEDGE BASE
========================================================= */

.hv-kb {
  --navy: #223247;
  --navy-soft: #304158;
  --text: #323b46;
  --muted: #707985;
  --cream: #f5f1e9;
  --cream-light: #faf8f4;
  --border: #e4ded6;
  --bronze: #7f5b39;

  width: 100vw;
  max-width: 100vw;

  position: relative;
  left: 50%;

  margin-left: -50vw;

  overflow: hidden;

  background: #fff;

  color: var(--text);

  font-family: inherit;
  line-height: 1.65;
}


.hv-kb *,
.hv-kb *::before,
.hv-kb *::after {
  box-sizing: border-box;
}


/* KADENCE */

body:has(.hv-kb) .site-content,
body:has(.hv-kb) .content-area,
body:has(.hv-kb) .site-main,
body:has(.hv-kb) .entry-content-wrap,
body:has(.hv-kb) .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


body:has(.hv-kb) .entry-content-wrap {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* SHARED */

.hv-kb-container {
  width: min(1240px, calc(100% - 64px));

  margin: 0 auto;
}


.hv-kb-narrow {
  width: min(880px, calc(100% - 64px));
}


.hv-kb-section {
  padding: 96px 0;

  scroll-margin-top: 130px;
}


.hv-kb-section-soft {
  background: var(--cream-light);
}


.hv-kb-eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 14px;

  color: var(--bronze);

  font-size: 11px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: .13em;
}


.hv-kb-eyebrow::before {
  content: "";

  width: 28px;
  height: 1px;

  background: currentColor;
}


.hv-kb-eyebrow-light {
  color: #fff4e6;
}


.hv-kb h1,
.hv-kb h2,
.hv-kb h3 {
  margin-top: 0;

  color: var(--navy);

  font-family: Georgia, "Times New Roman", serif;

  font-weight: 400;

  letter-spacing: -.03em;
}


.hv-kb h1 {
  max-width: 940px;

  margin-bottom: 22px;

  font-size: clamp(48px,6vw,76px);

  line-height: 1.02;
}


.hv-kb h2 {
  max-width: 880px;

  margin-bottom: 18px;

  font-size: clamp(35px,4vw,52px);

  line-height: 1.08;
}


.hv-kb h3 {
  margin-bottom: 10px;

  font-size: 28px;

  line-height: 1.15;
}


.hv-kb p {
  color: var(--muted);
}


/* HERO */

.hv-kb-hero {
  padding: 102px 0 96px;

  background:
    linear-gradient(
      135deg,
      #faf8f4 0%,
      #f3eee6 100%
    );

  border-bottom: 1px solid var(--border);
}


.hv-kb-lead {
  max-width: 750px;

  margin: 0;

  font-size: 19px;

  line-height: 1.7;
}


/* INTRO */

.hv-kb-large-copy {
  margin-bottom: 17px;

  color: var(--navy) !important;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 25px;

  line-height: 1.4;
}


/* CATEGORY NAV */

.hv-kb-nav-section {
  padding: 25px 0;

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  background: #fff;
}


.hv-kb-category-nav {
  display: flex;
  flex-wrap: wrap;

  gap: 9px;
}


.hv-kb-category-nav a {
  padding: 9px 12px;

  border: 1px solid var(--border);
  border-radius: 6px;

  color: var(--navy) !important;

  background: #fff;

  font-size: 11px;
  font-weight: 700;

  text-decoration: none !important;
}


.hv-kb-category-nav a:hover {
  background: var(--cream-light);
}


/* SECTION HEADER */

.hv-kb-section-heading {
  max-width: 830px;

  margin-bottom: 45px;
}


/* LIST */

.hv-kb-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));

  gap: 22px;
}


/* ITEM */

.hv-kb-item {
  padding: 31px 29px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: #fff;

  scroll-margin-top: 130px;
}


.hv-kb-definition {
  margin-bottom: 25px;

  color: var(--navy) !important;

  font-size: 15px;

  line-height: 1.6;
}


.hv-kb-detail {
  padding: 14px 0;

  border-top: 1px solid #eee9e3;
}


.hv-kb-detail strong {
  display: block;

  margin-bottom: 4px;

  color: var(--bronze);

  font-size: 9px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: .08em;
}


.hv-kb-detail p {
  margin: 0;

  font-size: 11px;

  line-height: 1.65;
}


/* HIGHLIGHT DIRECT LINK */

.hv-kb-item:target {
  border-color: #c8ab8d;

  box-shadow:
    0 0 0 3px rgba(127,91,57,.07);
}


/* SITEWIDE GLOSSARY TERM LINKS */

.hv-term {
  color: inherit !important;

  text-decoration: none !important;

  border-bottom: 1px dotted #7f5b39;

  cursor: help;
}


.hv-term:hover {
  color: #7f5b39 !important;

  border-bottom-style: solid;
}


/* FINAL */

.hv-kb-final {
  padding: 100px 32px;

  background: var(--navy);
}


.hv-kb-final-inner {
  width: min(900px,100%);

  margin: 0 auto;

  text-align: center;
}


.hv-kb-final h2 {
  margin-left: auto;
  margin-right: auto;

  color: #fff;

  font-size: clamp(38px,4.7vw,58px);
}


.hv-kb-final p {
  max-width: 650px;

  margin: 0 auto 28px;

  color: rgba(255,255,255,.66);

  font-size: 15px;
}


.hv-kb-final-button {
  min-height: 49px;

  padding: 13px 19px;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  border-radius: 6px;

  background: #fff;

  color: var(--navy) !important;

  font-size: 13px;
  font-weight: 800;

  text-decoration: none !important;
}


/* TABLET */

@media (max-width: 900px) {

  .hv-kb-list {
    grid-template-columns: 1fr;
  }

}


/* MOBILE */

@media (max-width: 650px) {

  .hv-kb-container,
  .hv-kb-narrow {
    width: calc(100% - 32px);
  }


  .hv-kb-hero {
    padding: 70px 0 65px;
  }


  .hv-kb-section {
    padding: 68px 0;
  }


  .hv-kb h1 {
    font-size: clamp(42px,12vw,56px);
  }


  .hv-kb h2 {
    font-size: clamp(32px,9vw,42px);
  }


  .hv-kb-lead {
    font-size: 17px;
  }


  .hv-kb-category-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }


  .hv-kb-category-nav a {
    text-align: center;
  }


  .hv-kb-item {
    padding: 25px 21px;
  }


  .hv-kb-final {
    padding: 72px 20px;
  }

}