.page-promotions-latest-offers {
  color: #333333;
  background: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions-latest-offers__section {
  padding: 60px 20px;
  margin-bottom: 0;
  background: #ffffff;
}

.page-promotions-latest-offers__section:nth-of-type(even) {
  background: #f9f9f9;
}

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

.page-promotions-latest-offers__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions-latest-offers__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-promotions-latest-offers__text-block {
  font-size: 17px;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

/* HERO Section */
.page-promotions-latest-offers__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(135deg, #017439, #005f2e);
  color: #ffffff;
}

.page-promotions-latest-offers__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-promotions-latest-offers__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions-latest-offers__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-offers__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-promotions-latest-offers__main-title {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #FFFF00; /* Custom font color for H1 */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-latest-offers__intro-text {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-promotions-latest-offers__cta-button {
  display: inline-block;
  padding: 16px 45px;
  background: #C30808; /* Custom color for register/login buttons */
  color: #FFFF00; /* Custom font color for register/login buttons */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-promotions-latest-offers__cta-button:hover {
  background: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-offers__cta-button--large {
    padding: 18px 50px;
    font-size: 22px;
}

/* Promotion Types Grid */
.page-promotions-latest-offers__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-latest-offers__promo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-latest-offers__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-promotions-latest-offers__card-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.page-promotions-latest-offers__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-promotions-latest-offers__promo-card:hover .page-promotions-latest-offers__card-image {
  transform: scale(1.05);
}

.page-promotions-latest-offers__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-promotions-latest-offers__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-promotions-latest-offers__card-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions-latest-offers__card-button {
  display: inline-block;
  padding: 12px 30px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions-latest-offers__card-button:hover {
  background: #005f2e;
}

/* Terms and Conditions Section */
.page-promotions-latest-offers__terms-conditions {
  background: #f0f0f0;
}

.page-promotions-latest-offers__terms-conditions .page-promotions-latest-offers__text-block {
  text-align: left;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-latest-offers__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-promotions-latest-offers__btn-secondary {
  display: inline-block;
  padding: 14px 35px;
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  text-decoration: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-latest-offers__btn-secondary:hover {
  background: #017439;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Why Choose Us Section */
.page-promotions-latest-offers__why-choose-us {
  background: #ffffff;
}

.page-promotions-latest-offers__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-latest-offers__feature-item {
  text-align: center;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-promotions-latest-offers__feature-item:hover {
  transform: translateY(-5px);
}

.page-promotions-latest-offers__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-latest-offers__feature-title {
  font-size: 20px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions-latest-offers__feature-description {
  font-size: 16px;
  color: #555555;
}

.page-promotions-latest-offers__center-cta {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-promotions-latest-offers__faq-section {
  background: #f0f0f0;
}

.page-promotions-latest-offers__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

details.page-promotions-latest-offers__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-promotions-latest-offers__faq-item summary.page-promotions-latest-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

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

details.page-promotions-latest-offers__faq-item summary.page-promotions-latest-offers__faq-question:hover {
  background: #f5f5f5;
}

.page-promotions-latest-offers__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  color: #017439;
}

.page-promotions-latest-offers__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-promotions-latest-offers__faq-item .page-promotions-latest-offers__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-latest-offers__section-title {
    font-size: 28px;
  }
  .page-promotions-latest-offers__intro-text {
    font-size: 17px;
  }
  .page-promotions-latest-offers__main-title {
    font-size: clamp(30px, 4vw, 48px);
  }
  .page-promotions-latest-offers__cta-button {
    padding: 14px 35px;
    font-size: 18px;
  }
  .page-promotions-latest-offers__cta-button--large {
    padding: 16px 40px;
    font-size: 20px;
  }
  .page-promotions-latest-offers__card-title {
    font-size: 20px;
  }
  .page-promotions-latest-offers__card-description {
    font-size: 15px;
  }
  .page-promotions-latest-offers__card-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-promotions-latest-offers__feature-title {
    font-size: 18px;
  }
  .page-promotions-latest-offers__feature-description {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions-latest-offers__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-latest-offers__hero-image img {
    border-radius: 8px;
  }
  .page-promotions-latest-offers__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-promotions-latest-offers__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-promotions-latest-offers__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions-latest-offers__cta-button--large {
    padding: 14px 35px;
    font-size: 18px;
  }
  .page-promotions-latest-offers__section {
    padding: 40px 15px;
  }
  .page-promotions-latest-offers__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-promotions-latest-offers__text-block {
    font-size: 15px;
    margin-bottom: 15px;
  }
  .page-promotions-latest-offers__promo-grid {
    gap: 20px;
  }
  .page-promotions-latest-offers__card-content {
    padding: 20px;
  }
  .page-promotions-latest-offers__card-title {
    font-size: 18px;
  }
  .page-promotions-latest-offers__card-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .page-promotions-latest-offers__card-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions-latest-offers__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions-latest-offers__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions-latest-offers__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-latest-offers__feature-item {
    padding: 20px;
  }
  .page-promotions-latest-offers__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-promotions-latest-offers__feature-title {
    font-size: 17px;
  }
  .page-promotions-latest-offers__feature-description {
    font-size: 14px;
  }
  details.page-promotions-latest-offers__faq-item summary.page-promotions-latest-offers__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-promotions-latest-offers__faq-qtext {
    font-size: 15px;
  }
  .page-promotions-latest-offers__faq-toggle {
    font-size: 22px;
    width: 26px;
  }
  details.page-promotions-latest-offers__faq-item .page-promotions-latest-offers__faq-answer {
    padding: 0 15px 15px;
    font-size: 14px;
  }
  
  /* Force responsive images and containers */
  .page-promotions-latest-offers img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions-latest-offers__section,
  .page-promotions-latest-offers__card,
  .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__hero-container,
  .page-promotions-latest-offers__button-group,
  .page-promotions-latest-offers__center-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-latest-offers__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-promotions-latest-offers__hero-image {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-latest-offers__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-latest-offers__promo-grid {
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions-latest-offers__promo-card {
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
  }
  .page-promotions-latest-offers__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }
  details.page-promotions-latest-offers__faq-item {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}