/* style/resources-2024-latest-promotions.css */

/* Base styles for the page content */
.page-resources-2024-latest-promotions {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Hero Section */
.page-resources-2024-latest-promotions__hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFD700 0%, #8B0000 100%);
  color: #ffffff;
  padding: 0;
  text-align: center;
}

.page-resources-2024-latest-promotions__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1200px; /* Constrain container width */
  margin: 0 auto;
  padding: 60px 20px; /* Adjust padding as needed */
}

.page-resources-2024-latest-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
}

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

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

.page-resources-2024-latest-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #f0f0f0;
}

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

/* Buttons */
.page-resources-2024-latest-promotions__button {
  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, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-resources-2024-latest-promotions__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border: 2px solid #FFD700;
}

.page-resources-2024-latest-promotions__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-resources-2024-latest-promotions__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-resources-2024-latest-promotions__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
}

.page-resources-2024-latest-promotions__button--block {
  display: block;
  width: fit-content;
  margin: 30px auto;
  padding: 12px 25px;
  font-size: 1em;
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
}

.page-resources-2024-latest-promotions__button--block:hover {
  background-color: #a00000;
}

.page-resources-2024-latest-promotions__button--hero-cta {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-2024-latest-promotions__button--hero-cta:hover {
  background-color: #a00000;
  transform: translateY(-5px);
}

/* Article Layout */
.page-resources-2024-latest-promotions__content-wrapper {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.page-resources-2024-latest-promotions__article-nav {
  flex: 0 0 250px; /* Fixed width for navigation */
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  align-self: flex-start; /* Stick to the top */
  position: sticky;
  top: calc(var(--header-offset, 120px) + 20px); /* Adjust sticky position */
}

.page-resources-2024-latest-promotions__back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-2024-latest-promotions__back-link:hover {
  color: #FFD700;
}

.page-resources-2024-latest-promotions__article-nav-title {
  font-size: 1.4em;
  color: #333333;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.page-resources-2024-latest-promotions__table-of-contents {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-2024-latest-promotions__table-of-contents li {
  margin-bottom: 10px;
}

.page-resources-2024-latest-promotions__table-of-contents a {
  color: #555555;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.page-resources-2024-latest-promotions__table-of-contents a:hover {
  color: #8B0000;
  padding-left: 5px;
}

.page-resources-2024-latest-promotions__article-content {
  flex: 1;
  max-width: 800px; /* Optimal reading width */
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.page-resources-2024-latest-promotions__section-title {
  font-size: 2em;
  color: #8B0000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources-2024-latest-promotions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-2024-latest-promotions__paragraph a {
  color: #8B0000;
  text-decoration: underline;
}

.page-resources-2024-latest-promotions__paragraph a:hover {
  color: #FFD700;
}

.page-resources-2024-latest-promotions__image-inline {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Related Resources */
.page-resources-2024-latest-promotions__related-resources {
  background-color: #f0f0f0;
  padding: 60px 0;
  text-align: center;
}

.page-resources-2024-latest-promotions__related-title {
  font-size: 2.5em;
  color: #333333;
  margin-bottom: 40px;
}

.page-resources-2024-latest-promotions__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-resources-2024-latest-promotions__related-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-resources-2024-latest-promotions__related-card:hover {
  transform: translateY(-5px);
}

.page-resources-2024-latest-promotions__related-card-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-resources-2024-latest-promotions__related-card-title a {
  color: #8B0000;
  text-decoration: none;
}

.page-resources-2024-latest-promotions__related-card-title a:hover {
  color: #FFD700;
}

.page-resources-2024-latest-promotions__related-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-resources-2024-latest-promotions__related-card-link {
  display: inline-block;
  color: #FFD700;
  background-color: #8B0000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-2024-latest-promotions__related-card-link:hover {
  background-color: #a00000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-2024-latest-promotions__content-wrapper {
    flex-direction: column;
  }

  .page-resources-2024-latest-promotions__article-nav {
    flex: none;
    width: 100%;
    position: static;
  }

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

@media (max-width: 768px) {
  .page-resources-2024-latest-promotions__hero-title {
    font-size: 2.5em;
  }

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

  .page-resources-2024-latest-promotions__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-2024-latest-promotions__button {
    width: 100%;
  }

  .page-resources-2024-latest-promotions__hero-container {
    padding: 40px 20px;
  }

  .page-resources-2024-latest-promotions__section-title {
    font-size: 1.8em;
  }

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

  .page-resources-2024-latest-promotions__related-title {
    font-size: 2em;
  }

  .page-resources-2024-latest-promotions__related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-resources-2024-latest-promotions__hero-title {
    font-size: 2em;
  }

  .page-resources-2024-latest-promotions__button {
    padding: 12px 20px;
    font-size: 0.9em;
  }

  .page-resources-2024-latest-promotions__hero-buttons {
    gap: 10px;
  }

  .page-resources-2024-latest-promotions__article-content {
    padding: 15px;
  }

  .page-resources-2024-latest-promotions__section-title {
    font-size: 1.5em;
  }
}