/* Repairs missing Wayback runtime assets without redesigning the original theme. */
.tf_lazy,
.wow,
.wow .tf_lazy {
  visibility: visible !important;
  opacity: 1 !important;
}

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

/* Only the first archived home slider image exists in the downloader package. */
.home .sp-slide:not(.sp-slide-0),
.home .sp-buttons {
  display: none !important;
}

.home .sp-slide-0 {
  display: block !important;
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.restored-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 46px 24px 70px;
}

.restored-page .page-title {
  margin-bottom: 28px;
}

.restored-page .intro {
  max-width: 860px;
  margin-bottom: 34px;
  font-size: 1.08em;
}

.restored-page h2,
.restored-page h3,
.restored-page h4 {
  margin-top: 1.5em;
}

.restored-page .feature-image {
  width: 100%;
  max-height: 520px;
  margin: 28px 0;
  object-fit: cover;
}

.restored-page .content-grid,
.restored-page .gallery-grid,
.restored-page .category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.restored-page .content-card,
.restored-page .category-card,
.restored-page .testimonial,
.restored-page details {
  padding: 24px;
  border: 1px solid #dedede;
  background: #fff;
}

.restored-page .gallery-grid figure {
  margin: 0;
}

.restored-page .gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.restored-page .gallery-grid figcaption {
  padding: 10px 0;
  font-size: .9em;
}

.restored-page details {
  margin-bottom: 14px;
}

.restored-page summary {
  cursor: pointer;
  font-weight: 700;
}

.restored-page .testimonial {
  margin-bottom: 18px;
  font-size: 1.05em;
}

.restored-page .testimonial cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
}

.restored-page .account-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.restored-page label {
  display: block;
  margin: 14px 0 5px;
  font-weight: 700;
}

.restored-page input,
.restored-page textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #bbb;
}

.restored-page button,
.restored-page .archive-button {
  display: inline-block;
  margin-top: 15px;
  padding: 11px 20px;
  border: 0;
  background: #657438;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 800px) {
  .restored-page .content-grid,
  .restored-page .gallery-grid,
  .restored-page .category-grid,
  .restored-page .account-columns {
    grid-template-columns: 1fr;
  }
}
