@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* Approved ReadMe-inspired theme. Existing content and columns stay intact. */
:root {
  --sw-background: #FFFFFF;
  --sw-page: #F4F4F4;
  --sw-heading: #2F3138;
  --sw-text: #3F4148;
  --sw-muted: #5D6069;
  --sw-border: #CBCBD2;
  --sw-blue: #3F3FFA;
  --sw-blue-soft: #EEEEFF;
  --sw-blue-focus: #ACACFF;
  --sw-pink: #FF9CE1;
}

/* Rounded Help Scout layout: applied after the shared theme rules. */

body {
  background: var(--sw-background) !important;
  color: var(--sw-text);
  font-family: 'Inter', sans-serif !important;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, h4, h5, h6, input, button, select, textarea {
  font-family: 'Inter', sans-serif !important;
}
h1, h2, h3, h4, h5, h6 { color: var(--sw-heading); font-weight: 600; }
a { color: var(--sw-blue); }
a:hover { color: var(--sw-blue); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--sw-blue);
  outline-offset: 3px;
}

/* Header: compact logo and quiet navigation. */
#mainNav, #mainNav .navbar-inner {
  background: var(--sw-background) !important;
  background-image: none !important;
  box-shadow: none;
}
#mainNav .navbar-inner {
  border: 0;
  border-bottom: 1px solid var(--sw-border);
  min-height: 72px;
}
#mainNav .brand { padding: 22px 20px 22px 0; line-height: 28px; }
#mainNav .brand img { width: 112px; height: auto; max-height: none; }
#mainNav .nav > li > a {
  color: var(--sw-text);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-shadow: none;
  box-shadow: none;
}
#mainNav .nav > li > a:hover,
#mainNav .nav > li.active > a,
#mainNav .nav > li.active > a:hover,
#mainNav .nav > li.active > a:focus {
  color: var(--sw-blue);
  background: transparent;
  box-shadow: inset 0 -2px var(--sw-blue);
}
#mainNav .btn-navbar {
  background: var(--sw-background);
  border: 1px solid var(--sw-border);
  border-radius: 6px;
  box-shadow: none;
  text-shadow: none;
}
#mainNav .btn-navbar .icon-bar { background: var(--sw-text); box-shadow: none; }
#mainNav .nav > li > a { border-radius: 0; }
#mainNav .nav .caret,
#mainNav .nav .active .caret { display: none !important; }

/* Homepage: existing title, search and two collections. */
#docsSearch {
  background: var(--sw-background) !important;
  background-image: none !important;
  border: 0;
  padding: 46px 20px 38px;
  margin-bottom: 0;
  height: auto;
  box-sizing: border-box;
}
#docsSearch h1 {
  color: var(--sw-heading);
  font-family: 'Inter', sans-serif !important;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.8px;
  max-width: 730px;
  margin: 0 auto 24px;
}
#docsSearch #searchBar {
  max-width: 560px;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}
#docsSearch #searchBar .search-query {
  height: 52px;
  padding: 12px 110px 12px 16px;
  border-radius: 7px;
  font-size: 14px;
}
#docsSearch #searchBar button {
  top: 6px;
  right: 6px;
  bottom: auto;
  height: 40px;
  padding: 0 18px;
  border-radius: 5px;
  background: var(--sw-blue);
  color: var(--sw-background);
  font-size: 14px;
  font-weight: 500;
  line-height: 40px;
}
#docsSearch #searchBar button:hover { background: var(--sw-blue); color: var(--sw-background); }
#docsSearch #searchBar button:focus-visible { outline-offset: 2px; }
#contentArea { background: var(--sw-background); }
#main-content {
  background: var(--sw-background) !important;
  background-image: none !important;
  box-shadow: none;
}
#contentArea .collection {
  background: var(--sw-background);
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  box-shadow: none;
  vertical-align: top;
}
#contentArea .collection-head {
  padding: 24px 24px 0;
  margin-bottom: 8px;
  background: transparent;
  border: 0;
}
#contentArea .collection-head h2 { margin: 0; line-height: 1.4; }
#contentArea .collection-head h2 a {
  color: var(--sw-heading);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
#contentArea .collection-body { padding: 8px 24px 24px; }
.popArticles li { margin-bottom: 16px; }
.popArticles li a {
  color: var(--sw-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  text-decoration: none;
}

/* v9: consistent category headings and plain active sidebar navigation. */
#main-content #categoryHead h1 {
  color: var(--sw-heading);
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.6px;
  margin-top: 0;
  border: 0;
  box-shadow: none;
}
#sidebar .nav-list > li > a,
#sidebar .nav-list > li > a:hover,
#sidebar .nav-list > li > a:focus,
#sidebar .nav-list > li.active > a,
#sidebar .nav-list > li.active > a:hover,
#sidebar .nav-list > li.active > a:focus {
  background: transparent;
  color: #000000;
  font-weight: 400;
  border: 0;
  box-shadow: none;
  text-decoration: none;
}
#sidebar .nav-list > li.active > a,
#sidebar .nav-list > li.active > a:hover,
#sidebar .nav-list > li.active > a:focus {
  font-weight: 600;
}

/* Homepage search: near-black border, black button and wider side padding. */
#docsSearch #searchBar .search-query {
  border: 1px solid #333333;
  padding-right: 146px;
}
#docsSearch #searchBar .search-query:focus {
  border-color: #333333;
  outline: 2px solid #666666;
  outline-offset: 2px;
  box-shadow: none;
}
#docsSearch #searchBar button,
#docsSearch #searchBar button:hover,
#docsSearch #searchBar button:focus {
  background: #000000;
  color: #FFFFFF;
  padding-left: 28px;
  padding-right: 28px;
}
#docsSearch #searchBar button:focus-visible {
  outline-color: #333333;
}

