.page-tin-tuc {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-tin-tuc__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Fixed header spacing */
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-tin-tuc__hero-slider {
  position: relative;
  width: 100%;
  max-width: 1020px; /* Max width for the slider based on recommended image size */
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

.page-tin-tuc__hero-slide {
  display: none;
  width: 100%;
}

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

.page-tin-tuc__hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-tin-tuc__hero-slider-prev,
.page-tin-tuc__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(242, 193, 78, 0.7);
  border: none;
  color: #111111;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.page-tin-tuc__hero-slider-prev:hover,
.page-tin-tuc__hero-slider-next:hover {
  background-color: #F2C14E;
}

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

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

.page-tin-tuc__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.page-tin-tuc__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-tin-tuc__intro-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-tin-tuc__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
}

.page-tin-tuc__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-tin-tuc__btn-secondary {
  background: #111111;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  margin-left: 15px;
}

.page-tin-tuc__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__section-title {
  font-size: 2.2em;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 15px;
  margin-top: 40px;
  font-weight: bold;
}

.page-tin-tuc__section-description {
  font-size: 1em;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-tin-tuc__news-categories-section {
  padding: 50px 0;
  background-color: #0A0A0A;
}

.page-tin-tuc__guide-box {
  padding: 16px 20px 24px;
  background-color: #111111;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

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

.page-tin-tuc__guide-card {
  flex: 0 0 calc(20% - 12px);
  max-width: calc(20% - 12px);
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc__guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.4);
}

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

.page-tin-tuc__guide-card--pos-1 { padding-top: 50px; }
.page-tin-tuc__guide-card--pos-2 { padding-top: 25px; }
.page-tin-tuc__guide-card--pos-3 { padding-top: 0; }
.page-tin-tuc__guide-card--pos-4 { padding-top: 25px; }
.page-tin-tuc__guide-card--pos-5 { padding-top: 50px; }

.page-tin-tuc__featured-article-section {
  padding: 50px 0;
  background-color: #0A0A0A;
}

.page-tin-tuc__home-content-box {
  max-width: 91%;
  margin: 0 auto;
  padding: 10px 16px;
  border: 5px solid #3A2A12;
  border-radius: 15px;
  box-shadow: 0 0 20px #FFD36B;
  height: 700px;
  background-color: #111111;
  color: #FFF6D6;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-tin-tuc__home-content-inner::-webkit-scrollbar {
  width: 8px;
}

.page-tin-tuc__home-content-inner::-webkit-scrollbar-track {
  background: #3A2A12;
  border-radius: 10px;
}

.page-tin-tuc__home-content-inner::-webkit-scrollbar-thumb {
  background: #FFD36B;
  border-radius: 10px;
}

.page-tin-tuc__article-content h3 {
  font-size: 1.8em;
  color: #F2C14E;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tin-tuc__article-content p,
.page-tin-tuc__article-content li {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-tin-tuc__article-content ul,
.page-tin-tuc__article-content ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-tin-tuc__article-content li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.page-tin-tuc__article-content ol li {
  list-style-type: decimal;
}

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

.page-tin-tuc__article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  width: 800px; /* Display width for article images */
  height: 400px;
  object-fit: cover;
}

.page-tin-tuc__article-image figcaption {
  font-size: 0.9em;
  color: #F2C14E;
  margin-top: 10px;
}

.page-tin-tuc__article-cta {
  margin-top: 30px;
  text-align: center;
}

.page-tin-tuc__latest-news-section {
  padding: 50px 0;
  background-color: #0A0A0A;
}

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

.page-tin-tuc__blog-card {
  background-color: #111111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-tin-tuc__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(242, 193, 78, 0.6);
}

.page-tin-tuc__blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-tin-tuc__blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for blog card images */
  object-fit: cover;
  display: block;
}

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

.page-tin-tuc__blog-card-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: bold;
}

.page-tin-tuc__blog-card-meta {
  font-size: 0.9em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-tin-tuc__blog-card-excerpt {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-tin-tuc__read-more {
  display: inline-block;
  color: #FFD36B;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc__read-more:hover {
  color: #F2C14E;
}

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

.page-tin-tuc__cta-bottom-section {
  padding: 60px 0;
  background-color: #111111;
  text-align: center;
  border-top: 1px solid #3A2A12;
}

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

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

/* Media Queries for Mobile */
@media (max-width: 1024px) {
  .page-tin-tuc__hero-slider-prev,
  .page-tin-tuc__hero-slider-next {
    font-size: 20px;
    padding: 8px 12px;
  }
  .page-tin-tuc__main-title {
    font-size: 2.2em;
  }
  .page-tin-tuc__intro-text {
    font-size: 1em;
  }
  .page-tin-tuc__section-title {
    font-size: 1.8em;
  }
  .page-tin-tuc__guide-card {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
  }
  .page-tin-tuc__blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-tin-tuc {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-tin-tuc__container {
    padding: 15px;
  }
  .page-tin-tuc__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding for hero section */
  }
  .page-tin-tuc__hero-content {
    padding: 20px 15px;
  }
  .page-tin-tuc__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-tin-tuc__intro-text {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-tin-tuc__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-left: 0 !important;
  }
  .page-tin-tuc__btn-secondary {
    margin-top: 10px;
  }
  .page-tin-tuc__section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .page-tin-tuc__section-description {
    font-size: 0.9em;
    margin-bottom: 20px;
  }

  /* Guide Box / 5 Team Cards (News Categories) */
  .page-tin-tuc__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .page-tin-tuc__guide-card {
    padding-top: 0 !important; /* Reset specific padding */
    flex: auto;
    max-width: 100%;
    border-radius: 8px;
  }
  .page-tin-tuc__guide-card--pos-1,
  .page-tin-tuc__guide-card--pos-2 {
    grid-column: span 3; /* Top two cards span 3 columns each */
  }
  .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; /* Bottom three cards span 2 columns each */
  }
  .page-tin-tuc__guide-card img {
    aspect-ratio: 250 / 350;
    object-fit: cover;
    width: 100%;
    height: auto;
  }

  /* Home Content Box (Featured Article) */
  .page-tin-tuc__home-content-box {
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding: 15px;
  }
  .page-tin-tuc__home-content-inner {
    height: auto !important;
    overflow: visible !important;
    padding-right: 0; /* Remove scrollbar padding */
  }
  .page-tin-tuc__article-content h3 {
    font-size: 1.5em;
  }
  .page-tin-tuc__article-content p,
  .page-tin-tuc__article-content li {
    font-size: 0.95em;
  }

  /* Blog Grid (Latest News) */
  .page-tin-tuc__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-tin-tuc__blog-card img {
    
  }
  .page-tin-tuc__blog-card-title {
    font-size: 1.2em;
  }

  /* Generic Images and Buttons */
  .page-tin-tuc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-tin-tuc__cta-buttons-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .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;
  }
}