/* style/blog-uk88-code-promotions-analysis.css */

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

/* Base styles for the page content */
.page-blog-uk88-code-promotions-analysis {
  background-color: var(--uk88-code-background);
  color: var(--uk88-code-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

/* Section common styles */
.page-blog-uk88-code-promotions-analysis__content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--uk88-code-divider);
}

.page-blog-uk88-code-promotions-analysis__content-section:last-of-type {
  border-bottom: none;
}

.page-blog-uk88-code-promotions-analysis__container {
  width: 100%; /* Ensure width 100% for desktop too */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-uk88-code-promotions-analysis__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--uk88-code-deep-green); /* A darker shade for hero background */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-uk88-code-promotions-analysis__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit hero image height */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-blog-uk88-code-promotions-analysis__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-blog-uk88-code-promotions-analysis__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--uk88-code-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: 1px;
}

.page-blog-uk88-code-promotions-analysis__description {
  font-size: 1.1em;
  color: var(--uk88-code-text-secondary);
  margin-bottom: 30px;
}

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

/* Buttons */
.page-blog-uk88-code-promotions-analysis__btn-primary,
.page-blog-uk88-code-promotions-analysis__btn-secondary,
.page-blog-uk88-code-promotions-analysis__card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-uk88-code-promotions-analysis__btn-primary {
  background: var(--uk88-code-button-gradient);
  color: var(--uk88-code-text-main);
  border: 2px solid transparent;
}

.page-blog-uk88-code-promotions-analysis__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.page-blog-uk88-code-promotions-analysis__btn-secondary {
  background-color: transparent;
  color: var(--uk88-code-primary);
  border: 2px solid var(--uk88-code-primary);
}

.page-blog-uk88-code-promotions-analysis__btn-secondary:hover {
  background-color: var(--uk88-code-primary);
  color: var(--uk88-code-text-main);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
}

.page-blog-uk88-code-promotions-analysis__card-button {
  background: var(--uk88-code-button-gradient);
  color: var(--uk88-code-text-main);
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  margin-top: auto; /* Push button to bottom of card */
}

.page-blog-uk88-code-promotions-analysis__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 255, 0, 0.2);
}

/* Titles */
.page-blog-uk88-code-promotions-analysis__section-title {
  font-size: 2.2em;
  color: var(--uk88-code-gold);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-blog-uk88-code-promotions-analysis__card-title,
.page-blog-uk88-code-promotions-analysis__step-title,
.page-blog-uk88-code-promotions-analysis__tip-title {
  font-size: 1.5em;
  color: var(--uk88-code-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

/* General text */
.page-blog-uk88-code-promotions-analysis p {
  color: var(--uk88-code-text-secondary);
  margin-bottom: 15px;
}

.page-blog-uk88-code-promotions-analysis__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-blog-uk88-code-promotions-analysis__list li {
  color: var(--uk88-code-text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-blog-uk88-code-promotions-analysis__list li::before {
  content: '✅'; /* Green checkmark */
  position: absolute;
  left: 0;
  color: var(--uk88-code-primary);
  font-size: 1.1em;
  line-height: 1;
}

/* Card Grid */
.page-blog-uk88-code-promotions-analysis__card-grid,
.page-blog-uk88-code-promotions-analysis__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog-uk88-code-promotions-analysis__card,
.page-blog-uk88-code-promotions-analysis__tip-card {
  background-color: var(--uk88-code-card-bg);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--uk88-code-border);
}

.page-blog-uk88-code-promotions-analysis__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-blog-uk88-code-promotions-analysis__tip-card {
  text-align: center;
  align-items: center;
}

.page-blog-uk88-code-promotions-analysis__tip-title {
  color: var(--uk88-code-gold);
}

/* Steps List */
.page-blog-uk88-code-promotions-analysis__steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-blog-uk88-code-promotions-analysis__step-item {
  background-color: var(--uk88-code-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--uk88-code-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-blog-uk88-code-promotions-analysis__step-item .page-blog-uk88-code-promotions-analysis__btn-primary,
.page-blog-uk88-code-promotions-analysis__step-item .page-blog-uk88-code-promotions-analysis__btn-secondary {
  margin-top: 20px;
}

/* FAQ Section */
.page-blog-uk88-code-promotions-analysis__faq-section {
  padding: 60px 0;
  background-color: var(--uk88-code-background);
}

.page-blog-uk88-code-promotions-analysis__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-blog-uk88-code-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--uk88-code-text-main);
  background-color: var(--uk88-code-deep-green); /* Slightly different background for question */
  border-bottom: 1px solid var(--uk88-code-divider);
  list-style: none; /* Remove default marker for summary */
}

.page-blog-uk88-code-promotions-analysis__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

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

.page-blog-uk88-code-promotions-analysis__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
}

.page-blog-uk88-code-promotions-analysis__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--uk88-code-gold);
}

.page-blog-uk88-code-promotions-analysis__faq-answer {
  padding: 20px 25px;
  color: var(--uk88-code-text-secondary);
  background-color: var(--uk88-code-card-bg);
  font-size: 0.95em;
}

/* Bottom CTA */
.page-blog-uk88-code-promotions-analysis__cta-bottom {
  text-align: center;
  padding: 80px 0;
  background-color: var(--uk88-code-deep-green);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-blog-uk88-code-promotions-analysis {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-uk88-code-promotions-analysis__container,
  .page-blog-uk88-code-promotions-analysis__hero-section,
  .page-blog-uk88-code-promotions-analysis__content-section,
  .page-blog-uk88-code-promotions-analysis__faq-section,
  .page-blog-uk88-code-promotions-analysis__cta-bottom {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-blog-uk88-code-promotions-analysis__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body handles --header-offset, this is for visual padding */
  }

  .page-blog-uk88-code-promotions-analysis__main-title {
    font-size: 2em; /* Adjust H1 for mobile */
  }

  .page-blog-uk88-code-promotions-analysis__description {
    font-size: 1em;
  }

  .page-blog-uk88-code-promotions-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0; /* Remove inner padding as container handles it */
  }

  .page-blog-uk88-code-promotions-analysis__btn-primary,
  .page-blog-uk88-code-promotions-analysis__btn-secondary,
  .page-blog-uk88-code-promotions-analysis__card-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-uk88-code-promotions-analysis__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-uk88-code-promotions-analysis__card-grid,
  .page-blog-uk88-code-promotions-analysis__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-uk88-code-promotions-analysis__card,
  .page-blog-uk88-code-promotions-analysis__tip-card,
  .page-blog-uk88-code-promotions-analysis__step-item {
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-uk88-code-promotions-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size is still met */
    min-height: 200px !important; /* Ensure min size is still met */
  }

  .page-blog-uk88-code-promotions-analysis__card-image {
    height: auto; /* Allow auto height for mobile */
  }

  .page-blog-uk88-code-promotions-analysis__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-uk88-code-promotions-analysis__faq-answer {
    padding: 15px 20px;
  }

  .page-blog-uk88-code-promotions-analysis__video-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

  /* Specific image rules for content area to prevent small sizes */
  .page-blog-uk88-code-promotions-analysis p img,
  .page-blog-uk88-code-promotions-analysis ul img,
  .page-blog-uk88-code-promotions-analysis ol img,
  .page-blog-uk88-code-promotions-analysis div img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}