/* Fill the existing homepage container with two equally wide cards. */
#contentArea > .twoCol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
}
#contentArea > .twoCol::before,
#contentArea > .twoCol::after {
  content: none;
}
#contentArea > .twoCol > .collection {
  width: auto;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  #contentArea > .twoCol { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  #main-content #categoryHead h1 { font-size: 26px; }
  #docsSearch #searchBar button { padding-left: 22px; padding-right: 22px; }
  #docsSearch #searchBar .search-query { padding-right: 130px; }
}

/* v10: input specifications from the supplied Figma screenshot. */
#searchBar .search-query,
#sidebar #searchBar .search-query,
#docsSearch #searchBar .search-query {
  box-sizing: border-box;
  height: 56px;
  min-height: 56px;
  border: 1px solid #D1D1D1 !important;
  border-radius: 12px;
  background: #FFFFFF;
  color: #000000;
  padding: 8px 20px;
  font-size: 16px;
  line-height: 24px;
  box-shadow: none;
}
#searchBar .search-query::placeholder,
#docsSearch #searchBar .search-query::placeholder {
  color: #888888;
  opacity: 1;
}
#searchBar .search-query:focus,
#sidebar #searchBar .search-query:focus,
#docsSearch #searchBar .search-query:focus {
  border-color: #D1D1D1 !important;
  outline: 2px solid #666666;
  outline-offset: 2px;
  box-shadow: none;
}
/* Reserve space for the existing search button rather than overlapping text. */
#sidebar #searchBar .search-query { padding-right: 60px; }
#sidebar #searchBar button {
  top: 8px;
  right: 8px;
  bottom: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  line-height: 40px;
}
#docsSearch #searchBar .search-query { padding-right: 146px; }
#docsSearch #searchBar button {
  top: 6px;
  height: 44px;
  line-height: 44px;
}

/* Force plain sidebar states over all earlier theme rules. */
#sidebar ul.nav.nav-list > li > a,
#sidebar ul.nav.nav-list > li > a:hover,
#sidebar ul.nav.nav-list > li > a:focus,
#sidebar ul.nav.nav-list > li > a:active,
#sidebar ul.nav.nav-list > li.active > a,
#sidebar ul.nav.nav-list > li.active > a:hover,
#sidebar ul.nav.nav-list > li.active > a:focus,
#sidebar ul.nav.nav-list > li.active > a:active {
  background: transparent !important;
  background-image: none !important;
  color: #000000 !important;
  border: 0;
  box-shadow: none !important;
  text-shadow: none;
  text-decoration: none;
  font-weight: 400;
}
#sidebar ul.nav.nav-list > li.active > a,
#sidebar ul.nav.nav-list > li.active > a:hover,
#sidebar ul.nav.nav-list > li.active > a:focus,
#sidebar ul.nav.nav-list > li.active > a:active {
  font-weight: 600 !important;
}

/* Remove Help Scout's image frames without altering the illustrations. */
#fullArticle img {
  border: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 600px) {
  #docsSearch #searchBar .search-query { padding-right: 130px; }
}
.popArticles li a:hover { color: var(--sw-blue); }
.popArticles .icon-article-doc { color: var(--sw-muted); }
#contentArea .collection .browse {
  color: var(--sw-blue);
  font-size: 13px;
  font-weight: 500;
  margin-top: 18px;
}

/* Collection and article: open reading area, no surrounding card. */
#main-content .contentWrapper {
  background: var(--sw-background);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 8px 32px 28px 40px;
  min-height: 0;
}
.contentWrapper > h1 {
  color: var(--sw-heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.6px;
  border-bottom: 1px solid var(--sw-border);
  padding-bottom: 22px;
  margin-bottom: 12px;
}
#main-content .contentWrapper > h1 {
  border: 0;
  border-bottom: 1px solid var(--sw-border);
  box-shadow: none;
}
#sidebar {
  background: var(--sw-background);
  border-right: 1px solid var(--sw-border);
  box-sizing: border-box;
  padding-right: 24px;
}
#sidebar h3 {
  color: var(--sw-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.4px;
  margin: 28px 0 14px;
}
#sidebar .nav-list > li > a {
  color: var(--sw-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  padding: 9px 8px;
  border-radius: 5px;
  text-shadow: none;
}
#sidebar .nav-list > li > a:hover,
#sidebar .nav-list > li.active > a,
#sidebar .nav-list > li.active > a:hover {
  background: var(--sw-blue-soft);
  color: var(--sw-blue);
  box-shadow: none;
}
#main-content .articleList { margin: 0; }
#main-content .articleList li { margin: 0; padding: 0; border: 0; }
#main-content .articleList li > a {
  display: block;
  margin-left: 0;
  color: var(--sw-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  padding: 13px 0;
  text-decoration: none;
}
#main-content .articleList li > a:hover {
  color: var(--sw-blue);
  background: transparent;
  box-shadow: none;
}
#main-content .articleList .icon-article-doc { color: var(--sw-muted); }
#main-content .articleList a:hover span { text-decoration: none; }

