/* style/tin-tuc.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #2a2a2a;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

/* Hero Section */
.page-tin-tuc .hero-news-section {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 60px 0;
  color: var(--text-light);
  text-align: center;
}

.page-tin-tuc .hero-news-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.page-tin-tuc .hero-news-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-tin-tuc .hero-news-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc .hero-news-content h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tin-tuc .hero-news-content p {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tin-tuc .hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-tin-tuc .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc .cta-button:hover {
  background: #ffc400;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc .secondary-button {
  background: none;
  color: var(--text-light);
  border-color: var(--text-light);
}

.page-tin-tuc .secondary-button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-tin-tuc section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-tin-tuc section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-tin-tuc h2 {
  font-size: 2.2em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-tin-tuc h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-tin-tuc section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.05em;
}

/* Latest News Grid */
.page-tin-tuc .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-tin-tuc .news-card {
  background: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-tin-tuc .news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-tin-tuc .card-content h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-tin-tuc .card-content h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc .card-content h3 a:hover {
  color: var(--secondary-color);
}

.page-tin-tuc .card-content p {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
  text-align: left;
  flex-grow: 1;
}

.page-tin-tuc .read-more {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-tin-tuc .read-more:hover {
  background-color: #ffc400;
}

/* Categories Section */
.page-tin-tuc .category-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-tin-tuc .category-list li a {
  display: block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-tin-tuc .category-list li a:hover {
  background-color: #a30000;
  transform: translateY(-3px);
}

/* Call to Action Section */
.page-tin-tuc .call-to-action-section {
  background: linear-gradient(90deg, var(--secondary-color), #a30000);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
}

.page-tin-tuc .cta-content h2 {
  color: var(--text-light);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-tin-tuc .cta-content h2::after {
  background-color: var(--primary-color);
}

.page-tin-tuc .cta-content p {
  font-size: 1.1em;
  margin-bottom: 40px;
}

.page-tin-tuc .cta-button.big-button {
  padding: 18px 45px;
  font-size: 1.2em;
  border-radius: 50px;
  background: var(--primary-color);
  color: var(--text-dark);
  border: none;
}

.page-tin-tuc .cta-button.big-button:hover {
  background: #ffc400;
}

/* FAQ Section */
.page-tin-tuc .faq-section {
  background-color: var(--background-light);
}

.page-tin-tuc .faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f0f0f0;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: var(--text-dark);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 5px 5px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 20px;
}

.faq-answer p {
  margin: 0;
  text-align: left;
  color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tin-tuc .hero-news-content h1 {
    font-size: 2.4em;
  }
  .page-tin-tuc h2 {
    font-size: 2em;
  }
  .page-tin-tuc .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-tin-tuc .hero-news-section {
    padding: 40px 0;
  }
  .page-tin-tuc .hero-news-image img {
    border-radius: 4px;
  }
  .page-tin-tuc .hero-news-content h1 {
    font-size: 2em;
  }
  .page-tin-tuc .hero-news-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-tin-tuc .hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-tin-tuc .cta-button {
    width: 80%;
    max-width: 300px;
  }
  .page-tin-tuc section {
    padding: 40px 0;
  }
  .page-tin-tuc h2 {
    font-size: 1.8em;
  }
  .page-tin-tuc section p {
    margin-bottom: 30px;
  }
  .page-tin-tuc .news-card {
    margin-bottom: 20px;
  }
  .page-tin-tuc .card-content {
    padding: 15px;
  }
  .page-tin-tuc .card-content h3 {
    font-size: 1.2em;
  }
  .page-tin-tuc .category-list {
    flex-direction: column;
    align-items: center;
  }
  .page-tin-tuc .category-list li a {
    width: 80%;
    text-align: center;
  }
  .page-tin-tuc .call-to-action-section {
    padding: 60px 0;
  }
  .page-tin-tuc .cta-content h2 {
    font-size: 2em;
  }
  .page-tin-tuc .cta-button.big-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-tin-tuc .hero-news-content h1 {
    font-size: 1.6em;
  }
  .page-tin-tuc .hero-news-content p {
    font-size: 0.9em;
  }
  .page-tin-tuc .cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
  }
  .page-tin-tuc h2 {
    font-size: 1.5em;
  }
  .page-tin-tuc .card-content h3 {
    font-size: 1.1em;
  }
  .page-tin-tuc .cta-content h2 {
    font-size: 1.8em;
  }
  .page-tin-tuc .cta-button.big-button {
    font-size: 1em;
  }
}