/* Global styles and overrides */

body {
  -webkit-font-smoothing: antialiased;
  background-repeat: no-repeat, no-repeat;
  background-position: 0 700px, 100% 90%;
  background-size: 350px 350px, 350px 350px;
  background-color: #f7f7f4;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
strong {
  font-weight: 700;
  color: #3c4858;
}

strong {
  -webkit-font-smoothing: auto;
}

#fullArticle img {
  border: 0px !important;
}

.custom-table-wrapper img {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Web fonts */

/* Graphik Medium */

/* Nav */
#mainNav {
  position: relative;
  z-index: 2;
}

#supertime:not(.active) {
  display: none;
}

#tipgenius:not(.active) {
  display: none;
}

.container-fluid {
  max-width: 1250px;
}

@media screen and (min-width: 500px) and (max-width: 1000px) {
  .container-fluid {
    width: 95%;
  }
}

/* Footer */

footer p {
  font-size: 13px;
  color: #556575;
}

footer p a {
  color: #556575;
}

/* Category: single tile */

/* Internal category with no icons */
#collection-category-8 .category {
  padding-top: 60px;
  min-height: 190px;
}

.category-list .category {
  background-color: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.03) 0px 0px 0px 1px,
    rgb(241, 243, 245) 0px 2px 10px 0px, rgba(0, 0, 0, 0.05) 0px 3px 3px 0px;
  box-sizing: border-box;
  display: inline-block;
  /* margin: 0 30px 30px 0;
  padding: 135px 50px 40px;
  min-height: 285px; */
  transition: all 0.25s ease-in-out;
  width: 100%;
}

.category-list .category,
.category-list .category:hover {
  background-repeat: no-repeat;
  background-position: center 36px;
  background-size: 80px 80px;
}

.category-list .category:hover {
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 0px 0px 1px,
    rgba(220, 223, 226, 0.3) 0px 30px 60px 0px,
    rgba(0, 0, 0, 0.1) 0px 8px 20px 0px;
}

/*.category-list .category:active {
  box-shadow: 0 0 0px 2px #1292EE inset;
  outline: none;
}*/

/* .category-list .category:hover .article-count {
  color: #0077cc;
}

.category-list .category:focus .article-count,
.category-list .category:active .article-count {
  color: #005ca4;
} */

@media screen and (max-width: 759px) {
  .category-list .category {
    margin-right: 0;
  }
}

@media screen and (min-width: 760px) and (max-width: 1104px) {
  .category-list .category {
    width: calc(100% / 2 - 17px);
  }

  .category-list .category:nth-child(even) {
    margin-right: 0;
  }
}

@media screen and (min-width: 1105px) {
  .category-list .category {
    width: calc(100% / 3 - 23px);
  }

  .category-list .category:nth-child(3n + 3) {
    margin-right: 0;
  }

  #collection-category-8 .category {
    padding-top: 60px;
    min-height: 190px;
  }
}

.category-list h3 {
  color: #051849;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 15px;
}

.category-list .category p {
  color: #7f8d9b;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 20px;
}

/* .category-list .category .article-count {
  margin-bottom: 0;
  color: #0077cc;
  transition: color 0.2s ease-in-out;
} */

.category-list .category,
.category-list.two-col .category {
  margin-bottom: 12px;
}

.collection-category h2 a {
  color: #1d2b36;
}

.collection-category h2 {
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.35px;
  margin-bottom: 20px;
}

.collection-category .category-list {
  margin-bottom: 50px;
}

.category-list.two-col .category {
  /* min-height: 240px; */
  width: 100%;
}

@media screen and (min-width: 760px) {
  .category-list.two-col .category {
    width: calc(100% / 3 - 23px);
  }
}

.category-list.two-col .category:last-child {
  margin-right: 0;
}

/* Category: icons */

/* #category-283 {
  background-image: url('https://cdn.shopify.com/app-store/listing_images/a50c529bb46df2d6dfe0663f4c0f6670/icon/CJLDxPSZ_voCEAE=.png?height=144&width=144');
}

#category-114 {
  background-image: url('https://roundtrip.ai/images/support/megaphone.png');
}

#category-85 {
  background-image: url('https://roundtrip.ai/images/support/gear.png');
}

#category-48 {
  background-image: url('https://roundtrip.ai/images/support/globe.png');
}

#category-41 {
  background-image: url('https://roundtrip.ai/images/support/hammer-and-wrench.png');
}

#category-207 {
  background-image: url('https://roundtrip.ai/images/support/phone.png');
}

#category-13 {
  background-image: url('https://roundtrip.ai/images/support/palette.png');
}

#category-141 {
  background-image: url('https://roundtrip.ai/images/support/question.png');
}

#category-54 {
  background-image: url('https://cdn.shopify.com/app-store/listing_images/1d2413b647f32590dd949c855c650da4/icon/CLyok8--_voCEAE=.png?height=144&width=144');
}

#category-20 {
  background-image: url('https://roundtrip.ai/images/support/calendar.png');
}

#category-21 {
  background-image: url('https://roundtrip.ai/images/support/speech.png');
}

#category-19 {
  background-image: url('https://roundtrip.ai/images/support/hammer-and-wrench.png');
}


#category-124 {
  background-image: url('https://cdn.shopify.com/app-store/listing_images/09560523e827e9d4311c0e6c5d967e80/icon/CKSD-7LI_voCEAE=.png?height=144&width=144');
} */

.nav-collapse .nav {
  margin-top: 40px;
}

.navbar .navbar-inner {
  background-color: #f7f7f4;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.navbar .nav > li > a {
  font-size: 18px;
  font-weight: 500;
  /* letter-spacing: 1px; */
  line-height: 28px;
  padding: 0 20px;
  color: #3c4858;
  -webkit-font-smoothing: auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

.navbar .brand,
.navbar .nav li a:hover,
.navbar .nav li a:focus,
.navbar .nav .active a,
.navbar .nav .active a:hover,
.navbar .nav .active a:focus {
  color: #0583b3;
}

@media screen and (max-width: 768px) {
  .navbar .nav > li > a {
    padding: 15px 20px;
  }

  #contactMobile {
    display: block;
  }
}

