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

.page-blog-atm99-latest-promotions-analysis {
  background-color: var(--background-color);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-blog-atm99-latest-promotions-analysis a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-blog-atm99-latest-promotions-analysis a:hover {
  text-decoration: underline;
  color: var(--glow-color);
}

/* Hero Section */
.page-blog-atm99-latest-promotions-analysis__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--deep-green);
  overflow: hidden;
}

.page-blog-atm99-latest-promotions-analysis__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-atm99-latest-promotions-analysis__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-blog-atm99-latest-promotions-analysis__hero-content {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-atm99-latest-promotions-analysis__main-title {
  color: var(--gold-color);
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog-atm99-latest-promotions-analysis__description {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-atm99-latest-promotions-analysis__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-atm99-latest-promotions-analysis__btn-primary,
.page-blog-atm99-latest-promotions-analysis__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  box-sizing: border-box;
}

.page-blog-atm99-latest-promotions-analysis__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* Explicit white for contrast */
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-blog-atm99-latest-promotions-analysis__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  filter: brightness(1.1);
}

.page-blog-atm99-latest-promotions-analysis__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-blog-atm99-latest-promotions-analysis__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--background-color); /* Dark text on gold hover */
  transform: translateY(-3px);
}

/* General Section Styling */
.page-blog-atm99-latest-promotions-analysis__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-blog-atm99-latest-promotions-analysis__section:last-of-type {
  border-bottom: none;
}

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

.page-blog-atm99-latest-promotions-analysis__section-title {
  color: var(--gold-color);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-blog-atm99-latest-promotions-analysis__text-block {
  color: var(--text-main);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
}

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

.page-blog-atm99-latest-promotions-analysis__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main); /* Ensure light text on dark card background */
}

.page-blog-atm99-latest-promotions-analysis__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-atm99-latest-promotions-analysis__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-blog-atm99-latest-promotions-analysis__card-title {
  color: var(--gold-color);
  font-size: 1.4rem;
  padding: 20px 25px 10px;
  margin-top: 0;
}

.page-blog-atm99-latest-promotions-analysis__card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0 25px 25px;
  flex-grow: 1;
}

/* How-To List */
.page-blog-atm99-latest-promotions-analysis__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-blog-atm99-latest-promotions-analysis__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main); /* Light text on dark card background */
}

.page-blog-atm99-latest-promotions-analysis__list-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-blog-atm99-latest-promotions-analysis__list-item p {
  color: var(--text-secondary);
  font-size: 1rem;
}

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

/* Bullet List */
.page-blog-atm99-latest-promotions-analysis__bullet-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-blog-atm99-latest-promotions-analysis__bullet-list .page-blog-atm99-latest-promotions-analysis__list-item {
  background: none;
  border: none;
  box-shadow: none;
  padding: 10px 0;
  margin-bottom: 0;
  color: var(--text-main);
}

.page-blog-atm99-latest-promotions-analysis__bullet-list .page-blog-atm99-latest-promotions-analysis__list-item strong {
  color: var(--gold-color);
}

.page-blog-atm99-latest-promotions-analysis__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-blog-atm99-latest-promotions-analysis__faq-list {
  margin-top: 30px;
}

.page-blog-atm99-latest-promotions-analysis__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-blog-atm99-latest-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
}

.page-blog-atm99-latest-promotions-analysis__faq-item[open] .page-blog-atm99-latest-promotions-analysis__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-blog-atm99-latest-promotions-analysis__faq-qtext {
  flex-grow: 1;
  color: var(--gold-color);
}

.page-blog-atm99-latest-promotions-analysis__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-blog-atm99-latest-promotions-analysis__faq-answer {
  padding: 20px 25px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.page-blog-atm99-latest-promotions-analysis__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-atm99-latest-promotions-analysis__faq-item summary {
  list-style: none;
}

/* Conclusion */
.page-blog-atm99-latest-promotions-analysis__conclusion .page-blog-atm99-latest-promotions-analysis__text-block {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-atm99-latest-promotions-analysis__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-blog-atm99-latest-promotions-analysis__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .page-blog-atm99-latest-promotions-analysis__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-blog-atm99-latest-promotions-analysis {
    font-size: 15px;
    line-height: 1.65;
  }

  .page-blog-atm99-latest-promotions-analysis__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-atm99-latest-promotions-analysis__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-blog-atm99-latest-promotions-analysis__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-atm99-latest-promotions-analysis__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-atm99-latest-promotions-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to prevent overflow */
  }

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

  .page-blog-atm99-latest-promotions-analysis__section {
    padding: 40px 0;
  }

  .page-blog-atm99-latest-promotions-analysis__container {
    padding: 0 15px;
  }

  .page-blog-atm99-latest-promotions-analysis__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-blog-atm99-latest-promotions-analysis__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-atm99-latest-promotions-analysis__card-image {
    height: 160px;
  }

  .page-blog-atm99-latest-promotions-analysis__list-item {
    padding: 20px;
  }

  .page-blog-atm99-latest-promotions-analysis__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-atm99-latest-promotions-analysis__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-blog-atm99-latest-promotions-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-atm99-latest-promotions-analysis__section,
  .page-blog-atm99-latest-promotions-analysis__card,
  .page-blog-atm99-latest-promotions-analysis__container,
  .page-blog-atm99-latest-promotions-analysis__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific override for hero image wrapper to remove double padding */
  .page-blog-atm99-latest-promotions-analysis__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-blog-atm99-latest-promotions-analysis__hero-section {
    padding-top: 10px !important;
  }

  /* Ensure no overflow for content images */
  .page-blog-atm99-latest-promotions-analysis__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .page-blog-atm99-latest-promotions-analysis__hero-content {
    padding: 0 10px;
  }
  .page-blog-atm99-latest-promotions-analysis__cta-buttons {
    gap: 10px;
    padding: 0 10px;
  }
  .page-blog-atm99-latest-promotions-analysis__btn-primary,
  .page-blog-atm99-latest-promotions-analysis__btn-secondary {
    font-size: 0.9rem;
  }
  .page-blog-atm99-latest-promotions-analysis__section {
    padding: 30px 0;
  }
  .page-blog-atm99-latest-promotions-analysis__container {
    padding: 0 10px;
  }
  .page-blog-atm99-latest-promotions-analysis__card-title {
    font-size: 1.2rem;
    padding: 15px 20px 8px;
  }
  .page-blog-atm99-latest-promotions-analysis__card-text {
    padding: 0 20px 20px;
  }
  .page-blog-atm99-latest-promotions-analysis__list-item {
    padding: 15px;
  }
  .page-blog-atm99-latest-promotions-analysis__faq-question {
    padding: 12px 15px;
  }
  .page-blog-atm99-latest-promotions-analysis__faq-answer {
    padding: 12px 15px;
  }
}