/* Base styles and color scheme */
.page-tin-tuc {
  background-color: #B71C1C; /* Custom Background */
  color: #FFF5E1; /* Custom Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-tin-tuc__section-title {
  font-size: 2.5em;
  color: #FFCC66; /* Custom Glow */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-tin-tuc__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #FFF5E1; /* Custom Text Main */
}

/* Hero Section */
.page-tin-tuc__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 50px;
}

.page-tin-tuc__hero-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-tin-tuc__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
}

.page-tin-tuc__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #F4D34D; /* Custom Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tin-tuc__hero-description {
  font-size: 1.2em;
  color: #FFF5E1; /* Custom Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom Button */
  color: #7A0E0E; /* Deep Red for contrast on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* News Introduction Section */
.page-tin-tuc__news-intro-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Custom Background */
}

.page-tin-tuc__news-intro-section .page-tin-tuc__section-description {
  text-align: left;
  margin-bottom: 20px;
  max-width: 100%;
  padding: 0 20px;
  color: #FFF5E1; /* Custom Text Main */
}

/* Latest News Section */
.page-tin-tuc__latest-news-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Custom Deep Red for contrast */
}

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

.page-tin-tuc__news-card {
  background-color: #D32F2F; /* Custom Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  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 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-tin-tuc__news-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-tin-tuc__news-title a {
  color: #F4D34D; /* Custom Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__news-title a:hover {
  color: #FFCC66; /* Custom Glow */
}

.page-tin-tuc__news-meta {
  font-size: 0.9em;
  color: rgba(255, 245, 225, 0.7); /* Lighter version of Text Main */
  margin-bottom: 15px;
}

.page-tin-tuc__news-excerpt {
  font-size: 1em;
  color: #FFF5E1; /* Custom Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tin-tuc__read-more-button {
  display: inline-block;
  background: #C91F17; /* Main Color */
  color: #FFF5E1; /* Custom Text Main */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-tin-tuc__read-more-button:hover {
  background-color: #E53935; /* Auxiliary Color */
}

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

/* Call to Action Section */
.page-tin-tuc__cta-section {
  padding: 80px 0;
  background-color: #B71C1C; /* Custom Background */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-tin-tuc__cta-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-tin-tuc__cta-content .page-tin-tuc__section-title {
  color: #F4D34D; /* Custom Gold */
}

.page-tin-tuc__cta-content .page-tin-tuc__section-description {
  color: #FFF5E1; /* Custom Text Main */
}

.page-tin-tuc__cta-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-tin-tuc__cta-button--secondary {
  background: #FFF5E1; /* Custom Text Main for secondary button background */
  color: #C91F17; /* Main Color for secondary button text */
  border: 2px solid #C91F17;
}

.page-tin-tuc__cta-button--secondary:hover {
  background-color: #F4D34D; /* Custom Gold */
  color: #7A0E0E; /* Custom Deep Red */
}

.page-tin-tuc__cta-image {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-tin-tuc {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-tin-tuc__container {
    padding: 0 15px;
  }

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

  .page-tin-tuc__hero-section {
    padding-bottom: 30px;
  }

  .page-tin-tuc__hero-image {
    max-height: 300px;
  }

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

  .page-tin-tuc__hero-content {
    padding: 20px 15px;
  }

  .page-tin-tuc__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-tin-tuc__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-tin-tuc__news-card {
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-tin-tuc__news-image-wrapper {
    height: 180px;
  }

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

  .page-tin-tuc__news-content {
    padding: 20px;
  }

  .page-tin-tuc__news-title {
    font-size: 1.2em;
  }

  .page-tin-tuc__news-excerpt {
    font-size: 0.95em;
  }

  /* CTA Section */
  .page-tin-tuc__cta-section {
    padding: 50px 0;
  }

  .page-tin-tuc__cta-buttons-wrapper {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-tin-tuc__cta-button,
  .page-tin-tuc__cta-button--secondary {
    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;
  }

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

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

  /* General image and container responsiveness */
  .page-tin-tuc img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tin-tuc__section,
  .page-tin-tuc__card,
  .page-tin-tuc__container,
  .page-tin-tuc__news-image-wrapper,
  .page-tin-tuc__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}