/* ── Hero ──────────────────────────────────────────────────── */
.cmh-blog-hero {
  background: linear-gradient(135deg, #292962 0%, #1a1a4d 55%, #1a6fa8 100%);
  padding: 72px 0 64px;
  text-align: center;
  color: #fff;
}
.cmh-blog-hero__badge {
  display: inline-block;
  background: rgba(47,190,246,.15);
  color: #2fbef6;
  border: 1px solid rgba(47,190,246,.35);
  border-radius: 50px;
  padding: 4px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cmh-blog-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.2;
}
.cmh-blog-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Listing section ───────────────────────────────────────── */
.cmh-blog-listing {
  padding: 64px 0 88px;
  background: #f4f6fb;
}

/* ── Tag pill ──────────────────────────────────────────────── */
.cmh-blog-tag {
  display: inline-block;
  background: rgba(47,190,246,.12);
  color: #0284c7;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 50px;
}

/* ── Featured post ─────────────────────────────────────────── */
.cmh-blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(41,41,98,.10);
  margin-bottom: 52px;
  transition: box-shadow .3s ease, transform .3s ease;
}
.cmh-blog-featured:hover {
  box-shadow: 0 14px 48px rgba(41,41,98,.17);
  transform: translateY(-4px);
}
.cmh-blog-featured__img-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 360px;
}
.cmh-blog-featured__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.cmh-blog-featured:hover .cmh-blog-featured__img-wrap img {
  transform: scale(1.05);
}
.cmh-blog-featured__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #2fbef6;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(47,190,246,.4);
}
.cmh-blog-featured__body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.cmh-blog-featured__title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 12px 0 18px;
}
.cmh-blog-featured__title a {
  color: #292962;
  text-decoration: none;
  transition: color .2s;
}
.cmh-blog-featured__title a:hover { color: #2fbef6; }
.cmh-blog-featured__excerpt {
  color: #6b7280;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 32px;
}
.cmh-blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #292962;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 10px;
  text-decoration: none;
  width: fit-content;
  transition: background .25s ease, transform .25s ease, gap .25s ease;
}
.cmh-blog-cta:hover {
  background: #2fbef6;
  color: #fff;
  gap: 12px;
  transform: translateX(3px);
}

