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

/* Custom Colors */
:root {
  --ug88-primary: #11A84E;
  --ug88-secondary: #22C768;
  --ug88-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --ug88-card-bg: #11271B;
  --ug88-bg: #08160F;
  --ug88-text-main: #F2FFF6;
  --ug88-text-secondary: #A7D9B8;
  --ug88-border: #2E7A4E;
  --ug88-glow: #57E38D;
  --ug88-gold: #F2C14E;
  --ug88-divider: #1E3A2A;
  --ug88-deep-green: #0A4B2C;
}

/* Base styles for the page content, inherits body padding-top from shared.css */
.page-blog-ug88-latest-promotions {
  background-color: var(--ug88-bg); /* Use custom background color */
  color: var(--ug88-text-main); /* Default text color for the main content */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add some bottom padding before footer */
}

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

/* Hero Section */
.page-blog-ug88-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for first section */
  background-color: var(--ug88-deep-green); /* Example background for hero section */
}

.page-blog-ug88-latest-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-blog-ug88-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-ug88-latest-promotions__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image for visual flow */
  position: relative;
  z-index: 1;
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  border: 1px solid var(--ug88-border);
}

.page-blog-ug88-latest-promotions__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  color: var(--ug88-text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-ug88-latest-promotions__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ug88-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-ug88-latest-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-blog-ug88-latest-promotions__cta-buttons--center {
  margin-top: 40px;
}

.page-blog-ug88-latest-promotions__btn-primary,
.page-blog-ug88-latest-promotions__btn-secondary,
.page-blog-ug88-latest-promotions__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-blog-ug88-latest-promotions__btn-primary {
  background: var(--ug88-btn-gradient);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-ug88-latest-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-blog-ug88-latest-promotions__btn-secondary {
  background-color: transparent;
  color: var(--ug88-primary);
  border: 2px solid var(--ug88-primary);
}

.page-blog-ug88-latest-promotions__btn-secondary:hover {
  background-color: rgba(17, 168, 78, 0.1);
  color: var(--ug88-text-main);
  border-color: var(--ug88-secondary);
}

.page-blog-ug88-latest-promotions__btn-text {
  color: var(--ug88-secondary);
  border: none;
  background: transparent;
  padding: 5px 0;
  font-size: 15px;
  text-decoration: underline;
}

.page-blog-ug88-latest-promotions__btn-text:hover {
  color: var(--ug88-gold);
}


/* Section Titles */
.page-blog-ug88-latest-promotions__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--ug88-text-main);
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
  font-weight: bold;
}

