/* style/blog-maxvin-latest-promotions-analysis.css */

/* Custom Colors */
:root {
  --maxvin-primary: #11A84E;
  --maxvin-secondary: #22C768;
  --maxvin-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --maxvin-card-bg: #11271B;
  --maxvin-bg: #08160F;
  --maxvin-text-main: #F2FFF6;
  --maxvin-text-secondary: #A7D9B8;
  --maxvin-border: #2E7A4E;
  --maxvin-glow: #57E38D;
  --maxvin-gold: #F2C14E;
  --maxvin-divider: #1E3A2A;
  --maxvin-deep-green: #0A4B2C;
}

.page-blog-maxvin-latest-promotions-analysis {
  background-color: var(--maxvin-bg);
  color: var(--maxvin-text-main); /* Main text color for the page body */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* General container for content sections */
.page-blog-maxvin-latest-promotions-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-blog-maxvin-latest-promotions-analysis__section-title {
  font-size: clamp(2em, 5vw, 2.8em);
  font-weight: 700;
  color: var(--maxvin-gold);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-maxvin-latest-promotions-analysis__section-description {
  font-size: 1.1em;
  color: var(--maxvin-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* Hero Section */
.page-blog-maxvin-latest-promotions-analysis__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  text-align: center;
  min-height: 500px;
  background-color: var(--maxvin-deep-green);
}

.page-blog-maxvin-latest-promotions-analysis__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-maxvin-latest-promotions-analysis__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-maxvin-latest-promotions-analysis__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-top: -80px; /* Pull content up over the image slightly for visual flow */
  background: rgba(17, 39, 27, 0.85); /* Slightly transparent background for readability */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--maxvin-border);
}

.page-blog-maxvin-latest-promotions-analysis__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em); /* Using clamp for H1 */
  color: var(--maxvin-gold);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-blog-maxvin-latest-promotions-analysis__intro-text {
  font-size: 1.2em;
  color: var(--maxvin-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-maxvin-latest-promotions-analysis__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-blog-maxvin-latest-promotions-analysis__btn-primary,
.page-blog-maxvin-latest-promotions-analysis__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-blog-maxvin-latest-promotions-analysis__btn-primary {
  background: var(--maxvin-button-gradient);
  color: var(--maxvin-text-main);
  border: 2px solid var(--maxvin-glow);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-blog-maxvin-latest-promotions-analysis__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.8);
}

.page-blog-maxvin-latest-promotions-analysis__btn-secondary {
  background: transparent;
  color: var(--maxvin-glow);
  border: 2px solid var(--maxvin-glow);
  box-shadow: inset 0 0 10px rgba(87, 227, 141, 0.4);
}

.page-blog-maxvin-latest-promotions-analysis__btn-secondary:hover {
  background: var(--maxvin-glow);
  color: var(--maxvin-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.8);
}

.page-blog-maxvin-latest-promotions-analysis__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

.page-blog-maxvin-latest-promotions-analysis__promotion-card {
  background-color: var(--maxvin-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--maxvin-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-blog-maxvin-latest-promotions-analysis__card-title {
  font-size: 1.8em;
  color: var(--maxvin-gold);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-maxvin-latest-promotions-analysis__card-text {
  color: var(--maxvin-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* How To Claim Section */
.page-blog-maxvin-latest-promotions-analysis__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-blog-maxvin-latest-promotions-analysis__steps-list li {
  background-color: var(--maxvin-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--maxvin-border);
}

.page-blog-maxvin-latest-promotions-analysis__step-title {
  font-size: 1.6em;
  color: var(--maxvin-gold);
  margin-bottom: 10px;
}

.page-blog-maxvin-latest-promotions-analysis__step-description {
  color: var(--maxvin-text-secondary);
}

/* Terms Section */
.page-blog-maxvin-latest-promotions-analysis__dark-section {
  background-color: var(--maxvin-deep-green);
  color: var(--maxvin-text-main);
  padding: 60px 20px;
}

.page-blog-maxvin-latest-promotions-analysis__dark-section .page-blog-maxvin-latest-promotions-analysis__section-title {
  color: var(--maxvin-gold);
}

.page-blog-maxvin-latest-promotions-analysis__dark-section .page-blog-maxvin-latest-promotions-analysis__section-description {
  color: var(--maxvin-text-secondary);
}

.page-blog-maxvin-latest-promotions-analysis__terms-list {
  list-style: disc;
  padding-left: 20px;
  max-width: 800px;
  margin: 40px auto;
  color: var(--maxvin-text-main);
}

.page-blog-maxvin-latest-promotions-analysis__terms-list li {
  margin-bottom: 10px;
  color: var(--maxvin-text-secondary);
}

.page-blog-maxvin-latest-promotions-analysis__list-highlight {
  color: var(--maxvin-gold);
}

/* Blog Cards Section */
.page-blog-maxvin-latest-promotions-analysis__blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-maxvin-latest-promotions-analysis__blog-card {
  background-color: var(--maxvin-card-bg);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--maxvin-border);
  display: flex;
  flex-direction: column;
}

.page-blog-maxvin-latest-promotions-analysis__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-blog-maxvin-latest-promotions-analysis__card-blog-title {
  font-size: 1.4em;
  color: var(--maxvin-gold);
  margin-bottom: 10px;
  line-height: 1.4;
  flex-grow: 1;
}

.page-blog-maxvin-latest-promotions-analysis__card-blog-title a {
  color: var(--maxvin-gold);
  text-decoration: none;
}

.page-blog-maxvin-latest-promotions-analysis__card-blog-title a:hover {
  text-decoration: underline;
}

.page-blog-maxvin-latest-promotions-analysis__card-date {
  font-size: 0.9em;
  color: var(--maxvin-text-secondary);
  margin-bottom: 10px;
}

.page-blog-maxvin-latest-promotions-analysis__card-excerpt {
  font-size: 1em;
  color: var(--maxvin-text-secondary);
  margin-bottom: 15px;
}

.page-blog-maxvin-latest-promotions-analysis__read-more {
  color: var(--maxvin-glow);
  text-decoration: none;
  font-weight: 600;
}

.page-blog-maxvin-latest-promotions-analysis__read-more:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-blog-maxvin-latest-promotions-analysis__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

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

.page-blog-maxvin-latest-promotions-analysis__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-blog-maxvin-latest-promotions-analysis__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

.page-blog-maxvin-latest-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--maxvin-gold);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-blog-maxvin-latest-promotions-analysis__faq-question:hover {
  background-color: var(--maxvin-deep-green);
}

.page-blog-maxvin-latest-promotions-analysis__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--maxvin-glow);
}

.page-blog-maxvin-latest-promotions-analysis__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--maxvin-text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-maxvin-latest-promotions-analysis__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-blog-maxvin-latest-promotions-analysis__container {
    padding: 20px 15px;
  }

  .page-blog-maxvin-latest-promotions-analysis__section-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog-maxvin-latest-promotions-analysis__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

  .page-blog-maxvin-latest-promotions-analysis__intro-text {
    font-size: 1em;
  }

  .page-blog-maxvin-latest-promotions-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-maxvin-latest-promotions-analysis__btn-primary,
  .page-blog-maxvin-latest-promotions-analysis__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-blog-maxvin-latest-promotions-analysis__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }

  .page-blog-maxvin-latest-promotions-analysis__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-blog-maxvin-latest-promotions-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images should handle overflow */
  .page-blog-maxvin-latest-promotions-analysis__hero-image-wrapper,
  .page-blog-maxvin-latest-promotions-analysis__overview-section,
  .page-blog-maxvin-latest-promotions-analysis__types-section,
  .page-blog-maxvin-latest-promotions-analysis__how-to-claim-section,
  .page-blog-maxvin-latest-promotions-analysis__terms-section,
  .page-blog-maxvin-latest-promotions-analysis__updates-section,
  .page-blog-maxvin-latest-promotions-analysis__why-choose-section,
  .page-blog-maxvin-latest-promotions-analysis__faq-section,
  .page-blog-maxvin-latest-promotions-analysis__promotion-grid,
  .page-blog-maxvin-latest-promotions-analysis__blog-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-maxvin-latest-promotions-analysis__promotion-card,
  .page-blog-maxvin-latest-promotions-analysis__steps-list li,
  .page-blog-maxvin-latest-promotions-analysis__blog-card {
    padding: 20px;
  }

  .page-blog-maxvin-latest-promotions-analysis__blog-card .page-blog-maxvin-latest-promotions-analysis__card-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-blog-maxvin-latest-promotions-analysis__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-blog-maxvin-latest-promotions-analysis__faq-answer {
    padding: 0 15px 15px 15px;
  }
}