/* Shared search, preserving Help Scout's search dropdown and icons. */
#searchBar .search-query {
  background: var(--sw-background);
  color: var(--sw-text);
  border: 1px solid var(--sw-border);
  border-radius: 7px;
  font-size: 14px;
  box-shadow: none;
}
#searchBar .search-query::placeholder { color: var(--sw-muted); opacity: 1; }
#searchBar .search-query:focus {
  border-color: var(--sw-blue);
  outline: 2px solid var(--sw-blue-focus);
  outline-offset: 2px;
  box-shadow: none;
}
#sidebar #searchBar button {
  color: var(--sw-muted);
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: none;
}
#sidebar #searchBar button:hover { color: var(--sw-blue); }
#serp-dd {
  background: var(--sw-background);
  color: var(--sw-text);
  border-color: var(--sw-border);
  border-radius: 7px;
}
#serp-dd a { color: var(--sw-text); }
#serp-dd a:hover { color: var(--sw-blue); }

/* Article typography and existing feedback controls. */
#fullArticle { color: var(--sw-text); font-size: 16px; line-height: 1.85; }
#fullArticle p, #fullArticle li { color: var(--sw-text); line-height: 1.85; }
#fullArticle h1 {
  color: var(--sw-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.6px;
  margin-bottom: 26px;
  border: 0;
}
#fullArticle h2 { font-size: 24px; line-height: 1.4; margin-top: 32px; }
#fullArticle h3 { font-size: 20px; line-height: 1.4; margin-top: 28px; }
#fullArticle a { color: var(--sw-blue); text-decoration: underline; text-underline-offset: 3px; }
#fullArticle a:hover { text-decoration-color: var(--sw-pink); }
#fullArticle a.printArticle,
#fullArticle a.printArticle:hover,
#fullArticle a.printArticle:focus {
  color: var(--sw-muted);
  text-decoration: none;
  border-bottom: 0;
  box-shadow: none;
}
#main-content section.related {
  border: 1px solid var(--sw-border);
}
#fullArticle blockquote { border-left-color: var(--sw-border); color: var(--sw-text); }
#fullArticle hr { border-top-color: var(--sw-border); }
#fullArticle table th, #fullArticle table td { border-color: var(--sw-border); }
.articleFoot { color: var(--sw-muted); border-top-color: var(--sw-border); }
#contentArea footer, #contentArea footer a { color: var(--sw-muted); font-size: 11px; }
#contentArea footer a:hover { color: var(--sw-blue); }

/* Preserve native Help Scout mobile stacking and menu behaviour. */
@media (max-width: 768px) {
  #sidebar { border-right: 0; padding-right: 0; }
  #main-content .contentWrapper { padding: 12px 20px 24px; }
  #mainNav .nav > li > a { padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 600px) {
  #docsSearch { padding: 32px 20px; }
  #docsSearch h1, .contentWrapper > h1, #fullArticle h1 { font-size: 26px; }
  #searchBar .search-query, #docsSearch #searchBar .search-query { font-size: 16px; }
  #contentArea .collection-head { padding: 22px 20px 0; }
  #contentArea .collection-body { padding: 8px 20px 22px; }
}

/* v6: gray page, white content containers, larger black sidebar text. */
body {
  background: var(--sw-page) !important;
  color: #000000;
}
#mainNav,
#mainNav .navbar-inner {
  background: var(--sw-page) !important;
  border: 0;
  box-shadow: none;
}
#mainNav .navbar-inner { border-bottom: 0; }
#contentArea {
  background: transparent;
}
#docsSearch {
  background: var(--sw-page) !important;
}
#sidebar {
  background: transparent;
  border: 0;
  padding-right: 24px;
  color: #000000;
}
#sidebar h3 {
  color: #000000;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.4px;
  margin: 28px 0 20px;
}
#sidebar .nav-list > li > a,
#sidebar .nav-list > li > a:hover,
#sidebar .nav-list > li.active > a,
#sidebar .nav-list > li.active > a:hover {
  color: #000000;
  font-size: 16px;
  line-height: 1.6;
  padding: 12px 8px;
}
#main-content {
  background: transparent !important;
  background-image: none !important;
  border: 0;
  box-shadow: none;
  padding: 0;
}
#main-content .contentWrapper {
  background: #FFFFFF;
  color: #000000;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
  padding: 40px;
  min-height: 0;
}
#main-content section.related {
  background: #FFFFFF;
  color: #000000;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
  padding: 32px 40px;
  margin-top: 24px;
}
#main-content section.related h3 {
  color: #000000;
  font-size: 13px;
  font-weight: 600;
}
#main-content .articleList li > a {
  color: #000000;
  font-size: 16px;
  line-height: 1.65;
  padding-top: 12px;
  padding-bottom: 12px;
}
#main-content .articleList li > a:hover { color: var(--sw-blue); }
#fullArticle,
#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle div,
#fullArticle blockquote,
#fullArticle dd,
#fullArticle table {
  color: #000000;
}
#fullArticle {
  font-size: 16px;
  line-height: 1.8;
}
#contentArea .collection { background: #FFFFFF; }
#contentArea .collection .popArticles li a { color: #000000; }
#contentArea .collection .popArticles li a:hover { color: var(--sw-blue); }

@media (max-width: 768px) {
  #sidebar { padding-right: 0; }
  #main-content .contentWrapper { padding: 28px; }
  #main-content section.related { padding: 24px 28px; }
}
@media (max-width: 600px) {
  #main-content .contentWrapper { padding: 24px 20px; border-radius: 16px; }
  #main-content section.related { padding: 24px 20px; border-radius: 16px; }
}

