/* style/blog-cap-nhat-moi-nhat-f8bef.css */

:root {
  --f8bef-primary-color: #FF8C1A;
  --f8bef-secondary-color: #FFA53A;
  --f8bef-card-bg: #17191F;
  --f8bef-background-color: #0D0E12;
  --f8bef-text-main-color: #FFF3E6;
  --f8bef-border-color: #A84F0C;
  --f8bef-glow-color: #FFB04D;
  --f8bef-deep-orange: #D96800;
  --f8bef-button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-blog-cap-nhat-moi-nhat-f8bef {
  font-family: 'Arial', sans-serif;
  color: var(--f8bef-text-main-color); /* Body background is dark, so text is light */
  background-color: var(--f8bef-background-color);
}

/* Hero Section */
.page-blog-cap-nhat-moi-nhat-f8bef__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--f8bef-background-color);
  overflow: hidden;
}

.page-blog-cap-nhat-moi-nhat-f8bef__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-cap-nhat-moi-nhat-f8bef__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-blog-cap-nhat-moi-nhat-f8bef__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  color: var(--f8bef-text-main-color);
}

.page-blog-cap-nhat-moi-nhat-f8bef__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--f8bef-secondary-color);
}

.page-blog-cap-nhat-moi-nhat-f8bef__lead-paragraph {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--f8bef-text-main-color);
}

/* General Section Styles */
.page-blog-cap-nhat-moi-nhat-f8bef__content-section {
  padding: 60px 0;
  background-color: var(--f8bef-card-bg);
}

.page-blog-cap-nhat-moi-nhat-f8bef__dark-bg {
  background-color: var(--f8bef-background-color);
  color: var(--f8bef-text-main-color);
}

.page-blog-cap-nhat-moi-nhat-f8bef__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--f8bef-primary-color);
}

.page-blog-cap-nhat-moi-nhat-f8bef__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
  color: var(--f8bef-text-main-color);
}

/* Feature Grid */
.page-blog-cap-nhat-moi-nhat-f8bef__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__feature-item {
  background-color: var(--f8bef-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__feature-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__feature-heading {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--f8bef-secondary-color);
  padding: 0 15px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--f8bef-text-main-color);
  padding: 0 15px;
}

/* Promotion List */
.page-blog-cap-nhat-moi-nhat-f8bef__promo-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__promo-item {
  background-color: var(--f8bef-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__promo-image {
  width: 100%;
  height: 300px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__promo-heading {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--f8bef-secondary-color);
  padding: 0 15px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--f8bef-text-main-color);
  padding: 0 15px;
}

/* CTA Buttons */
.page-blog-cap-nhat-moi-nhat-f8bef__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-cap-nhat-moi-nhat-f8bef__btn-primary {
  background: var(--f8bef-button-gradient);
  color: #ffffff;
  border: 2px solid var(--f8bef-deep-orange);
}

.page-blog-cap-nhat-moi-nhat-f8bef__btn-primary:hover {
  background: var(--f8bef-deep-orange);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 132, 0, 0.4);
}

.page-blog-cap-nhat-moi-nhat-f8bef__btn-secondary {
  background-color: var(--f8bef-card-bg);
  color: var(--f8bef-secondary-color);
  border: 2px solid var(--f8bef-secondary-color);
}

.page-blog-cap-nhat-moi-nhat-f8bef__btn-secondary:hover {
  background-color: var(--f8bef-secondary-color);
  color: var(--f8bef-card-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

/* Related Articles Section */
.page-blog-cap-nhat-moi-nhat-f8bef__related-articles-section {
  padding: 60px 0;
  background-color: var(--f8bef-background-color);
}

.page-blog-cap-nhat-moi-nhat-f8bef__blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__blog-card {
  background-color: var(--f8bef-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-blog-cap-nhat-moi-nhat-f8bef__blog-card:hover {
  transform: translateY(-5px);
}

.page-blog-cap-nhat-moi-nhat-f8bef__blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-blog-cap-nhat-moi-nhat-f8bef__blog-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-blog-cap-nhat-moi-nhat-f8bef__blog-card-content {
  padding: 20px;
}

.page-blog-cap-nhat-moi-nhat-f8bef__blog-card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--f8bef-secondary-color);
}

.page-blog-cap-nhat-moi-nhat-f8bef__blog-card-meta {
  font-size: 0.9em;
  color: #aaa;
}

.page-blog-cap-nhat-moi-nhat-f8bef__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-cap-nhat-moi-nhat-f8bef__feature-grid,
  .page-blog-cap-nhat-moi-nhat-f8bef__promo-list,
  .page-blog-cap-nhat-moi-nhat-f8bef__blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__hero-content {
    padding: 30px 15px;
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__main-title {
    font-size: clamp(2em, 4vw, 2.8em);
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__section-title {
    font-size: 2em;
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__feature-image,
  .page-blog-cap-nhat-moi-nhat-f8bef__promo-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  /* General mobile container padding */
  .page-blog-cap-nhat-moi-nhat-f8bef__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsive */
  .page-blog-cap-nhat-moi-nhat-f8bef img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Hero Section */
  .page-blog-cap-nhat-moi-nhat-f8bef__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__lead-paragraph {
    font-size: 1em;
  }

  /* Feature Grid (1 column on mobile) */
  .page-blog-cap-nhat-moi-nhat-f8bef__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__feature-image {
    height: 200px; /* Adjust height for mobile */
  }

  /* Promotion List (1 column on mobile) */
  .page-blog-cap-nhat-moi-nhat-f8bef__promo-list {
    grid-template-columns: 1fr;
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__promo-image {
    height: 200px; /* Adjust height for mobile */
  }

  /* CTA Buttons */
  .page-blog-cap-nhat-moi-nhat-f8bef__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Related Articles (1 column on mobile) */
  .page-blog-cap-nhat-moi-nhat-f8bef__blog-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__blog-card-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__section-title {
    font-size: 1.8em;
  }

  .page-blog-cap-nhat-moi-nhat-f8bef__text-block {
    font-size: 0.95em;
  }
}