/* style/blog-ph365-latest-promotions-analysis.css */

:root {
  --ph365-primary: #F2C14E;
  --ph365-secondary: #FFD36B;
  --ph365-card-bg: #111111;
  --ph365-bg: #0A0A0A;
  --ph365-text-main: #FFF6D6;
  --ph365-border: #3A2A12;
  --ph365-glow: #FFD36B;
  --ph365-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-blog-ph365-latest-promotions-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--ph365-text-main); /* Assuming body background is dark, main text is light */
  background-color: var(--ph365-bg);
}

.page-blog-ph365-latest-promotions-analysis__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Desktop: Fixed header spacing */
  padding-bottom: 60px;
  background: var(--ph365-bg);
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-blog-ph365-latest-promotions-analysis__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-blog-ph365-latest-promotions-analysis__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-blog-ph365-latest-promotions-analysis__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  margin-top: 50px; /* Space from top after image */
}

.page-blog-ph365-latest-promotions-analysis__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: bold;
  color: var(--ph365-primary);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px var(--ph365-glow);
}

.page-blog-ph365-latest-promotions-analysis__description-text {
  font-size: 1.2em;
  color: var(--ph365-text-main);
  margin-bottom: 30px;
}

.page-blog-ph365-latest-promotions-analysis__section {
  padding: 60px 0;
  background-color: var(--ph365-bg);
}

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

.page-blog-ph365-latest-promotions-analysis__section-title {
  font-size: 2.5em;
  color: var(--ph365-primary);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-blog-ph365-latest-promotions-analysis__paragraph {
  font-size: 1.1em;
  color: var(--ph365-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-ph365-latest-promotions-analysis__highlight {
  color: var(--ph365-secondary);
  font-weight: bold;
}

.page-blog-ph365-latest-promotions-analysis__btn-primary,
.page-blog-ph365-latest-promotions-analysis__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-blog-ph365-latest-promotions-analysis__btn-primary {
  background: var(--ph365-button-gradient);
  color: #ffffff; /* Button text always white */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-ph365-latest-promotions-analysis__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-blog-ph365-latest-promotions-analysis__btn-secondary {
  background: transparent;
  color: var(--ph365-primary); /* Use brand color for contrast */
  border: 2px solid var(--ph365-primary);
  margin-left: 20px;
}

.page-blog-ph365-latest-promotions-analysis__btn-secondary:hover {
  background: var(--ph365-primary);
  color: var(--ph365-card-bg);
}

.page-blog-ph365-latest-promotions-analysis__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-blog-ph365-latest-promotions-analysis__image-text-block .page-blog-ph365-latest-promotions-analysis__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure image is responsive */
  height: auto;
  display: block;
}

.page-blog-ph365-latest-promotions-analysis__image-text-block .page-blog-ph365-latest-promotions-analysis__paragraph {
  flex: 2;
  min-width: 300px;
  margin-bottom: 0;
}

.page-blog-ph365-latest-promotions-analysis__promo-list,
.page-blog-ph365-latest-promotions-analysis__terms-list,
.page-blog-ph365-latest-promotions-analysis__claim-steps {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-blog-ph365-latest-promotions-analysis__list-item,
.page-blog-ph365-latest-promotions-analysis__step-item {
  background-color: var(--ph365-card-bg);
  border: 1px solid var(--ph365-border);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.page-blog-ph365-latest-promotions-analysis__list-item::before,
.page-blog-ph365-latest-promotions-analysis__step-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--ph365-primary);
}

.page-blog-ph365-latest-promotions-analysis__list-title,
.page-blog-ph365-latest-promotions-analysis__step-title {
  font-size: 1.5em;
  color: var(--ph365-primary);
  margin-bottom: 15px;
}

.page-blog-ph365-latest-promotions-analysis__list-text,
.page-blog-ph365-latest-promotions-analysis__step-text {
  font-size: 1em;
  color: var(--ph365-text-main);
}

.page-blog-ph365-latest-promotions-analysis__list-text a,
.page-blog-ph365-latest-promotions-analysis__step-text a,
.page-blog-ph365-latest-promotions-analysis__paragraph a {
  color: var(--ph365-secondary);
  text-decoration: none;
  font-weight: bold;
}

.page-blog-ph365-latest-promotions-analysis__list-text a:hover,
.page-blog-ph365-latest-promotions-analysis__step-text a:hover,
.page-blog-ph365-latest-promotions-analysis__paragraph a:hover {
  text-decoration: underline;
}

.page-blog-ph365-latest-promotions-analysis__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
}

.page-blog-ph365-latest-promotions-analysis__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%; /* Ensure container takes full width for responsive buttons */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.page-blog-ph365-latest-promotions-analysis__faq-section {
  padding: 60px 0;
  background-color: var(--ph365-bg);
}

.page-blog-ph365-latest-promotions-analysis__faq-list {
  margin-top: 40px;
}

.page-blog-ph365-latest-promotions-analysis__faq-item {
  background-color: var(--ph365-card-bg);
  border: 1px solid var(--ph365-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-ph365-latest-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  color: var(--ph365-primary);
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-blog-ph365-latest-promotions-analysis__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-blog-ph365-latest-promotions-analysis__faq-title {
  margin: 0;
  color: var(--ph365-primary);
  font-size: 1.2em;
}

.page-blog-ph365-latest-promotions-analysis__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-ph365-latest-promotions-analysis__faq-item.active .page-blog-ph365-latest-promotions-analysis__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-ph365-latest-promotions-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--ph365-text-main);
}

.page-blog-ph365-latest-promotions-analysis__faq-item.active .page-blog-ph365-latest-promotions-analysis__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure override */
  padding: 15px 30px;
}

.page-blog-ph365-latest-promotions-analysis__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog-ph365-latest-promotions-analysis__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-blog-ph365-latest-promotions-analysis__section-title {
    font-size: 2em;
  }

  .page-blog-ph365-latest-promotions-analysis__image-text-block {
    flex-direction: column;
  }

  .page-blog-ph365-latest-promotions-analysis__image-text-block .page-blog-ph365-latest-promotions-analysis__paragraph {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-blog-ph365-latest-promotions-analysis__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: Ensure header offset */
    padding-bottom: 40px;
  }

  .page-blog-ph365-latest-promotions-analysis__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog-ph365-latest-promotions-analysis__description-text,
  .page-blog-ph365-latest-promotions-analysis__paragraph {
    font-size: 1em;
  }

  .page-blog-ph365-latest-promotions-analysis__btn-primary,
  .page-blog-ph365-latest-promotions-analysis__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-ph365-latest-promotions-analysis__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-ph365-latest-promotions-analysis__section-title {
    font-size: 1.8em;
  }

  .page-blog-ph365-latest-promotions-analysis__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-ph365-latest-promotions-analysis__container,
  .page-blog-ph365-latest-promotions-analysis__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-ph365-latest-promotions-analysis__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-blog-ph365-latest-promotions-analysis__faq-answer {
    padding: 0 20px;
  }

  .page-blog-ph365-latest-promotions-analysis__faq-item.active .page-blog-ph365-latest-promotions-analysis__faq-answer {
    padding: 10px 20px;
  }
}