.page-blog-ug88-latest-promotions__text-block {
  font-size: 17px;
  color: var(--ug88-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-ug88-latest-promotions__text-block a {
  color: var(--ug88-secondary);
  text-decoration: underline;
}

.page-blog-ug88-latest-promotions__text-block a:hover {
  color: var(--ug88-gold);
}

/* Promotions Grid */
.page-blog-ug88-latest-promotions__promotions-types {
  padding: 40px 0;
}

.page-blog-ug88-latest-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-ug88-latest-promotions__promo-card {
  background-color: var(--ug88-card-bg);
  border: 1px solid var(--ug88-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-ug88-latest-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px var(--ug88-glow);
}

.page-blog-ug88-latest-promotions__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

.page-blog-ug88-latest-promotions__promo-card-title {
  font-size: 22px;
  color: var(--ug88-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-blog-ug88-latest-promotions__promo-card-description {
  font-size: 16px;
  color: var(--ug88-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
  text-align: justify;
}

/* How to Claim Section */
.page-blog-ug88-latest-promotions__how-to-claim {
  padding: 40px 0;
}

.page-blog-ug88-latest-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-blog-ug88-latest-promotions__step-item {
  background-color: var(--ug88-card-bg);
  border: 1px solid var(--ug88-border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.page-blog-ug88-latest-promotions__step-title {
  font-size: 20px;
  color: var(--ug88-secondary);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-blog-ug88-latest-promotions__step-description {
  font-size: 16px;
  color: var(--ug88-text-secondary);
  text-align: justify;
}

.page-blog-ug88-latest-promotions__step-description a {
  color: var(--ug88-primary);
  text-decoration: underline;
}

.page-blog-ug88-latest-promotions__step-description a:hover {
  color: var(--ug88-gold);
}


/* Tips Section */
.page-blog-ug88-latest-promotions__tips-section {
  padding: 40px 0;
}

.page-blog-ug88-latest-promotions__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-ug88-latest-promotions__tip-item {
  background-color: var(--ug88-card-bg);
  border: 1px solid var(--ug88-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.page-blog-ug88-latest-promotions__tip-title {
  font-size: 20px;
  color: var(--ug88-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-blog-ug88-latest-promotions__tip-description {
  font-size: 16px;
  color: var(--ug88-text-secondary);
  text-align: justify;
}

/* FAQ Section */
.page-blog-ug88-latest-promotions__faq-section {
  padding: 40px 0;
}

.page-blog-ug88-latest-promotions__faq-list {
  margin-top: 40px;
}

.page-blog-ug88-latest-promotions__faq-item {
  background-color: var(--ug88-card-bg);
  border: 1px solid var(--ug88-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-blog-ug88-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--ug88-text-main);
  cursor: pointer;
  background-color: var(--ug88-deep-green); /* Slightly darker for question */
  border-bottom: 1px solid var(--ug88-divider);
  transition: background-color 0.3s ease;
  list-style: none; /* For <summary> tag */
}

.page-blog-ug88-latest-promotions__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for <summary> */
}

.page-blog-ug88-latest-promotions__faq-question:hover {
  background-color: var(--ug88-primary);
}

.page-blog-ug88-latest-promotions__faq-qtext {
  flex-grow: 1;
}

.page-blog-ug88-latest-promotions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--ug88-gold);
}

.page-blog-ug88-latest-promotions__faq-item[open] .page-blog-ug88-latest-promotions__faq-toggle {
  color: var(--ug88-text-main);
}

.page-blog-ug88-latest-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: var(--ug88-text-secondary);
  background-color: var(--ug88-card-bg);
  text-align: justify;
}

/* Conclusion Section */
.page-blog-ug88-latest-promotions__conclusion-section {
  padding: 40px 0 60px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-ug88-latest-promotions__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-blog-ug88-latest-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-ug88-latest-promotions__container {
    padding: 0 15px;
  }

  .page-blog-ug88-latest-promotions__hero-content {
    margin-top: -60px;
    padding: 25px 10px;
    margin-bottom: 30px;
  }

  .page-blog-ug88-latest-promotions__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-blog-ug88-latest-promotions__subtitle {
    font-size: clamp(15px, 3vw, 18px);
  }

  .page-blog-ug88-latest-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-ug88-latest-promotions__btn-primary,
  .page-blog-ug88-latest-promotions__btn-secondary,
  .page-blog-ug88-latest-promotions__btn-text {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 15px;
  }

  .page-blog-ug88-latest-promotions__section-title {
    font-size: clamp(22px, 5vw, 30px);
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-blog-ug88-latest-promotions__text-block {
    font-size: 15px;
  }

  .page-blog-ug88-latest-promotions__promo-grid {
    grid-template-columns: 1fr; /* Single column for promo cards */
    gap: 20px;
  }

  .page-blog-ug88-latest-promotions__promo-card-image {
    height: 180px;
  }

  .page-blog-ug88-latest-promotions__promo-card-title {
    font-size: 18px;
  }

  .page-blog-ug88-latest-promotions__promo-card-description {
    font-size: 14px;
  }

  .page-blog-ug88-latest-promotions__steps-list,
  .page-blog-ug88-latest-promotions__tips-list {
    margin-top: 25px;
    gap: 20px;
  }

  .page-blog-ug88-latest-promotions__step-item,
  .page-blog-ug88-latest-promotions__tip-item {
    padding: 20px;
  }

  .page-blog-ug88-latest-promotions__step-title,
  .page-blog-ug88-latest-promotions__tip-title {
    font-size: 18px;
  }

  .page-blog-ug88-latest-promotions__step-description,
  .page-blog-ug88-latest-promotions__tip-description {
    font-size: 15px;
  }

  .page-blog-ug88-latest-promotions__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-blog-ug88-latest-promotions__faq-toggle {
    font-size: 20px;
  }

  .page-blog-ug88-latest-promotions__faq-answer {
    padding: 10px 20px 15px;
    font-size: 15px;
  }

  /* Force responsive images, videos, and containers */
  .page-blog-ug88-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-ug88-latest-promotions video,
  .page-blog-ug88-latest-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video container responsive (if any video was present) */
  .page-blog-ug88-latest-promotions__video-section,
  .page-blog-ug88-latest-promotions__video-container,
  .page-blog-ug88-latest-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-ug88-latest-promotions__video-section {
    padding-top: 10px !important;
  }

  /* Ensure all content containers are responsive */
  .page-blog-ug88-latest-promotions__section,
  .page-blog-ug88-latest-promotions__card,
  .page-blog-ug88-latest-promotions__container,
  .page-blog-ug88-latest-promotions__promo-card,
  .page-blog-ug88-latest-promotions__step-item,
  .page-blog-ug88-latest-promotions__tip-item,
  .page-blog-ug88-latest-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure text contrast for default body background if not explicitly set */
.page-blog-ug88-latest-promotions p,
.page-blog-ug88-latest-promotions li,
.page-blog-ug88-latest-promotions__text-block,
.page-blog-ug88-latest-promotions__promo-card-description,
.page-blog-ug88-latest-promotions__step-description,
.page-blog-ug88-latest-promotions__tip-description,
.page-blog-ug88-latest-promotions__faq-answer {
  color: var(--ug88-text-secondary); /* Ensuring secondary text color for body copy */
}

.page-blog-ug88-latest-promotions h1,
.page-blog-ug88-latest-promotions h2,
.page-blog-ug88-latest-promotions h3,
.page-blog-ug88-latest-promotions h4,
.page-blog-ug88-latest-promotions h5,
.page-blog-ug88-latest-promotions h6 {
  color: var(--ug88-text-main); /* Ensuring main text color for headings */
}

/* Specific elements for contrast */
.page-blog-ug88-latest-promotions__faq-question .page-blog-ug88-latest-promotions__faq-qtext {
  color: var(--ug88-text-main);
}