/* style/blog-a88-latest-promotions.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-blog-a88-latest-promotions {
  background-color: #B71C1C; /* Background color as specified */
  color: #FFF5E1; /* Main text color as specified, for contrast with dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-blog-a88-latest-promotions__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-blog-a88-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-a88-latest-promotions__hero-content {
  max-width: 90%;
  margin: 0 auto 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-a88-latest-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #FFF5E1; /* Text Main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-a88-latest-promotions__intro-text {
  font-size: 1.1rem;
  color: #FFF5E1; /* Text Main color */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button (Hero) */
.page-blog-a88-latest-promotions__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color as specified */
  color: #7A0E0E; /* Deep Red for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #F2B544; /* Border color as specified */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-a88-latest-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Promotions Grid Section */
.page-blog-a88-latest-promotions__promotions-grid-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background color as specified */
}

.page-blog-a88-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-a88-latest-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFF5E1; /* Text Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-blog-a88-latest-promotions__promotion-card {
  background-color: #D32F2F; /* Card BG color as specified */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #F2B544; /* Border color as specified */
  color: #FFF5E1; /* Text Main for contrast */
  display: flex;
  flex-direction: column;
}

.page-blog-a88-latest-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-blog-a88-latest-promotions__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-a88-latest-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-blog-a88-latest-promotions__card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-a88-latest-promotions__card-link {
  color: #FFF5E1; /* Text Main color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-a88-latest-promotions__card-link:hover {
  color: #FFD86A; /* Gold color on hover */
}

.page-blog-a88-latest-promotions__card-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-a88-latest-promotions__card-meta {
  font-size: 0.85rem;
  color: rgba(255, 245, 225, 0.7); /* Slightly muted Text Main */
  margin-bottom: 20px;
}

.page-blog-a88-latest-promotions__card-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color as specified */
  color: #7A0E0E; /* Deep Red for contrast */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  align-self: flex-start;
  transition: background 0.3s ease, transform 0.3s ease;
  border: 1px solid #F2B544; /* Border color as specified */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-a88-latest-promotions__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Call to Action Section (Bottom) */
.page-blog-a88-latest-promotions__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #7A0E0E; /* Deep Red as specified */
  color: #FFF5E1; /* Text Main for contrast */
}

.page-blog-a88-latest-promotions__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 25px;
  color: #FFF5E1; /* Text Main color */
}

.page-blog-a88-latest-promotions__cta-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF5E1; /* Text Main color */
}

.page-blog-a88-latest-promotions__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2rem;
  border-width: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-blog-a88-latest-promotions__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }

  .page-blog-a88-latest-promotions__hero-content {
    margin-bottom: 20px;
  }

  .page-blog-a88-latest-promotions__main-title {
    font-size: 2.2rem;
  }

  .page-blog-a88-latest-promotions__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-a88-latest-promotions__cta-button,
  .page-blog-a88-latest-promotions__card-button,
  .page-blog-a88-latest-promotions__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-blog-a88-latest-promotions__promotions-grid-section,
  .page-blog-a88-latest-promotions__cta-section {
    padding: 40px 0;
  }

  .page-blog-a88-latest-promotions__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-blog-a88-latest-promotions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-a88-latest-promotions__card-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-blog-a88-latest-promotions__card-content {
    padding: 20px;
    height: auto;
  }

  .page-blog-a88-latest-promotions__card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .page-blog-a88-latest-promotions__card-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .page-blog-a88-latest-promotions__cta-title {
    font-size: 2rem;
  }

  .page-blog-a88-latest-promotions__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Ensure all image containers and images are responsive */
  .page-blog-a88-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-a88-latest-promotions__container,
  .page-blog-a88-latest-promotions__hero-section,
  .page-blog-a88-latest-promotions__promotions-grid-section,
  .page-blog-a88-latest-promotions__cta-section,
  .page-blog-a88-latest-promotions__promotion-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}