.navbar .nav #contact a {
  padding-right: 0;
}

.navbar .nav li a,
.navbar .icon-private-w {
  color: #3c4858;
  transition: color 0.2s;
}

.navbar .brand {
  background-size: 100%, auto;
  height: 30px;
  width: 174px;
  padding: 6px 0px 0px 0px;
}

.brand > img {
  min-height: 50px;
  min-width: 200px;
  object-fit: contain;
  padding-top: 14px;
}

#mainNav .container-fluid {
  min-height: 90px;
  line-height: 90px;
}

.navbar .btn-navbar {
  right: 0;
  margin-right: 0;
  padding-right: 0;
}

.navbar .btn-navbar .icon-bar {
  width: 20px;
}

@media screen and (max-width: 768px) {
  .navbar .btn-navbar {
    margin-top: 32px;
  }

  .navbar .btn-navbar .icon-bar {
    background: rgb(255, 239, 232);
  }
}

#docsSearch {
  background: #f7f7f4;
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 3em;
  padding: 1.5em 0;
  color: #253642;
}

@media screen and (min-width: 769px) and (max-width: 1045px) {
  .navbar .nav {
    position: relative !important;
  }

  .navbar .nav > li > a {
    padding: 10px !important;
  }
}

.navbar .nav .active .caret {
  display: none;
}

.navbar .nav .active a {
  font-weight: 500;
}

.nav .icon-private-w:before {
  display: none;
}

.nav .icon-private-w {
  background-image: url("https://d2x2losda9vsjs.cloudfront.net/docs/assets/2019/icon--lock-white.svg");
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  background-size: cover;
  display: inline-block;
  opacity: 0.6;
  position: relative;
  top: 5px;
  left: -2px;
}

@media screen and (min-width: 768px) {
  .nav #internal {
    position: relative;
  }
}

.nav > li.active .icon-private-w,
.nav > li a:hover .icon-private-w {
  opacity: 1;
}

/* Search Hero */

#docsSearch h1 {
  color: #253642;
  display: block;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.35px;
  line-height: 55px;
  margin: 0;
  padding-top: 3.25em;
  position: relative;
  text-align: center;
  z-index: 2;
}

#docsSearch {
  position: relative;
  border: none;
  /* margin-bottom: 80px; */
  padding: 0;
  position: relative;
}

#docsSearch::before,
#docsSearch::after {
  pointer-events: none;
}

#searchBar {
  z-index: 2;
}

@media screen and (max-width: 1024px) {
  #docsSearch {
    height: 240px;

    margin-bottom: 50px;
  }

  #docsSearch h1 {
    max-width: 400px;
    padding-top: 2em;
    padding-left: 10%;
    padding-right: 10%;
    font-size: 30px;
    line-height: 1.3;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1025px) {
  #docsSearch::before {
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    content: "";
    height: 100%;
    position: absolute;
    left: 5%;
    top: 0;
    transform: translateX(-50%);
    width: 515px;
    transition: left 0.2s;
  }

  #docsSearch::after {
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    content: "";
    height: 100%;
    position: absolute;
    left: 95%;
    top: 0;
    transform: translateX(-50%);
    width: 515px;
    transition: left 0.2s;
  }

  #contentArea::before {
    content: "";
    left: 50%;
    position: absolute;
    top: -175px;

    height: 200px;
    width: 175px;
    background-size: contain;
    opacity: 0;
    transform: translate(260px, 10px);
    transition: opacity 0.2s;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1899px) {
  #docsSearch {
    /* height: 400px; */
    background-colour: #f7f7f4;
  }

  #docsSearch h1 {
    font-size: 36px;
    padding-top: 2.8em;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1399px) {
  #docsSearch::before {
    left: 5%;
  }

  #docsSearch::after {
    left: 90%;
  }
}

@media screen and (min-width: 1300px) {
  #docsSearch::before {
    left: 10%;
  }

  #docsSearch::after {
    left: 85%;
  }
}

@media screen and (min-width: 1900px) {
  #docsSearch {
    height: 400px;
    background-colour: #f7f7f4;
  }

  #docsSearch::before {
    left: 18%;
    width: 580px;
  }

  #docsSearch::after {
    left: 84%;
    width: 580px;
  }

  #contentArea::before {
    top: -175px;
    right: -155px;
    height: 200px;
    width: 175px;
  }
}

@media screen and (min-width: 2300px) {
  #docsSearch::before {
    left: 20%;
  }

  #docsSearch::after {
    left: 80%;
  }
}

@media screen and (min-width: 1400px) {
  #contentArea::before {
    opacity: 1;
    transform: translate(260px, 0);
  }
}

/* Inputs */

input[type="text"],
input[type="email"],
textarea {
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #a5b2bd;
  padding: 0 12px;
  font-size: 14px;
  box-shadow: none;
  font-family: Graphik, Helvetica, Arial, sans-serif;
}

input::placeholder {
  color: #93a1b0;
}

input:focus,
textarea:focus {
  box-shadow: 0 0 0px 1px #1292ee inset !important;
  border-color: #1292ee !important;
}

label {
  font-size: 14px;
}

/* Contact button */

.btn,
input[type="submit"] {
  border: none;
  text-shadow: none;
  background: #38408b;
  font-weight: 500;
  font-size: 17px;
  width: 160px;
  border-radius: 4px;
  color: white;
  height: 42px;
  width: 90px;
}

/* Search form */

#searchBar .search-query::placeholder {
  color: #a5b2bd;
}

#searchBar .search-query {
  padding: 0 55px 0 12px;
}

@media screen and (max-width: 767px) {
  #searchBar {
    width: 80%;
  }
}

@media screen and (min-width: 768px) {
  #searchBar {
    width: 440px;
  }
}

@media screen and (min-width: 1440px) {
  #searchBar {
    width: 712px;
  }
}

@media screen and (min-width: 1025px) {
  #searchBar {
    width: 635px;
    display: block;
  }

  #searchBar .search-query {
    border-color: white;
    color: #253642;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol";
    height: 55px;
    letter-spacing: 0.2px;
    padding: 0 15px;
    width: 460px;
    display: block;
    margin-right: 0;
    transition: all 0.2s ease-in-out;
    border-radius: 16px;
  }

  #searchBar button {
    display: inline-block;
  }
}