/* ── Card grid ─────────────────────────────────────────────── */
.cmh-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Card ──────────────────────────────────────────────────── */
.cmh-blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(41,41,98,.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}
.cmh-blog-card:hover {
  box-shadow: 0 10px 36px rgba(41,41,98,.14);
  transform: translateY(-5px);
}
.cmh-blog-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.cmh-blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cmh-blog-card:hover .cmh-blog-card__img-wrap img {
  transform: scale(1.07);
}
.cmh-blog-card__body {
  padding: 22px 22px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cmh-blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 10px 0 10px;
}
.cmh-blog-card__title a {
  color: #292962;
  text-decoration: none;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cmh-blog-card__title a:hover { color: #2fbef6; }
.cmh-blog-card__excerpt {
  color: #6b7280;
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cmh-blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #292962;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  border-top: 1px solid #eff0f7;
  padding: 14px 0;
  margin-top: 16px;
  transition: color .2s, gap .2s;
}
.cmh-blog-card__link:hover {
  color: #2fbef6;
  gap: 10px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
  .cmh-blog-featured {
    grid-template-columns: 1fr;
  }
  .cmh-blog-featured__img-wrap {
    min-height: 260px;
  }
  .cmh-blog-featured__body {
    padding: 32px 30px;
  }
  .cmh-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .cmh-blog-hero { padding: 52px 0 46px; }
  .cmh-blog-grid { grid-template-columns: 1fr; }
  .cmh-blog-featured__body { padding: 24px 20px; }
  .cmh-blog-featured__title { font-size: 1.35rem; }
}

/* ════════════════════════════════════════════════════════════
   BLOG DETAIL PAGE
   ════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ──────────────────────────────────────────── */
.cmh-breadcrumb {
  background: #f4f6fb;
  border-bottom: 1px solid #e8eaf2;
  padding: 12px 0;
}
.cmh-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .85rem;
}
.cmh-breadcrumb__list li { display: flex; align-items: center; gap: 6px; }
.cmh-breadcrumb__list li:not(:last-child)::after {
  content: '/';
  color: #b0b8cc;
}
.cmh-breadcrumb__list a {
  color: #292962;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.cmh-breadcrumb__list a:hover { color: #2fbef6; }
.cmh-breadcrumb__current {
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

/* ── Article section ─────────────────────────────────────── */
.cmh-article-section {
  padding: 52px 0 80px;
  background: #f4f6fb;
}

/* ── Article card ────────────────────────────────────────── */
.cmh-article {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(41,41,98,.08);
  padding-bottom: 36px;
}

/* Hero image */
.cmh-article__hero {
  width: 100%;
  max-height: 460px;
  overflow: hidden;
}
.cmh-article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Meta bar */
.cmh-article__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 36px 0;
}
.cmh-article__share {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: #9ca3af;
  font-weight: 600;
}
.cmh-article__share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f2fa;
  color: #292962;
  font-size: .85rem;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.cmh-article__share a:hover {
  background: #292962;
  color: #fff;
  transform: translateY(-2px);
}

/* Title */
.cmh-article__title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #1a1a4d;
  line-height: 1.3;
  margin: 20px 36px 28px;
}

/* Body content typography */
.cmh-article__content {
  padding: 0 36px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #374151;
}
.cmh-article__content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a1a4d;
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid #e8eaf2;
}
.cmh-article__content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #292962;
  margin: 1.6rem 0 .6rem;
}
.cmh-article__content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #292962;
  margin: 1.4rem 0 .5rem;
}
.cmh-article__content p { margin-bottom: 1.25rem; }
.cmh-article__content ul,
.cmh-article__content ol {
  padding-left: 1.6rem;
  margin-bottom: 1.25rem;
}
.cmh-article__content li { margin-bottom: .45rem; }
.cmh-article__content a {
  color: #2fbef6;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cmh-article__content a:hover { color: #0284c7; }
.cmh-article__content blockquote {
  border-left: 4px solid #2fbef6;
  background: #f0f9ff;
  margin: 1.5rem 0;
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #374151;
}
.cmh-article__content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1rem 0;
}
.cmh-article__content strong { color: #1a1a4d; }

/* Back link */
.cmh-article__back {
  padding: 28px 36px 0;
  border-top: 1px solid #eff0f7;
  margin: 32px 36px 0;
}
.cmh-article__back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #292962;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s, gap .2s;
}
.cmh-article__back-link:hover {
  color: #2fbef6;
  gap: 12px;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.cmh-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 90px;
}

/* CTA card */
.cmh-sidebar__cta {
  background: linear-gradient(135deg, #292962 0%, #1a6fa8 100%);
  border-radius: 16px;
  padding: 32px 28px;
  color: #fff;
}
.cmh-sidebar__cta-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2fbef6;
  margin-bottom: 10px;
}
.cmh-sidebar__cta-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 24px;
  color: #fff;
}
.cmh-sidebar__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #292962;
  font-size: .88rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, color .2s, gap .2s;
}
.cmh-sidebar__cta-btn:hover {
  background: #2fbef6;
  color: #fff;
  gap: 12px;
}

/* Recent posts */
.cmh-sidebar__recent {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(41,41,98,.07);
}
.cmh-sidebar__heading {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a4d;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eff0f7;
}
.cmh-sidebar__posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cmh-sidebar__post {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity .2s;
}
.cmh-sidebar__post:hover { opacity: .8; }
.cmh-sidebar__post img {
  width: 68px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.cmh-sidebar__post span {
  font-size: .88rem;
  font-weight: 600;
  color: #292962;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Responsive (detail) ─────────────────────────────────── */
@media (max-width: 991px) {
  .cmh-sidebar { position: static; }
}
@media (max-width: 575px) {
  .cmh-article__title  { margin: 16px 20px 20px; font-size: 1.4rem; }
  .cmh-article__meta   { padding: 16px 20px 0; }
  .cmh-article__content{ padding: 0 20px; }
  .cmh-article__back   { margin: 24px 20px 0; padding: 20px 20px 0; }
}
