/* Base styles for the Tin Tức page */
.page-tin-tuc {
  font-family: Arial, sans-serif;
  color: #333333; /* Text Main */
  background: #F5F7FA; /* General background */
  line-height: 1.6;
}

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

.page-tin-tuc__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #E53935; /* Main color for emphasis */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

/* Hero Section */
.page-tin-tuc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 40px;
  background-color: #f5f7fa; /* Light background to prevent contrast issues */
}

.page-tin-tuc__hero-image {
  width: 100%;
  height: 600px; /* Fixed height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-tin-tuc__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop, will change to contain for mobile */
  display: block;
}

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

.page-tin-tuc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* H1 font size with clamp */
  color: #E53935;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-tin-tuc__intro-text {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
}

.page-tin-tuc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary,
.page-tin-tuc__read-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  text-align: center;
}

.page-tin-tuc__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

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

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

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

/* Latest Articles Section */
.page-tin-tuc__latest-articles-section {
  padding: 60px 0;
  background: #F5F7FA; /* Background */
}

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

.page-tin-tuc__article-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tin-tuc__article-image {
  width: 100%;
  height: 220px; /* Fixed height for article images */
  overflow: hidden;
}

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

.page-tin-tuc__article-meta {
  font-size: 14px;
  color: #666666;
  padding: 15px 20px 0;
}

.page-tin-tuc__article-title {
  font-size: 20px;
  font-weight: bold;
  padding: 10px 20px 0;
  margin-bottom: 10px;
}