/*
 * Civalta Help Scout Docs theme
 *
 * Hosted URL after the Civalta app deploys:
 * https://civalta.com/helpscout/docs.css
 */

:root {
  --civalta-navy: #213145;
  --civalta-ink: #18253b;
  --civalta-muted: #5e6d84;
  --civalta-soft-text: #95a1b5;
  --civalta-green: #319966;
  --civalta-green-hover: #287c53;
  --civalta-green-soft: #e8f6ee;
  --civalta-green-border: #d7efe3;
  --civalta-canvas: #f8f9ff;
  --civalta-surface: #ffffff;
  --civalta-border: #e2e8f0;
  --civalta-shadow: 0 16px 36px rgba(24, 37, 59, 0.08);
  --civalta-display: "Prompt", "Plus Jakarta Sans", "Avenir Next", Inter, Arial,
    sans-serif;
  --civalta-body: "Plus Jakarta Sans", "Avenir Next", Inter, Arial, sans-serif;
}

html {
  min-height: 100%;
  background: var(--civalta-surface);
  color: var(--civalta-ink);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--civalta-surface);
  color: var(--civalta-ink);
  font-family: var(--civalta-body);
  font-size: 16px;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

a,
button,
input,
select {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(49, 153, 102, 0.35);
  outline-offset: 3px;
}

.container-fluid {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

/* Header */

#mainNav.navbar {
  margin: 0;
}

#mainNav .navbar-inner {
  min-height: 88px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--civalta-navy);
  box-shadow: none;
}

#mainNav .container-fluid {
  display: flex;
  min-height: 88px;
  max-width: 1320px;
  align-items: center;
  justify-content: space-between;
  padding-right: 24px;
  padding-left: 24px;
}

#mainNav .brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  margin: 0 auto 0 0;
  padding: 0;
  color: #ffffff;
  font-family: var(--civalta-display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: none;
}

#mainNav .brand::before {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background: url("../civalta-sidebar-mark.png") no-repeat center / contain;
  content: "";
}

#mainNav .brand:hover,
#mainNav .brand:focus {
  color: #ffffff;
  text-decoration: none;
}

#mainNav .brand:hover::before {
  transform: translateY(-1px);
}

#mainNav .nav-collapse:has(.nav:empty) {
  display: none;
}

#mainNav .nav {
  margin: 0;
}

#mainNav .nav li a {
  padding: 12px 14px;
  color: #dce4f2;
  font-family: var(--civalta-body);
  font-size: 14px;
  font-weight: 600;
  text-shadow: none;
}

#mainNav .nav li a:hover,
#mainNav .nav li a:focus,
#mainNav .nav .active a,
#mainNav .nav .active a:hover,
#mainNav .nav .active a:focus {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Homepage hero and search */

#docsSearch {
  display: flex;
  min-height: 386px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 54px 24px 62px;
  border: 0;
  background: var(--civalta-canvas);
  text-align: center;
}

#docsSearch .civalta-hero-eyebrow {
  margin: 0 0 14px;
  color: var(--civalta-green);
  font-family: var(--civalta-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#docsSearch h1 {
  max-width: 900px;
  margin: 0;
  color: var(--civalta-ink);
  font-family: var(--civalta-display);
  font-size: clamp(40px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

#docsSearch .civalta-hero-subtitle {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--civalta-muted);
  font-family: var(--civalta-body);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}

#docsSearch #searchBar {
  display: flex;
  width: min(100%, 780px);
  height: 72px;
  margin: 38px auto 0;
  position: relative;
}

#docsSearch #searchBar .search-query {
  width: 100%;
  height: 72px;
  margin: 0;
  padding: 0 24px 0 66px;
  border: 1px solid #cbd5e1;
  border-right: 0;
  border-radius: 18px 0 0 18px;
  background: #ffffff url("icons/search.svg") no-repeat 26px center / 24px;
  box-shadow: none;
  color: var(--civalta-ink);
  font-family: var(--civalta-body);
  font-size: 18px;
  line-height: 1;
}

#docsSearch #searchBar .search-query::placeholder {
  color: #7a879a;
  opacity: 1;
}

#docsSearch #searchBar .search-query:focus {
  border-color: var(--civalta-green);
  box-shadow: 0 0 0 4px rgba(49, 153, 102, 0.18);
  outline: 0;
}

