.featured-feed.owl:not(.owl-loaded) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.featured-feed.owl .post {
  position: relative;
}

.featured-feed.owl .u-placeholder {
  margin-bottom: 24px;
}

.featured-feed.owl.owl-loaded .owl-stage-outer {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.featured-feed.owl.owl-loaded .owl-stage-outer::-webkit-scrollbar {
  display: none;
}

.featured-feed.owl.owl-loaded .owl-stage {
  display: flex;
}

.featured-feed.owl.owl-loaded .owl-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.site-search[hidden] {
  display: none;
}

.site-search {
  position: fixed;
  inset: 0;
  z-index: 4000000;
}

.site-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 23, 26, 0.72);
  backdrop-filter: blur(8px);
}

.site-search-panel {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 32px));
  margin: 72px auto 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.site-search-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--color-light-gray);
}

.site-search-input {
  height: 48px;
  padding: 0 16px;
  font-size: 1.7rem;
  border-radius: 8px;
}

.site-search-close {
  width: 40px;
  height: 40px;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-secondary-text);
  cursor: pointer;
  background: transparent;
  border: 0;
}

.site-search-results {
  max-height: min(70vh, 680px);
  padding: 8px 0;
  overflow: auto;
}

.site-search-result {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-light-gray);
}

.site-search-result:last-child {
  border-bottom: 0;
}

.site-search-result:hover {
  opacity: 1;
  background: var(--color-lighter-gray);
}

.site-search-result-title {
  margin-bottom: 4px;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-darker-gray);
}

.site-search-result-meta {
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ghost-accent-color);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-search-result-description {
  font-size: 1.4rem;
  color: var(--color-secondary-text);
}

.site-search-empty {
  padding: 24px 18px;
  margin: 0;
  color: var(--color-secondary-text);
}

.gh-button-share {
  appearance: none;
  background: transparent;
}

.gh-content > p > img:only-child {
  width: 100%;
}

.gh-content .content-embed iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

body.is-head-open,
body.is-search-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .featured-feed.owl:not(.owl-loaded) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .featured-feed.owl:not(.owl-loaded) {
    grid-template-columns: 1fr;
  }

  .site-search-panel {
    width: calc(100% - 20px);
    margin-top: 16px;
  }

  .site-search-header {
    padding: 12px;
  }
}
