.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--color-deep-navy, #08162B); /* Deep Navy, from shared.css */
  line-height: 1.6;
}

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

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

.page-tin-tuc__section-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
}

.page-tin-tuc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-tin-tuc__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold */
  border: 2px solid #244D84; /* Border */
}

.page-tin-tuc__btn-secondary:hover {
  background: #1B3357; /* Divider */
  color: #F3F8FF; /* Text Main */
}

/* Hero Section */
.page-tin-tuc__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Fixed Header Spacing */
  overflow: hidden;
}

.page-tin-tuc__hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.page-tin-tuc__hero-slide {
  display: none;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  width: 100%;
  transition: opacity 0.5s ease-in-out;
}

.page-tin-tuc__hero-slide.is-active {
  display: flex;
}

.page-tin-tuc__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-tin-tuc__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-tin-tuc__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive H1 font size */
  font-weight: 900;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-tin-tuc__hero-description {
  font-size: 1.2em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-tin-tuc__hero-slider-prev,
.page-tin-tuc__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 1.5em;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.page-tin-tuc__hero-slider-prev:hover,
.page-tin-tuc__hero-slider-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.page-tin-tuc__hero-slider-prev {
  left: 20px;
}

.page-tin-tuc__hero-slider-next {
  right: 20px;
}

.page-tin-tuc__hero-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.page-tin-tuc__hero-slider-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-tin-tuc__hero-slider-dot.is-active {
  background-color: #F2C14E; /* Gold */
}

/* Guide Section */
.page-tin-tuc__guide-section {
  background-color: #10233F; /* Card BG */
  padding: 60px 0;
  text-align: center;
}

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

.page-tin-tuc__guide-card {
  flex: 0 0 calc(20% - 12px); /* 5 cards per row */
  max-width: calc(20% - 12px);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-tin-tuc__guide-card:hover {
  transform: translateY(-5px);
}

.page-tin-tuc__guide-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 250 / 350;
  border-radius: 10px;
}

/* News Section */
.page-tin-tuc__news-section {
  padding: 60px 0;
  background-color: var(--color-deep-navy, #08162B);
}

.page-tin-tuc__news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.page-tin-tuc__news-card {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__news-card:hover {
  transform: translateY(-5px);
}

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

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

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

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

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

.page-tin-tuc__news-date {
  font-size: 0.9em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
  display: block;
}

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

.page-tin-tuc__read-more-btn {
  display: inline-block;
  margin-top: auto;
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-tin-tuc__read-more-btn:hover {
  text-decoration: underline;
  color: #F2C14E; /* Gold */
}

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

/* Detail News Section (mimics home_content-box) */
.page-tin-tuc__detail-news-section {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
}

.page-tin-tuc__content-box {
  max-width: 90%;
  margin: 0 auto;
  padding: 10px 16px;
  border: 5px solid #244D84; /* Border */
  border-radius: 15px;
  box-shadow: 0 0 20px #4FA8FF; /* Glow */
  height: 700px; /* Desktop fixed height */
  background-color: #08162B; /* Deep Navy */
}

.page-tin-tuc__content-inner {
  height: 100%;
  overflow-y: auto; /* Desktop scrollable */
  padding-right: 15px; /* For scrollbar */
}

.page-tin-tuc__article h3 {
  font-size: 1.8em;
  color: #F2C14E; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-tin-tuc__article p {
  font-size: 1.05em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-tin-tuc__article-figure {
  margin: 20px 0;
  text-align: center;
}

.page-tin-tuc__article-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__article-figure figcaption {
  font-size: 0.9em;
  color: #AFC4E8; /* Text Secondary */
  margin-top: 10px;
}

/* CTA Section */
.page-tin-tuc__cta-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  text-align: center;
}

.page-tin-tuc__cta-section .page-tin-tuc__btn-primary {
  margin-top: 30px;
}

/* --- General Image & Button Responsive Styles --- */
.page-tin-tuc img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-tin-tuc__cta-button,
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tin-tuc__cta-buttons,
.page-tin-tuc__button-group,
.page-tin-tuc__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

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

  .page-tin-tuc__section-description {
    font-size: 1em;
  }

  /* 1. Top Carousel */
  .page-tin-tuc__hero-section {
    padding-top: 10px !important;
  }

  .page-tin-tuc__hero-slider-prev,
  .page-tin-tuc__hero-slider-next {
    padding: 10px;
    font-size: 1.2em;
  }

  .page-tin-tuc__hero-slider-prev {
    left: 10px;
  }

  .page-tin-tuc__hero-slider-next {
    right: 10px;
  }

  .page-tin-tuc__hero-slider-dots {
    bottom: 10px;
    gap: 5px;
  }

  .page-tin-tuc__hero-slider-dot {
    width: 8px;
    height: 8px;
  }

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

  .page-tin-tuc__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-tin-tuc__hero-description {
    font-size: 1em;
  }

  /* 2. Guide Section - 5 cards, 2 upper, 3 lower */
  .page-tin-tuc__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Basis for 2 or 3 columns */
    gap: 10px;
  }

  .page-tin-tuc__guide-card {
    padding-top: 0 !important; /* Reset desktop specific padding */
    flex: none;
    max-width: none;
  }

  .page-tin-tuc__guide-card--pos-1,
  .page-tin-tuc__guide-card--pos-2 {
    grid-column: span 3; /* Two cards occupy 3 columns each (total 6) */
  }

  .page-tin-tuc__guide-card--pos-3,
  .page-tin-tuc__guide-card--pos-4,
  .page-tin-tuc__guide-card--pos-5 {
    grid-column: span 2; /* Three cards occupy 2 columns each (total 6) */
  }

  /* 3. home_content-box (Detail News Section adapted) */
  .page-tin-tuc__content-box {
    max-width: 100% !important;
    height: auto !important; /* Mobile auto height */
    overflow-y: visible !important; /* Mobile no scroll */
    padding: 10px;
  }

  .page-tin-tuc__content-inner {
    height: auto !important;
    overflow-y: visible !important;
    padding-right: 0;
  }

  .page-tin-tuc__article h3 {
    font-size: 1.5em;
  }

  /* 4. Blog/News Card Area */
  .page-tin-tuc__news-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }

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

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

  /* 5. General Images and Buttons */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-tin-tuc__cta-buttons,
  .page-tin-tuc__button-group,
  .page-tin-tuc__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-tin-tuc__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-tin-tuc__cta-section .page-tin-tuc__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }
}