.ev-page {
  background: #ffffff;
}

.ev-main {
  padding: 22px 0 34px;
}

.ev-main h1 {
  margin: 0;
  text-align: center;
  color: #2c3e50;
  font-size: 34px;
  font-weight: 700;
}

.ev-sub {
  margin: 8px auto 20px;
  text-align: center;
  max-width: 820px;
  color: #2d3436;
  font-size: 15px;
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ev-card {
  border: 1px solid #2c3e50;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.ev-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: #f7faf9;
}

.ev-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ev-body {
  padding: 13px;
}

.ev-body h2 {
  margin: 0 0 7px;
  font-size: 19px;
  line-height: 1.3;
}

.ev-body h2 a {
  color: #2c3e50;
}

.ev-body p {
  margin: 0 0 10px;
  color: #2d3436;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ev-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.ev-stats span {
  border: 1px solid #2ecc71;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  color: #2c3e50;
  font-weight: 600;
}

.ev-cta {
  display: inline-block;
  background: #2ecc71;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.ev-detail-hero {
  background: #ffffff;
  padding: 14px 0 8px;
}

.ev-detail-hero-inner {
  min-height: 180px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 2px solid #f1c40f;
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fefb 100%);
}

.ev-hero-badge {
  width: 188px;
  height: 126px;
  border: 3px solid #f1c40f;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 188px;
}

.ev-hero-badge img {
  width: 172px;
  height: 110px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
}

.ev-hero-copy h1 {
  margin: 0;
  color: #2c3e50;
  font-size: 31px;
  line-height: 1.24;
}

.ev-hero-copy p {
  margin: 10px 0 0;
  color: #2d3436;
  font-size: 16px;
  line-height: 1.65;
  max-width: 760px;
}

.ev-detail-heading {
  margin: 4px 0 14px;
  color: #2c3e50;
  font-size: 30px;
}

.ev-coupon-list {
  display: grid;
  gap: 12px;
}

.ev-coupon-card {
  display: grid;
  grid-template-columns: 160px 1fr 170px;
  align-items: center;
  gap: 14px;
  border: 1px solid #2c3e50;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.ev-coupon-left {
  border-right: 1px solid #2c3e50;
  text-align: center;
  color: #2ecc71;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  padding: 10px;
}

.ev-coupon-main h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 21px;
  line-height: 1.3;
}

.ev-coupon-main p {
  margin: 6px 0 0;
  color: #2d3436;
  font-size: 14px;
}

.ev-coupon-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.ev-coupon-store img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #2c3e50;
  object-fit: contain;
  background: #fff;
}

.ev-coupon-store strong {
  color: #2c3e50;
  font-size: 14px;
}

.ev-coupon-cta a {
  display: block;
  text-align: center;
  background: #2ecc71;
  color: #fff;
  border-radius: 9px;
  padding: 11px 9px;
  font-size: 13px;
  font-weight: 800;
}

.ev-content-box {
  margin-top: 18px;
  border: 1px solid #2c3e50;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.ev-content-box h3 {
  margin: 0 0 8px;
  color: #2c3e50;
  font-size: 25px;
}

.ev-content-box div,
.ev-content-box p,
.ev-content-box li {
  color: #2d3436;
  font-size: 15px;
  line-height: 1.8;
}

.ev-related-wrap {
  margin-top: 18px;
}

.ev-related-wrap h3 {
  margin: 0 0 12px;
  color: #2c3e50;
  font-size: 25px;
}

@media (max-width: 1024px) {
  .ev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ev-detail-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .ev-coupon-card {
    grid-template-columns: 1fr;
  }

  .ev-coupon-left {
    border-right: 0;
    border-bottom: 1px solid #2c3e50;
  }
}

@media (max-width: 700px) {
  .ev-grid {
    grid-template-columns: 1fr;
  }

  .ev-main h1,
  .ev-hero-copy h1,
  .ev-detail-heading {
    font-size: 26px;
  }

  .ev-hero-badge {
    width: 140px;
    height: 100px;
    flex: 0 0 140px;
  }

  .ev-hero-badge img {
    width: 126px;
    height: 86px;
  }

  .ev-stats {
    justify-content: center;
  }
}