#docsSearch #searchBar button {
  display: flex;
  width: 132px;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  flex: 0 0 132px;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  float: none;
  margin: 0;
  padding: 0 22px;
  position: static;
  inset: auto;
  border: 1px solid var(--civalta-green);
  border-radius: 0 18px 18px 0;
  background: var(--civalta-green);
  box-shadow: none;
  color: #ffffff;
  font-family: var(--civalta-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-shadow: none;
  transform: none;
}

#docsSearch #searchBar button:hover,
#docsSearch #searchBar button:focus {
  border-color: var(--civalta-green-hover);
  background: var(--civalta-green-hover);
  color: #ffffff;
}

#docsSearch #searchBar button .icon-search {
  display: none;
}

#docsSearch #searchBar button span {
  font-size: inherit;
}

#docsSearch #serp-dd {
  top: 82px;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--civalta-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--civalta-shadow);
  text-align: left;
}

#docsSearch #serp-dd .result > li {
  border-bottom: 1px solid var(--civalta-border);
}

#docsSearch #serp-dd .result > li:last-child {
  border-bottom: 0;
}

#docsSearch #serp-dd .result a {
  display: block;
  padding: 14px 18px;
  color: var(--civalta-ink);
  font-size: 15px;
}

#docsSearch #serp-dd .result a:hover,
#docsSearch #serp-dd .result > li.active a {
  background: var(--civalta-green-soft);
  color: var(--civalta-green-hover);
}

/* Homepage content */

#contentArea.container-fluid {
  max-width: 1140px;
  padding-top: 54px;
  padding-bottom: 0;
}

.most-pop-articles {
  width: 100%;
  max-width: none;
  margin: 0 0 54px;
  text-align: left;
}

.most-pop-articles h2 {
  margin: 0 0 16px;
  color: var(--civalta-ink);
  font-family: var(--civalta-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-align: left;
}

.most-pop-articles .popArticles {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.most-pop-articles .popArticles li {
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--civalta-border);
}

.most-pop-articles .popArticles li:first-child {
  border-top: 1px solid var(--civalta-border);
}

.most-pop-articles .popArticles a {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 13px;
  padding: 12px 4px;
  color: var(--civalta-green);
  font-family: var(--civalta-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.most-pop-articles .popArticles a:hover,
.most-pop-articles .popArticles a:focus,
.most-pop-articles .popArticles a:hover span {
  color: var(--civalta-green-hover);
  text-decoration: none;
}

.most-pop-articles .popArticles a:hover {
  padding-left: 10px;
}

.most-pop-articles .icon-article-doc {
  color: var(--civalta-green);
  font-size: 19px;
}

hr.sep {
  display: none;
}

/* Multiple-collection homepage */

#contentArea > .threeCol.row-fluid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
}

#contentArea > .threeCol.row-fluid::before,
#contentArea > .threeCol.row-fluid::after {
  display: none;
}

#contentArea > .threeCol.row-fluid > .collection {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 100%;
  float: none;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--civalta-border);
  border-radius: 14px;
  background: var(--civalta-surface);
  box-shadow: 0 12px 30px rgba(24, 37, 59, 0.055);
}

.threeCol .collection-head {
  min-height: 154px;
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--civalta-border);
  background: linear-gradient(145deg, var(--civalta-green-soft), #ffffff 78%);
}

