/* style/promotions-latest-details.css */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --section-bg: #F4F7FB;
  --text-main: #1F2D3D;
  --text-black: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-promotions-latest-details {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for light background */
  background-color: var(--section-bg);
}

.page-promotions-latest-details__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
}

.page-promotions-latest-details__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-promotions-latest-details__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-latest-details__hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-latest-details__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions-latest-details__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-latest-details__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-latest-details__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-promotions-latest-details__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-promotions-latest-details__btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions-latest-details__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.page-promotions-latest-details__section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions-latest-details__introduction-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-promotions-latest-details__terms-conditions-section {
  background-color: var(--section-bg);
  color: var(--text-main);
}

.page-promotions-latest-details__participation-steps-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-promotions-latest-details__cta-final-section {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 80px 20px;
}

.page-promotions-latest-details__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-promotions-latest-details__introduction-section .page-promotions-latest-details__section-title,
.page-promotions-latest-details__terms-conditions-section .page-promotions-latest-details__section-title,
.page-promotions-latest-details__participation-steps-section .page-promotions-latest-details__section-title,
.page-promotions-latest-details__faq-section .page-promotions-latest-details__section-title {
  color: var(--text-main);
}

.page-promotions-latest-details__cta-final-section .page-promotions-latest-details__section-title {
  color: #ffffff;
}

.page-promotions-latest-details__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions-latest-details__content-area {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-promotions-latest-details__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-black);
}

.page-promotions-latest-details__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  text-align: left;
  color: var(--text-main);
}

.page-promotions-latest-details__list li {
  margin-bottom: 10px;
}

.page-promotions-latest-details__inline-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-promotions-latest-details__inline-link:hover {
  color: var(--secondary-color);
}

.page-promotions-latest-details__content-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-latest-details__button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions-latest-details__faq-section {
  background-color: var(--section-bg);
  color: var(--text-main);
}

.page-promotions-latest-details__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  margin-top: 40px;
}

.page-promotions-latest-details__faq-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.page-promotions-latest-details__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--text-main);
  position: relative;
}

.page-promotions-latest-details__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-latest-details__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-promotions-latest-details__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-promotions-latest-details__faq-item[open] .page-promotions-latest-details__faq-toggle {
  content: '−';
}

.page-promotions-latest-details__faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: var(--text-main);
}

.page-promotions-latest-details__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions-latest-details__why-choose-section {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-promotions-latest-details__why-choose-section .page-promotions-latest-details__section-title,
.page-promotions-latest-details__why-choose-section .page-promotions-latest-details__sub-title {
  color: #ffffff;
}

.page-promotions-latest-details__why-choose-section p,
.page-promotions-latest-details__why-choose-section .page-promotions-latest-details__list li {
  color: #e0e0e0;
}

.page-promotions-latest-details__why-choose-section .page-promotions-latest-details__inline-link {
  color: var(--secondary-color);
}

.page-promotions-latest-details__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 20px auto 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-latest-details__hero-section {
    padding: 40px 15px;
  }
  .page-promotions-latest-details__section {
    padding: 40px 15px;
  }
  .page-promotions-latest-details__main-title {
    font-size: clamp(1.8em, 4.5vw, 2.8em);
  }
  .page-promotions-latest-details__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.2em);
  }
}

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

  .page-promotions-latest-details__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-promotions-latest-details__hero-image,
  .page-promotions-latest-details__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-promotions-latest-details__hero-image-wrapper,
  .page-promotions-latest-details__container,
  .page-promotions-latest-details__content-area,
  .page-promotions-latest-details__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions-latest-details__cta-button,
  .page-promotions-latest-details__btn-primary,
  .page-promotions-latest-details__btn-secondary,
  .page-promotions-latest-details a[class*="button"],
  .page-promotions-latest-details a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-promotions-latest-details__button-group {
    flex-direction: column !important;
    gap: 15px !important;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-latest-details__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

  .page-promotions-latest-details__faq-answer {
    padding: 0 15px 15px;
  }
  
  .page-promotions-latest-details__faq-item {
    padding: 0;
  }

  .page-promotions-latest-details__hero-content {
    padding: 0 15px;
  }
}