body.page-template-project-examples,
body.page-template-project-examples .site,
body.page-template-project-examples #content,
body.page-template-project-examples .site-content,
body.page-template-project-examples .entry-content {
  background: #fff;
}

@media (min-width: 961px) {
  body.page-template-project-examples #content.neve-main.smile-project-page {
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
  }
}

.smile-project-hero {
  position: relative;
  min-height: 420px;
  margin: 18px 5px 34px;
  padding: 34px;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(2, 6, 23, .78), rgba(3, 105, 161, .68)), url('/wp-content/uploads/2024/10/main-1024x575.png') center/cover no-repeat;
  color: #fff;
}

.smile-project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .20), transparent 30%), radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .16), transparent 24%), linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
  opacity: .95;
}

.smile-project-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  color: #fff;
  text-align: center;
}

.smile-project-hero__eyebrow {
  margin: 0 0 14px;
  color: #bae6fd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.smile-project-hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(40px, 5.2vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 10px 26px rgba(2, 6, 23, .22);
}

.smile-project-hero p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: #e0f2fe;
  font-size: 17px;
  line-height: 1.8;
}

.smile-project-hero__tools {
  display: grid;
  gap: 18px;
}

.smile-project-gallery {
  max-width: 1320px;
  margin: 0 auto 5px;
  padding: 0 5px;
}

.smile-project-gallery__search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 9px 10px 9px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(2, 6, 23, .26);
}

.smile-project-gallery__search-icon {
  color: #64748b;
  font-size: 18px;
  line-height: 1;
}

.smile-project-gallery__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 12px 0;
  background: #fff;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.4;
}

.smile-project-gallery__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.smile-project-gallery__chips button,
.smile-project-gallery__more button {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.smile-project-gallery__chips button:hover,
.smile-project-gallery__chips button:focus-visible,
.smile-project-gallery__chips button.is-active,
.smile-project-gallery__more button:hover,
.smile-project-gallery__more button:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #172033;
  transform: translateY(-1px);
}

.smile-project-gallery__grid {
  columns: 3 280px;
  column-gap: 22px;
}

.smile-project-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 22px;
  overflow: hidden;
  break-inside: avoid;
  border-radius: 8px;
  background: #edf1f7;
  box-shadow: 0 18px 46px rgba(18, 38, 63, .12);
  transform: translateZ(0);
}

.smile-project-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: transform .42s ease, filter .42s ease;
}

.smile-project-card__placeholder {
  display: block;
  width: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, #0d6efd, #12b8a6 54%, #ffc247);
}

.smile-project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 13, 31, 0) 18%, rgba(4, 13, 31, .82) 100%);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .28s ease, transform .28s ease;
}

.smile-project-card:hover img,
.smile-project-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.04);
}

.smile-project-card:hover .smile-project-card__overlay,
.smile-project-card:focus-visible .smile-project-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.smile-project-card__meta,
.smile-project-card__link {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.smile-project-card__title {
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.05;
}

.smile-project-card__excerpt {
  max-width: 34ch;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 1.5;
}

.smile-project-card__link {
  width: fit-content;
  margin-top: 4px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.smile-project-card.is-hidden,
.smile-project-card.is-filtered {
  display: none;
}

.smile-project-gallery__more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.smile-project-gallery__empty {
  margin: 28px 0 0;
  color: #5b6474;
  text-align: center;
}

.smile-project-gallery__more button {
  border-color: #d8dee8;
  background: #fff;
  color: #172033;
  box-shadow: 0 12px 34px rgba(18, 38, 63, .08);
}

@media (max-width: 760px) {
  .smile-project-hero {
    min-height: 380px;
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 18px;
  }

  .smile-project-hero h1 {
    font-size: 36px;
  }

  .smile-project-hero p {
    font-size: 14px;
  }

  .smile-project-gallery__search {
    border-radius: 14px;
  }

  .smile-project-gallery__chips {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .smile-project-gallery__grid {
    columns: 1;
  }

  .smile-project-card__overlay {
    opacity: 1;
    transform: none;
    padding: 16px;
  }
}