/* v7: consistent controls and larger homepage collection typography. */
button,
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
select,
textarea,
.btn,
#mainNav .btn-navbar,
#searchBar .search-query,
#searchBar button,
#docsSearch #searchBar .search-query,
#docsSearch #searchBar button {
  border-radius: 12px;
}
#contentArea .twoCol .collection,
#contentArea .threeCol .collection {
  background: #FFFFFF;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
}
#contentArea .collection-head {
  padding: 32px 32px 0;
  margin-bottom: 12px;
}
#contentArea .collection-head h2,
#contentArea .collection-head h2 a {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.5px;
}
#contentArea .collection-body {
  padding: 12px 32px 32px;
}
#contentArea .collection .popArticles li a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}
#contentArea .collection .popArticles li {
  margin-bottom: 20px;
}
#contentArea .collection .browse {
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  #contentArea .collection-head { padding: 24px 20px 0; }
  #contentArea .collection-body { padding: 12px 20px 24px; }
  #contentArea .collection-head h2,
  #contentArea .collection-head h2 a { font-size: 26px; }
}

/* v8: quiet collection title and stronger header navigation. */
#main-content .contentWrapper > h1 {
  border: 0;
  box-shadow: none;
}
#sidebar #searchBar .search-query {
  border-radius: 12px;
}
#mainNav .nav > li > a,
#mainNav .nav > li > a:hover,
#mainNav .nav > li > a:focus {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
}
#mainNav .nav > li.active > a,
#mainNav .nav > li.active > a:hover,
#mainNav .nav > li.active > a:focus {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
}

/* v11: homepage search button matches the supplied Figma component. */
#docsSearch #searchBar button,
#docsSearch #searchBar button:hover,
#docsSearch #searchBar button:focus,
#docsSearch #searchBar button:active {
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  width: auto;
  padding: 12px 24px;
  border: 0;
  border-radius: 12px;
  background: #0E0D0D;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-shadow: none;
  box-shadow: none;
}

/* Breathing room above and below the existing copyright notice. */
#contentArea > footer {
  margin-top: 48px;
  padding-top: 24px;
  padding-bottom: 48px;
}
#contentArea > footer p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.8;
}
@media (max-width: 600px) {
  #contentArea > footer {
    margin-top: 36px;
    padding-top: 20px;
    padding-bottom: 36px;
  }
}

/* v12: align desktop navigation and the sidebar/content starting edge. */
@media screen and (min-width: 769px) {
  #mainNav .brand img {
    display: block;
  }
  #mainNav .nav {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  #contentArea #sidebar,
  #contentArea #main-content {
    margin-top: 32px;
  }
}

/* Help Scout's paragraph defaults otherwise remain at 14px. */
#fullArticle p,
#fullArticle li,
#fullArticle blockquote {
  font-size: 16px;
}
#fullArticle strong,
#fullArticle b {
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
}

/* Homepage collection footer link: black, blue only on hover. */
#contentArea .collection .browse,
#contentArea .collection .browse:visited,
#contentArea .collection .browse:focus,
#contentArea .collection .browse:active {
  color: #000000;
}
#contentArea .collection .browse:hover {
  color: var(--sw-blue);
}

/* v13: consistent article heading hierarchy, including bold children. */
#fullArticle h1,
#fullArticle h1 strong,
#fullArticle h1 b {
  font-size: 32px !important;
  line-height: 1.35;
}
#fullArticle h2,
#fullArticle h2 strong,
#fullArticle h2 b {
  font-size: 24px !important;
  line-height: 1.4;
}
#fullArticle h3,
#fullArticle h3 strong,
#fullArticle h3 b {
  font-size: 20px !important;
  line-height: 1.4;
}
/* The opening heading is saved as a paragraph containing only strong. */
#fullArticle > p:first-of-type > strong:only-child {
  display: block;
  font-size: 32px !important;
  line-height: 1.35;
}
@media (max-width: 768px) {
  #fullArticle h1,
  #fullArticle h1 strong,
  #fullArticle h1 b,
  #fullArticle > p:first-of-type > strong:only-child {
    font-size: 26px !important;
  }
}

/* Homepage article lists keep their hover color without underlining. */
#contentArea .collection .collection-body a:hover,
#contentArea .collection .collection-body a:hover span {
  text-decoration: none !important;
}


/* v15: shared black, bold hover state for links throughout Docs. */
body a:hover,
#sidebar ul.nav.nav-list > li > a:hover,
#sidebar ul.nav.nav-list > li.active > a:hover {
  color: #000000 !important;
  text-decoration-color: #000000 !important;
}
body a:hover span {
  color: inherit !important;
}

/* v16: blue hover color for text links; search buttons are unaffected. */
body a:hover,
#sidebar ul.nav.nav-list > li > a:hover,
#sidebar ul.nav.nav-list > li.active > a:hover {
  color: var(--sw-blue) !important;
  text-decoration-color: var(--sw-blue) !important;
}

/* v17: hover changes link color only; active navigation keeps its weight. */

/* v18: article-body H1 headings; preserve Help Scout's page title. */
#fullArticle h1:not(.title),
#fullArticle h1:not(.title) strong,
#fullArticle h1:not(.title) b,
#fullArticle > p:first-of-type > strong:only-child {
  font-size: 28px !important;
  line-height: 1.35;
}

/* v19: homepage title only; all other text retains Inter. */
#docsSearch h1 {
  font-family: 'Google Sans', sans-serif !important;
  font-size: 50px !important;
  font-weight: 600;
  line-height: 1.2;
}

