/* style/blog-w188-latest-promotions.css */

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

.page-blog-w188-latest-promotions {
  color: var(--w188-text-main); /* Default text color for the page */
  background-color: var(--w188-background-color); /* Body background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-w188-latest-promotions__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding for hero */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.page-blog-w188-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  z-index: 1;
}

.page-blog-w188-latest-promotions__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up slightly over the image for better visual flow */
  background-color: rgba(17, 40, 27, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-w188-latest-promotions__main-title {
  color: var(--w188-gold-color);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-blog-w188-latest-promotions__description {
  color: var(--w188-text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
}

.page-blog-w188-latest-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--w188-button-gradient);
  color: var(--w188-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-w188-latest-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--w188-glow-color);
}

.page-blog-w188-latest-promotions__section {
  padding: 60px 0;
  background-color: var(--w188-background-color);
}

.page-blog-w188-latest-promotions__section:nth-of-type(even) {
  background-color: var(--w188-deep-green);
}

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

.page-blog-w188-latest-promotions__section-title {
  color: var(--w188-gold-color);
  font-size: clamp(2rem, 3.5vw, 3rem);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-blog-w188-latest-promotions__text-block {
  color: var(--w188-text-secondary);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-w188-latest-promotions__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-blog-w188-latest-promotions__image-content--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-w188-latest-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-w188-latest-promotions__card {
  background-color: var(--w188-card-bg);
  color: var(--w188-text-main);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--w188-border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-w188-latest-promotions__card-title {
  color: var(--w188-gold-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-w188-latest-promotions__card-text {
  color: var(--w188-text-secondary);
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-w188-latest-promotions__btn-secondary {
  background: var(--w188-deep-green);
  color: var(--w188-text-main);
  border: 2px solid var(--w188-primary-color);
}

.page-blog-w188-latest-promotions__btn-secondary:hover {
  background: var(--w188-primary-color);
  box-shadow: 0 0 15px var(--w188-glow-color);
}

.page-blog-w188-latest-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-blog-w188-latest-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: var(--w188-card-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--w188-border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-w188-latest-promotions__step-number {
  background: var(--w188-button-gradient);
  color: var(--w188-text-main);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-blog-w188-latest-promotions__step-content {
  flex-grow: 1;
}

.page-blog-w188-latest-promotions__step-title {
  color: var(--w188-gold-color);
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-w188-latest-promotions__step-text {
  color: var(--w188-text-secondary);
  font-size: 1rem;
}

.page-blog-w188-latest-promotions__faq-list {
  margin-top: 30px;
}

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

.page-blog-w188-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--w188-card-bg);
  color: var(--w188-text-main);
  font-size: 1.15rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-blog-w188-latest-promotions__faq-question:hover {
  background-color: var(--w188-deep-green);
}

.page-blog-w188-latest-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--w188-gold-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-w188-latest-promotions__faq-item.active .page-blog-w188-latest-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-w188-latest-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  color: var(--w188-text-secondary);
  background-color: var(--w188-deep-green);
  padding: 0 25px;
}

.page-blog-w188-latest-promotions__faq-item.active .page-blog-w188-latest-promotions__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-blog-w188-latest-promotions__faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: var(--w188-text-secondary);
}

.page-blog-w188-latest-promotions__btn-primary {
  background: var(--w188-button-gradient);
  color: var(--w188-text-main);
  border: none;
}

.page-blog-w188-latest-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--w188-glow-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-w188-latest-promotions__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-blog-w188-latest-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-w188-latest-promotions__hero-section {
    padding-top: 10px !important;
  }

  .page-blog-w188-latest-promotions__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
    padding: 30px 15px;
    max-width: 95%;
  }

  .page-blog-w188-latest-promotions__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-blog-w188-latest-promotions__description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .page-blog-w188-latest-promotions__cta-button,
  .page-blog-w188-latest-promotions__btn-primary,
  .page-blog-w188-latest-promotions__btn-secondary,
  .page-blog-w188-latest-promotions a[class*="button"],
  .page-blog-w188-latest-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 1rem;
  }

  .page-blog-w188-latest-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-w188-latest-promotions__section-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-blog-w188-latest-promotions__text-block {
    font-size: 1rem;
  }

  .page-blog-w188-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-w188-latest-promotions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-w188-latest-promotions__card {
    padding: 25px;
  }

  .page-blog-w188-latest-promotions__card-title {
    font-size: 1.3rem;
  }

  .page-blog-w188-latest-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-blog-w188-latest-promotions__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-blog-w188-latest-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-w188-latest-promotions__faq-answer {
    padding: 15px 20px;
  }

  .page-blog-w188-latest-promotions__faq-item.active .page-blog-w188-latest-promotions__faq-answer {
    padding: 15px 20px;
  }
}