/* ============================================================
   BLOG — listing, single article, sidebar, related
============================================================ */
.mh-blog-hero { background: linear-gradient(135deg, var(--g8), var(--g6)); color: #fff; padding: 44px 0; margin-bottom: 8px; }
.mh-blog-hero__title { font-family: var(--fh); font-weight: 900; font-size: 2rem; margin: 0 0 8px; }
.mh-blog-hero__sub { font-size: 1rem; opacity: .9; margin: 0; max-width: 640px; }
/* .mh-blog-wrap { padding: 36px 0 64px; } */
.mh-blog-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 36px; align-items: start; }
.mh-blog-main { min-width: 0; }

/* listing grid */
.mh-blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mh-blog-list--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mh-bcard { background: var(--w); border: 1.5px solid var(--n2); border-radius: var(--r20); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--ease), box-shadow var(--ease); }
.mh-bcard:hover { transform: translateY(-4px); box-shadow: var(--sh3); }
.mh-bcard__img { position: relative; display: block; aspect-ratio: 16/10; background: var(--g0); overflow: hidden; }
.mh-bcard__img img { width: 100%; height: 100%; object-fit: cover; }
.mh-bcard__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.mh-bcard__cat { position: absolute; top: 10px; left: 10px; background: var(--g6); color: #fff; font-size: .68rem; font-weight: 800; padding: 4px 10px; border-radius: var(--pill); text-transform: uppercase; letter-spacing: .4px; }
.mh-bcard__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mh-bcard__meta { font-size: .74rem; color: var(--n4); display: flex; gap: 6px; align-items: center; }
.mh-bcard__title { font-family: var(--fh); font-size: 1.02rem; font-weight: 800; line-height: 1.35; margin: 0; }
.mh-bcard__title a { color: var(--n9); text-decoration: none; }
.mh-bcard__title a:hover { color: var(--g7); }
.mh-bcard__excerpt { font-size: .85rem; color: var(--n6); line-height: 1.6; margin: 0; flex: 1; }
.mh-bcard__more { font-size: .82rem; font-weight: 800; color: var(--g7); text-decoration: none; margin-top: 2px; }
.mh-bcard__more:hover { color: var(--g8); }

/* pagination */
.mh-blog-pagination { margin-top: 32px; }
.mh-blog-pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 10px; margin: 0 3px; border: 1.5px solid var(--n2); border-radius: var(--r12); color: var(--n7); text-decoration: none; font-weight: 700; }
.mh-blog-pagination .page-numbers.current { background: var(--g6); border-color: var(--g6); color: #fff; }
.mh-blog-pagination .page-numbers:hover:not(.current) { border-color: var(--g4); color: var(--g7); }

/* sidebar */
.mh-blog-sidebar { position: sticky; top: calc(var(--hh) + var(--nh) + 16px); display: grid; gap: 20px; }
.mh-blog-widget { background: var(--n0); border: 1.5px solid var(--n2); border-radius: var(--r20); padding: 20px; }
.mh-blog-widget__title { font-family: var(--fh); font-size: 1rem; font-weight: 800; margin: 0 0 14px; color: var(--n9); }
.mh-blog-cats { list-style: none; margin: 0; padding: 0; }
.mh-blog-cats li { padding: 7px 0; border-bottom: 1px solid var(--n1); }
.mh-blog-cats li:last-child { border-bottom: none; }
.mh-blog-cats a { color: var(--n7); text-decoration: none; font-size: .88rem; font-weight: 600; }
.mh-blog-cats a:hover { color: var(--g7); }
.mh-blog-recent { display: flex; gap: 10px; margin-bottom: 12px; text-decoration: none; align-items: center; }
.mh-blog-recent:last-child { margin-bottom: 0; }
.mh-blog-recent__img, .mh-blog-recent__ph { width: 56px; height: 56px; border-radius: var(--r8); object-fit: cover; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--g0); font-size: 1.4rem; }
.mh-blog-recent__txt { display: flex; flex-direction: column; gap: 2px; }
.mh-blog-recent__t { font-size: .82rem; font-weight: 700; color: var(--n8); line-height: 1.35; }
.mh-blog-recent__d { font-size: .72rem; color: var(--n4); }
.mh-blog-cta { background: linear-gradient(135deg, var(--g8), var(--g6)); border-radius: var(--r20); padding: 22px; text-align: center; color: #fff; }
.mh-blog-cta__ic { font-size: 2rem; margin-bottom: 8px; }
.mh-blog-cta h4 { font-family: var(--fh); font-weight: 800; margin: 0 0 6px; }
.mh-blog-cta p { font-size: .82rem; opacity: .85; margin: 0 0 14px; }

/* single article */
.mh-article__hero { border-radius: var(--r20); overflow: hidden; margin-bottom: 26px; }
.mh-article__hero img { width: 100%; height: auto; display: block; }
.mh-article__meta { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--n4); margin-bottom: 14px; }
.mh-article__cat { background: var(--g6); color: #fff; padding: 3px 11px; border-radius: var(--pill); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.mh-article__title { font-family: var(--fh); font-weight: 900; font-size: 2rem; line-height: 1.25; margin: 0 0 18px; color: var(--n9); }
.mh-article__content { font-size: 1rem; line-height: 1.85; color: var(--n7); }
.mh-article__content h2 { font-family: var(--fh); font-size: 1.4rem; font-weight: 800; margin: 30px 0 12px; color: var(--n9); }
.mh-article__content h3 { font-family: var(--fh); font-size: 1.15rem; font-weight: 800; margin: 24px 0 10px; color: var(--n9); }
.mh-article__content p { margin: 0 0 18px; }
.mh-article__content img { max-width: 100%; height: auto; border-radius: var(--r16); margin: 10px 0; }
.mh-article__content a { color: var(--g7); text-decoration: underline; }
.mh-article__content ul, .mh-article__content ol { margin: 0 0 18px; padding-left: 22px; }
.mh-article__content li { margin-bottom: 8px; }
.mh-article__content blockquote { border-left: 4px solid var(--g5); background: var(--g0); padding: 14px 18px; border-radius: 0 var(--r12) var(--r12) 0; margin: 0 0 18px; color: var(--n7); }

/* related sections */
.mh-related { margin-top: 40px; padding-top: 32px; border-top: 1.5px solid var(--n2); }
.mh-related__title { font-family: var(--fh); font-weight: 900; font-size: 1.3rem; margin: 0 0 20px; color: var(--n9); }

/* responsive */
@media (max-width: 900px) {
  .mh-blog-layout { grid-template-columns: 1fr; gap: 28px; }
  .mh-blog-sidebar { position: static; }
  .mh-blog-list--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mh-blog-hero { padding: 30px 0; }
  .mh-blog-hero__title { font-size: 1.5rem; }
  .mh-article__title { font-size: 1.45rem; }
  .mh-blog-list, .mh-blog-list--3 { grid-template-columns: 1fr; gap: 18px; }
}

/* ===== Modern magazine blog landing ===== */
.mh-blog-hero__eyebrow { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; margin-bottom: 8px; }
.mh-feat { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 44px; }
.mh-feat__big { position: relative; display: flex; align-items: flex-end; min-height: 420px; border-radius: var(--r20); overflow: hidden; text-decoration: none; background: var(--g8); }
.mh-feat__big-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s var(--ease); }
.mh-feat__big:hover .mh-feat__big-img { transform: scale(1.04); }
.mh-feat__big::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.15) 58%, transparent); }
.mh-feat__big-body { position: relative; z-index: 1; padding: 26px; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.mh-feat__tag { align-self: flex-start; background: var(--acc); color: var(--n9); font-size: .68rem; font-weight: 800; padding: 4px 11px; border-radius: var(--pill); text-transform: uppercase; letter-spacing: .4px; }
.mh-feat__tag--sm { background: var(--g0); color: var(--g8); }
.mh-feat__big-title { font-family: var(--fh); font-weight: 900; font-size: 1.6rem; line-height: 1.25; }
.mh-feat__big-ex { font-size: .9rem; opacity: .9; line-height: 1.55; }
.mh-feat__more { font-weight: 800; font-size: .86rem; color: var(--acc); }
.mh-feat__side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.mh-feat__small { position: relative; display: flex; align-items: flex-end; min-height: 200px; border-radius: var(--r20); overflow: hidden; text-decoration: none; background: var(--g7); }
.mh-feat__small-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mh-feat__small::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent 70%); }
.mh-feat__small-body { position: relative; z-index: 1; padding: 16px; color: #fff; display: flex; flex-direction: column; gap: 7px; }
.mh-feat__small-title { font-family: var(--fh); font-weight: 800; font-size: 1rem; line-height: 1.3; }
.mh-bsection { margin-bottom: 44px; }
.mh-bsection__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--n1); }
.mh-bsection__title { font-family: var(--fh); font-weight: 900; font-size: 1.4rem; margin: 0; color: var(--n9); }
.mh-bsection__head .mh-va { font-size: .85rem; font-weight: 800; color: var(--g7); text-decoration: none; white-space: nowrap; }
.mh-bcats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mh-bcat { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-radius: var(--r16); text-decoration: none; background: var(--g0); border: 1.5px solid var(--n1); transition: transform var(--ease), box-shadow var(--ease); }
.mh-bcat:hover { transform: translateY(-3px); box-shadow: var(--sh2); }
.mh-bcat__name { font-family: var(--fh); font-weight: 800; font-size: .95rem; color: var(--n9); }
.mh-bcat__count { font-size: .74rem; color: var(--n5); font-weight: 600; }
.mh-bcat--0 { background: #e8f5e9; } .mh-bcat--1 { background: #fff4d6; } .mh-bcat--2 { background: #e3f2fd; }
.mh-bcat--3 { background: #fce4ec; } .mh-bcat--4 { background: #f3e5f5; } .mh-bcat--5 { background: #e0f7fa; }
.mh-bcta { background: linear-gradient(120deg, var(--g8), var(--g6)); color: #fff; margin-top: 24px; overflow: hidden; }
.mh-bcta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 42px 0; }
.mh-bcta__text h2 { font-family: var(--fh); font-weight: 900; font-size: 1.9rem; margin: 0 0 8px; }
.mh-bcta__text p { opacity: .9; margin: 0 0 18px; font-size: .95rem; }
.mh-bcta__emoji { font-size: 5rem; flex-shrink: 0; line-height: 1; }
@media (max-width: 900px) {
  .mh-feat { grid-template-columns: 1fr; }
  .mh-feat__big { min-height: 340px; }
  .mh-bcats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .mh-feat__big-title { font-size: 1.3rem; }
  .mh-bcats { grid-template-columns: repeat(2, 1fr); }
  .mh-bsection__title { font-size: 1.2rem; }
  .mh-bcta__inner { flex-direction: column; text-align: center; padding: 32px 0; }
  .mh-bcta__text h2 { font-size: 1.5rem; }
  .mh-bcta__emoji { font-size: 3.5rem; }
}