/* ===== Blog page styles (vao bong) ===== */
.page-blog {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

/* Hero banner - top area with image and content */
.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  padding: 10px 16px 0;
  background: linear-gradient(135deg, #ffffff 0%, #e6f7ff 100%);
  border-bottom: 1px solid #b3e0ff;
}
.page-blog__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1020 / 300;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.page-blog__hero-content {
  max-width: 800px;
  margin: 24px auto 20px;
  text-align: center;
}
.page-blog__hero-title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #000000;
  margin-bottom: 12px;
}
.page-blog__hero-subtitle {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 24px;
}
.page-blog__hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Button styling */
.page-blog__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.page-blog__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.page-blog__btn--primary {
  background-color: #26A9E0;
  color: #ffffff;
}
.page-blog__btn--secondary {
  background-color: #ffffff;
  border: 2px solid #26A9E0;
  color: #0477db;
}
.page-blog__btn--secondary:hover {
  background-color: #f0f9ff;
}

/* Logo partner section */
.page-blog__featured-logo {
  padding: 40px 16px;
}
.page-blog__section-title-wrap {
  text-align: center;
  margin-bottom: 36px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.page-blog__section-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
}
.page-blog__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
  justify-items: center;
  padding: 0 20px;
}
.page-blog__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 240px;
  text-align: center;
}
.page-blog__logo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  transition: box-shadow .2s ease;
}
.page-blog__logo-image:hover {
  box-shadow: 0 4px 12px rgba(38, 169, 224, 0.3);
}
.page-blog__logo-cta {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color .2s ease;
}
.page-blog__logo-cta:hover {
  background-color: #0477db;
}

/* Items 5 and 6 span to make 4+2 layout */
.page-blog__logo-item:nth-child(5) {
  grid-column: 2;
}
.page-blog__logo-item:nth-child(6) {
  grid-column: 3;
}

/* Guide content section */
.page-blog__guide-section {
  background-color: #f9fcff;
  border-top: 1px solid #b3e0ff;
}
.page-blog__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 20px;
}
.page-blog__guide-title {
  text-align: center;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  color: #0477db;
  margin-bottom: 12px;
  font-weight: 700;
}
.page-blog__guide-subtitle {
  font-size: 1.3rem;
  margin: 30px 0 12px;
  color: #0477db;
}
.page-blog p {
  margin-bottom: 16px;
  color: #444444;
}

/* Article cards */
.page-blog__post-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 32px 0;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #dddddd;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.page-blog__post-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.page-blog__post-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  flex: 1 1 300px;
}
.page-blog__post-body {
  flex: 1 1 320px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-blog__post-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.page-blog__post-title a {
  color: #0477db;
  text-decoration: none;
}
.page-blog__post-title a:hover {
  text-decoration: underline;
}
.page-blog__post-excerpt {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.page-blog__read-more {
  color: #26A9E0;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}
.page-blog__read-more:hover {
  color: #0477db;
  text-decoration: underline;
}

/* Figure */
.page-blog__guide-figure {
  margin: 40px 0;
  text-align: center;
}
.page-blog__guide-figure img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 8px;
  width: 100%;
}
.page-blog__guide-figure figcaption {
  font-style: italic;
  color: #666666;
  margin-top: 8px;
  font-size: 0.9rem;
}

/* FAQ dropdown */
.page-blog__dropdown-item {
  border-bottom: 1px solid #e6e6e6;
  padding: 10px 0;
}
.page-blog__dropdown-item:first-child {
  border-top: 1px solid #e6e6e6;
}
.page-blog__dropdown-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #333333;
  padding: 8px 4px;
  list-style: none;
}
.page-blog__dropdown-item summary::-webkit-details-marker {
  display: none;
}
.page-blog__faq-icon {
  font-size: 1.6rem;
  font-weight: 300;
  color: #26A9E0;
  line-height: 1;
  margin-left: 12px;
}
.page-blog__dropdown-item[open] .page-blog__faq-icon {
  content: "−";
}
.page-blog__faq-content {
  padding: 0 8px 16px 8px;
  color: #444444;
}

/* Callout box */
.page-blog__callout {
  margin: 40px 0 20px;
  padding: 24px;
  background: #eef9ff;
  border-left: 4px solid #26A9E0;
  border-radius: 0 8px 8px 0;
}
.page-blog__callout p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.page-blog__callout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.page-blog__callout a {
  color: #0477db;
}
.page-blog__callout a:visited {
  color: #555;
}

/* === Responsive styles === */
@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 8px 12px 0;
  }
  .page-blog__hero-image {
    aspect-ratio: 16 / 9;
  }
  .page-blog__hero-title {
    font-size: 1.3rem;
  }
  .page-blog__hero-subtitle {
    font-size: 0.95rem;
  }
  .page-blog__hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
  }
  .page-blog__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
    padding: 0 10px;
  }
  .page-blog__logo-item:nth-child(5), .page-blog__logo-item:nth-child(6) {
    grid-column: auto;
  }
  .page-blog__guide-inner {
    padding: 24px 12px;
  }
  .page-blog__guide-title {
    font-size: 1.2rem;
  }
  .page-blog__guide-subtitle {
    font-size: 1.1rem;
  }
  .page-blog__post-card {
    flex-direction: column;
  }
  .page-blog__post-body {
    padding: 16px;
  }
  .page-blog__post-title {
    font-size: 1.1rem;
  }
  .page-blog__callout-actions {
    flex-direction: column;
  }
  .page-blog__btn {
    width: 100%;
    max-width: 100%;
  }

  .page-blog img {
    max-width: 100%;
    height: auto;
  }

  .page-blog__dropdown-item summary {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-blog__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .page-blog__logo-image {
    aspect-ratio: auto;
  }
  .page-blog__post-image {
    aspect-ratio: 3 / 2;
  }
  .page-blog__guide-figure img {
    aspect-ratio: 3 / 2;
  }
}