/* Search suggestions match the input corners and text inset. */
#serp-dd,
#serp-dd.sb {
  box-sizing: border-box;
  border: 1px solid #D1D1D1;
  border-radius: 12px !important;
  background: #FFFFFF;
  overflow: hidden;
}
#serp-dd .result {
  margin: 0;
  padding: 0;
}
#serp-dd .result a {
  padding: 8px 20px;
  font-size: 16px;
  line-height: 24px;
}
#serp-dd .result > li:hover,
#serp-dd .result > li.active,
#serp-dd .result a:hover,
#serp-dd .result a:focus,
#serp-dd .result > li.active > a {
  background: transparent !important;
  background-image: none !important;
}
#serp-dd .noResults {
  padding: 8px 20px;
}

/* v21: override the separate Custom Code Inter rule for this title only. */
body #docsSearch h1 {
  font-family: 'Google Sans', sans-serif !important;
  font-size: 50px !important;
  font-weight: 600;
  line-height: 1.2;
}

/* v23: homepage title uses Geologica Regular. */
body #docsSearch h1 {
  font-weight: 400 !important;
}

/* v24: more breathing room between search suggestions. */
#serp-dd .result a {
  padding: 10px 20px;
}

/* Position internal-page suggestions below the complete search field. */
#sidebar #searchBar {
  position: relative;
}
#sidebar #searchBar #serp-dd,
#sidebar #searchBar #serp-dd.sb {
  top: calc(100% + 8px) !important;
  bottom: auto;
}

/* v27: restore v24, with the requested homepage title font and size. */
body #docsSearch h1 {
  font-family: 'Google Sans', sans-serif !important;
  font-size: 60px !important;
  font-weight: 500 !important;
  line-height: 1.2;
}

/* v28: responsive overrides must follow all desktop and important rules. */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  body #docsSearch h1 { font-size: 48px !important; }
  #main-content .contentWrapper { padding: 32px; }
  #main-content section.related { padding: 28px 32px; }
}

@media screen and (max-width: 768px) {
  /* Preserve Help Scout's mobile menu and native content order. */
  #mainNav .brand { padding: 20px 20px 20px 0; }
  #mainNav .brand img { display: block; }
  #mainNav .btn-navbar {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    top: 12px;
    right: 0;
    margin: 0;
    padding: 12px;
  }
  #mainNav .nav {
    position: relative;
    top: auto;
    bottom: auto;
    transform: none;
  }
  #mainNav .nav > li > a {
    min-height: 44px;
    box-sizing: border-box;
    padding: 12px 16px;
    line-height: 20px;
  }

  #docsSearch { padding: 32px 20px; }
  body #docsSearch h1 {
    font-size: 40px !important;
    line-height: 1.2;
    letter-spacing: -0.5px;
    padding: 0;
    margin-bottom: 24px;
    overflow-wrap: break-word;
  }
  #docsSearch #searchBar,
  #sidebar #searchBar {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  #searchBar .search-query,
  #docsSearch #searchBar .search-query,
  #sidebar #searchBar .search-query {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: 16px;
    border-radius: 12px;
  }
  #docsSearch #searchBar .search-query {
    padding-left: 16px;
    padding-right: 116px;
  }
  #docsSearch #searchBar button,
  #docsSearch #searchBar button:hover,
  #docsSearch #searchBar button:focus,
  #docsSearch #searchBar button:active {
    top: 6px;
    right: 6px;
    padding: 12px 16px;
    min-width: 96px;
    height: 44px;
  }
  /* Help Scout otherwise hides the button label below 480px. */
  #docsSearch #searchBar button span {
    display: inline;
    width: auto;
    font-size: 16px;
    text-indent: 0;
  }
  #docsSearch #searchBar button .icon-search { display: none; }
  #sidebar #searchBar .search-query { padding-right: 60px; }
  #sidebar #searchBar button {
    width: 44px;
    height: 44px;
    top: 6px;
    right: 6px;
    padding: 0;
    line-height: 44px;
  }
  #serp-dd,
  #serp-dd.sb,
  #sidebar #searchBar #serp-dd,
  #sidebar #searchBar #serp-dd.sb {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: auto;
    top: calc(100% + 8px) !important;
    bottom: auto;
    z-index: 20;
  }
  #serp-dd .result {
    max-height: min(50vh, 360px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #serp-dd .result a { padding: 10px 16px; overflow-wrap: anywhere; }

  #contentArea > .twoCol {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  /* Remove native mobile card padding to avoid a double text inset. */
  #contentArea > .twoCol > .collection {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 0;
    border: 0;
    border-radius: 20px;
  }
  #contentArea .collection-head { padding: 24px 20px 0; }
  #contentArea .collection-body { padding: 12px 20px 24px; }
  #contentArea .collection .popArticles { padding: 0; }
  #contentArea .collection .popArticles li { overflow-wrap: break-word; }
  #contentArea .collection-head h2,
  #contentArea .collection-head h2 a { font-size: 26px; }

  /* Keep the reading cards within the same page gutters as search. */
  #contentArea #main-content {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 16px 0 24px;
    padding: 0;
  }
  #main-content .contentWrapper,
  #main-content section.related {
    box-sizing: border-box;
    width: 100%;
    padding: 24px 20px;
    border-radius: 16px;
  }
  #contentArea #sidebar { padding-right: 0; }
  #sidebar .nav-list > li > a { min-height: 44px; box-sizing: border-box; }
  #main-content .contentWrapper > h1,
  #main-content #categoryHead h1 { font-size: 26px; overflow-wrap: break-word; }
  #fullArticle h1,
  #fullArticle h1 strong,
  #fullArticle h1 b,
  #fullArticle h1:not(.title),
  #fullArticle h1:not(.title) strong,
  #fullArticle h1:not(.title) b,
  #fullArticle > p:first-of-type > strong:only-child {
    font-size: 26px !important;
  }
  #fullArticle h2,
  #fullArticle h2 strong,
  #fullArticle h2 b { font-size: 22px !important; }
  #fullArticle h3,
  #fullArticle h3 strong,
  #fullArticle h3 b { font-size: 20px !important; }
  #fullArticle .title { margin-right: 0; padding-right: 36px; }
  #fullArticle .printArticle { right: 20px; top: 28px; }
  #fullArticle { overflow-wrap: break-word; }
  #fullArticle img,
  #fullArticle video { max-width: 100%; height: auto; }
  #fullArticle iframe { max-width: 100%; }
  #fullArticle pre { max-width: 100%; overflow-x: auto; }
  #fullArticle table { display: block; max-width: 100%; overflow-x: auto; }
  #main-content section.related h3 { padding-left: 0; }
  #main-content section.related ul { margin-left: 24px; }
  #categoryHead .sort {
    display: block;
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }
  #categoryHead select { box-sizing: border-box; max-width: 100%; }
  #contentArea > footer {
    margin-top: 32px;
    padding: 20px 0 36px;
  }
  #contentArea footer,
  #contentArea footer a { font-size: 12px; }
  #contentArea > footer p { text-align: center; overflow-wrap: break-word; }
}
@media screen and (max-width: 360px) {
  body #docsSearch h1 { font-size: 36px !important; }
}

