/* Source of truth — keep public/css/offers.css in sync when editing. */
/* Offers list + detail — imported by Offers components only */
/* —— Offers / Promotions —— */
.offers-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.offers-card {
  min-height: 360px;
}

.offers-card-media {
  min-height: 360px;
  aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
  .offers-grid {
    gap: 1.5rem;
  }

  .offers-card {
    min-height: 440px;
  }

  .offers-card-media {
    min-height: 440px;
    aspect-ratio: auto;
    align-self: stretch;
  }

  .offers-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.offers-card-body p,
.offers-card-terms p {
  margin: 0;
}

.offers-card-body p + p,
.offers-card-terms p + p {
  margin-top: 0.5rem;
}

.offers-card-body h1,
.offers-card-body h2,
.offers-card-body h3,
.offers-card-body h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
}

.offers-card-body ul,
.offers-card-body ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.miaweek-card-body p {
  margin: 0;
}

.miaweek-card-body p + p {
  margin-top: 0.5rem;
}

.offers-detail-section {
  background: #fff;
}

.offers-detail-header {
  margin-bottom: 2rem;
  text-align: center;
}

.offers-detail-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ea5297;
}

.offers-detail-title {
  margin: 0 0 1.25rem;
  font-family: 'IvyMode', sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #222;
}

.offers-detail-lead {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #666;
}

.offers-detail-lead p {
  margin: 0 0 0.75rem;
}

.offers-detail-date {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.offers-detail-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.offers-detail-terms {
  margin-top: 2rem;
}

.offers-detail-terms .container {
  padding-left: 0;
  padding-right: 0;
}

.offers-detail-terms button {
  color: #666;
  font-size: 0.9rem;
}

.offers-detail-terms .bg-slate-100 {
  background: #fafafa;
  border: 1px solid #eee;
  box-shadow: none;
  border-radius: 1rem;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.65;
}

.offers-detail-body {
  color: #444;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.offers-detail-body p {
  margin: 0 0 1.25rem;
}

.offers-detail-body img {
  display: block;
  width: 100%;
  margin: 1.75rem 0;
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.offers-detail-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.offers-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ea5297;
  transition: gap 0.25s ease, color 0.25s ease;
}

.offers-detail-back:hover {
  color: #d43f84;
  gap: 0.7rem;
}