#searchBar button .icon-search {
  color: #9ba9b5;
  font-size: 20px;
}

@media screen and (max-width: 1024px) {
  #searchBar button .icon-search {
    display: block;
  }

  #searchBar button {
    background: url("https://d2x2losda9vsjs.cloudfront.net/docs/assets/2019/icon-search.svg")
      center center no-repeat;
    border: 0;
    padding: 0 30px;
    position: absolute;
    right: 0;
    text-shadow: none;
    transition: all 0.2s ease-in-out;
  }

  #searchBar button:focus,
  #searchBar button:active {
    background: #f1f3f5
      url("https://d2x2losda9vsjs.cloudfront.net/docs/assets/2019/icon-search.svg")
      center center no-repeat;
  }

  #searchBar button span {
    display: none;
  }
}

@media screen and (min-width: 1025px) {
  #searchBar button {
    background: #26251e;
    border-radius: 16px;
    border: none;
    font-size: 17px;
    font-weight: 500;
    height: 55px;
    text-shadow: none;
    width: 160px;
    transition: all 0.2s ease-in-out;
  }
  #searchBar button:hover,
  #searchBar button:active {
    background: #0583b3;
  }
}

/* Article: content wrapper */

.contentWrapper,
.related {
  background-color: #fff;
  border: 0;
  border-radius: 4px;
  color: #556575;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px,
    rgb(241, 243, 245) 0px 5px 20px 0px, rgba(0, 0, 0, 0.05) 0px 3px 3px 0px;
  padding: 30px;
  word-break: break-word;
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
  .contentWrapper {
    padding: 50px 55px;
  }
}

@media screen and (min-width: 1000px) {
  .contentWrapper {
    padding: 70px 90px;
  }
}

.contentWrapper h1 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.35px;
  margin-bottom: 0.5em;
}

@media screen and (min-width: 1000px) {
  .contentWrapper h1 {
    font-size: 36px;
  }
}

/* .contentWrapper a,
a {
  color: #0077cc;
}

.contentWrapper a:hover,
a:hover {
  color: #005ca4;
  text-decoration: underline;
} */

.related {
  border-radius: 4px;
  margin-top: 30px;
  padding: 30px;
}

.related h3 {
  font-size: 13px;
  padding-left: 0;
  letter-spacing: 0.7px;
}

.related ul {
  margin-left: 0;
}

.related ul > li a {
  margin-left: 0;
}

@media screen and (min-width: 1000px) {
  .related {
    padding: 40px 90px;
  }
}

/* Article: typography */

#fullArticle {
  margin: 0 auto;
  max-width: 720px;
}

#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle div,
#fullArticle blockquote,
#fullArticle dd,
#fullArticle table {
  color: #1d2b36; /* charcoal, 800 */
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 1.5em;
}

/* #fullArticle a strong {
  color: #0077cc;
} */

#fullArticle li {
  margin-bottom: 10px;
}

#fullArticle h1.title {
  margin: 0 1em 1.2em 0;
}

#fullArticle h3 {
  -webkit-font-smoothing: auto;
  color: #1d2b36;
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
  margin: 1.8em 0 0.8em;
}

@media screen and (min-width: 768px) {
  #fullArticle h3 {
    font-size: 26px;
    line-height: 36px;
  }
}

#fullArticle h4 {
  -webkit-font-smoothing: auto;
  color: #1d2b36;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin: 2em 0 1.25em;
}

@media screen and (min-width: 768px) {
  #fullArticle h4 {
    font-size: 22px;
    line-height: 32px;
  }
}

#fullArticle h5 {
  -webkit-font-smoothing: auto;
  color: #1d2b36;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  margin: 1em 0 0.5em;
}

@media screen and (min-width: 768px) {
  #fullArticle h4 {
    font-size: 17px;
    line-height: 24px;
  }
}

.contentWrapper p.descrip {
  color: #556575;
  font-size: 18px;
  margin-bottom: 25px;
  margin-top: 0;
  line-height: 1.6;
}

@media screen and (min-width: 1000px) {
  .contentWrapper p.descrip {
    margin-bottom: 0;
    max-width: 30rem;
  }
}

#fullArticle img {
  border: 1px solid #d5dce1;
  margin: 2em 0 3em;
  padding: 0;
}

#fullArticle .index-list {
  background: #f9fafa;
  border-left: 4px solid #aaaeb7;
  margin: 3em 0;
  padding: 15px 0px;
}

#fullArticle .index-list:before,
#fullArticle .index-list:after {
  display: table;
  content: "";
  line-height: 0;
}

#fullArticle table td,
#fullArticle table th {
  padding: 8px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #e2e2e2;
}

@media (min-width: 600px) {
  #fullArticle table td:first-child code,
  #fullArticle table th:first-child code,
  #fullArticle table td:nth-child(2) code,
  #fullArticle table th:nth-child(2) code {
    white-space: nowrap;
  }

  #fullArticle table td:first-child,
  #fullArticle table th:first-child,
  #fullArticle table td:nth-child(2),
  #fullArticle table th:nth-child(2) {
    min-width: 120px;
  }
}

#fullArticle .index-list::after {
  clear: both;
}

#fullArticle .index-list ul {
  list-style: none;
  margin: 0.7em 25px 0em 0;
  float: left;
  width: 100%;
}

#fullArticle .index-list li {
  padding-left: 25px;
}

@media screen and (min-width: 1000px) {
  #fullArticle .index-list li {
    float: left;
    width: 45%;
  }
}

#fullArticle .index-list h4 {
  text-transform: uppercase;
  margin: 0;
  padding: 8px 26px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.7px;
}

#fullArticle dt {
  padding: 0;
  width: 26px;
  background: #a5b2bd;
  height: 26px;
  line-height: 26px;
  font-weight: 500;
  font-size: 14px;
}

#fullArticle dd {
  margin-left: 40px;
}

.articleList {
  box-sizing: border-box;
  margin-top: 34px;
  padding-top: 25px;
  position: relative;
}

.articleList:before {
  content: "";
  position: absolute;
  top: 0;
  width: 50px;
  height: 4px;
  left: 0;
  background: #9fe0d6;
}