/* v29: mobile collection pages show search, categories, popular articles. */
@media screen and (max-width: 768px) {
  #contentArea > .row-fluid:has(> #main-content > .contentWrapper > h1) {
    display: flex;
    flex-direction: column;
  }
  #contentArea > .row-fluid:has(> #main-content > .contentWrapper > h1)::before,
  #contentArea > .row-fluid:has(> #main-content > .contentWrapper > h1)::after {
    content: none;
  }
  #contentArea > .row-fluid:has(> #main-content > .contentWrapper > h1) > #sidebar {
    order: 0;
    float: none;
    width: 100%;
    margin: 16px 0 0;
    padding-bottom: 0;
  }
  #contentArea > .row-fluid:has(> #main-content > .contentWrapper > h1) > #main-content {
    order: 1;
    margin-top: 24px;
  }
}

/* v30: the update date must contribute to the article card's height. */
#main-content .articleFoot {
  display: flow-root;
}
@media screen and (max-width: 768px) {
  #main-content .articleFoot {
    clear: both;
    margin: 24px 0 0;
    padding: 0;
    height: auto;
  }
  #main-content .articleFoot time.lu,
  #main-content .articleFoot p.lu {
    float: none !important;
    display: block;
    position: static;
    width: auto;
    max-width: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
    color: var(--sw-muted);
  }
  #contentArea #main-content + #sidebar { margin-top: 24px; }
}

/* v31: anchor the existing mobile menu beneath the burger button. */
@media screen and (max-width: 768px) {
  #mainNav .navbar-inner > .container-fluid {
    position: relative;
  }
  #mainNav .nav-collapse,
  #mainNav .nav-collapse.collapse {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 224px;
    max-width: calc(100vw - 40px);
    margin: 0;
    padding: 0;
    clear: none;
    z-index: 1000;
    background: transparent;
    transform: none;
  }
  /* Keep Help Scout's collapse height and toggle behavior intact. */
  #mainNav .nav-collapse.collapse:not(.in) {
    overflow: hidden;
  }
  #mainNav .nav-collapse.in {
    overflow: visible;
  }
  #mainNav .nav-collapse .nav {
    position: static;
    float: none;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 8px;
    border: 1px solid #D1D1D1;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    text-align: left;
    transform: none;
  }
  #mainNav .nav-collapse .nav > li {
    display: block;
    float: none;
    margin: 0;
  }
  #mainNav .nav-collapse .nav > li > a {
    display: block;
    min-height: 48px;
    box-sizing: border-box;
    margin: 0;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 20px;
    text-align: left;
    background: transparent;
  }
}

/* v32: effectively instant menu toggle, preserving collapse completion events. */
@media screen and (max-width: 768px) {
  #mainNav .nav-collapse,
  #mainNav .nav-collapse.collapse {
    -webkit-transition: height 1ms linear !important;
    transition: height 1ms linear !important;
  }
}

/* More comfortable category sorting control. */
#main-content #categoryHead .sort select {
  box-sizing: border-box;
  width: 260px;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #D1D1D1;
  border-radius: 12px;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 14px;
  line-height: 22px;
}
@media screen and (min-width: 769px) {
  #main-content #categoryHead h1 { margin-right: 280px; }
  #main-content #categoryHead .sort { top: 0; }
}
@media screen and (max-width: 768px) {
  #main-content #categoryHead h1 { margin-right: 0; }
  #main-content #categoryHead .sort {
    width: 100%;
    max-width: 320px;
  }
  #main-content #categoryHead .sort select {
    width: 100%;
    font-size: 16px;
  }
}

/* v33: consistent sorting arrow inset on desktop and mobile. */
#main-content #categoryHead .sort select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px 16px;
}

