/* Category hero / cover images (cuisine khinkali, services consultation) */

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

.geomedi-cat-tile__media picture,
.geomedi-cat-tile__media .category-cover-img {
  width: 100%;
  height: 100%;
}

.geomedi-cat-tile--cuisine .geomedi-cat-tile__media picture,
.geomedi-cat-tile--cuisine .geomedi-cat-tile__media .category-cover-img {
  object-position: 50% 42%;
}

.geomedi-section__cover--cuisine {
  max-height: 14rem;
}

.geomedi-section__cover--cuisine picture,
.geomedi-section__cover--cuisine .category-cover-img {
  width: 100%;
  height: 14rem;
  object-position: 50% 38%;
}

.category-hero--cuisine {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-6);
  background: var(--gray-100);
  box-shadow: var(--shadow-xs);
}

.category-hero--cuisine picture,
.category-hero--cuisine .category-cover-img {
  width: 100%;
  height: 15rem;
  object-position: 50% 38%;
}

@media (max-width: 639px) {
  .geomedi-section__cover--cuisine .category-cover-img,
  .geomedi-section__cover--cuisine picture {
    height: 11rem;
  }

  .category-hero--cuisine .category-cover-img,
  .category-hero--cuisine picture {
    height: 11.5rem;
  }
}

@media (min-width: 900px) {
  .category-hero--cuisine .category-cover-img,
  .category-hero--cuisine picture {
    height: 18rem;
  }
}

.geomedi-cat-tile--services .geomedi-cat-tile__media picture,
.geomedi-cat-tile--services .geomedi-cat-tile__media .category-cover-img {
  object-position: 50% 42%;
}

.geomedi-section__cover--services {
  max-height: 14rem;
}

.geomedi-section__cover--services picture,
.geomedi-section__cover--services .category-cover-img {
  width: 100%;
  height: 14rem;
  object-position: 50% 42%;
}

.category-hero--services {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-6);
  background: var(--gray-100);
  box-shadow: var(--shadow-xs);
}

.category-hero--services picture,
.category-hero--services .category-cover-img {
  width: 100%;
  height: 15rem;
  object-position: 50% 42%;
}

@media (max-width: 639px) {
  .geomedi-section__cover--services .category-cover-img,
  .geomedi-section__cover--services picture {
    height: 11rem;
  }

  .category-hero--services .category-cover-img,
  .category-hero--services picture {
    height: 11.5rem;
  }
}

@media (min-width: 900px) {
  .category-hero--services .category-cover-img,
  .category-hero--services picture {
    height: 18rem;
  }
}
