/* === restore fix: header menu around centered logo === */
@media (min-width: 1025px) {
  #g1-header .g1-layout-inner { max-width: 1440px; width: 100%; margin: 0 auto; position: relative; }
  #g1-primary-bar { position: relative; }
  #g1-primary-nav { width: 100%; float: none !important; }
  #g1-primary-nav-menu {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 230px 1fr 1fr 1fr;
    align-items: center;
    width: 100%; padding: 0 10px !important; margin: 0 !important;
    box-sizing: border-box;
  }
  #g1-primary-nav-menu > li {
    float: none !important; display: block !important;
    left: 0 !important; margin: 0 !important;
    padding-left: 70px !important; padding-right: 0 !important;
    justify-self: center; position: relative;
  }
  #g1-primary-nav-menu > li.page_1 { grid-column: 1; }
  #g1-primary-nav-menu > li.page_2 { grid-column: 2; }
  #g1-primary-nav-menu > li.page_3 { grid-column: 3; }
  #g1-primary-nav-menu > li.page_4 { grid-column: 5; }
  #g1-primary-nav-menu > li.page_5 { grid-column: 6; }
  #g1-primary-nav-menu > li.page_6 { grid-column: 7; }
  #g1-primary-nav-menu > li > a { white-space: nowrap; }
  #g1-primary-nav-menu > li > a .g1-nav-item__title { white-space: normal; max-width: 170px; margin: 0 auto; }
  #g1-id .site-title {
    left: 50% !important; margin-left: 0 !important;
    transform: translateX(-50%); width: 200px; text-align: center;
    bottom: -40px !important; z-index: 120 !important;
  }
  #g1-id .site-title img { max-width: 200px; height: auto; }
}
@media (min-width: 1025px) and (max-width: 1340px) {
  #g1-primary-nav-menu { grid-template-columns: 1fr 1fr 1fr 210px 1fr 1fr 1fr; }
  #g1-primary-nav-menu > li { padding-left: 0 !important; }
  #g1-primary-nav-menu > li > a { font-size: 14px !important; line-height: 16px !important; }
  #g1-id .site-title { bottom: -45px !important; }
}

/* === restored home slider === */
.ht-slider { position: relative; width: 100%; max-width: 1280px; margin: 0 auto 30px; aspect-ratio: 1280 / 400; overflow: hidden; background: #75b2fe; }
.ht-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.ht-slide.is-active { opacity: 1; pointer-events: auto; }
.ht-slide a.ht-cap { position: absolute; display: block; transform: translateY(20px); opacity: 0; transition: all .7s ease .4s; }
.ht-slide.is-active a.ht-cap { transform: none; opacity: 1; }
.ht-slide a.ht-cap img { width: 100%; height: auto; display: block; box-shadow: none !important; border: 0 !important; }
.ht-arrow { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border: 0; border-radius: 4px; background: rgba(0,0,0,.35); color: #fff; font-size: 26px; line-height: 44px; text-align: center; cursor: pointer; z-index: 5; padding: 0; }
.ht-arrow:hover { background: rgba(0,0,0,.6); }
.ht-prev { left: 15px; } .ht-next { right: 15px; }
.ht-dots { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; z-index: 5; }
.ht-dots button { width: 13px; height: 13px; margin: 0 4px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.ht-dots button.is-active { background: #fff; }

/* restored thumbnails */
.g1-collection .entry-featured-media img { width: 100%; height: auto; aspect-ratio: 239 / 134; object-fit: cover; display: block; }

/* tweaks */
@media (min-width: 1341px) and (max-width: 1660px) {
  #g1-primary-nav-menu > li { padding-left: 54px !important; }
  #g1-primary-nav-menu > li > a { font-size: 14px !important; line-height: 17px !important; }
  #g1-primary-nav-menu > li:after { width: 56px !important; height: 54px !important; background-size: contain !important; left: -4px !important; top: -8px !important; }
}
.ht-slider { overflow: visible; margin-bottom: 44px; }
.ht-slide { overflow: hidden; }
.ht-dots { bottom: -30px; }
.ht-dots button { border-color: #6793bf; }
.ht-dots button.is-active { background: #6793bf; }
@media (max-width: 1024px) { .ht-slider { margin-top: 45px; } }
#g1-table-1 table { border-top: 1px solid currentColor; }
#g1-primary-nav-menu > li > a { text-shadow: 0 1px 2px rgba(20,60,110,.9), 0 0 6px rgba(20,60,110,.6); }
