/* style/tin-tuc.css */

:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #002244;
  --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;
}

.page-tin-tuc__banner {
  background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.page-tin-tuc__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: bold;
  line-height: 1.2;
}

.page-tin-tuc__subtitle {
  font-size: 1.4em;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

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

.page-tin-tuc__section:nth-of-type(odd) {
  background-color: var(--bg-light);
}

.page-tin-tuc__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

.page-tin-tuc__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-tin-tuc__card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

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

.page-tin-tuc__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  margin: 0;
}

.page-tin-tuc__card-excerpt {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-tin-tuc__card-date {
  font-size: 0.85em;
  color: #999;
  padding: 0 20px 20px;
  display: block;
  text-align: right;
}

.page-tin-tuc__action-center {
  text-align: center;
  margin-top: 50px;
}

.page-tin-tuc__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.4);
}

.page-tin-tuc__cta-button:hover {
  background-color: #e6b800; /* Slightly darker secondary color */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 204, 0, 0.6);
}

.page-tin-tuc__list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.page-tin-tuc__list-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.page-tin-tuc__list-link {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 20px;
}

.page-tin-tuc__list-image {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  margin-right: 25px;
}

.page-tin-tuc__list-content {
  flex-grow: 1;
}

.page-tin-tuc__list-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-tin-tuc__list-excerpt {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
}

.page-tin-tuc__list-date {
  font-size: 0.8em;
  color: #999;
  display: block;
  text-align: right;
}

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

.page-tin-tuc__cta-section {
  background: var(--primary-color);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

.page-tin-tuc__cta-content {
  max-width: 900px;
}

.page-tin-tuc__cta-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tin-tuc__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-tin-tuc__cta-button--large {
  padding: 18px 45px;
  font-size: 1.25em;
  border-radius: 10px;
}

/* Responsive design */
@media (max-width: 1024px) {
  .page-tin-tuc__main-title {
    font-size: 2.8em;
  }
  .page-tin-tuc__subtitle {
    font-size: 1.3em;
  }
  .page-tin-tuc__section-title {
    font-size: 2.2em;
  }
  .page-tin-tuc__list-image {
    width: 200px;
    height: 120px;
  }
  .page-tin-tuc__list-title {
    font-size: 1.2em;
  }
  .page-tin-tuc__cta-title {
    font-size: 2.4em;
  }
  .page-tin-tuc__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-tin-tuc__banner,
  .page-tin-tuc__section,
  .page-tin-tuc__cta-section {
    padding: 40px 0;
  }
  .page-tin-tuc__main-title {
    font-size: 2.2em;
  }
  .page-tin-tuc__subtitle {
    font-size: 1.1em;
  }
  .page-tin-tuc__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-tin-tuc__grid {
    grid-template-columns: 1fr;
  }
  .page-tin-tuc__card-image {
    height: 180px;
  }
  .page-tin-tuc__list-link {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-tin-tuc__list-image {
    width: 100%;
    height: 180px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-tin-tuc__list-content {
    width: 100%;
  }
  .page-tin-tuc__list-title {
    font-size: 1.1em;
  }
  .page-tin-tuc__list-excerpt {
    font-size: 0.85em;
  }
  .page-tin-tuc__list-date {
    text-align: center;
  }
  .page-tin-tuc__cta-title {
    font-size: 2em;
  }
  .page-tin-tuc__cta-description {
    font-size: 1em;
  }
  .page-tin-tuc__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-tin-tuc__main-title {
    font-size: 1.8em;
  }
  .page-tin-tuc__subtitle {
    font-size: 1em;
  }
  .page-tin-tuc__section-title {
    font-size: 1.6em;
  }
  .page-tin-tuc__cta-title {
    font-size: 1.8em;
  }
  .page-tin-tuc__cta-description {
    font-size: 0.9em;
  }
}