.page-tin-tuc-chi-tiet {
  max-width: 100%;
  overflow: hidden;
  background-color: #FFFFFF;
  color: #333333;
}

/* Hero Section */
.page-tin-tuc-chi-tiet__hero-section {
  padding: 10px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background-color: #FFFFFF;
}

.page-tin-tuc-chi-tiet__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  border-radius: 12px 0 12px 0;
  overflow: hidden;
}

.page-tin-tuc-chi-tiet__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-tin-tuc-chi-tiet__hero-content {
  width: 100%;
  max-width: 1200px;
  text-align: center;
  background-color: #FFFFFF;
}

.page-tin-tuc-chi-tiet__hero-content h1 {
  color: #017439;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.2px;
  max-width: 1000px;
  margin: 0 auto 8px;
}

.page-tin-tuc-chi-tiet__hero-content p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 16px;
}

/* Buttons */
.page-tin-tuc-chi-tiet__btn-primary,
.page-tin-tuc-chi-tiet__btn-register,
.page-tin-tuc-chi-tiet__btn-login {
  display: inline-block;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.2s ease;
  text-align: center;
}

.page-tin-tuc-chi-tiet__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
}

.page-tin-tuc-chi-tiet__btn-register {
  background-color: #C30808;
  color: #FFFF00;
}

.page-tin-tuc-chi-tiet__btn-login {
  background-color: #C30808;
  color: #FFFF00;
}

.page-tin-tuc-chi-tiet__btn-primary:hover,
.page-tin-tuc-chi-tiet__btn-register:hover,
.page-tin-tuc-chi-tiet__btn-login:hover {
  opacity: 0.8;
}

/* Post Sections */
.page-tin-tuc-chi-tiet__post-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  background-color: #FFFFFF;
}

.page-tin-tuc-chi-tiet__post-section h2 {
  color: #017439;
  border-left: 6px solid #017439;
  padding-left: 14px;
  margin-top: 28px;
  margin-bottom: 6px;
}

.page-tin-tuc-chi-tiet__post-meta {
  font-size: 0.875rem;
  color: #777777;
  margin: 0 0 12px;
  font-style: italic;
}

.page-tin-tuc-chi-tiet__post-section p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.page-tin-tuc-chi-tiet__link-inline {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 16px;
  background-color: #017439;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
}

.page-tin-tuc-chi-tiet__link-inline:hover {
  opacity: 0.8;
}

/* CTA Buttons */
.page-tin-tuc-chi-tiet__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-tin-tuc-chi-tiet__cta-group a {
  flex-shrink: 0;
}

/* Guide Section */
.page-tin-tuc-chi-tiet__guide-section {
  background-color: #F8F9FA;
  margin-top: 24px;
}

.page-tin-tuc-chi-tiet__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 16px;
}

.page-tin-tuc-chi-tiet__guide-title {
  text-align: center;
  color: #017439;
  font-size: 1.6rem;
}

.page-tin-tuc-chi-tiet__guide-figure {
  margin: 20px auto;
  max-width: 800px;
}

.page-tin-tuc-chi-tiet__guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 8px;
}

.page-tin-tuc-chi-tiet__guide-list {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 20px;
  line-height: 1.8;
}

.page-tin-tuc-chi-tiet__guide-subtitle {
  color: #017439;
  margin-top: 24px;
}

/* FAQ Section */
.page-tin-tuc-chi-tiet__faq-section {
  max-width: 900px;
  margin: 20px auto 40px;
  padding: 0 16px;
}

.page-tin-tuc-chi-tiet__faq-section h2 {
  text-align: center;
  color: #017439;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.page-tin-tuc-chi-tiet__faq-item {
  border: 1px solid #C5E0D2;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #FFFFFF;
}

.page-tin-tuc-chi-tiet__faq-item summary {
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
  color: #017439;
}

.page-tin-tuc-chi-tiet__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-tin-tuc-chi-tiet__faq-item[open] summary {
  border-bottom: 1px solid #C5E0D2;
}

.page-tin-tuc-chi-tiet__faq-item p {
  padding: 10px 14px;
  margin: 0;
  line-height: 1.6;
}

/* img rules for this container */
.page-tin-tuc-chi-tiet img {
  max-width: 100%;
  height: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .page-tin-tuc-chi-tiet__hero-section {
    padding: 10px 12px 0;
  }

  .page-tin-tuc-chi-tiet__hero-content h1 {
    font-size: 1.35rem;
  }

  .page-tin-tuc-chi-tiet__hero-image {
    aspect-ratio: 2/1;
  }

  .page-tin-tuc-chi-tiet__cta-group a {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
    display: block;
    margin: 4px 0;
  }

  .page-tin-tuc-chi-tiet__guide-figure img,
  .page-tin-tuc-chi-tiet__post-section img,
  .page-tin-tuc-chi-tiet img {
    max-width: 100%;
    height: auto;
  }
}