/* style/blog-888php-latest-promotions.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-blog-888php-latest-promotions {
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure some space above footer */
}

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

/* Hero Section */
.page-blog-888php-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background: #0A0A0A;
  overflow: hidden;
}

.page-blog-888php-latest-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-888php-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog-888php-latest-promotions__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-blog-888php-latest-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-blog-888php-latest-promotions__hero-description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

/* Section Titles */
.page-blog-888php-latest-promotions__section-title {
  font-size: 2.5em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
  font-weight: bold;
}

.page-blog-888php-latest-promotions__sub-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-888php-latest-promotions__text-block {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-blog-888php-latest-promotions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Darker text for better contrast on bright gradient */
  border: none;
}

.page-blog-888php-latest-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-blog-888php-latest-promotions__btn-secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-blog-888php-latest-promotions__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-blog-888php-latest-promotions__btn-block {
  width: 100%;
  max-width: 300px;
  margin-top: 30px;
}

/* Image and Text Blocks */
.page-blog-888php-latest-promotions__image-text-block {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-top: 40px;
  align-items: flex-start;
}

.page-blog-888php-latest-promotions__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-blog-888php-latest-promotions__image-content {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-blog-888php-latest-promotions__text-content {
  flex: 1;
  max-width: 50%;
}

.page-blog-888php-latest-promotions__text-content-only {
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-888php-latest-promotions__faq-list {
  margin-top: 30px;
}

.page-blog-888php-latest-promotions__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-888php-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #FFD36B;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-blog-888php-latest-promotions__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-blog-888php-latest-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-888php-latest-promotions__faq-item.active .page-blog-888php-latest-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-888php-latest-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1em;
  text-align: justify;
}

.page-blog-888php-latest-promotions__faq-item.active .page-blog-888php-latest-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
  padding-top: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog-888php-latest-promotions__image-text-block {
    flex-direction: column;
    align-items: center;
  }

  .page-blog-888php-latest-promotions__image-text-block--reverse {
    flex-direction: column;
  }

  .page-blog-888php-latest-promotions__image-content,
  .page-blog-888php-latest-promotions__text-content {
    max-width: 100%;
    flex: none;
    width: 100%;
  }

  .page-blog-888php-latest-promotions__section-title {
    font-size: 2em;
  }

  .page-blog-888php-latest-promotions__sub-title {
    font-size: 1.5em;
  }
}

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

  .page-blog-888php-latest-promotions__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }

  .page-blog-888php-latest-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog-888php-latest-promotions__hero-description {
    font-size: 1em;
  }

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

  .page-blog-888php-latest-promotions__btn-primary,
  .page-blog-888php-latest-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-blog-888php-latest-promotions__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

  .page-blog-888php-latest-promotions__sub-title {
    font-size: 1.3em;
  }

  /* Images responsive */
  .page-blog-888php-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-888php-latest-promotions__hero-image-wrapper,
  .page-blog-888php-latest-promotions__image-text-block,
  .page-blog-888php-latest-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .page-blog-888php-latest-promotions__hero-image {
    border-radius: 0;
  }
}