/* Knowledge Base pages (/knowledge-base/) */

/* dark hero band (same treatment as .art-hero on article pages) so the
   transparent site header renders its white nav legibly */
.kb-hero {
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 20px) var(--pad-x) 50px;
  background: #2d3357;
}

/* indent hero text into the content column (same as .ct-hero__kicker on contact) */
.kb-hero > nav,
.kb-hero__title {
  width: min(100%, var(--maxw));
  margin: 0 auto;
}

.kb-hero__crumb {
  margin: 0;
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #fff;
}

.kb-hero__crumb a {
  color: inherit;
  text-decoration: none;
}

.kb-hero__crumb a:hover {
  text-decoration: underline;
}

.kb-hero__title {
  font-family: var(--f-alt);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.2;
  color: #fff;
}

.kb {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.kb-article h1 {
  font-family: var(--f-alt);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 24px;
}

.kb-article h2 {
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  margin: 40px 0 16px;
}

.kb-article h3 {
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 20px;
  margin: 32px 0 12px;
}

.kb-article p,
.kb-article li {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.kb-article ul,
.kb-article ol {
  padding-left: 24px;
  margin: 0 0 16px;
}

.kb-article a {
  color: #2da2db;
}

.kb-article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
}

.kb-article figure {
  margin: 24px auto;
}

/* neutralise WP alignment classes carried over from the export */
.kb-article .alignleft,
.kb-article .alignright,
.kb-article .aligncenter,
.kb-article .alignnone {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.kb-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--f-body);
  font-size: 15px;
}

.kb-article th,
.kb-article td {
  border: 1px solid #d9dee6;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.kb-article th {
  background: #f2f5f9;
}

/* hub list */
.kb-hub__intro {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 32px;
}

.kb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.kb-list__item a {
  display: block;
  padding: 20px 24px;
  border: 1px solid #d9dee6;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kb-list__item a:hover {
  border-color: #2da2db;
  box-shadow: 0 2px 10px rgba(45, 162, 219, 0.12);
}

.kb-list__item h2 {
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 8px;
  color: #323d5c;
}

.kb-list__item p {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: #55607a;
}

@media (max-width: 640px) {
  .kb {
    padding: 32px 16px 56px;
  }

  .kb-article h1 {
    font-size: 30px;
  }

  .kb-hero__title {
    font-size: 32px;
  }

  .kb-article h2 {
    font-size: 22px;
  }
}