/* .articleList li a:hover span {
  color: #005ca4;
  text-decoration: none;
} */

.articleList li a i {
  display: none;
}

@media screen and (max-width: 768px) {
  .articleList li {
    font-size: 16px;
  }
}

.articleList li {
  margin: 1em 0;
  padding-left: 0;
  font-size: 18px;
}

.articleList a {
  margin-left: 0;
}

/* Article: Category menu */

@media screen and (max-width: 768px) {
  #sidebar {
    margin-top: 40px;
  }
}

#sidebar h3 {
  font-size: 18px;
  text-transform: none;
  color: #1d2b36;
}

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

#sidebar .nav-list a {
  font-size: 15px;
  color: #405261;
  padding: 8px 15px 8px 0;
}

/* #sidebar .nav-list a:hover {
  color: #0077cc;
} */

#sidebar .nav-list .active a,
#sidebar .nav-list .active a:hover,
#sidebar .nav-list .active a:focus {
  font-weight: 500;
  color: #253642;
}

.icon-arrow:before {
  color: #253642;
}

#searchBar.sm button {
  width: 40px;
  top: 1px;
  right: 0;
  /* background: url("https://d2x2losda9vsjs.cloudfront.net/docs/assets/2019/icon-search.svg") center center no-repeat; */
}

#searchBar.sm button:hover {
  /* background: url("https://d2x2losda9vsjs.cloudfront.net/docs/assets/2019/icon-search.svg") center center no-repeat; */
}

#sidebar form .search-query {
  border: 1px solid #a5b2bd;
  border-radius: 5px;
  height: 42px;
  font-size: 14px;
}

#categoryHead .sort select {
  font-size: 12px;
  height: 28px;
}

#categoryHead .sort {
  position: relative;
  top: 0;
}

@media screen and (min-width: 1000px) {
  #categoryHead .sort {
    position: absolute;
    right: 0;
    top: 8px;
  }
}

/* Article: Main content */

#main-content {
  box-sizing: border-box;
  background: none;
}

@media screen and (max-width: 768px) {
  #main-content {
    margin: 20px 0 0;
  }
}

/* Article: Misc styles */

#fullArticle .callout-yellow,
#fullArticle .callout-blue,
#fullArticle .callout-red,
#fullArticle .callout-green,
#fullArticle .callout,
#fullArticle .private-note {
  border-left-width: 4px;
}

#fullArticle .callout-yellow,
#fullArticle .private-note {
  background: #f7f7f4;
  border-color: #ffc555;
  margin: 2em 0 4em;
}

#fullArticle .callout-yellow.dashed {
  border-left-width: 1px;
}

#fullArticle .private-note {
  background: #fff6e3
    url("https://d2x2losda9vsjs.cloudfront.net/docs/assets/2019/icon--lock.svg")
    no-repeat top 18px right 18px;
  background-repeat: no-repeat;
  padding: 20px 24px;
}

#fullArticle .private-note > h4 {
  margin-top: 0;
}

/* #fullArticle a:hover,
#fullArticle a:focus {
  color: #005ca4;
}

#fullArticle strong {
  color: #253642;
}

#fullArticle strong a {
  color: #0077cc;
} */

.articleFoot p,
.articleFoot time {
  font-family: Graphik, Helvetica, Arial, sans-serif;
  font-style: normal;
  color: #556575;
}

.articleFoot i {
  color: #c5ced6;
}

#sbContact {
  color: #556575;
  border-bottom: 1px dotted #d5dce1;
}

#fullArticle .admin-edit {
  background-color: #fff;
  border: 1px solid #c2cbd3;
  box-shadow: none;
  color: #1087d8;
  font-size: 13px;
  height: 24px;
  line-height: 26px;
  margin-bottom: 30px;
  margin-top: -20px;
  width: auto;
  transition: all 0.2s ease-in-out;
}

#fullArticle .admin-edit:hover {
  border-color: #57b0fb;
}

.articleRatings {
  margin: 3em 0 4em;
  color: #556575;
  border: 0;
  background: #ffffff;
  box-shadow: none;
  border-radius: 5px;
  border: 2px solid #e5e9ec;
}

.icon-search::before {
  display: none;
}

.icon-article-doc {
  display: none;
}

strong,
b {
  font-weight: 500;
  -webkit-font-smoothing: auto;
}

#serp {
  box-sizing: border-box;
}

#serp h1 strong {
  color: rgba(47, 85, 212, 1);
}

#serp .articleList > li {
  padding: 0.5em 0 1.5em;
  margin: 1em 0 0 0;
  border-bottom: 1px solid #e5e9ec;
}

#serp .articleList > li a {
  font-weight: 500;
  /*padding-left: 23px;*/
  margin-bottom: 5px;
}

#serp .articleList > li p {
  margin: 0;
  text-overflow: ellipsis;
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#serp-dd {
  border-radius: 5px;
  border: none;
  top: 85px;
}

#serp-dd .result a {
  padding: 12px 15px;
}

#serp-dd .result > li.active {
  background: #f1f3f5;
}

#serp-dd .result > li {
  position: relative;
}

#serp-dd .result > li.active a {
  color: #005ca4 !important;
}

#serp-dd.sb {
  top: 45px;
  width: 375px;
}

#serp .articlesFound,
#serp .nada {
  color: #748494;
}

#serp-dd .result > li.private a {
  color: #748494;
}

#serp-dd .icon-private-w:before {
  display: none;
}

#serp-dd .icon-private-w {
  background-image: url("https://d2x2losda9vsjs.cloudfront.net/docs/assets/2019/icon--lock.svg");
  width: 24px;
  height: 24px;
  background-size: cover;
  display: inline-block;
  position: absolute;
  top: 9px;
}

/* Contact Modal */

#contactModal {
  border: 0;
  width: 600px;
  margin-left: -300px;
  top: 8%;
}

#contactModal h2 {
  color: #1d2b36;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.35px;
  border: 0;
  padding: 40px 0 10px 60px;
}

#contactModal .control-label {
  float: none;
  display: block;
  color: #556575;
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 5px;
  padding: 0;
  text-align: left;
  width: 100%;
}

#contactModal .controls {
  margin: 0;
}

