.pkp-featured-kitchens {
  position: relative;
  height: var(--pfk-height-desktop, 760px);
  min-height: var(--pfk-height-desktop, 760px);
  background: #111;
  overflow: hidden;
}

.pkp-featured-kitchens__main {
  position: relative;
  display: block;
  height: 100%;
  min-height: inherit;
  color: #fff;
  text-decoration: none;
}

.pkp-featured-kitchens__image,
.pkp-featured-kitchens__image img {
  display: block;
  width: 100%;
  min-height: 100%;
  height: 100%;
}

.pkp-featured-kitchens__image {
  position: relative;
  overflow: hidden;
}

.pkp-featured-kitchens__image-stage {
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pkp-featured-kitchens__image-stage > img {
  display: block;
  width: 100%;
  height: 100%;
}

.pkp-featured-kitchens__image-stage > img {
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.pkp-featured-kitchens__image img {
  object-fit: cover;
  object-position: center;
}

.pkp-featured-kitchens__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.4) 34%, rgba(0, 0, 0, 0) 68%);
  pointer-events: none;
}

.pkp-featured-kitchens__content {
  position: absolute;
  left: clamp(24px, 5vw, 80px);
  bottom: clamp(34px, 6vw, 72px);
  z-index: 2;
  width: min(560px, 46vw);
  transition: opacity 0.42s ease;
}

.pkp-featured-kitchens__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #d0ae6d;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pkp-featured-kitchens__title-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.pkp-featured-kitchens__title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
}

.pkp-featured-kitchens__arrow {
  flex: 0 0 auto;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1;
  transform: translateY(-6px);
}

.pkp-featured-kitchens__line,
.pkp-featured-kitchens__card-line {
  display: block;
  width: min(100%, 160px);
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
}

.pkp-featured-kitchens__line {
  margin-top: 18px;
}

.pkp-featured-kitchens__secondary {
  position: absolute;
  right: clamp(24px, 4vw, 72px);
  bottom: clamp(32px, 5vw, 64px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 330px));
  gap: 28px;
}

.pkp-featured-kitchens__card {
  display: block;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.5s ease;
}

.pkp-featured-kitchens__card-image {
  margin: 0 0 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1b1b1b;
  transition: opacity 0.5s ease;
}

.pkp-featured-kitchens__card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pkp-featured-kitchens__card-title {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  transition: opacity 0.4s ease;
}

.pkp-featured-kitchens__card:hover .pkp-featured-kitchens__card-image img,
.pkp-featured-kitchens__card:focus-visible .pkp-featured-kitchens__card-image img,
.pkp-featured-kitchens__main:hover .pkp-featured-kitchens__image img,
.pkp-featured-kitchens__main:focus-visible .pkp-featured-kitchens__image img {
  transform: scale(1.04);
}

.pkp-featured-kitchens.is-transitioning .pkp-featured-kitchens__image-stage,
.pkp-featured-kitchens.is-transitioning .pkp-featured-kitchens__content {
  opacity: 0.22;
}

.pkp-featured-kitchens__card.is-swapping {
  opacity: 0.38;
}

.pkp-featured-kitchens__card.is-swapping .pkp-featured-kitchens__card-image,
.pkp-featured-kitchens__card.is-swapping .pkp-featured-kitchens__card-title {
  opacity: 0.18;
}

.pkp-featured-kitchens__card.is-settling .pkp-featured-kitchens__card-image,
.pkp-featured-kitchens__card.is-settling .pkp-featured-kitchens__card-title {
  opacity: 1;
}

.pkp-featured-kitchens__main:focus-visible,
.pkp-featured-kitchens__card:focus-visible {
  outline: 2px solid #d0ae6d;
  outline-offset: 4px;
}

.pkp-featured-kitchens__admin-notice {
  margin: 0;
  padding: 16px 20px;
  border: 1px solid #d9b46d;
  background: #f7f1e4;
  color: #244d5c;
}

@media (max-width: 1023px) {
  .pkp-featured-kitchens,
  .pkp-featured-kitchens__main,
  .pkp-featured-kitchens__image,
  .pkp-featured-kitchens__image img {
    height: var(--pfk-height-tablet, 640px);
    min-height: var(--pfk-height-tablet, 640px);
  }

  .pkp-featured-kitchens__content {
    width: min(520px, calc(100% - 48px));
  }

  .pkp-featured-kitchens__secondary {
    right: 24px;
    bottom: 24px;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 18px;
  }

  .pkp-featured-kitchens__card-title {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .pkp-featured-kitchens,
  .pkp-featured-kitchens__main,
  .pkp-featured-kitchens__image,
  .pkp-featured-kitchens__image img {
    height: var(--pfk-height-mobile, 440px);
    min-height: var(--pfk-height-mobile, 440px);
  }

  .pkp-featured-kitchens__content {
    left: 20px;
    right: 20px;
    bottom: 24px;
    width: auto;
  }

  .pkp-featured-kitchens__title-row {
    gap: 12px;
    align-items: center;
  }

  .pkp-featured-kitchens__title {
    font-size: clamp(28px, 9vw, 40px);
  }

  .pkp-featured-kitchens__arrow {
    transform: none;
    font-size: 28px;
  }

  .pkp-featured-kitchens__secondary {
    position: static;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 20px 0;
    background: #111;
  }
}