.threeCol .collection-head h2 {
  margin: 0 0 10px;
  font-family: var(--civalta-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.threeCol .collection-head h2 a {
  color: var(--civalta-ink);
}

.threeCol .collection-head h2 a:hover,
.threeCol .collection-head h2 a:focus {
  color: var(--civalta-green-hover);
  text-decoration: none;
}

.threeCol .collection-head p {
  margin: 0;
  color: var(--civalta-muted);
  font-size: 14px;
  line-height: 1.5;
}

.threeCol .collection-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 10px 20px 18px;
}

.threeCol .collection-body .popArticles {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.threeCol .collection-body .popArticles li {
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--civalta-border);
}

.threeCol .collection-body .popArticles li:last-child {
  border-bottom: 0;
}

.threeCol .collection-body .popArticles a {
  display: flex;
  min-height: 54px;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 4px;
  color: var(--civalta-green);
  font-family: var(--civalta-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.threeCol .collection-body .popArticles a:hover,
.threeCol .collection-body .popArticles a:focus {
  color: var(--civalta-green-hover);
  text-decoration: none;
}

.threeCol .collection-body .icon-article-doc {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--civalta-green);
  font-size: 16px;
}

.category-list.two-col,
.category-list.three-col,
.category-list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
}

.category-list .category,
.category-list.two-col .category,
.category-list.three-col .category {
  display: flex;
  width: auto;
  min-height: 178px;
  float: none;
  position: relative;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin: 0;
  padding: 28px 78px 28px 142px;
  border: 1px solid var(--civalta-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(24, 37, 59, 0.055);
  color: var(--civalta-ink);
  text-align: left;
}

.category-list .category::before {
  width: 74px;
  height: 74px;
  position: absolute;
  top: 50%;
  left: 32px;
  border-radius: 50%;
  background-color: var(--civalta-green-soft);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 34px;
  content: "";
  transform: translateY(-50%);
}

.category-list .category::after {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 50%;
  right: 28px;
  border-radius: 50%;
  background: var(--civalta-green-soft) url("icons/arrow-right.svg") no-repeat center /
    22px;
  content: "";
  transform: translateY(-50%);
}

.category-list #category-13::before,
.category-list [data-civalta-category="getting-started"]::before {
  background-image: url("icons/book-open.svg");
}

.category-list #category-18::before,
.category-list [data-civalta-category="account-profile"]::before {
  background-image: url("icons/user-round.svg");
}

.category-list [data-civalta-category="organization-members"]::before {
  background-image: url("icons/building-2.svg");
}

.category-list [data-civalta-category="clients"]::before {
  background-image: url("icons/building-2.svg");
}

.category-list [data-civalta-category="lobbyists"]::before {
  background-image: url("icons/briefcase-business.svg");
}

.category-list .category h3 {
  margin: 0 0 5px;
  color: var(--civalta-ink);
  font-family: var(--civalta-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.category-list .category .civalta-category-description {
  max-width: 34ch;
  margin: 0 0 10px;
  color: var(--civalta-muted);
  font-family: var(--civalta-body);
  font-size: 14px;
  line-height: 1.45;
}

.category-list .category .article-count,
.category-list .category:hover .article-count {
  margin: 0;
  color: var(--civalta-muted);
  font-family: var(--civalta-body);
  font-size: 15px;
  line-height: 1.4;
}

.category-list .category:hover,
.category-list .category:focus {
  border-color: var(--civalta-green-border);
  box-shadow: var(--civalta-shadow);
  color: var(--civalta-ink);
  text-decoration: none;
  transform: translateY(-2px);
}

.category-list .category:hover::after,
.category-list .category:focus::after {
  background-color: var(--civalta-green-border);
  transform: translate(3px, -50%);
}

/* Category, article, and search result pages */

#contentArea > .row-fluid:not(.threeCol) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 64px;
}

#contentArea > .row-fluid:not(.threeCol)::before,
#contentArea > .row-fluid:not(.threeCol)::after {
  display: none;
}

#main-content.span9,
#sidebar.span3 {
  width: auto;
  min-height: 0;
  float: none;
  margin: 0;
}

#main-content.span9 {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.contentWrapper {
  padding: 0 28px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

#categoryHead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px 24px;
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--civalta-border);
}

#categoryHead h1,
#serp h1,
#fullArticle > h1.title {
  margin: 0;
  color: var(--civalta-ink);
  font-family: var(--civalta-display);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

#categoryHead .descrip {
  grid-column: 1;
  margin: 0;
  color: var(--civalta-muted);
  font-size: 16px;
}

#categoryHead .sort {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  margin: 0;
}

#categoryHead .sort select {
  min-height: 44px;
  margin: 0;
  padding: 0 38px 0 14px;
  border: 1px solid var(--civalta-border);
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--civalta-ink);
  font-family: var(--civalta-body);
  font-size: 14px;
}

.articleList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.articleList > li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--civalta-border);
}

.articleList > li:first-child {
  border-top: 1px solid var(--civalta-border);
}

.articleList > li > a {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  color: var(--civalta-green);
  font-size: 16px;
  font-weight: 600;
}