#contactModal input[type="text"],
#contactModal input[type="email"],
#contactModal textarea {
  box-sizing: border-box;
  min-height: 42px;
  width: 100%;
}

#contactModal .modal-body {
  padding: 15px 60px 40px;
}

#contactModal #md-message {
  padding: 14px;
  height: 70px;
  width: 100%;
}

#contactModal .form-actions {
  padding: 0;
}

#contactModal input[type="submit"].btn {
  width: 100%;
  background: #eb5255;
  height: 52px;
  transition: all 0.2s ease-in-out;
}

#contactModal input[type="submit"].btn:hover,
#contactModal input[type="submit"].btn:focus,
#contactModal input[type="submit"].btn:active {
  background: #232a5c;
  color: #fff;
}

#contactModal .icon-close:before {
  display: none;
}

#contactModal .icon-close {
  background-image: url("https://d2x2losda9vsjs.cloudfront.net/docs/assets/2019/icon--cross.svg");
  width: 24px;
  height: 24px;
  background-size: cover;
  display: inline-block;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#contactModal #closeBtn {
  right: 14px;
}

#contactModal .icon-close:hover {
  opacity: 1;
}

#file-upload:focus {
  border: none !important;
  box-shadow: none !important;
}

#contentArea > .appMessage {
  border-radius: 4px;
  color: #268c55;
  top: -25px;
  background: #e3fbee;
  border: 1px solid #56c288;
  font-size: 15px !important;
  width: 390px;
  margin: 0 auto;
  padding: 12px 30px;
  position: relative;
}

#contentArea > .appMessage em {
  background: none;
  color: #268c55;
  font-size: 16px;
  text-transform: none;
  font-weight: 500;
  margin-right: 0;
  padding-left: 22px;
  position: relative;
}

#contentArea > .appMessage em:before {
  content: "";
  background-image: url("https://d2x2losda9vsjs.cloudfront.net/docs/assets/2019/icon--check.svg");
  width: 24px;
  height: 24px;
  position: absolute;
  left: -4px;
  top: -2px;
}

.appMessage {
  background: #d6edff;
  color: #005ca4;
  font-size: 14px !important;
  padding: 12px 30px;
}

@media screen and (min-width: 768px) and (max-width: 999px) {
  .appMessage {
    padding: 12px 55px;
  }
}

@media screen and (min-width: 1000px) {
  .appMessage {
    padding: 12px 90px;
  }
}

.appMessage em {
  background: #1292ee;
  font-weight: 500;
  line-height: 1.1;
}

.modal-backdrop {
  background: #232a5c; /* purple 800 */
}

.modal-backdrop.in {
  opacity: 0.8;
}

/* contact form: page */

#contactForm input,
#contactForm textarea {
  min-height: 42px;
  box-sizing: border-box;
  width: 100%;
}

#contactForm textarea {
  padding: 14px;
}

#contactForm input.btn {
  width: auto;
  height: 52px;
  min-width: 150px;
  background: #eb5255;
  transition: all 0.2s ease-in-out;
}

#contactForm input.btn:hover {
  background: #232a5c;
  color: #fff;
}

#contactForm input.btn:focus,
#contactForm input.btn:active {
  border: 1px solid;
  color: #fff;
}

#contactForm .control-group,
#contactModal .control-group,
.abuse .control-group {
  margin-bottom: 20px;
}

/* .icon-print:before {
  display: none;
}

.icon-print {
  background-image: url('https://d2x2losda9vsjs.cloudfront.net/docs/assets/2019/icon--print.svg');
  width: 24px;
  height: 24px;
  background-size: cover;
  display: inline-block;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.icon-print:hover {
  opacity: 1;
} */

/* Reset styles for Docs Style Guide */
/* https://docs.helpscout.net/article/40-docs-style-guide */
#fullArticle .demo-styles * {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#fullArticle .demo-styles pre {
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}
#fullArticle .demo-styles p,
#fullArticle .demo-styles ul,
#fullArticle .demo-styles ol,
#fullArticle .demo-styles li,
#fullArticle .demo-styles div,
#fullArticle .demo-styles blockquote,
#fullArticle .demo-styles dd,
#fullArticle .demo-styles table {
  font-size: 14px;
  color: #585858;
  line-height: 1.55em;
  margin-bottom: 1.5em;
}
#fullArticle .demo-styles blockquote {
  padding: 0 0 0 15px;
  margin: 0 0 18px;
  border-left: 5px solid #eee;
}
#fullArticle .demo-styles pre {
  padding: 8.5px;
  margin: 0 0 9px;
  font-size: 11px;
  line-height: 18px;
}
#fullArticle .demo-styles p,
#fullArticle .demo-styles ul,
#fullArticle .demo-styles ol,
#fullArticle .demo-styles li,
#fullArticle .demo-styles div,
#fullArticle .demo-styles blockquote,
#fullArticle .demo-styles dd,
#fullArticle .demo-styles table {
  font-size: 14px;
  color: #585858;
  line-height: 1.55em;
  margin-bottom: 1.5em;
}
#fullArticle .demo-styles h1,
#fullArticle .demo-styles h2,
#fullArticle .demo-styles h3,
#fullArticle .demo-styles h4,
#fullArticle .demo-styles h5 {
  margin: 9px 0;
  font-family: inherit;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0;
  font-weight: 500;
  color: #1d2b36;
}
#fullArticle .demo-styles h1,
#fullArticle .demo-styles h2,
#fullArticle .demo-styles h3 {
  line-height: 36px;
}
#fullArticle .demo-styles h1 {
  font-size: 33px;
}
#fullArticle .demo-styles h2 {
  font-size: 27px;
}
#fullArticle .demo-styles h3 {
  font-size: 21px;
}
#fullArticle .demo-styles h4 {
  font-size: 15px;
}
#fullArticle .demo-styles h5 {
  font-size: 12px;
}

/* Errors */
#errorContainer .icon-error {
  color: #ffc555;
  font-size: 36px;
}

#errorContainer p {
  color: #556575;
}

/* Component :: Hubspot Cookie Policy notice */

