/* style/blog-how-to-effectively-use-u88-code.css */

/* Base styles for the page content, using specified colors for text and background */
.page-blog-how-to-effectively-use-u88-code {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-blog-how-to-effectively-use-u88-code__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-how-to-effectively-use-u88-code__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  overflow: hidden;
  background-color: #08160F; /* Ensure dark background for hero */
}

.page-blog-how-to-effectively-use-u88-code__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for aesthetic */
  margin-bottom: 40px;
}

.page-blog-how-to-effectively-use-u88-code__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-blog-how-to-effectively-use-u88-code__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-how-to-effectively-use-u88-code__subtitle {
  font-size: 1.25rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* General Section Styling */
.page-blog-how-to-effectively-use-u88-code__content-area {
  background-color: #08160F; /* Background */
  padding: 60px 0;
  color: #F2FFF6; /* Text Main */
}

.page-blog-how-to-effectively-use-u88-code__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  text-align: center;
}

.page-blog-how-to-effectively-use-u88-code__text-block {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #F2FFF6; /* Text Main */
}

.page-blog-how-to-effectively-use-u88-code__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Buttons */
.page-blog-how-to-effectively-use-u88-code__btn-primary,
.page-blog-how-to-effectively-use-u88-code__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-blog-how-to-effectively-use-u88-code__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-blog-how-to-effectively-use-u88-code__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.4);
}

.page-blog-how-to-effectively-use-u88-code__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Complementary green */
  border: 2px solid #2AD16F;
}

.page-blog-how-to-effectively-use-u88-code__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.4);
}

.page-blog-how-to-effectively-use-u88-code__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.page-blog-how-to-effectively-use-u88-code__faq-list {
  margin-top: 40px;
}

.page-blog-how-to-effectively-use-u88-code__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-how-to-effectively-use-u88-code__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

.page-blog-how-to-effectively-use-u88-code__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-how-to-effectively-use-u88-code__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-blog-how-to-effectively-use-u88-code__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2AD16F;
  margin-left: 15px;
}

.page-blog-how-to-effectively-use-u88-code__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-how-to-effectively-use-u88-code__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-blog-how-to-effectively-use-u88-code__section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-blog-how-to-effectively-use-u88-code {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 10px !important;
  }

  .page-blog-how-to-effectively-use-u88-code__container,
  .page-blog-how-to-effectively-use-u88-code__hero-section,
  .page-blog-how-to-effectively-use-u88-code__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-how-to-effectively-use-u88-code__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-how-to-effectively-use-u88-code__hero-image,
  .page-blog-how-to-effectively-use-u88-code__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-how-to-effectively-use-u88-code__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-blog-how-to-effectively-use-u88-code__subtitle {
    font-size: 1rem;
  }

  .page-blog-how-to-effectively-use-u88-code__section-title {
    font-size: 1.6rem;
  }

  .page-blog-how-to-effectively-use-u88-code__btn-primary,
  .page-blog-how-to-effectively-use-u88-code__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-blog-how-to-effectively-use-u88-code__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-how-to-effectively-use-u88-code__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-blog-how-to-effectively-use-u88-code__faq-answer {
    font-size: 0.95rem;
    padding: 0 15px 15px 15px;
  }
}