:root {
  --main-color: #11A84E; /* Primary Green */
  --accent-color: #22C768; /* Auxiliary Green */
  --bg-primary: #08160F; /* Background */
  --card-bg: #11271B; /* Card Background */
  --text-main: #F2FFF6; /* Main Text */
  --text-secondary: #A7D9B8; /* Secondary Text */
  --border-color: #2E7A4E; /* Border */
  --glow-color: #57E38D; /* Glow */
  --gold-color: #F2C14E; /* Gold */
  --divider-color: #1E3A2A; /* Divider */
  --deep-green: #0A4B2C; /* Deep Green */
}

.page-blog-sodo369-nha-cai-deep-dive {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color, will be #F2FFF6 */
  background-color: var(--bg-primary); /* Default background color, will be #08160F */
}

/* Hero Section */
.page-blog-sodo369-nha-cai-deep-dive__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above text in DOM order */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden; /* Prevent content overflow */
  background-color: var(--bg-primary);
}

.page-blog-sodo369-nha-cai-deep-dive__hero-image {
  width: 100%;
  max-width: 1920px; /* Requested generation size */
  height: auto;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text content */
  border-radius: 10px;
}

.page-blog-sodo369-nha-cai-deep-dive__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-sodo369-nha-cai-deep-dive__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  color: var(--gold-color); /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-blog-sodo369-nha-cai-deep-dive__intro-text {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text-secondary); /* Secondary text color */
  margin-bottom: 30px;
}

/* CTA Button - Primary */
.page-blog-sodo369-nha-cai-deep-dive__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff; /* White text for button */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button fits container */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-blog-sodo369-nha-cai-deep-dive__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-blog-sodo369-nha-cai-deep-dive__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

/* Video Section */
.page-blog-sodo369-nha-cai-deep-dive__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--divider-color);
}

.page-blog-sodo369-nha-cai-deep-dive__video-container {
  width: 100%; /* Desktop: width: 100% and max-width */
  max-width: 1280px; /* Max width for video */
  margin: 0 auto;
  box-sizing: border-box;
  position: relative; 
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio (height / width * 100%) */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-sodo369-nha-cai-deep-dive__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer; /* To indicate it's clickable */
}

/* General Section Styling */
.page-blog-sodo369-nha-cai-deep-dive__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: var(--bg-primary); /* Ensure consistent background */
  border-bottom: 1px solid var(--divider-color); /* Divider between sections */
}

.page-blog-sodo369-nha-cai-deep-dive__section:last-of-type {
  border-bottom: none;
}

.page-blog-sodo369-nha-cai-deep-dive__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog-sodo369-nha-cai-deep-dive__subsection-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-sodo369-nha-cai-deep-dive__text-block p,
.page-blog-sodo369-nha-cai-deep-dive__text-block li {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-blog-sodo369-nha-cai-deep-dive__text-block ul,
.page-blog-sodo369-nha-cai-deep-dive__text-block ol {
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-blog-sodo369-nha-cai-deep-dive__text-block ul li,
.page-blog-sodo369-nha-cai-deep-dive__text-block ol li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.page-blog-sodo369-nha-cai-deep-dive__text-block ol li {
  list-style-type: decimal;
}

/* Images within sections */
.page-blog-sodo369-nha-cai-deep-dive__section-image,
.page-blog-sodo369-nha-cai-deep-dive__content-image {
  width: 100%;
  height: auto;
  max-width: 1000px; /* Recommended content image size */
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* FAQ Section */
.page-blog-sodo369-nha-cai-deep-dive__faq-section {
  background-color: var(--bg-primary);
}

.page-blog-sodo369-nha-cai-deep-dive__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-sodo369-nha-cai-deep-dive__faq-item {
  background-color: var(--card-bg); /* Card background color */
  border: 1px solid var(--border-color); /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-sodo369-nha-cai-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green); /* Deep Green for FAQ question background */
  border-radius: 8px;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-sodo369-nha-cai-deep-dive__faq-question:hover {
  background-color: var(--main-color); /* Main color on hover */
}

.page-blog-sodo369-nha-cai-deep-dive__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-sodo369-nha-cai-deep-dive__faq-qtext {
  flex-grow: 1;
}

.page-blog-sodo369-nha-cai-deep-dive__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-blog-sodo369-nha-cai-deep-dive__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
}

/* Conclusion Section */
.page-blog-sodo369-nha-cai-deep-dive__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Contrast Fixes - Ensure text on dark backgrounds is light */
.page-blog-sodo369-nha-cai-deep-dive__dark-bg {
  color: #ffffff; /* Deep Green for FAQ question background */
  background: var(--deep-green);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-blog-sodo369-nha-cai-deep-dive {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-sodo369-nha-cai-deep-dive__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-blog-sodo369-nha-cai-deep-dive__main-title {
    font-size: 2rem;
  }

  .page-blog-sodo369-nha-cai-deep-dive__intro-text {
    font-size: 1rem;
  }

  .page-blog-sodo369-nha-cai-deep-dive__cta-button,
  .page-blog-sodo369-nha-cai-deep-dive__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px !important; /* Adjust padding for smaller screens */
    font-size: 1rem !important;
  }
  
  .page-blog-sodo369-nha-cai-deep-dive__video-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for video section */
  }

  .page-blog-sodo369-nha-cai-deep-dive__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important; 
    padding-right: 0 !important;
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }

  .page-blog-sodo369-nha-cai-deep-dive__video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important; /* Keep height 100% of container */
    display: block !important;
  }

  .page-blog-sodo369-nha-cai-deep-dive__section {
    padding: 40px 15px;
  }

  .page-blog-sodo369-nha-cai-deep-dive__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-sodo369-nha-cai-deep-dive__subsection-title {
    font-size: 1.2rem;
  }

  .page-blog-sodo369-nha-cai-deep-dive__section-image,
  .page-blog-sodo369-nha-cai-deep-dive__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-blog-sodo369-nha-cai-deep-dive__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  
  .page-blog-sodo369-nha-cai-deep-dive__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure containers with images/buttons also adapt */
  .page-blog-sodo369-nha-cai-deep-dive__hero-content,
  .page-blog-sodo369-nha-cai-deep-dive__text-block,
  .page-blog-sodo369-nha-cai-deep-dive__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}