/* Restaurant Cards — layout only. Type and color follow the Concepts page. */

body .nectar-post-grid-wrap[data-style="restaurant_cards"] {
  background: transparent;
  color: #ede2d0;
  padding: 0;
  border-radius: 0;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .amriya-restaurant-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .amriya-restaurant-subtitle {
  font-family: Synonym, "Open Sans", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ede2d0;
  font-weight: 500;
  margin-bottom: 12px;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .amriya-restaurant-heading {
  font-family: Oranienbaum, serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 400;
  color: #ede2d0;
  margin: 0 0 16px;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .amriya-restaurant-description {
  font-family: "Open Sans", Helvetica, sans-serif;
  color: #eae1d1;
  font-size: 18px;
  line-height: 28px;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .amriya-restaurant-description p {
  margin: 0 0 0.4em;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid-filters {
  text-align: center;
  margin: 0 0 28px;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid-filters,
body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid-filters a {
  color: #ede2d0 !important;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid-filters a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  font-weight: 500;
  margin: 8px 16px;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid-filters a:after {
  background-color: #ede2d0 !important;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid {
  display: grid !important;
  gap: 28px;
  width: 100%;
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid[data-columns="1"] {
  grid-template-columns: minmax(0, 1fr);
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid[data-columns="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid[data-columns="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid[data-columns="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid-item {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  float: none !important;
  position: relative;
  border-radius: 16px;
}

body .amriya-restaurant-card[hidden] {
  display: none !important;
}

body .amriya-restaurant-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #13130a;
  border: 1px solid rgba(237, 226, 208, 0.22);
  border-radius: 0;
  overflow: hidden;
  min-height: 280px;
  transition: border-color 260ms ease;
}

body .amriya-restaurant-card:hover {
  border-color: #ede2d0;
}

body .amriya-restaurant-card.is-reverse {
  flex-direction: row-reverse;
}

body .amriya-restaurant-card .amriya-restaurant-media {
  position: relative;
  flex: 0 0 56%;
  min-height: 280px;
  display: block;
  overflow: hidden;
  background: #13130a;
}

body .amriya-restaurant-card .amriya-restaurant-media:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18));
  z-index: 1;
}

body .amriya-restaurant-card .amriya-restaurant-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease;
}

body .amriya-restaurant-card:hover .amriya-restaurant-img {
  transform: scale(1.03);
}

body .amriya-restaurant-card .amriya-restaurant-meta {
  flex: 1 1 auto;
  width: 44%;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

body .amriya-restaurant-card .amriya-restaurant-location {
  display: inline-block;
  align-self: flex-start;
  font-family: Synonym, "Open Sans", Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ede2d0;
  background: transparent;
  border: 1px solid rgba(237, 226, 208, 0.35);
  padding: 6px 8px;
  border-radius: 0;
}

body .amriya-restaurant-card .amriya-restaurant-title {
  margin: 0;
  font-family: Oranienbaum, serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #ede2d0;
}

body .amriya-restaurant-card .amriya-restaurant-title a,
body .amriya-restaurant-card .amriya-restaurant-explore {
  color: #ede2d0 !important;
  text-decoration: none;
}

body .amriya-restaurant-card .amriya-restaurant-title,
body .amriya-restaurant-card .amriya-restaurant-title a {
  font-family: Oranienbaum, serif !important;
  font-weight: 400 !important;
}

body .amriya-restaurant-card .amriya-restaurant-excerpt {
  margin: 0;
  font-family: "Open Sans", Helvetica, sans-serif;
  color: #eae1d1;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

body .amriya-restaurant-card .amriya-restaurant-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 6px;
  align-self: flex-start;
  padding: 0;
  font-family: Synonym, "Open Sans", Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .amriya-restaurant-card .amriya-restaurant-explore:after {
  content: "\2192";
  display: inline-block;
  transition: transform 0.25s ease;
}

body .amriya-restaurant-card .amriya-restaurant-explore:hover:after {
  transform: translateX(3px);
}

@media (max-width: 1100px) {
  body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid[data-columns="3"],
  body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid[data-columns="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body .nectar-post-grid-wrap[data-style="restaurant_cards"] {
    padding: 0;
  }

  body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid,
  body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid[data-columns="2"],
  body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid[data-columns="3"],
  body .nectar-post-grid-wrap[data-style="restaurant_cards"] .nectar-post-grid[data-columns="4"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px;
  }

  body .amriya-restaurant-card,
  body .amriya-restaurant-card.is-reverse {
    flex-direction: column;
    min-height: 0;
  }

  body .amriya-restaurant-card .amriya-restaurant-media {
    flex: none;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  body .amriya-restaurant-card .amriya-restaurant-meta {
    width: 100%;
    padding: 20px 18px 22px;
  }
}
