.tasteae-ig-wall {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 120px;
  padding: clamp(58px, 8vw, 104px) clamp(16px, 4vw, 56px);
  color: #21170f;
  background:
    radial-gradient(circle at 18% 8%, rgba(189, 212, 87, 0.18), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, #f7ecd9 56%, #ead2ad 100%);
}

.tasteae-ig-wall__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 36px);
  width: min(1200px, 100%);
  margin: 0 auto;
}

.tasteae-ig-wall__header {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 56px);
}

.tasteae-ig-wall__intro {
  flex: 1 1 48rem;
  min-width: 0;
}

.tasteae-ig-wall__kicker {
  margin: 0 0 12px;
  color: #a45e38;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tasteae-ig-wall__intro h2 {
  max-width: none;
  margin: 0;
  color: #21170f;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.tasteae-ig-wall__title-part {
  display: inline-block;
}

.tasteae-ig-wall__intro p:not(.tasteae-ig-wall__kicker) {
  max-width: 52rem;
  margin: 18px 0 0;
  color: rgba(33, 23, 15, 0.68);
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  font-weight: 800;
  line-height: 1.8;
  text-wrap: pretty;
}

.tasteae-ig-wall__proof {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  max-width: 23rem;
}

.tasteae-ig-wall__proof span {
  display: flex;
  min-width: 96px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(33, 23, 15, 0.12);
  border-radius: 8px;
  background: rgba(255, 249, 238, 0.72);
  box-shadow: 0 18px 42px rgba(83, 54, 30, 0.10);
}

.tasteae-ig-wall__proof strong {
  font-family: "Playfair Display", "Noto Serif TC", serif;
  font-size: 1.34rem;
  line-height: 1;
}

.tasteae-ig-wall__proof small {
  margin-top: 5px;
  color: rgba(33, 23, 15, 0.62);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tasteae-ig-wall__mosaic {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: clamp(5px, 0.75vw, 8px);
  width: min(1040px, 100%);
  margin: 0 auto;
}

.tasteae-ig-wall__tile {
  position: relative;
  display: flex;
  flex: 1 1 clamp(132px, 13vw, 174px);
  min-width: 132px;
  max-width: 210px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(33, 23, 15, 0.08);
  border-radius: 4px;
  background: #21170f;
  color: #fff9ee;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(83, 54, 30, 0.10);
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tasteae-ig-wall__tile:hover,
.tasteae-ig-wall__tile:focus-visible {
  z-index: 2;
  border-color: rgba(198, 106, 60, 0.48);
  box-shadow: 0 24px 56px rgba(83, 54, 30, 0.20);
  transform: translateY(-3px);
}

.tasteae-ig-wall__media {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.tasteae-ig-wall__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
  transition: transform 260ms ease, filter 260ms ease;
}

.tasteae-ig-wall__tile:hover .tasteae-ig-wall__media img,
.tasteae-ig-wall__tile:focus-visible .tasteae-ig-wall__media img {
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.045);
}

.tasteae-ig-wall__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 5px 7px 4px;
  border-radius: 999px;
  background: rgba(255, 249, 238, 0.90);
  color: #a45e38;
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(33, 23, 15, 0.12);
}

.tasteae-ig-wall__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 28px 10px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(33, 23, 15, 0.76) 100%);
  opacity: 0.94;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.tasteae-ig-wall__caption strong,
.tasteae-ig-wall__caption small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tasteae-ig-wall__caption strong {
  font-family: "Playfair Display", "Noto Serif TC", serif;
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  line-height: 1.1;
}

.tasteae-ig-wall__caption small {
  color: rgba(255, 249, 238, 0.76);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tasteae-ig-wall__footer {
  display: flex;
  justify-content: center;
}

.tasteae-ig-wall__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(33, 23, 15, 0.18);
  border-radius: 8px;
  background: #21170f;
  color: #fff9ee;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(83, 54, 30, 0.16);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.tasteae-ig-wall__cta:hover,
.tasteae-ig-wall__cta:focus-visible {
  transform: translateY(-2px);
  background: #bdd457;
  color: #21170f;
}

@media (max-width: 980px) {
  .tasteae-ig-wall__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .tasteae-ig-wall__proof {
    justify-content: flex-start;
    max-width: none;
  }

  .tasteae-ig-wall__intro {
    flex: 1 1 auto;
    width: 100%;
  }

  .tasteae-ig-wall__mosaic {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .tasteae-ig-wall {
    padding: 56px 16px 68px;
  }

  .tasteae-ig-wall__inner {
    gap: 20px;
  }

  .tasteae-ig-wall__intro h2 {
    max-width: none;
    font-size: 2.42rem;
    line-height: 1.08;
  }

  .tasteae-ig-wall__intro p:not(.tasteae-ig-wall__kicker) {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .tasteae-ig-wall__proof {
    width: 100%;
  }

  .tasteae-ig-wall__proof span {
    flex: 1 1 31%;
    min-width: 0;
    padding: 10px;
  }

  .tasteae-ig-wall__proof strong {
    font-size: 1.12rem;
  }

  .tasteae-ig-wall__proof small {
    font-size: 0.68rem;
  }

  .tasteae-ig-wall__mosaic {
    gap: 6px;
  }

  .tasteae-ig-wall__tile {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    max-width: none;
    border-radius: 4px;
  }

  .tasteae-ig-wall__tile:first-child {
    flex-basis: 100%;
    aspect-ratio: 16 / 10;
  }

  .tasteae-ig-wall__caption {
    padding: 28px 9px 9px;
  }

  .tasteae-ig-wall__caption strong {
    font-size: 0.98rem;
  }
}

@media (max-width: 430px) {
  .tasteae-ig-wall__intro h2 {
    font-size: 2.14rem;
  }

  .tasteae-ig-wall__badge {
    top: 7px;
    left: 7px;
    font-size: 0.54rem;
  }
}