body div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom {
  background: rgb(245, 245, 245);
  border: 0;
  bottom: 0 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  left: 0;
  line-height: 18px;
  max-width: 100%;
  padding: 20px;
  position: fixed;
  text-align: left;
  text-shadow: none !important;
  top: auto;
  z-index: 100000000 !important;
}

@media screen and (min-width: 768px) {
  body div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom {
    border-radius: 6px;
    bottom: 15px !important;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    left: 50%;
    max-width: 480px;
    transform: translate3d(-50%, 0, 0);
  }
}

body div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner {
  background: transparent !important;
  -webkit-font-smoothing: antialiased;
  padding: 0 !important;
}

body div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p {
  font-size: 14.5px !important;
  line-height: 21px !important;
  margin-bottom: 0 !important;
  padding-right: 90px !important;
}

body
  div#hs-eu-cookie-confirmation
  div#hs-eu-cookie-confirmation-inner
  p:first-child,
body
  div#hs-eu-cookie-confirmation
  div#hs-eu-cookie-confirmation-inner
  p:first-child {
  display: none;
}

@media screen and (max-width: 480px) {
  body div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p {
    font-size: 14.5px !important;
  }
}

body div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a {
  color: #07c !important;
  font-size: 14px !important;
}

body
  div#hs-eu-cookie-confirmation
  div#hs-eu-cookie-confirmation-inner
  a#hs-eu-confirmation-button {
  color: white !important;
  font-weight: 500 !important;
  background: #1292ee !important;
  border: 0 !important;
  border-radius: 4px !important;
  padding: 7px 16px !important;
  margin: 0 !important;
}

body
  div#hs-eu-cookie-confirmation
  div#hs-eu-cookie-confirmation-inner
  div#hs-en-cookie-confirmation-buttons-area {
  display: inline-block;
  margin: 0 !important;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translate3d(0, -50%, 0);
}

body
  div#hs-eu-cookie-confirmation
  div#hs-eu-cookie-confirmation-inner
  div#hs-en-cookie-confirmation-buttons-area
  #hs-eu-confirmation-button {
  margin: 0 !important;
  font-size: 14.5px !important;
}

#category-54 > .article-count {
  display: none;
}

#category-13 > .article-count {
  display: none;
}

#category-19 > .article-count {
  display: none;
}

#category-124 > .article-count {
  display: none;
}

/* Supertime */
#collection-category-1 {
  display: none;
}

/* TipGenius */
#collection-category-121 {
  display: none;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
}
.card h3 {
  margin-bottom: 10px;
}
.card a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #0073e6;
  font-weight: bold;
}

#serp-dd .result a:hover,
#serp-dd .result > li.active,
#fullArticle strong a,
#fullArticle a strong,
.collection a,
.contentWrapper a,
.most-pop-articles .popArticles a,
.most-pop-articles .popArticles a:hover span,
.category-list .category .article-count,
.category-list .category:hover .article-count {
  color: #0583b3;
}

/******************************************************
 * Roundtrip Help Center – Category Icons (Font Awesome)
 * UNIQUE icon + color per category on:
 *   - Homepage tiles (.category-list .category)
 *   - Article/category chips (#contentArea h3 + ul ...)
 *
 * Requires Font Awesome 4.7 in Site Head HTML:
 * <link rel="stylesheet"
 *       href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
 ******************************************************/

/* 1) Base circular badge + FA font for both contexts */
.category-list .category::before,
#contentArea h3 + ul li a[href*="/category/"]::before {
  font-family: "FontAwesome"; /* Font Awesome 4.x */
  font-style: normal;
  font-weight: normal;
  speak: none;

  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px; /* vertically centers glyph */
  text-align: center;
  font-size: 13px;

  border-radius: 999px;
  color: #ffffff; /* icon color */
  background-color: #304ddb; /* fallback background if no gradient hits */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  content: "\f07b"; /* default: fa-folder */
}

/* Layout-specific spacing */

/* On homepage tiles: icon above the category title */
.category-list .category::before {
  margin: 0 0 0.75rem;
}

/* On article/category pages: icon to the left of the link text */
#contentArea h3 + ul li a[href*="/category/"]::before {
  margin: 0 0.45rem 0 0;
  vertical-align: middle;
}

/* -----------------------------------------------
 * 2) Category-specific icons + UNIQUE gradients
 *
 * Icon mapping (Font Awesome 4.7):
 *   283 Getting Started          → fa-rocket        (\f135)  green/teal
 *   357 Creating Routes          → fa-map-signs     (\f277)  sky/teal
 *   356 Editing Routes           → fa-pencil-square-o (\f044) orange
 *   359 Managing Deliveries      → fa-truck         (\f0d1)  bright blue
 *   358 Managing Drivers         → fa-id-badge      (\f2c1)  violet
 *   354 Tracking & Notifications → fa-bell          (\f0f3)  yellow
 *   605 Developers               → fa-code          (\f121)  indigo
 *   360 Apps & Integrations      → fa-plug          (\f1e6)  cyan
 *   48  Plans & Pricing          → fa-credit-card   (\f09d)  amber
 *   41  Troubleshooting          → fa-wrench        (\f0ad)  red
 *
 * Each rule applies to BOTH:
 *   - #category-XXX (homepage)
 *   - /category/XXX-... chips (article view)
 * --------------------------------------------- */

/* Getting Started (category 283) – rocket, green/teal */
#category-283::before,
#contentArea h3 + ul li a[href*="/category/283-"]::before {
  content: "\f135"; /* fa-rocket */
  background: radial-gradient(circle at 30% 30%, #6ee7b7, #10b981);
}

/* Creating Routes (357) – map signs, sky blue */
#category-357::before,
#contentArea h3 + ul li a[href*="/category/357-"]::before {
  content: "\f277"; /* fa-map-signs */
  background: radial-gradient(circle at 30% 30%, #38bdf8, #0ea5e9);
}

/* Editing Routes (356) – pencil/edit, orange */
#category-356::before,
#contentArea h3 + ul li a[href*="/category/356-"]::before {
  content: "\f044"; /* fa-pencil-square-o (fa-edit) */
  background: radial-gradient(circle at 30% 30%, #fb923c, #ea580c);
}

