/* style/blog-understanding-22-platform.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --page-bg: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --dark-text: #333333;
  --light-text: #ffffff;
}

.page-blog-understanding-22-platform {
  font-family: Arial, sans-serif;
  background-color: var(--page-bg); /* Dark background */
  color: var(--text-main); /* Light text for general content */
  line-height: 1.6;
}

.page-blog-understanding-22-platform__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* First section padding adjustment */
.page-blog-understanding-22-platform__hero-section {
  padding-top: 10px; /* Specific top padding, not --header-offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--page-bg);
  color: var(--text-main);
}

.page-blog-understanding-22-platform__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-understanding-22-platform__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-understanding-22-platform__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: 20px; /* Space below image */
}

.page-blog-understanding-22-platform__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
  letter-spacing: -0.02em;
}

.page-blog-understanding-22-platform__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-blog-understanding-22-platform__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-understanding-22-platform__btn-primary,
.page-blog-understanding-22-platform__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-understanding-22-platform__btn-primary {
  background: var(--button-gradient);
  color: var(--light-text);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-understanding-22-platform__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-blog-understanding-22-platform__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-blog-understanding-22-platform__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-3px);
}

.page-blog-understanding-22-platform__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: var(--secondary-color);
}

.page-blog-understanding-22-platform__sub-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.page-blog-understanding-22-platform__text-block p {
  margin-bottom: 20px;
  color: var(--text-main);
  font-size: 1.05rem;
}

.page-blog-understanding-22-platform__dark-bg--section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-blog-understanding-22-platform__light-text {
  color: var(--text-main);
}

.page-blog-understanding-22-platform__image-with-text {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-blog-understanding-22-platform__image-with-text--reverse {
  flex-direction: row-reverse;
}

.page-blog-understanding-22-platform__image-with-text img {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure responsiveness */
}

.page-blog-understanding-22-platform__image-with-text p {
  flex: 1;
  min-width: 300px;
  font-size: 1.1rem;
}

.page-blog-understanding-22-platform__btn-inline {
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-blog-understanding-22-platform__cta-buttons--bottom {
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-understanding-22-platform__faq-section {
  padding: 60px 20px;
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-blog-understanding-22-platform__faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
}

.page-blog-understanding-22-platform__faq-item {
  border-bottom: 1px solid var(--border-color);
}

.page-blog-understanding-22-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-blog-understanding-22-platform__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.05);
}

.page-blog-understanding-22-platform__faq-question-text {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-main);
}

.page-blog-understanding-22-platform__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-understanding-22-platform__faq-item.active .page-blog-understanding-22-platform__faq-toggle {
  transform: rotate(0deg); /* '-' is default, '+' rotates */
}

.page-blog-understanding-22-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main);
}

.page-blog-understanding-22-platform__faq-item.active .page-blog-understanding-22-platform__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 15px 20px 0;
}

.page-blog-understanding-22-platform__inline-link {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-blog-understanding-22-platform__inline-link:hover {
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-blog-understanding-22-platform__section {
    padding: 40px 15px;
  }

  .page-blog-understanding-22-platform__hero-content {
    padding: 30px 15px;
  }

  .page-blog-understanding-22-platform__main-title {
    font-size: 2rem;
  }

  .page-blog-understanding-22-platform__subtitle {
    font-size: 1rem;
  }

  .page-blog-understanding-22-platform__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-blog-understanding-22-platform__btn-primary,
  .page-blog-understanding-22-platform__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-blog-understanding-22-platform__section-title {
    font-size: 2rem;
  }

  .page-blog-understanding-22-platform__sub-section-title {
    font-size: 1.3rem;
  }

  .page-blog-understanding-22-platform__text-block p {
    font-size: 0.95rem;
  }

  .page-blog-understanding-22-platform__image-with-text {
    flex-direction: column;
    gap: 20px;
  }

  .page-blog-understanding-22-platform__image-with-text--reverse {
    flex-direction: column;
  }

  .page-blog-understanding-22-platform__image-with-text img {
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Ensure all images are responsive */
  .page-blog-understanding-22-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-understanding-22-platform__section,
  .page-blog-understanding-22-platform__card,
  .page-blog-understanding-22-platform__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-understanding-22-platform__hero-section {
    padding-top: 10px !important; /* Specific top padding */
  }

  .page-blog-understanding-22-platform__faq-question-text {
    font-size: 1rem;
  }

  .page-blog-understanding-22-platform__faq-toggle {
    font-size: 1.5rem;
  }

  .page-blog-understanding-22-platform__faq-answer {
    padding: 0 10px;
  }

  .page-blog-understanding-22-platform__faq-item.active .page-blog-understanding-22-platform__faq-answer {
    padding: 10px 10px 15px 0;
  }

}