.articleList > li > a:hover,
.articleList > li > a:focus {
  color: var(--civalta-green-hover);
  text-decoration: none;
}

#serp h1 {
  margin-bottom: 14px;
}

#serp h1 strong {
  color: var(--civalta-green-hover);
  font-weight: 700;
}

#serp .articlesFound {
  margin: 0 0 28px;
  color: var(--civalta-muted);
}

#serp .articleList > li {
  padding: 18px 0 20px;
}

#serp .articleList > li > a {
  min-height: 0;
  padding: 0;
  font-family: var(--civalta-display);
  font-size: 19px;
}

#serp .articleList > li > p {
  max-width: 68ch;
  margin: 9px 0 0 31px;
  color: var(--civalta-muted);
  font-size: 14px;
  line-height: 1.65;
}

#fullArticle {
  position: relative;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

#fullArticle > h1.title {
  max-width: 19ch;
  margin: 0 56px 38px 0;
}

#fullArticle .printArticle {
  top: 8px;
  right: 0;
  color: var(--civalta-muted);
}

#fullArticle.civalta-article,
#fullArticle .civalta-article {
  max-width: 760px !important;
  color: var(--civalta-ink) !important;
  font-family: var(--civalta-body) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

#fullArticle.civalta-article h2,
#fullArticle.civalta-article h3,
#fullArticle .civalta-article h2,
#fullArticle .civalta-article h3 {
  color: var(--civalta-ink) !important;
  font-family: var(--civalta-display) !important;
  text-shadow: none !important;
}

#fullArticle h1,
#fullArticle h2,
#fullArticle h3,
#fullArticle h4,
#fullArticle h5,
#fullArticle h6,
#fullArticle p,
#fullArticle li,
#fullArticle blockquote,
#fullArticle a {
  text-shadow: none !important;
}

#fullArticle.civalta-article a,
#fullArticle .civalta-article a {
  color: var(--civalta-green-hover) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.articleFoot {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--civalta-border);
  color: var(--civalta-soft-text);
  font-size: 13px;
}

/* Sidebar */

#sidebar {
  padding: 0;
  border: 0;
}

#sidebar #searchBar.sm {
  display: flex;
  width: 100%;
  height: 46px;
  position: relative;
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--civalta-border);
  border-radius: 10px;
  background: #ffffff;
}

#sidebar #searchBar.sm .search-query {
  width: auto;
  min-width: 0;
  height: 44px;
  flex: 1 1 auto;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 9px 0 0 9px;
  background: transparent;
  box-shadow: none;
  color: var(--civalta-ink);
  font-family: var(--civalta-body);
  font-size: 14px;
}

#sidebar #searchBar.sm .search-query:focus {
  border-color: var(--civalta-green);
  box-shadow: 0 0 0 3px rgba(49, 153, 102, 0.16);
  outline: 0;
}

#sidebar #searchBar.sm button {
  display: block;
  width: 46px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 46px;
  position: static;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-left: 1px solid var(--civalta-border);
  border-radius: 0 9px 9px 0;
  background: var(--civalta-green-soft) url("icons/search.svg") no-repeat center /
    19px;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
  transform: none;
}

#sidebar #searchBar.sm button:hover,
#sidebar #searchBar.sm button:focus {
  border-left-color: var(--civalta-green-border);
  background-color: var(--civalta-green-border);
}

#sidebar #searchBar.sm button span,
#sidebar #searchBar.sm button .icon-search {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

#sidebar h3 {
  margin: 0 0 12px;
  color: var(--civalta-ink);
  font-family: var(--civalta-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

#sidebar .nav-list {
  margin: 0;
  padding: 0;
}

#sidebar .nav-list > li {
  margin: 0 0 6px;
}

#sidebar .nav-list > li > a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--civalta-muted);
  font-size: 14px;
  line-height: 1.4;
  text-shadow: none;
}

#sidebar .nav-list > li > a:hover,
#sidebar .nav-list > li > a:focus,
#sidebar .nav-list > li.active > a {
  background: var(--civalta-green-soft);
  color: var(--civalta-green-hover);
  text-decoration: none;
}

/* Footer */

