.page-resources-latest-promotions {
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.page-resources-latest-promotions__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #1A2B4C; /* Main brand color for hero background */
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px; /* Add some padding at the bottom */
}

.page-resources-latest-promotions__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px; /* Constrain image width within hero container */
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  display: block;
  object-fit: cover;
}

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

.page-resources-latest-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-resources-latest-promotions__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for primary action */
  color: #1A2B4C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-promotions__hero-button:hover {
  background-color: #e5c400;
  transform: translateY(-3px);
}

.page-resources-latest-promotions__content-area {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-latest-promotions__section-title {
  font-size: 2.5em;
  color: #1A2B4C;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 15px;
}

.page-resources-latest-promotions__subsection-title {
  font-size: 2em;
  color: #1A2B4C;
  margin-top: 50px;
  margin-bottom: 25px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-resources-latest-promotions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-latest-promotions__feature-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-resources-latest-promotions__card-image {
  width: 100%;
  height: 400px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-resources-latest-promotions__card-content {
  padding: 30px;
}

.page-resources-latest-promotions__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-resources-latest-promotions__list-item {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left 8px;
  background-size: 20px 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #555555;
}

.page-resources-latest-promotions__list-item strong {
  color: #1A2B4C;
}

.page-resources-latest-promotions__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-resources-latest-promotions__numbered-list .page-resources-latest-promotions__list-item {
  background: none;
  padding-left: 0;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333333;
}

.page-resources-latest-promotions__button {
  display: inline-block;
  background-color: #1A2B4C; /* Main brand color for secondary actions */
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
  border: 2px solid #1A2B4C;
}

.page-resources-latest-promotions__button:hover {
  background-color: #FFD700;
  color: #1A2B4C;
  transform: translateY(-2px);
  border-color: #FFD700;
}

.page-resources-latest-promotions__button--large {
  font-size: 1.3em;
  padding: 18px 35px;
  margin-top: 40px;
  background-color: #FFD700;
  color: #1A2B4C;
  border-color: #FFD700;
}

.page-resources-latest-promotions__button--large:hover {
  background-color: #e5c400;
  border-color: #e5c400;
  color: #1A2B4C;
}

.page-resources-latest-promotions__call-to-action-buttons {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 80px;
}

.page-resources-latest-promotions__call-to-action-buttons .page-resources-latest-promotions__button {
  margin: 0 15px;
}

.page-resources-latest-promotions__button--primary {
  background-color: #FFD700;
  color: #1A2B4C;
  border-color: #FFD700;
}

.page-resources-latest-promotions__button--primary:hover {
  background-color: #e5c400;
  border-color: #e5c400;
}

.page-resources-latest-promotions__button--secondary {
  background-color: #1A2B4C;
  color: #FFD700;
  border-color: #1A2B4C;
}

.page-resources-latest-promotions__button--secondary:hover {
  background-color: #FFD700;
  color: #1A2B4C;
  border-color: #FFD700;
}

/* Floating Register/Login Buttons */
.page-resources-latest-promotions__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-resources-latest-promotions__floating-button {
  display: block;
  width: 100px;
  padding: 12px 0;
  text-align: center;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-latest-promotions__floating-button--register {
  background-color: #FFD700;
  color: #1A2B4C;
}

.page-resources-latest-promotions__floating-button--register:hover {
  background-color: #e5c400;
  transform: scale(1.05);
}

.page-resources-latest-promotions__floating-button--login {
  background-color: #1A2B4C;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-resources-latest-promotions__floating-button--login:hover {
  background-color: #2e436b;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-latest-promotions__hero-section {
    padding-top: var(--header-offset, 80px);
    padding-bottom: 40px;
  }

  .page-resources-latest-promotions__hero-title {
    font-size: 2.2em;
  }

  .page-resources-latest-promotions__hero-description {
    font-size: 1em;
  }

  .page-resources-latest-promotions__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-latest-promotions__section-title {
    font-size: 1.8em;
    padding-top: 20px;
  }

  .page-resources-latest-promotions__subsection-title {
    font-size: 1.5em;
    margin-top: 30px;
  }

  .page-resources-latest-promotions__paragraph {
    font-size: 1em;
  }

  .page-resources-latest-promotions__feature-card {
    flex-direction: column;
  }

  .page-resources-latest-promotions__card-image {
    height: 250px;
  }

  .page-resources-latest-promotions__card-content {
    padding: 20px;
  }

  .page-resources-latest-promotions__list-item {
    font-size: 0.95em;
  }

  .page-resources-latest-promotions__button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-resources-latest-promotions__call-to-action-buttons {
    flex-direction: column;
  }

  .page-resources-latest-promotions__call-to-action-buttons .page-resources-latest-promotions__button {
    margin: 10px 0;
  }

  .page-resources-latest-promotions__floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }

  .page-resources-latest-promotions__floating-button {
    width: 90px;
    padding: 10px 0;
    font-size: 0.9em;
  }

  /* Critical: prevent content overflow on mobile */
  .page-resources-latest-promotions img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-latest-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-resources-latest-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-resources-latest-promotions__section-title {
    font-size: 1.6em;
  }
  .page-resources-latest-promotions__subsection-title {
    font-size: 1.3em;
  }
  .page-resources-latest-promotions__button--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}