/* style/blog-cap-nhat-tin-tuc-da-ga-moi-nhat.css */

:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --text-main-color: #1F2D3D;
  --text-dark-color: #000000;
  --background-card: #FFFFFF;
  --background-page: #F4F7FB;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--background-page);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* HERO Section (Title & Intro) */
.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-section {
  padding-top: 10px; /* Small top padding, relying on shared body padding */
  padding-bottom: 60px;
  background-color: var(--background-page);
  color: var(--text-main-color);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 40px 0;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__main-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark-color);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-image-wrapper {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* News List Section */
.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-list-section {
  padding: 60px 0;
  background-color: var(--background-card);
  color: var(--text-main-color);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark-color);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__section-title--white {
  color: #ffffff;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__section-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main-color);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__section-description--white {
  color: rgba(255, 255, 255, 0.9);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card {
  background-color: var(--background-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card-date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--text-dark-color);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card-title a:hover {
  color: var(--primary-color);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card-summary {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__read-more-btn:hover {
  background: var(--primary-color);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__view-all-wrapper {
  text-align: center;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__view-all-btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__view-all-btn:hover {
  opacity: 0.9;
}

/* CTA Section */
.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  text-align: center;
  color: #ffffff;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__btn-primary,
.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat a[class*="button"].page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__btn-primary:hover,
.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat a[class*="button"].page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__btn-secondary,
.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat a[class*="button"].page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--background-card);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__btn-secondary:hover,
.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat a[class*="button"].page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-section {
  padding: 60px 0;
  background-color: var(--background-page);
  color: var(--text-main-color);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-list {
  margin-top: 40px;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-item {
  background-color: var(--background-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark-color);
  transition: background-color 0.3s ease;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-item summary:hover {
  background-color: #f9f9f9;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-qtext {
  flex-grow: 1;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-item[open] .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-main-color);
}

/* General Image styles */
.page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__main-title {
    font-size: 2.5em;
  }
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__section-title {
    font-size: 2em;
  }
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-content {
    order: 2;
  }
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-image-wrapper {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat {
    font-size: 15px;
  }
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-container {
    padding: 30px 0;
  }
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-list-section,
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__cta-section,
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-section {
    padding: 40px 0;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card-image {
    height: 180px;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card-content {
    padding: 20px;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__news-card-title {
    font-size: 1.2em;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__read-more-btn {
    padding: 8px 16px;
    font-size: 0.9em;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__view-all-btn {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 16px;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__btn-primary,
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__btn-secondary,
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat a[class*="button"],
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat a[class*="btn"] {
    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;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-item summary {
    font-size: 1em;
    padding: 18px 20px;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__faq-answer {
    padding: 0 20px 18px;
  }

  /* General image and container responsive styles */
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__section,
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__card,
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-cap-nhat-tin-tuc-da-ga-moi-nhat__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}