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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #202020;
  background: #fff;
  font-family: Cabin, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #777;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.25;
}

hr {
  height: 1px;
  margin: 24px 0;
  border: 0;
  background: #e6e6e6;
}

#siteWrapper {
  width: 100%;
  min-height: 100vh;
}

#header {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 60px 18px;
}

#logoWrapper,
#logo,
#topNav {
  text-align: center;
}

#logoImage,
.logo-image {
  display: inline-block;
  max-width: 260px;
}

.site-title,
#siteTitle,
#logoWrapper a,
#logo .logo a {
  display: inline-block;
  color: #222;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.main-nav li,
.main-nav a {
  color: #333;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav .active-link a,
.main-nav a:hover {
  color: #999;
}

.mobileNav,
#mobileNav,
#mobileMenuLink,
#mobileInfoBar,
.mobile-info-bar,
.sqs-mobile-info-bar,
[class*="mobile-info-bar"],
[id*="mobileInfoBar"] {
  display: none;
}

.page-divider {
  max-width: 1060px;
  height: 1px;
  margin: 0 auto;
  background: #eee;
}

#page,
.page-header,
#footer {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 60px;
}

.sqs-layout {
  width: 100%;
}

.sqs-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.sqs-row::after,
.clear::after {
  display: table;
  clear: both;
  content: "";
}

.sqs-col-12,
.span-12 {
  width: 100%;
}

.sqs-col-6,
.span-6 {
  width: 50%;
}

.sqs-block {
  position: relative;
  padding: 17px;
}

.sqs-block-content > :last-child {
  margin-bottom: 0;
}

.text-align-center {
  text-align: center;
}

.sqs-gallery-block-grid .sqs-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sqs-gallery-thumbnails-per-row-4 .sqs-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.sqs-gallery-block-grid .slide,
.sqs-gallery-block-grid .margin-wrapper {
  min-width: 0;
}

.sqs-gallery-block-grid .image-slide-anchor {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7f7f7;
}

.sqs-gallery-block-grid .thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sqs-gallery-block-grid .image-slide-title {
  margin-top: 8px;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.html-block,
.markdown-block {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.html-block h1,
.html-block h2,
.html-block h3,
.markdown-block h1,
.markdown-block h2,
.markdown-block h3 {
  text-align: center;
}

.blog-content {
  font-size: 13px;
  line-height: 1.5;
}

.blog-content h1 {
  font-size: 22px;
}

.blog-content h2 {
  font-size: 18px;
}

.blog-content h3,
.blog-content .blog-title {
  font-size: 16px;
}

.blog-content .blog-preview,
.blog-content p,
.blog-content li {
  font-size: 13px;
  line-height: 1.5;
}

#footer {
  color: #777;
  font-size: 13px;
  text-align: center;
}

body.homepage #block-yui_3_17_2_2_1420673261963_24691,
body.homepage #block-yui_3_17_2_13_1420673261963_9801,
body.homepage #block-yui_3_17_2_2_1420673261963_24877,
body.homepage #block-yui_3_17_2_13_1420673261963_10690,
body.homepage #block-yui_3_17_2_2_1420673261963_38243,
body.homepage #block-yui_3_17_2_2_1420726143534_9276 {
  display: none !important;
}

@media (max-width: 900px) {
  #header,
  #page,
  .page-header,
  #footer {
    padding-right: 28px;
    padding-left: 28px;
  }

  .sqs-col-6,
  .span-6 {
    width: 100%;
  }

  .sqs-gallery-block-grid .sqs-gallery,
  .sqs-gallery-thumbnails-per-row-4 .sqs-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 560px) {
  #header,
  #page,
  .page-header,
  #footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .site-title,
  #siteTitle,
  #logoWrapper a,
  #logo .logo a {
    font-size: 24px;
  }

  .main-nav ul {
    gap: 8px 16px;
  }

  .sqs-block {
    padding-right: 0;
    padding-left: 0;
  }

  .sqs-gallery-block-grid .sqs-gallery,
  .sqs-gallery-thumbnails-per-row-4 .sqs-gallery {
    grid-template-columns: 1fr;
  }
}