footer,
footer.center {
  clear: both;
  margin: 58px 0 0;
  padding: 0 0 44px;
  border: 0;
  color: var(--civalta-soft-text);
  font-family: var(--civalta-body);
  font-size: 12px;
  text-align: center;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--civalta-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer a:hover,
footer a:focus {
  color: var(--civalta-green-hover);
}

#noResults {
  margin: 40px 0;
  padding: 22px;
  border: 1px solid var(--civalta-green-border);
  border-radius: 12px;
  background: var(--civalta-green-soft);
  color: var(--civalta-ink);
  text-align: center;
}

@media (max-width: 900px) {
  #contentArea > .threeCol.row-fluid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #contentArea > .row-fluid:not(.threeCol) {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 38px;
  }

  .category-list .category,
  .category-list.two-col .category,
  .category-list.three-col .category {
    padding-left: 124px;
  }

  .category-list .category::before {
    left: 26px;
  }
}

@media (max-width: 760px) {
  .container-fluid,
  #mainNav .container-fluid {
    padding-right: 20px;
    padding-left: 20px;
  }

  #mainNav .navbar-inner,
  #mainNav .container-fluid {
    min-height: 72px;
  }

  #mainNav .brand {
    gap: 10px;
    font-size: 19px;
  }

  #mainNav .brand::before {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  #docsSearch {
    min-height: 350px;
    padding: 48px 20px 54px;
  }

  #docsSearch h1 {
    font-size: clamp(34px, 8vw, 42px);
  }

  #docsSearch .civalta-hero-subtitle {
    font-size: 17px;
  }

  #docsSearch #searchBar {
    height: 64px;
    margin-top: 30px;
  }

  #docsSearch #searchBar .search-query {
    height: 64px;
    padding-left: 56px;
    border-radius: 15px 0 0 15px;
    background-position: 20px center;
    font-size: 16px;
  }

  #docsSearch #searchBar button {
    width: 108px;
    height: 64px;
    min-height: 64px;
    max-height: 64px;
    flex-basis: 108px;
    border-radius: 0 15px 15px 0;
  }

  #contentArea.container-fluid {
    padding-top: 42px;
  }

  .category-list.two-col,
  .category-list.three-col,
  .category-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .category-list .category,
  .category-list.two-col .category,
  .category-list.three-col .category {
    min-height: 158px;
  }

  #contentArea > .threeCol.row-fluid,
  #contentArea > .row-fluid:not(.threeCol) {
    grid-template-columns: minmax(0, 1fr);
  }

  #contentArea > .threeCol.row-fluid {
    gap: 20px;
  }

  #contentArea > .row-fluid:not(.threeCol) {
    gap: 48px;
  }

  .contentWrapper {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  #sidebar {
    padding-top: 34px;
    border-top: 1px solid var(--civalta-border);
  }

  #categoryHead {
    grid-template-columns: 1fr;
  }

  #categoryHead .sort {
    grid-row: auto;
    grid-column: 1;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  #docsSearch {
    align-items: stretch;
    text-align: left;
  }

  #docsSearch h1 {
    font-size: 34px;
  }

  #docsSearch #searchBar {
    width: 100%;
  }

  #docsSearch #searchBar .search-query {
    min-width: 0;
    padding-right: 14px;
    font-size: 14px;
  }

  #docsSearch #searchBar .search-query::placeholder {
    font-size: 13px;
  }

  #docsSearch #searchBar button {
    width: 92px;
    flex-basis: 92px;
    font-size: 14px;
  }

  .most-pop-articles h2 {
    font-size: 23px;
  }

  .category-list .category,
  .category-list.two-col .category,
  .category-list.three-col .category {
    min-height: 154px;
    padding: 22px 64px 22px 94px;
  }

  .category-list .category::before {
    width: 56px;
    height: 56px;
    left: 22px;
    background-size: 28px;
  }

  .category-list .category::after {
    width: 38px;
    height: 38px;
    right: 18px;
    background-size: 19px;
  }

  .category-list .category h3 {
    font-size: 19px;
  }

  .category-list .category .civalta-category-description {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
  }

  #categoryHead h1,
  #serp h1,
  #fullArticle > h1.title {
    font-size: 34px;
  }

  #serp .articleList > li > p {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  #mainNav,
  #sidebar,
  #docsSearch,
  footer,
  .printArticle {
    display: none !important;
  }

  #contentArea.container-fluid,
  #contentArea > .row-fluid,
  #main-content.span9 {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
}
