/* Page Khuyến Mãi Styles */
.page-khuyen-mai {
  max-width: 100%;
  overflow-x: hidden;
  color: #333333;
  background-color: #FFFFFF;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  background: #E6F4FB;
  padding-top: 10px;
}

.page-khuyen-mai__hero-image {
  display: block;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16/7;
  object-fit: cover;
  margin: 0 auto;
}

.page-khuyen-mai__hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 16px 32px 16px;
  background: linear-gradient(to bottom, rgba(38, 169, 224, 0.1), rgba(255,255,255,1));
}

.page-khuyen-mai__hero-title {
  font-weight: 800;
  line-height: 1.4;
  color: #0477DB;
  max-width: 760px;
  margin: 0 0 12px 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.01em;
}

.page-khuyen-mai__hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #111111;
  margin: 0 0 20px 0;
  max-width: 820px;
}

.page-khuyen-mai__hero-button {
  display: inline-block;
  background: #EA7C07;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 40px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-khuyen-mai__hero-button:hover {
  background: #d96a06;
  transform: scale(1.02);
}

.page-khuyen-mai__hero-button:active {
  transform: scale(0.98);
}

/* Content Wrapper */
.page-khuyen-mai__content-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

/* Section Title */
.page-khuyen-mai__content-title {
  text-align: center;
  color: #111111;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.page-khuyen-mai__content-subtitle {
  text-align: center;
  color: #444444;
  max-width: 760px;
  margin: 0 auto 40px auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* Offer Card Grid */
.page-khuyen-mai__offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

/* Promotion Card */
.page-khuyen-mai__card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  list-style: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-khuyen-mai__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-khuyen-mai__card-image {
  display: block;
  width: 100%;
  height: 240px;
  max-height: 240px;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.page-khuyen-mai__card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.page-khuyen-mai__card-tag {
  display: inline-block;
  background: #FFF3E0;
  color: #E65100;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.page-khuyen-mai__card-title {
  font-size: 1.25rem;
  color: #111111;
  font-weight: 700;
  margin: 0 0 10px 0;
  flex: 1;
}

.page-khuyen-mai__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-khuyen-mai__card-title a:hover {
  color: #26A9E0;
  text-decoration: underline;
}

.page-khuyen-mai__card-text {
  color: #333333;
  line-height: 1.6;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

/* CTA Button */
.page-khuyen-mai__card-button, .page-khuyen-mai__banner-button {
  display: inline-block;
  padding: 10px 24px;
  background: #EA7C07;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-khuyen-mai__card-button:hover, .page-khuyen-mai__banner-button:hover {
  background: #c86401;
  transform: translateY(-1px);
}

/* Note Box */
.page-khuyen-mai__note-box {
  background: #f5fafe;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  border-radius: 12px;
  margin-top: 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #222;
}

.page-khuyen-mai__note-box p {
  margin: 0 0 10px 0;
}

.page-khuyen-mai__note-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-khuyen-mai__hero-section {
    padding-top: 0px;
  }
  .page-khuyen-mai__hero-image {
    aspect-ratio: 16/10;
    max-height: 300px;
    width: 100%;
  }
  .page-khuyen-mai__hero-content {
    padding: 16px;
  }
  .page-khuyen-mai__hero-subtitle {
    font-size: 1rem;
  }
  .page-khuyen-mai__content-wrapper {
    padding: 16px 12px;
  }
  .page-khuyen-mai__content-title {
    font-size: 1.5rem;
  }
  .page-khuyen-mai__card-image {
    max-height: 200px;
  }
  .page-khuyen-mai__card-body {
    padding: 16px;
  }
  .page-khuyen-mai__card-button, .page-khuyen-mai__banner-button {
    max-width: 100%;
    width: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .page-khuyen-mai img {
    max-width: 100% !important;
    height: auto !important;
  }
}