/**
 * Main styles
 */

/* Typography
--------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  --scroll-behavior: auto;
  scroll-behavior: auto;
  overflow-x: hidden;
}

@media (min-width: 1400px) {
  html {
    --scroll-behavior: smooth;
    scroll-behavior: smooth;
  }
}

body {
  background-color: #fff;
  color: #404040;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  line-height: 1.625;
}

a,
button,
.button {
  transition: all 0.1s ease-in-out;
}

a {
  color: #005fb9;
  text-decoration: none;
}

a:hover {
  color: #333;
}

p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding: 0;
}

strong {
  font-weight: 700;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

blockquote {
  display: block;
  max-width: 580px;
  margin: 10px 0 22px;
  padding: 0 0 0 36px;
  border-left: 4px solid #388e3c;
  color: #404040;
}

blockquote::before {
  position: relative;
  display: block;
  content: "\201C";
  height: 0;
  top: -10px;
  left: -20px;
  font-size: 30px;
  color: #404040;
}

blockquote p {
  position: relative;
  font-size: 24px;
  line-height: 34px;
}

blockquote p::after {
  position: absolute;
  content: "\201D";
  font-size: 30px;
}

img {
  height: auto;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

img,
object,
embed {
  max-width: 100%;
}

/* Buttons */

.button,
.wp-block-button__link,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 14px;
  white-space: normal;
  width: auto;
  background-color: #368e42;
  color: #fff;
  text-transform: uppercase;
}

@media (hover: hover) {
  .button:hover,
  .wp-block-button__link:hover,
  button:hover,
  input:hover[type="button"],
  input:hover[type="reset"],
  input:hover[type="submit"],
  .button:hover {
    background-color: #4aa958;
    color: #fff;
  }
}

/* Forms */

input,
select,
textarea {
  background-color: #fff;
  border: 1px solid #ececec;
  border-radius: 3px;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.06);
  color: #aaa;
  font-size: 16px;
  font-weight: 400;
  padding: 16px;
  width: 100%;
}

/* Layout
--------------------------------------------- */

/* Main container */

.wrap {
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  .wrap {
    overflow-x: initial;
  }
}

