/* style/resources-latest-promotions.css */
.page-resources-latest-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color, #FFFFFF); /* Inherit from shared.css, default to white */
}

/* Hero Section */
.page-resources-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background-color: #26A9E0; /* Brand primary color for hero background */
}

.page-resources-latest-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-resources-latest-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-resources-latest-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-latest-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources-latest-promotions__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Video Section */
.page-resources-latest-promotions__video-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--secondary-color, #FFFFFF);
    color: #333333;
}

.page-resources-latest-promotions__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for video */
    margin: 30px auto;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-promotions__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-resources-latest-promotions__video-cta {
    margin-top: 30px;
}

/* General Section Styling */
.page-resources-latest-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #26A9E0;
}

.page-resources-latest-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-latest-promotions__content-area,
.page-resources-latest-promotions__how-to-claim,
.page-resources-latest-promotions__benefits,
.page-resources-latest-promotions__cta-banner {
  padding: 60px 0;
  background-color: var(--secondary-color, #FFFFFF);
  color: #333333;
}

.page-resources-latest-promotions__promotions-grid,
.page-resources-latest-promotions__terms-conditions,
.page-resources-latest-promotions__faq-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-resources-latest-promotions__promotions-grid .page-resources-latest-promotions__section-title,
.page-resources-latest-promotions__promotions-grid .page-resources-latest-promotions__section-description,
.page-resources-latest-promotions__terms-conditions .page-resources-latest-promotions__section-title,
.page-resources-latest-promotions__terms-conditions .page-resources-latest-promotions__section-description,
.page-resources-latest-promotions__faq-section .page-resources-latest-promotions__section-title,
.page-resources-latest-promotions__faq-section .page-resources-latest-promotions__section-description {
  color: #ffffff;
}

.page-resources-latest-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

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

/* Buttons */
.page-resources-latest-promotions__btn-primary,
.page-resources-latest-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-resources-latest-promotions__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-latest-promotions__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-resources-latest-promotions__btn-secondary {
  background-color: transparent;
  color: #ffffff; /* For dark backgrounds */
  border: 2px solid #ffffff;
}

.page-resources-latest-promotions__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}