/* General page styling */
.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: var(--background-color, #f5f5f5); /* Fallback to light gray if var not defined */
}

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

.page-tin-tuc__section {
  padding: 60px 0;
}

.page-tin-tuc__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #26A9E0; /* Brand color for main titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tin-tuc__section-description {
  font-size: 18px;
  color: #555555;
  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: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-tin-tuc__btn-primary {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-tin-tuc__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

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

.page-tin-tuc__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87c0;
  border-color: #1e87c0;
}

/* Hero Section */
.page-tin-tuc__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-tin-tuc__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop hero image */
  overflow: hidden;
}

.page-tin-tuc__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area */
  display: block;
}

.page-tin-tuc__hero-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background-color: #FFFFFF; /* Explicitly white for contrast */
}

.page-tin-tuc__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 800;
  color: #000000; /* Dark text for contrast */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tin-tuc__hero-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
}

.page-tin-tuc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  width: 100%; /* For button containers */
  max-width: 100%; /* For button containers */
  box-sizing: border-box;
  overflow: hidden;
}

/* Latest News Section */
.page-tin-tuc__latest-news {
  background-color: #f9f9f9;
}

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

.page-tin-tuc__news-card {
  background: #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 8px 25px rgba(0, 0, 0, 0.12);
}

.page-tin-tuc__card-image-wrapper {
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  overflow: hidden;
}

.page-tin-tuc__card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-tin-tuc__card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.page-tin-tuc__card-title a:hover {
  color: #26A9E0;
}

.page-tin-tuc__card-meta {
  font-size: 14px;
  color: #888888;
  margin-bottom: 15px;
}

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

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

.page-tin-tuc__read-more:hover {
  color: #1e87c0;
  text-decoration: underline;
}

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

/* In-depth Analysis Section */
.page-tin-tuc__in-depth-analysis {
  background: #26A9E0; /* Brand color background */
  color: #FFFFFF;
}

.page-tin-tuc__in-depth-analysis .page-tin-tuc__section-title,
.page-tin-tuc__in-depth-analysis .page-tin-tuc__section-description {
  color: #FFFFFF;
}

.page-tin-tuc__in-depth-analysis .page-tin-tuc__content-area p {
  color: #f0f0f0; /* Lighter text for dark background */
  margin-bottom: 15px;
  font-size: 16px;
}

.page-tin-tuc__in-depth-analysis .page-tin-tuc__content-area a {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 600;
}

.page-tin-tuc__in-depth-analysis .page-tin-tuc__content-area a:hover {
  color: #e0f2f7;
}

/* Content Grid (for image and text blocks) */
.page-tin-tuc__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-tin-tuc__text-block {
  flex: 2;
}

.page-tin-tuc__image-block {
  flex: 1;
  min-width: 300px;
}

.page-tin-tuc__feature-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Why Vvvvwin News Section */
.page-tin-tuc__why-vvvvwin-news {
  background-color: #FFFFFF;
}

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