.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff; /* Assuming body background is light/white */
}

.page-tin-tuc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Section */
.page-tin-tuc__top-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #f8f8f8;
}

.page-tin-tuc__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__intro-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-tin-tuc__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tin-tuc__btn--primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-tin-tuc__btn--primary:hover {
  background-color: #e00a0a;
  transform: translateY(-2px);
}

.page-tin-tuc__btn--secondary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-tin-tuc__btn--secondary:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-tin-tuc__section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-tin-tuc__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

.page-tin-tuc__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-tin-tuc__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808;
  border-radius: 2px;
}

.page-tin-tuc__text-block {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 25px;
  text-align: justify;
}

.page-tin-tuc__text-block a {
  color: #017439;
  text-decoration: underline;
}

.page-tin-tuc__text-block a:hover {
  color: #C30808;
}

/* News Grid */
.page-tin-tuc__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-tin-tuc__news-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-tin-tuc__news-figure {
  margin: 0;
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  overflow: hidden;
}

.page-tin-tuc__news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-tin-tuc__news-card:hover .page-tin-tuc__news-image {
  transform: scale(1.05);
}

.page-tin-tuc__news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__news-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tin-tuc__news-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__news-title a:hover {
  color: #C30808;
}

.page-tin-tuc__news-excerpt {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-tin-tuc__news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
  color: #888888;
  border-top: 1px solid #eeeeee;
  padding-top: 15px;
  margin-top: 10px;
}

.page-tin-tuc__read-more {
  color: #C30808;
  text-decoration: none;
  font-weight: 600;
}

.page-tin-tuc__read-more:hover {
  text-decoration: underline;
}

.page-tin-tuc__view-all-wrapper {
  text-align: center;
  margin-top: 20px;
}

.page-tin-tuc__btn--tertiary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-tin-tuc__btn--tertiary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Promo Updates Section */
.page-tin-tuc__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-tin-tuc__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

.page-tin-tuc__promo-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__promo-card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-tin-tuc__promo-card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tin-tuc__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* Guides and Tips Section */
.page-tin-tuc__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-tin-tuc__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-tin-tuc__guide-figure {
  margin: 0;
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  overflow: hidden;
}

.page-tin-tuc__guide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-tin-tuc__guide-title {
  font-size: 1.3em;
  font-weight: 600;
  margin: 15px 15px 10px;
  line-height: 1.3;
}

.page-tin-tuc__guide-title a {
  color: #017439;
  text-decoration: none;
}

.page-tin-tuc__guide-title a:hover {
  color: #C30808;
}

.page-tin-tuc__guide-text {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px 15px;
}

/* Community Events Section */
.page-tin-tuc__info-card {
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__dark-bg {
  background-color: #017439;
  color: #ffffff; /* Light text for dark background */
}

.page-tin-tuc__info-card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tin-tuc__info-card-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.5;
}

.page-tin-tuc__btn--white {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #ffffff;
}

.page-tin-tuc__btn--white:hover {
  background-color: #f0f0f0;
  color: #005a2e;
}

/* FAQ Section */
.page-tin-tuc__faq-list {
  margin-top: 30px;
}

.page-tin-tuc__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-tin-tuc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For <summary> tag */
}

.page-tin-tuc__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-question {
  background-color: #e6f7ed; /* Lighter green for open state */
  border-bottom: 1px solid #017439;
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-toggle {
  transform: rotate(45deg);
}

.page-tin-tuc__faq-qtext {
  flex-grow: 1;
}

.page-tin-tuc__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #C30808;
}

.page-tin-tuc__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #555555;
  background-color: #ffffff;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Conclusion Section */
.page-tin-tuc__conclusion {
  text-align: center;
  padding-bottom: 80px;
}

.page-tin-tuc__cta-bottom {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Image specific styles */
.page-tin-tuc img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tin-tuc__main-title {
    font-size: 2.8em;
  }

  .page-tin-tuc__section-title {
    font-size: 2.2em;
  }

  .page-tin-tuc__news-grid,
  .page-tin-tuc__promo-grid,
  .page-tin-tuc__guide-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-tin-tuc__news-figure,
  .page-tin-tuc__guide-figure {
    height: 180px;
  }
}

@media (max-width: 768px) {
  /* Top Section */
  .page-tin-tuc__top-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
  }

  .page-tin-tuc__main-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }

  .page-tin-tuc__intro-description {
    font-size: 1em !important;
    margin-bottom: 25px;
  }

  .page-tin-tuc__top-cta {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-tin-tuc__btn,
  .page-tin-tuc__btn--primary,
  .page-tin-tuc__btn--secondary,
  .page-tin-tuc a[class*="button"],
  .page-tin-tuc a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General Section Styling */
  .page-tin-tuc__section {
    padding: 40px 0;
  }

  .page-tin-tuc__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px;
  }

  .page-tin-tuc__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tin-tuc__text-block {
    font-size: 0.95em !important;
    text-align: left;
  }

  /* News Grid */
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-tin-tuc__news-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px; /* Constrain card width for better readability on very small screens */
  }

  .page-tin-tuc__news-figure {
    height: 200px !important;
  }

  .page-tin-tuc__news-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Promo Updates Section */
  .page-tin-tuc__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tin-tuc__promo-card {
    padding: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-tin-tuc__promo-card-title {
    font-size: 1.3em;
  }

  /* Guides and Tips Section */
  .page-tin-tuc__guide-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-tin-tuc__guide-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-tin-tuc__guide-figure {
    height: 180px !important;
  }

  .page-tin-tuc__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Community Events Section */
  .page-tin-tuc__info-card {
    padding: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-tin-tuc__info-card-title {
    font-size: 1.5em;
  }

  /* FAQ Section */
  .page-tin-tuc__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-tin-tuc__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  /* Conclusion Section */
  .page-tin-tuc__cta-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-tin-tuc__cta-bottom .page-tin-tuc__btn {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Universal image and container rules for mobile */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tin-tuc__section,
  .page-tin-tuc__card,
  .page-tin-tuc__container,
  .page-tin-tuc__news-card,
  .page-tin-tuc__promo-card,
  .page-tin-tuc__guide-card,
  .page-tin-tuc__info-card,
  .page-tin-tuc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-tin-tuc__top-cta,
  .page-tin-tuc__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
  }
}