@media (min-width: 1160px) {
  .wrap {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Header container */

.site-header .wrap {
  overflow-y: hidden;
  position: relative;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin-bottom: -2px;
}

@media (min-width: 768px) {
  .site-header .wrap {
    overflow-y: initial;
  }
}

@media (min-width: 1024px) {
  .site-header .wrap {
    max-width: none !important;
  }
}

@media (min-width: 1740px) {
  .site-header .wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Content container */

.site-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.content,
.sidebar {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 1400px) {
  .content,
  .sidebar,
  .toc-sidebar {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

/* Article containers */

@media (min-width: 1024px) {
  .content-sidebar .content-sidebar-wrap {
    display: grid;
    grid-template-columns: 65% 32%;
    grid-column-gap: 3%;
  }
}

@media (min-width: 1200px) {
  .content-sidebar .content-sidebar-wrap {
    grid-template-columns: 680px 1fr;
    grid-column-gap: 70px;
  }
}

/* Article with TOC block containers */

@media (min-width: 1400px) {
  .article-has-toc .site-inner {
    max-width: 1320px;
  }

  .article-has-toc .content-sidebar-wrap {
    display: grid;
    grid-template-columns: 1fr 680px 1fr;
  }

  /* Ignore the wide desktop styles for AMP pages */
  .article-has-toc.is-amp .wrap {
    max-width: 1140px;
  }

  .article-has-toc.is-amp .content-sidebar-wrap {
    grid-template-columns: 680px 1fr;
  }
}

/* Info and Info Lite containers */
.page-template-page-info .entry-content,
.page-template-page-info-lite .entry-content {
  max-width: 840px;
  margin: 0 auto;
}

/* Industry Article container */
.page-template-page-industry .entry-content {
  max-width: 840px;
  margin: 0 auto;
}

/* Other containers */
.featured-on .wrap,
.footer-widgets .wrap,
.site-footer .wrap,
.home-bottom {
  max-width: 1140px;
  margin: 0 auto;
}

/* Header
--------------------------------------------- */

.site-header {
  border-bottom: 1px solid #dfdfdf;
  box-shadow: 0 8px 8px -8px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1024px) {
  .site-header {
    height: 75px;
  }
}

.site-header .header-menu {
  margin-top: 12px;
}

@media (min-width: 768px) {
  .site-header .header-menu {
    margin-top: 16px;
  }
}

@media (min-width: 1024px) {
  .site-header .header-menu {
    padding-top: 3px;
    margin-top: 0;
  }
}

.site-header .header-logo {
  position: absolute;
  top: 16px;
  margin-left: 45px;
}

@media (min-width: 768px) {
  .site-header .header-logo {
    top: 16px;
    margin-left: 55px;
  }
}

@media (min-width: 1024px) {
  .site-header .header-logo {
    margin-left: 0;
  }
}

.site-header .header-logo img {
  display: block;
  width: 140px;
  height: 27px;
}

@media (min-width: 768px) {
  .site-header .header-logo img {
    width: 180px;
    height: 35px;
  }
}

.site-header .header-button {
  display: none;
  position: absolute;
  top: 12px;
  right: 1.25rem;
  padding: 12px 8px;
  background-color: #fff;
  border: 1px solid #4ba958;
  color: #356543;
  line-height: 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-header .header-button:hover {
  background-color: #4aa958;
  color: #fff;
}

@media (min-width: 365px) {
  .site-header .header-button {
    display: block;
  }
}

@media (min-width: 768px) {
  .site-header .header-button {
    top: 14px;
    padding: 14px 12px;
  }
}

@media (min-width: 1024px) {
  .site-header .header-button {
    top: 15px;
    padding: 15px 14px 15px 14px;
  }
}

@media (min-width: 1220px) {
  .site-header .header-button {
    top: 15px;
    padding: 15px 14px 15px 14px;
  }
}

@media (min-width: 1740px) {
  .site-header .header-button {
    right: 2rem;
  }
}

/* Content Area (Articles)
--------------------------------------------- */

/* Layout */

.entry {
  margin-left: -1.25rem;
  margin-right: -1.25rem;
}

@media (min-width: 768px) {
  .entry {
    margin-left: 0;
    margin-right: 0;
  }
}

.entry-header {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.entry-content {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .content-sidebar .entry-header,
  .content-sidebar .entry-content {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 1024px) {
  .entry-header,
  .entry-content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Typography */

.entry-title {
  margin: 0;
  font-family: "Crimson Text", serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
}

@media (max-width: 767px) {
  .entry-title {
    font-size: 1.8rem;
  }
}

.entry-title a {
  color: #333;
}

.entry-title a:hover {
  color: #005fb9;
}

.entry-subtitle span {
  font-size: 1rem;
  line-height: 1.5;
  border-bottom: 1.2px dotted rgba(0, 0, 0, 0.4);
}

@media (min-width: 1024px) {
  .entry-content {
    font-size: 17px;
  }
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.entry-content h1 strong,
.entry-content h2 strong,
.entry-content h3 strong,
.entry-content h4 strong,
.entry-content h5 strong,
.entry-content h6 strong {
  font-weight: 600;
}

/* For top level headings add top padding and margins for scroll targets */
.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6 {
  margin-top: -1rem;
  padding-top: 1.6rem;
}

/* Lists */

.entry-content ol,
.entry-content ul {
  margin-left: 17px;
  margin-bottom: 1rem;
}

.entry-content li {
  margin-top: 1rem;
}

.entry-content ol li {
  list-style-type: decimal;
}

.entry-content ul li {
  list-style-type: disc;
}

.entry-content .wp-block-column ol,
.entry-content .wp-block-column ul {
  margin-bottom: 0;
}

/* Main Image */

/* Hide main image by default on mobile */
.entry-main-image {
  display: none;
  margin-bottom: 1rem;
  border: 1px solid #dfdfdf;
}

/* Force main images to be full width */
.entry-main-image img {
  width: 100% !important;
}

/* Show main image on mobile if article settings toggle is enabled */
.entry-main-image.visible-on-mobile,
.entry-main-image.visible-on-mobile img {
  display: block;
}

/* Always show main images on desktop */
@media (min-width: 768px) {
  .entry-main-image,
  .entry-main-image img {
    display: block;
  }
}

/* Fix missing Content Views image box-shadow issue */
.entry-content img.pt-cv-thumbnail.img-none,
.entry-content .pt-cv-thumbnail.img-none img {
  box-shadow: 0 4px 8px 0 rgba(108, 127, 135, 0.1), 0 1px 4px 0 rgba(108, 127, 135, 0.36);
}

/* Content Area (Archives)
--------------------------------------------- */

.archive .entry {
  display: grid;
  grid-template-areas:
    "image"
    "title"
    "content";
  column-gap: 2.5rem;
  row-gap: 1rem;
  margin-top: 2.5rem;
  margin-left: 0;
  margin-right: 0;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #dfdfdf;
}

.archive .entry:last-child {
  border-bottom: 0;
}

@media (min-width: 768px) {
  .archive .entry {
    grid-template-columns: 2.5fr 7.5fr;
    grid-template-areas:
      "image title"
      "image content";
  }
}

.archive .content-heading {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dfdfdf;
  font-size: 26px;
  font-weight: 700;
}

.archive .entry-title {
  grid-area: title;
  font-size: 30px;
}

.archive .entry-content {
  grid-area: content;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.archive .entry-content p {
  margin-bottom: 0;
}

.archive .read-more-link {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.archive .entry-image {
  grid-area: image;
  display: block;
  margin: 0.3rem auto 0 auto;
  border-radius: 5px;
}

.archive .entry-image img {
  min-height: 165px;
  min-width: 165px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.archive .entry-image .image-crop-left img {
  object-position: left;
}

.archive .entry-image .image-crop-center img {
  object-position: center;
}

.archive .entry-image .image-crop-right img {
  object-position: right;
}

/* Widgets
--------------------------------------------- */

.widget {
  margin-bottom: 2rem;
  padding-top: 2rem;
  word-wrap: break-word;
  text-align: center;
}

.widget-title {
  margin-bottom: 1.5rem;
  font-size: 20px;
  font-weight: 600;
}

.widget li {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .widget {
    margin-bottom: 3rem;
    padding-top: 0;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Pagination
--------------------------------------------- */

.pagination {
  padding-bottom: 4rem;
}

/* Footer
--------------------------------------------- */

.site-footer {
  background-color: #f5f6f7;
  border-top: 1px solid #dfdfdf;
  color: #828282;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1px;
  padding: 40px 0;
  text-align: center;
  text-transform: none;
}

.site-footer a {
  color: #757575 !important;
}

.site-footer a:hover {
  color: #000 !important;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer .genesis-nav-menu {
  margin-bottom: 2rem;
}

.site-footer .genesis-nav-menu .menu-item {
  display: inline-block;
}

.site-footer .genesis-nav-menu a {
  display: block;
  padding: 5px 14px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #757575 !important;
}

.site-footer .genesis-nav-menu a:hover {
  color: #000 !important;
}

.site-footer .footer-content {
  font-size: 12px;
  max-width: 768px;
  margin: 0 auto;
}

.site-footer .footer-content a {
  text-decoration: underline;
}

/* Footer Widgets */

.footer-widgets .wrap {
  display: grid;
}

.footer-widgets {
  background-color: #fff;
}

.footer-widgets .widget-title {
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .footer-widgets .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 3%;
  }

  .footer-widgets {
    padding-top: 3rem;
    border-top: 1px solid #dfdfdf;
  }

  .home .footer-widgets {
    padding-top: 0;
    padding-left: 1.3rem;
    border-top: 0;
  }

  .footer-widgets-2,
  .footer-widgets-3 {
    justify-self: center;
  }
}

@media (min-width: 1024px) {
  .footer-widgets-1 {
    justify-self: center;
  }
}

/* Utilities
--------------------------------------------- */

@media (max-width: 600px) {
  .hide-on-mobile {
    display: none;
  }
}

@media (min-width: 601px) {
  .hide-on-desktop {
    display: none;
  }
}