/* Managing Deliveries (359) – truck, bright blue */
#category-359::before,
#contentArea h3 + ul li a[href*="/category/359-"]::before {
  content: "\f0d1"; /* fa-truck */
  background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb);
}

/* Managing Drivers (358) – id badge, violet */
#category-358::before,
#contentArea h3 + ul li a[href*="/category/358-"]::before {
  content: "\f2c1"; /* fa-id-badge */
  background: radial-gradient(circle at 30% 30%, #a855f7, #7c3aed);
}

/* Tracking Pages & Notifications (354) – bell, yellow */
#category-354::before,
#contentArea h3 + ul li a[href*="/category/354-"]::before {
  content: "\f0f3"; /* fa-bell */
  background: radial-gradient(circle at 30% 30%, #facc15, #eab308);
}

/* Developers (605) – code, indigo */
#category-605::before,
#contentArea h3 + ul li a[href*="/category/605-"]::before {
  content: "\f121"; /* fa-code */
  background: radial-gradient(circle at 30% 30%, #818cf8, #4f46e5);
}

/* Apps & Integrations (360) – plug, cyan */
#category-360::before,
#contentArea h3 + ul li a[href*="/category/360-"]::before {
  content: "\f1e6"; /* fa-plug */
  background: radial-gradient(circle at 30% 30%, #22d3ee, #0891b2);
}

/* Plans & Pricing (48) – credit card, amber */
#category-48::before,
#contentArea h3 + ul li a[href*="/category/48-"]::before {
  content: "\f09d"; /* fa-credit-card */
  background: radial-gradient(circle at 30% 30%, #fbbf24, #b45309);
}

/* Troubleshooting (41) – wrench, red */
#category-41::before,
#contentArea h3 + ul li a[href*="/category/41-"]::before {
  content: "\f0ad"; /* fa-wrench */
  background: radial-gradient(circle at 30% 30%, #f97373, #dc2626);
}

/******************************************************
 * EasyRoutes Delivery Driver – collection 203
 * New categories:
 *   364 – Getting Started
 *   366 – Delivering Routes
 *   365 – Troubleshooting
 *
 * Uses Font Awesome 4.7:
 *   fa-road                (\f018)
 *   fa-location-arrow      (\f124)
 *   fa-exclamation-triangle(\f071)
 ******************************************************/

/* 364 – Getting Started (Driver)
   Icon: road (fa-road)
   Vibe: neutral, “road ahead” */
#category-364::before,
#contentArea h3 + ul li a[href*="/category/364-"]::before {
  content: "\f018"; /* fa-road */
  background: radial-gradient(
    circle at 30% 30%,
    #e5e7eb,
    #6b7280
  ); /* cool grey */
}

/* 366 – Delivering Routes
   Icon: location arrow (fa-location-arrow)
   Vibe: movement, navigation */
#category-366::before,
#contentArea h3 + ul li a[href*="/category/366-"]::before {
  content: "\f124"; /* fa-location-arrow */
  background: radial-gradient(
    circle at 30% 30%,
    #22c55e,
    #16a34a
  ); /* fresh green */
}

/* 365 – Troubleshooting (Driver)
   Icon: exclamation triangle (fa-exclamation-triangle)
   Vibe: warnings/issues, but distinct from main Troubleshooting (41) */
#category-365::before,
#contentArea h3 + ul li a[href*="/category/365-"]::before {
  content: "\f071"; /* fa-exclamation-triangle */
  background: radial-gradient(
    circle at 30% 30%,
    #f97316,
    #c2410c
  ); /* deep amber */
}
/******************************************************
 * Layout tweak: 4 cards per row on desktop
 * + slightly more symmetrical spacing around the icon
 ******************************************************/

/* Desktop: use a 4-column grid for category cards */
@media screen and (min-width: 1024px) {
  .collection-category .category-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 24px;
  }

  /* Let grid handle width, not inline-block % rules */
  .collection-category .category-list .category {
    display: block;
    width: auto;
  }
}

/* If your template still adds .two-col, force it to behave
   as 4-up at larger breakpoints as well */
@media screen and (min-width: 1024px) {
  .category-list.two-col {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 24px;
  }

  .category-list.two-col .category {
    display: block;
    width: auto;
  }
}

/* Card padding tweak so the icon has a bit more room
   above it and feels vertically centered overall */
.category-list .category {
  padding: 1.6rem 1.5rem 1.3rem; /* slightly more top than bottom */
}

/* Icon spacing: nudge it down a touch and give a hair more
   room before the title */
.category-list .category::before {
  margin: 0.25rem 0 0.9rem; /* top, right/left, bottom */
}

/******************************************************
 * Typography tweak: stronger category titles
 * (cards + section headings)
 ******************************************************/

/* Card titles (e.g. "Getting Started", "Delivering Routes") */
.category-list h3 {
  color: #051849;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 12px; /* ensure no extra top margin */
}

/* Optional: slightly bolder collection headings */
.collection-category h2 {
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

/* Container helper (optional, if you have a wrapper) */
.sort-bar,
.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* Label next to the select, e.g. "Sort by" */
.sort-bar label,
.sort-wrapper label,
label[for="sortBy"] {
  font-size: 13px;
  font-weight: 500;
  color: #475569; /* slate-600 */
  margin: 0;
}

/* Main select styling */
#sortBy {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  box-sizing: border-box;
  display: inline-block;

  max-width: 200px;

  /* Fix the 14px height issue */
  height: 38px !important; /* pill height */
  line-height: 20px; /* text line-height inside */
  padding: 6px 32px 6px 12px; /* room for text + arrow */

  font-size: 13px;
  font-weight: 500;

  color: #0f172a; /* slate-900 */
  background-color: #ffffff;
  border: 1px solid #e2e8f0; /* slate-200 */
  border-radius: 999px;

  cursor: pointer;
  vertical-align: middle;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

/* Custom chevron icon */
#sortBy {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%2394A3B8' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
}

/* Hover & focus states */
#sortBy:hover {
  border-color: #cbd5f5; /* subtle blueish border on hover */
}

#sortBy:focus {
  border-color: #304ddb; /* your primary blue */
  box-shadow: 0 0 0 1px rgba(48, 77, 219, 0.2);
}

