:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --text-main-color: #FFF5E1; /* Custom text color for dark backgrounds */
  --card-bg-color: #D32F2F;
  --background-color: #B71C1C;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;

  /* Default text color for light backgrounds (assuming body is light or cards are white) */
  --default-text-color: #333333;
  --light-bg-color: #ffffff;
  --light-border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--default-text-color); /* Default text color for the page */
  background-color: var(--site-bg, var(--light-bg-color)); /* Fallback to white if --site-bg is not defined */
}

/* Ensure text on potentially dark body background is light if needed, but for blog content, we often want light card/section backgrounds */
/* Assuming content sections will have their own lighter backgrounds for readability */
.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__content-section {
  background-color: var(--light-bg-color); /* White background for main content for readability */
  padding: 40px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__article-body {
  max-width: 900px; /* Narrower for better readability of long text */
  padding: 40px 20px;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__section-title {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__sub-title {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--deep-red-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--default-text-color);
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang strong {
  color: var(--deep-red-color);
}

/* Hero Section */
.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding for header offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover; /* Default for desktop */
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__intro-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--default-text-color);
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container takes full width for proper wrapping */
  max-width: 600px; /* Limit max width for button group */
  margin-left: auto;
  margin-right: auto;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__btn-primary,
.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__btn-secondary {
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  min-width: 180px; /* Minimum width for buttons */
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__btn-primary {
  background: var(--button-gradient);
  color: #000000; /* Black text for gold button for high contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4);
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 102, 0.6);
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__btn-secondary {
  background: var(--primary-color);
  color: var(--text-main-color); /* White text on primary red */
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(201, 31, 23, 0.4);
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--deep-red-color);
  box-shadow: 0 6px 20px rgba(201, 31, 23, 0.6);
}

/* Article Figures */
.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__article-figure {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 800px; /* Limit width for images in article body */
}

/* Call to Action Section (bottom) */
.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__call-to-action-section {
  background: var(--background-color); /* Deep red background */
  padding: 60px 20px;
  text-align: center;
  color: var(--text-main-color); /* White text for dark background */
  margin-top: 40px;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__cta-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-main-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__cta-description {
  font-size: clamp(18px, 2.5vw, 20px);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section - Details/Summary based */
.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

details.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--light-border-color);
  overflow: hidden;
  background: var(--light-bg-color);
}
details.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-item summary.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--default-text-color); /* Ensure question text is dark */
}
details.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-item summary.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-item summary.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-question:hover {
  background: #f5f5f5;
}
.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--deep-red-color); /* Use a brand color for the toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-item .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--default-text-color); /* Answer text is dark */
}
details.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-item[open] summary.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-question {
  background: #f0f0f0;
  border-bottom: 1px solid #d0d0d0;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__content-section,
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__article-body {
    padding: 30px 15px;
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__main-title {
    font-size: clamp(28px, 4.5vw, 42px);
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__intro-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__section-title {
    font-size: clamp(24px, 3.5vw, 32px);
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__sub-title {
    font-size: clamp(20px, 2.8vw, 24px);
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__cta-title {
    font-size: clamp(26px, 3.8vw, 36px);
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__cta-description {
    font-size: clamp(16px, 2.2vw, 18px);
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__btn-primary,
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__btn-secondary {
    padding: 12px 24px;
    font-size: 16px;
  }
}

@media (max-width: 849px) { /* Specific breakpoint for hero image contain */
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@media (max-width: 768px) {
  /* General content and container rules for mobile */
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__content-section,
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__article-body,
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__call-to-action-section,
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section specific for mobile */
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__hero-image-wrapper {
    margin-bottom: 15px;
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__intro-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Section Titles for mobile */
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__section-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 20px;
    text-align: center; /* Ensure titles are centered */
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__sub-title {
    font-size: clamp(18px, 5vw, 22px);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* Article body text and figures for mobile */
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang p {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  /* CTA Buttons for mobile */
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px; /* Add padding to the container */
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__btn-primary,
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    min-width: unset; /* Remove min-width for full flexibility */
  }

  /* Call to Action Section (bottom) for mobile */
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__call-to-action-section {
    padding: 40px 15px;
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__cta-title {
    font-size: clamp(22px, 6vw, 30px);
    margin-bottom: 15px;
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__cta-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* FAQ Section for mobile */
  details.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-item summary.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-question {
    padding: 15px;
  }
  .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-qtext {
    font-size: 15px;
  }
  details.page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-item .page-blog-kinh-nghiem-san-ca-lon-trong-ban-ca-vang__faq-answer {
    padding: 0 15px 15px;
  }
}