:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --background: #F4F7FB;
  --text-main: #1F2D3D;
  --custom-color_1776249996415: #000000; /* Used for main titles */
  --border: #D6E2FF;
  --glow: #A5C4FF;
}

.page-promotions {
  padding-top: 10px; /* Small top padding for first section to allow for sticky header */
  background-color: var(--background);
  color: var(--text-main);
  min-height: 100vh;
}

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1390px;
  margin: 0 auto 40px auto;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--card-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-promotions__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-promotions__hero-content {
  text-align: center;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--custom-color_1776249996415);
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-promotions__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  background: var(--button);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px var(--glow);
  border: none;
  cursor: pointer;
  font-size: 1.05em;
}

.page-promotions__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--glow);
}

.page-promotions__cta-button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-promotions__promotions-grid-section {
  max-width: 1390px;
  margin: 40px auto;
  padding: 20px;
}

.page-promotions__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--custom-color_1776249996415);
  text-align: center;
  margin-bottom: 35px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.page-promotions__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__promotion-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-promotions__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistent card appearance on desktop */
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.page-promotions__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-promotions__card-title a {
  color: var(--primary-color); /* Use primary color for link in title */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: var(--secondary-color);
}

.page-promotions__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 6px;
  background: var(--button);
  color: #FFFFFF;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom */
  font-size: 0.9em;
}

.page-promotions__card-button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.page-promotions__terms-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.page-promotions__terms-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-promotions__terms-item {
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.5em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 8px;
  }
  .page-promotions__hero-section,
  .page-promotions__promotions-grid-section,
  .page-promotions__terms-section {
    margin-left: 15px;
    margin-right: 15px;
    padding: 15px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 2.2em); /* Using clamp for h1 */
    margin-bottom: 10px;
  }
  .page-promotions__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-promotions__promotions-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile content image responsiveness and minimum size enforcement */
  .page-promotions__promotions-grid-section img,
  .page-promotions__hero-section img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
    object-fit: cover;
  }
  /* Specific adjustment for card images if they need a different min-height */
  .page-promotions__card-image {
    height: auto; /* Override fixed height for responsiveness */
    max-height: 250px; /* Cap max height to avoid excessively tall images */
    min-width: 200px; 
    min-height: 200px; 
  }
}

@media (max-width: 480px) {
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions__card-content {
    padding: 15px;
  }
  .page-promotions__card-title {
    font-size: 1.1em;
  }
  .page-promotions__card-description {
    font-size: 0.9em;
  }
  .page-promotions__card-button {
    padding: 8px 12px;
    font-size: 0.85em;
  }
}