/* style/blog-v7sb-chinh-thuc-platform-deep-dive.css */

/* Cài đặt chung cho trang blog-v7sb-chinh-thuc-platform-deep-dive */
.page-blog-v7sb-chinh-thuc-platform-deep-dive {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Màu chữ chính, đảm bảo tương phản tốt với nền tối */
  background-color: var(--background-color, #08160F); /* Màu nền mặc định của body */
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem); /* Sử dụng clamp cho tiêu đề H2 */
  color: var(--gold, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__numbered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__numbered-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* Hero Section */
.page-blog-v7sb-chinh-thuc-platform-deep-dive__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Đảm bảo hình ảnh ở trên, nội dung ở dưới */
  align-items: center;
  padding: 10px 0 60px; /* body đã có padding-top, đây chỉ là khoảng cách nhỏ */
  background-color: var(--deep-green, #0A4B2C); /* Nền cho khu vực hero */
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__hero-image {
  display: block;
  width: 100%;
  height: auto; /* Đảm bảo hình ảnh responsive */
  object-fit: cover;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__main-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem); /* Sử dụng clamp cho tiêu đề chính */
  color: var(--gold, #F2C14E);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__description {
  font-size: 1.3rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-blog-v7sb-chinh-thuc-platform-deep-dive__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main, #F2FFF6);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__cta-button {
  margin-top: 30px;
}

/* Content Section */
.page-blog-v7sb-chinh-thuc-platform-deep-dive__content-section {
  padding: 60px 0;
  background-color: var(--background-color, #08160F);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__dark-section {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6); /* Đảm bảo chữ sáng trên nền tối */
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__deep-green-bg {
  background-color: var(--deep-green, #0A4B2C);
  color: var(--text-main, #F2FFF6);
}

/* Feature Grid */
.page-blog-v7sb-chinh-thuc-platform-deep-dive__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__card {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-main, #F2FFF6); /* Chữ sáng trên nền tối của card */
  border: 1px solid var(--border, #2E7A4E);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__card:hover {
  transform: translateY(-5px);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__card-title {
  font-size: 1.5rem;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Product Showcase */
.page-blog-v7sb-chinh-thuc-platform-deep-dive__product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__product-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-main, #F2FFF6);
  border: 1px solid var(--border, #2E7A4E);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__product-image {
  width: 100%;
  height: 250px; /* Chiều cao cố định cho hình ảnh sản phẩm */
  object-fit: cover;
  display: block;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__product-title {
  font-size: 1.4rem;
  color: var(--gold, #F2C14E);
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__product-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  padding: 0 20px 20px;
}

/* FAQ Section */
.page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-section {
  padding: 60px 0;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main, #F2FFF6);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--gold, #F2C14E);
  background-color: var(--deep-green, #0A4B2C);
  border-bottom: 1px solid var(--border, #2E7A4E);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-question::marker {
  display: none;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-qtext {
  flex-grow: 1;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-item[open] .page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-answer {
  padding: 20px;
  font-size: 1.05rem;
  color: var(--text-secondary, #A7D9B8);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__description {
    font-size: 1.2rem;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__section-title {
    font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__card-title,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__product-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-blog-v7sb-chinh-thuc-platform-deep-dive {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__hero-section {
    padding: 10px 0 40px;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__hero-content,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__container,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__product-showcase,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__feature-grid,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__description {
    font-size: 1rem;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__text-block,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__list li,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__numbered-list li,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__product-description,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-answer {
    font-size: 0.95rem;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__btn-primary {
    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: 1rem;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__hero-image,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive__product-image,
  .page-blog-v7sb-chinh-thuc-platform-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__product-image {
    height: 200px; /* Điều chỉnh chiều cao cho mobile */
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__card {
    padding: 20px;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-blog-v7sb-chinh-thuc-platform-deep-dive__faq-answer {
    padding: 15px;
  }
}