.coupon-feature { margin-top: 32px; padding: 20px; background: #fff; border: 1px solid #e9eeeb; border-radius: 12px; }
.coupon-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.coupon-section-heading h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: #15232b; font-size: 19px; }
.coupon-section-heading svg { width: 27px; height: 27px; color: #198656; }
.coupon-section-heading > a { color: #168458; font-size: 12px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.coupon-section-heading > a:hover { text-decoration: underline; }
.coupon-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.coupon-card { min-width: 0; padding: 6px; border: 1px solid #e7ebe8; border-radius: 8px; background: #fff; box-shadow: 0 1px 3px rgb(25 57 38 / 4%); }
.coupon-card-link { display: flex; flex-direction: column; height: 100%; color: #17242a; text-decoration: none; border-radius: 5px; }
.coupon-card:hover { border-color: #91baa3; box-shadow: 0 3px 12px rgb(25 57 38 / 9%); }
.coupon-card-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 5px; background: #f0f5ef; }
.coupon-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.coupon-no-image { display: grid; place-items: center; height: 100%; color: #6c8273; font-size: 12px; }
.coupon-badge { position: absolute; top: 6px; right: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; height: 76px; padding: 5px; border-radius: 50%; background: #ffe568; color: #1b251e; line-height: 1.15; box-shadow: 0 2px 4px rgb(70 65 10 / 8%); }
.coupon-badge strong { max-width: 100%; font-size: 20px; overflow-wrap: anywhere; text-align: center; }
.coupon-badge > span { margin-top: 3px; font-size: 14px; font-weight: 800; }
.coupon-card-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 7px 3px 3px; }
.coupon-category { max-width: 100%; padding: 2px 10px; border-radius: 12px; background: #138855; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.coupon-card h3, .coupon-card h4 { margin: 8px 0 4px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.coupon-offer { margin: 0 0 13px; color: #ff365b; font-size: 14px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.coupon-expiry { margin: auto 0 0; color: #7b818b; font-size: 12px; font-weight: 600; }
.coupon-empty { grid-column: 1 / -1; padding: 24px 0; color: #6c8273; }
main.coupon-list-page { width: min(100% - 32px, 1100px); }
.coupon-pagination { display: flex; justify-content: center; gap: 20px; margin-top: 28px; }
.coupon-detail-image { display: block; width: 100%; height: auto; border-radius: 8px; }
.coupon-detail-text { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .coupon-feature { padding: 12px; }
  .coupon-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .coupon-card { padding: 4px; }
  .coupon-section-heading h2 { font-size: 17px; }
  .coupon-badge { width: 55px; height: 55px; top: 3px; right: 3px; }
  .coupon-badge strong { font-size: 15px; }
  .coupon-badge > span { font-size: 11px; }
  .coupon-card-copy { padding: 5px 1px 3px; }
  .coupon-category { padding: 2px 7px; font-size: 9px; }
  .coupon-card h3, .coupon-card h4, .coupon-offer { font-size: 11px; }
  .coupon-expiry { font-size: 9px; }
}
@media (max-width: 360px) { .coupon-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.coupon-benefit { margin: 0 0 12px; color: #cc3152; font-size: 12px; overflow-wrap: anywhere; }
.coupon-badge-gift strong { font-size: 12px; white-space: nowrap; }
@media (max-width: 600px) { .coupon-badge-gift strong { font-size: 9px; } .coupon-benefit { font-size: 10px; } }

.event-job-features { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; margin-top: 32px; }
.event-job-features > .coupon-feature { min-width: 0; margin-top: 0; }
.event-feature .coupon-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.job-feature .coupon-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .event-job-features { grid-template-columns: minmax(0, 1fr); } }

.coupon-promotion-card .coupon-card-copy { position: relative; padding-top: 5px; }
.coupon-promotion-card .coupon-card-copy.has-category { padding-top: 12px; }
.coupon-promotion-card .coupon-category { position: absolute; z-index: 1; top: 0; left: 3px; max-width: calc(100% - 6px); transform: translateY(-50%); }
.coupon-promotion-card h3, .coupon-promotion-card h4 { margin: 3px 0; line-height: 1.4; }
.coupon-promotion-card .coupon-offer { margin-top: 0; margin-bottom: 4px; line-height: 1.4; }
.coupon-promotion-card .coupon-benefit { margin-bottom: 5px; line-height: 1.4; }
.coupon-promotion-card .coupon-expiry { margin: 3px 0 0; line-height: 1.4; }

.compact-info-card .coupon-card-copy { position: relative; padding-top: 12px; }
.compact-info-card .coupon-category { position: absolute; z-index: 1; top: 0; left: 3px; max-width: calc(100% - 6px); transform: translateY(-50%); }
.compact-info-card h3 { margin: 3px 0; line-height: 1.4; }
.compact-info-card .coupon-card-copy > p { margin: 3px 0; line-height: 1.4; overflow-wrap: anywhere; }
.compact-info-card .coupon-expiry { margin-top: 5px; }

.event-feature .event-fee { font-size: calc(1em - 2px); color: #527563; }

.blog-feature .coupon-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 960px) { .blog-feature .coupon-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .blog-feature .coupon-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.blog-card .blog-business-name { font-size: calc(1em - 4px); margin: 3px 0 5px; line-height: 1.4; overflow-wrap: anywhere; }
.blog-card .coupon-expiry { margin-top: 3px; }
