/* Kitstown 26: front page sections. */

body.path-frontpage,
body.path-frontpage .dialog-off-canvas-main-canvas,
body.path-frontpage .page-wrapper,
body.path-frontpage #page,
body.path-frontpage .layout-main-wrapper,
body.path-frontpage .layout-main,
body.path-frontpage .main-content,
body.path-frontpage .main-content__container,
body.path-frontpage .region--content {
  background: #efefef;
  background-image: none;
}

body.path-frontpage .layout-main-wrapper {
  display: block;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

body.path-frontpage.kitstown-has-custom-header .layout-main-wrapper {
  padding-top: 0;
}

body.path-frontpage .kitstown-site-header,
body.path-frontpage .kitstown-site-footer {
  margin-top: 0;
  margin-bottom: 0;
}

body.path-frontpage .layout-main,
body.path-frontpage .main-content,
body.path-frontpage .main-content__container {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

body.path-frontpage .main-content__container {
  padding-top: 0;
  padding-bottom: 0;
}

.kitstown-home-featured {
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding: calc(var(--kitstown-header-height) + 10px) 0 30px;
  background: #070707;
}

.kitstown-home-featured__slider {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
}

.kitstown-home-featured__slider .swiper-wrapper {
  align-items: stretch;
}

.kitstown-home-featured__slide {
  width: min(80vw, 420px);
  height: auto;
}

.kitstown-home-featured__card,
.kitstown-home-featured__card:link,
.kitstown-home-featured__card:visited {
  display: block;
  height: 100%;
  overflow: visible;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
}

.kitstown-home-featured__card:hover,
.kitstown-home-featured__card:focus-visible {
  color: #ffffff;
  text-decoration: none;
}

.kitstown-home-featured__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: #171717;
}

.kitstown-home-featured__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kitstown-home-featured__thumb--empty {
  display: grid;
  place-items: center;
}

.kitstown-home-featured__thumb--empty::before {
  display: block;
  width: min(33.6%, 94px);
  aspect-ratio: 866 / 195;
  background: #ffffff;
  content: "";
  opacity: 0.12;
  -webkit-mask: url("../../images/kitstown-wordmark.svg") center / contain no-repeat;
  mask: url("../../images/kitstown-wordmark.svg") center / contain no-repeat;
}

.kitstown-home-featured__date {
  display: none;
}

.kitstown-home-featured__title {
  display: none;
}

.kitstown-home-featured__pagination {
  position: static;
  display: flex;
  width: 100%;
  height: 8px;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 30px;
}

.kitstown-home-featured__pagination.swiper-pagination-bullets .swiper-pagination-bullet,
.kitstown-home-featured__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 3.75px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition:
    width 160ms ease,
    background-color 160ms ease;
}

.kitstown-home-featured__pagination.swiper-pagination-bullets .swiper-pagination-bullet:first-child,
.kitstown-home-featured__pagination .swiper-pagination-bullet:first-child {
  margin-left: 0;
}

.kitstown-home-featured__pagination.swiper-pagination-bullets .swiper-pagination-bullet:last-child,
.kitstown-home-featured__pagination .swiper-pagination-bullet:last-child {
  margin-right: 0;
}

.kitstown-home-featured__pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,
.kitstown-home-featured__pagination .swiper-pagination-bullet-active {
  width: 20px;
  height: 8px;
  background: #ffffff;
}

@media (min-width: 700px) {
  .kitstown-home-featured {
    padding-top: calc(var(--kitstown-header-height) + 16px);
    padding-bottom: 30px;
  }

  .kitstown-home-featured__slider {
    width: 96%;
    max-width: 1620px;
  }

  .kitstown-home-featured__slide {
    width: auto;
  }
}

.kitstown-home-latest {
  box-sizing: border-box;
  width: 100%;
  padding: 30px 0 0;
  background: #efefef;
}

body.path-frontpage .region--highlighted,
body.path-frontpage .region--content-above,
body.path-frontpage .region--content,
body.path-frontpage .region--content-below {
  background: #efefef;
  background-image: none;
}

.kitstown-home-latest__header {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--kitstown-list-max-width, 1600px);
  margin: 0 auto;
  padding: 0;
}

.kitstown-home-latest__title {
  display: none;
}

.kitstown-home-latest .kitstown-article-list-view {
  padding-top: 0;
  padding-bottom: 0;
}

.kitstown-home-latest__item.is-kitstown-home-hidden {
  display: none;
}

.kitstown-home-latest__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 30px;
}

.kitstown-home-latest__load,
.kitstown-home-latest__load:hover,
.kitstown-home-latest__load:focus,
.kitstown-home-latest__more,
.kitstown-home-latest__more:link,
.kitstown-home-latest__more:visited,
.kitstown-home-latest__more:hover,
.kitstown-home-latest__more:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #070707;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
}

.kitstown-home-latest__load[hidden] {
  display: none;
}

.kitstown-home-latest__more.is-kitstown-home-more-hidden {
  display: none;
}

@media (min-width: 700px) {
  .kitstown-home-latest {
    padding-top: 30px;
    padding-bottom: 0;
  }

  .kitstown-home-latest__header {
    padding: 0;
  }

  .kitstown-home-latest__title {
    display: none;
  }

  .kitstown-home-latest__actions {
    margin-top: 32px;
  }
}