/* v36: preserve the original sidebar text width; arrow takes no layout space. */
#sidebar ul.nav.nav-list > li > a {
  position: relative;
}
#sidebar ul.nav.nav-list > li > a > .icon-arrow {
  position: absolute;
  top: 25px;
  right: -8px;
  float: none;
  margin: 0;
  transform: translateY(-50%);
  line-height: 1;
}

/* Retain the sorting text room added in v34. */
#main-content #categoryHead .sort select {
  padding-right: 40px;
}
@media screen and (min-width: 769px) {
  #main-content #categoryHead .sort select { width: 268px; }
  #main-content #categoryHead h1 { margin-right: 288px; }
}

/* v37: attach the arrow to the text end without taking any text width. */
#sidebar ul.nav.nav-list > li > a > .icon-arrow {
  display: inline;
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  float: none;
  width: 0;
  margin: 0;
  padding: 0;
  transform: none;
  font-size: 12px;
  line-height: inherit;
}
#sidebar ul.nav.nav-list > li > a > .icon-arrow::before {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
}

/* v38: show the slightly larger arrow on the active category only. */
#sidebar ul.nav.nav-list > li:not(.active) > a > .icon-arrow {
  display: none !important;
}
#sidebar ul.nav.nav-list > li.active > a > .icon-arrow {
  display: inline !important;
  font-size: 14px;
}

/* v40: active sidebar arrow size. */
#sidebar ul.nav.nav-list > li.active > a > .icon-arrow {
  font-size: 15px;
}

/* v41: Inter SemiBold for the homepage title; preserve responsive sizes. */
body #docsSearch h1 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}

/* v42: desktop title size and a single-line title on mobile. */
body #docsSearch h1 {
  font-size: 56px !important;
}
@media screen and (max-width: 768px) {
  body #docsSearch h1 {
    font-size: clamp(20px, 7vw, 36px) !important;
    white-space: nowrap;
    letter-spacing: -0.5px;
    padding: 0;
  }
}

/* v43: size the mobile title to the same 20px page gutters as the cards. */
@media screen and (max-width: 768px) {
  body #docsSearch h1 {
    font-size: min(56px, calc((100vw - 32px) / 9.61)) !important;
    white-space: nowrap;
    letter-spacing: -0.5px;
    padding: 0;
  }
}

/* v44: centered title, 2px smaller at every responsive size. */
body #docsSearch h1 {
  text-align: center;
  font-size: 54px !important;
}
@media screen and (max-width: 768px) {
  body #docsSearch h1 {
    font-size: min(54px, calc((100vw - 32px) / 9.61 - 2px)) !important;
  }
}

/* v45: soft neutral hover treatment, without weight or layout changes. */
body a:not(.brand) {
  --sw-link-hover: #F4F4F4;
  color: #000000 !important;
  border-radius: 12px !important;
  transition: background-color 160ms ease, box-shadow 160ms ease;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
#sidebar a,
#mainNav .nav > li > a,
#contentArea > footer a {
  --sw-link-hover: #E9E9E9;
}
body a:not(.brand):hover,
#sidebar ul.nav.nav-list > li > a:hover,
#sidebar ul.nav.nav-list > li.active > a:hover,
#mainNav .nav > li > a:hover,
#mainNav .nav > li.active > a:hover,
#main-content .articleList li > a:hover,
#contentArea .collection .popArticles li a:hover,
#serp-dd .result a:hover,
#serp-dd .result > li.active > a {
  color: #000000 !important;
  background-color: var(--sw-link-hover, #F4F4F4) !important;
  background-image: none !important;
  border-radius: 12px !important;
  text-decoration-color: #000000 !important;
}
/* Expand row highlights slightly without changing padding or text width. */
#main-content .articleList li > a:hover,
#contentArea .collection .popArticles li a:hover,
#main-content section.related a:hover {
  box-shadow: 6px 0 0 var(--sw-link-hover, #F4F4F4),
              -6px 0 0 var(--sw-link-hover, #F4F4F4);
}
@media screen and (max-width: 768px) {
  #mainNav .nav-collapse .nav > li > a {
    --sw-link-hover: #F4F4F4;
  }
}
@media (prefers-reduced-motion: reduce) {
  body a:not(.brand) { transition: none; }
}

/* v46: sidebar selection uses the same rounded grey treatment as hover. */
#sidebar ul.nav.nav-list > li.active > a,
#sidebar ul.nav.nav-list > li.active > a:hover,
#sidebar ul.nav.nav-list > li.active > a:focus,
#sidebar ul.nav.nav-list > li.active > a:active {
  background: #E9E9E9 !important;
  border-radius: 12px !important;
  font-weight: 400 !important;
}
#sidebar ul.nav.nav-list > li > a > .icon-arrow,
#sidebar ul.nav.nav-list > li.active > a > .icon-arrow {
  display: none !important;
}

/* Each article link is one complete row, even when its text wraps. */
#contentArea .collection .popArticles {
  margin: 0;
  padding: 0;
}
#contentArea .collection .popArticles > li {
  float: none;
  width: auto;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}