/* Disabled state */
#sortBy:disabled {
  cursor: default;
  color: #94a3b8; /* slate-400 */
  border-color: #e5e7eb;
  background-color: #f9fafb;
  background-image: none;
}

/* Small-screen tweak: full-width select if needed */
@media screen and (max-width: 640px) {
  #sortBy {
    width: 100%;
    max-width: 100%;
  }
}

/******************************************************
 * Category cards – fixed-height, vertically centered
 * description text (2 lines tall)
 ******************************************************/

/* Target the descriptive paragraph only:
   <a class="category">
     <h3>…</h3>
     <p> ← this one
     <p class="article-count">…</p>
   </a>
*/
/* Category description: 2-line area, centered under icon + title */
.category-list .category > p:not(.article-count) {
  display: flex;
  align-items: center; /* vertical centering */
  justify-content: center; /* horizontal centering */
  text-align: center; /* center multi-line text too */

  color: #7f8d9b;
  font-size: 14px;
  line-height: 1.4;

  min-height: calc(1.4em * 2); /* “2 lines” tall block */
  margin: 0 0 15px;
  padding: 0; /* ensure no weird top padding */
  overflow: hidden; /* clamp anything longer than 2 lines */
}
/* Optional: if any global styles add extra margin, zero them out here */
.category-list .category > p:not(.article-count):first-of-type {
  margin-top: 0;
}

/******************************************************
 * Article layout + typography touchups
 ******************************************************/

/* Slightly wider reading column on larger screens */
@media screen and (min-width: 1100px) {
  #fullArticle {
    max-width: 860px; /* was 720px earlier */
  }
}

/******************************************************
 * Article layout + typography touchups
 ******************************************************/

/* Slightly wider reading column on larger screens */
@media screen and (min-width: 1100px) {
  #fullArticle {
    max-width: 860px; /* was 720px earlier */
  }
}

/* Body copy: a touch more line height + softer color */
#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle div,
#fullArticle blockquote,
#fullArticle dd,
#fullArticle table {
  font-size: 16px; /* keep size reasonable */
  line-height: 1.7; /* a bit more breathing room */
  color: #253642; /* slightly softer than pure charcoal */
  margin-bottom: 1.4em; /* tighter than 1.5em but still airy */
}

/* Subheadings: stronger hierarchy & spacing */
#fullArticle h3 {
  font-size: 24px;
  line-height: 1.4;
  margin: 2.2em 0 0.9em; /* more space above section breaks */
  letter-spacing: -0.02em;
  font-weight: 600;
}

#fullArticle h4 {
  font-size: 18px;
  line-height: 1.45;
  margin: 1.8em 0 0.8em;
  font-weight: 600;
}

/* List items: a little denser but still comfy */
#fullArticle li {
  margin-bottom: 0.6em;
}
/* ==== Prism-aware block code styling ==== */
/* Base for Prism-highlighted blocks */
.docs-article pre[class*="language-"],
.article-body pre[class*="language-"],
article pre[class*="language-"] {
  background: #0f172a !important;  /* dark slate */
  color: #e5e7eb;                  /* light text (fallback; Prism will color tokens) */
  padding: 12px 14px;
  border-top-left-radius: 0;       /* flat top: copy header handles radius */
  border-top-right-radius: 0;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px !important;
  line-height: 1.5;
  overflow-x: auto;
  margin: 12px 0;
  border: 1px solid #020617;
}

/* Fallback for non-Prism pre blocks (no language-* class) */
.docs-article pre:not([class*="language-"]),
.article-body pre:not([class*="language-"]),
article pre:not([class*="language-"]) {
  background: #0f172a;
  color: #e5e7eb;
  padding: 12px 14px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px !important;
  line-height: 1.5;
  overflow-x: auto;
  margin: 12px 0;
  border: 1px solid #020617;
}

/* Ensure Prism inline code uses your mono font */
.docs-article code[class*="language-"],
.article-body code[class*="language-"],
article code[class*="language-"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
}

/* ==== Inline code (non-block) ==== */
.docs-article code:not(pre code),
.article-body code:not(pre code),
article code:not(pre code) {
  background: #f3f4f6;
  padding: 2px 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
}

/* Optional: language labels for code blocks you mark manually */
.code-block {
  position: relative;
  padding-top: 28px; /* space for label */
}

.code-block::before {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* Example language tags */
.code-block--bash::before { content: "bash"; }
.code-block--js::before { content: "javascript"; }
.code-block--py::before { content: "python"; }

/* ==== Roundtrip copy-button wrapper ==== */

/* Wrapper around each code block */
.rt-code-block {
  position: relative;
  margin: 16px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

/* Header bar with the copy button */
.rt-code-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 6px 10px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0 !important;
}

/* Copy button */
.rt-code-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  cursor: pointer;
  line-height: 1.2;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rt-code-copy:hover {
  background: #f3f4f6;
}

.rt-code-copy--success {
  border-color: #16a34a;
}

.rt-code-copy svg {
  display: block;
}

/* Code block styling inside wrapper */
.rt-code-block pre {
  margin: 0;
  padding: 12px 14px;
  background: #0f172a !important;  /* keep dark even with Prism theme */
  color: #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.5;
  overflow-x: auto;
}

/* Make sure the <pre> itself isn't adding extra space */
.rt-code-block pre {
  margin-bottom: 0 !important;
}

/* Force code blocks to preserve line breaks */
.rt-code-block pre,
.rt-code-block pre code,
.docs-article pre,
.docs-article pre code,
.article-body pre,
.article-body pre code,
article pre,
article pre code,
code.hljs {
  white-space: pre !important;   /* keep \n and indentation */
  display: block;
}

/* Make code blocks more readable */
.rt-code-block pre,
.rt-code-block pre code,
.docs-article pre,
.docs-article pre code,
.article-body pre,
.article-body pre code,
article pre,
article pre code,
code.hljs {
  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* Give code blocks extra space so the bottom line isn't under the scrollbar */
.rt-code-block pre,
.rt-code-block pre code {
  padding-bottom: 18px;   /* was 12px – bump it up a bit */
}

/* Optional: be explicit about scroll direction */
.rt-code-block pre {
  overflow-x: auto;
  overflow-y: hidden;
}