#contentArea .collection .popArticles > li > a,
#main-content .articleList > li > a,
#main-content section.related li > a {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px !important;
  text-decoration: none !important;
  -webkit-box-decoration-break: slice;
  box-decoration-break: slice;
}
#contentArea .collection .popArticles > li > a > i,
#main-content .articleList > li > a > i,
#main-content section.related li > a > i {
  position: static;
  float: none;
  margin: 0;
  line-height: inherit;
}
#contentArea .collection .popArticles > li > a > span,
#main-content .articleList > li > a > span {
  min-width: 0;
}
#contentArea .collection .popArticles > li > a:hover,
#main-content .articleList > li > a:hover,
#main-content section.related li > a:hover {
  background: #F4F4F4 !important;
  box-shadow: none !important;
}
#main-content section.related ul {
  margin-left: 0;
  padding-left: 0;
}
#main-content section.related li {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
#main-content section.related a,
#main-content section.related a:hover,
#main-content section.related a:focus,
#main-content section.related a span {
  text-decoration: none !important;
}
#contentArea .collection .browse {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 16px;
  text-decoration: none !important;
}

/* Supplied Figma spacing, with the requested 12px corner radius. */
#sidebar ul.nav.nav-list > li > a,
#mainNav .nav > li > a,
#mainNav .nav-collapse .nav > li > a,
#contentArea .collection .popArticles > li > a,
#main-content .articleList > li > a,
#main-content section.related li > a,
#contentArea .collection .browse {
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 24px 12px 16px;
  border-radius: 12px !important;
}
#contentArea .collection .popArticles > li > a,
#main-content .articleList > li > a,
#main-content section.related li > a {
  column-gap: 8px;
}

/* v47: Figma's 8px radius for text links and menu rows only. */
body a:not(.brand),
body a:not(.brand):hover,
#sidebar ul.nav.nav-list > li > a,
#sidebar ul.nav.nav-list > li > a:hover,
#sidebar ul.nav.nav-list > li.active > a,
#sidebar ul.nav.nav-list > li.active > a:hover,
#sidebar ul.nav.nav-list > li.active > a:focus,
#sidebar ul.nav.nav-list > li.active > a:active,
#mainNav .nav > li > a,
#mainNav .nav > li > a:hover,
#mainNav .nav > li.active > a:hover,
#mainNav .nav-collapse .nav > li > a,
#contentArea .collection .popArticles > li > a,
#contentArea .collection .popArticles li a:hover,
#main-content .articleList > li > a,
#main-content .articleList li > a:hover,
#main-content section.related li > a,
#contentArea .collection .browse,
#serp-dd .result a:hover,
#serp-dd .result > li.active > a {
  border-radius: 8px !important;
}

/* v48: center header labels inside symmetrical backgrounds. */
#mainNav .nav > li > a,
#mainNav .nav-collapse .nav > li > a {
  padding: 12px 20px;
  text-align: center;
}

/* Homepage collection headings get the same comfortable side inset. */
#contentArea .collection-head h2 a {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none !important;
}

/* Every sidebar category fills the same width as the search field. */
#contentArea #sidebar ul.nav.nav-list {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
#contentArea #sidebar ul.nav.nav-list > li > a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 12px 24px 12px 16px;
}

/* Selected sidebar categories keep exactly the same appearance on hover. */
#contentArea #sidebar ul.nav.nav-list > li.active > a,
#contentArea #sidebar ul.nav.nav-list > li.active > a:hover,
#contentArea #sidebar ul.nav.nav-list > li.active > a:focus,
#contentArea #sidebar ul.nav.nav-list > li.active > a:active {
  background: #E9E9E9 !important;
  color: #000000 !important;
  font-weight: 400 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: none;
}

/* v49: compact collection footer link on desktop and mobile. */
#contentArea .collection .browse {
  display: inline-block;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px !important;
  text-align: center;
  white-space: normal;
  text-decoration: none !important;
}

/* v50: search results highlight as one title-and-description block. */
#main-content #serp .articleList > li {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 8px;
  padding: 12px 24px 12px 16px;
  border-radius: 8px;
  transition: background-color 160ms ease;
}
#main-content #serp .articleList > li:hover,
#main-content #serp .articleList > li:focus-within {
  background: #F4F4F4;
}
#main-content #serp .articleList > li > a,
#main-content #serp .articleList > li > a:hover,
#main-content #serp .articleList > li > a:focus {
  padding: 0;
  min-height: 0;
  margin: 0;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
/* Match the title text's 16px icon column plus 8px gap. */
#main-content #serp .articleList > li > p {
  margin: 8px 0 0 24px;
  padding: 0;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}
@media (prefers-reduced-motion: reduce) {
  #main-content #serp .articleList > li { transition: none; }
}

/* v51: stretch the existing search-result link across its whole block. */
#main-content #serp .articleList > li {
  position: relative;
  isolation: isolate;
}
#main-content #serp .articleList > li > a {
  position: static;
}
#main-content #serp .articleList > li > a::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 8px;
  cursor: pointer;
}
#main-content #serp .articleList > li:has(> a:focus-visible) {
  outline: 2px solid var(--sw-blue);
  outline-offset: 2px;
}
#main-content #serp .articleList > li > a:focus-visible {
  outline: none;
}

/* v52: uniform search-result touch feedback without the native dark overlay. */
#main-content #serp .articleList > li,
#main-content #serp .articleList > li > a,
#main-content #serp .articleList > li > a::after {
  -webkit-tap-highlight-color: transparent;
}
#main-content #serp .articleList > li:active,
#main-content #serp .articleList > li:has(> a:active) {
  background: #F4F4F4 !important;
}
#main-content #serp .articleList > li > a:active,
#main-content #serp .articleList > li > a:active::after {
  background: transparent !important;
  box-shadow: none !important;
}
