/* Header continuity: the site's logo tab hangs below the 80px yellow bar. On the home page the hero image
   fills that space; on blog pages a matching yellow band does, so the logo sits cleanly inside the header. */
.mn-blog{position:relative}
.mn-blog::before{content:"";position:absolute;left:0;right:0;top:-56px;height:50px;background:#f1c152;pointer-events:none}
/* Blog-only styles. Scoped under .mn-blog so nothing in the existing site CSS is affected. */
.mn-blog{padding:60px 0 30px;background:#fff}
.mn-blog .mn-wrap{max-width:1170px;margin:0 auto;padding:0 15px}
.mn-blog h1{font-family:Lato,sans-serif;font-size:30px;font-weight:700;margin:0 0 24px;color:#333}
.mn-blog .mn-row{display:flex;flex-wrap:wrap;margin:0 -12px}
.mn-blog .mn-row>[class*=col-]{padding:0 12px;margin-bottom:24px;display:flex}
.mn-card{border:1px solid #eee;border-radius:8px;overflow:hidden;background:#fff;width:100%;display:flex;flex-direction:column;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.mn-card img{width:100%;height:190px;object-fit:cover;display:block}
.mn-card .mn-body{padding:16px;display:flex;flex-direction:column;flex:1}
.mn-card h2{font-family:Lato,sans-serif;font-size:19px;line-height:1.35;margin:8px 0;font-weight:700}
.mn-card h2 a{color:#333}.mn-card h2 a:hover{color:#d92100;text-decoration:none}
.mn-card p{color:#666;font-size:14px;flex:1}
.mn-meta{font-size:12.5px;color:#888;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.mn-tag{background:#f1c152;color:#000;padding:2px 10px;border-radius:3px;font-weight:700;font-size:12px}.mn-tag:hover{background:#d92100;color:#fff;text-decoration:none}
.mn-more{font-weight:700;color:#d92100}
.mn-search{display:flex;gap:6px;margin-bottom:22px;max-width:520px}.mn-search input{flex:1;padding:9px 12px;border:1px solid #ccc;border-radius:4px}.mn-search button{padding:9px 18px;border:0;border-radius:4px;background:#f1c152;color:#000;font-weight:700;cursor:pointer}
.mn-layout{display:flex;gap:30px;flex-wrap:wrap}.mn-layout>section,.mn-layout>article{flex:1 1 640px;min-width:0}.mn-layout>aside{flex:0 0 280px}
.mn-box{border:1px solid #eee;border-radius:8px;padding:18px;margin-bottom:20px;background:#fafafa}.mn-box h3{margin:0 0 10px;font-size:17px;font-weight:700}.mn-box ul{list-style:none;margin:0;padding:0}.mn-box li{padding:6px 0;border-bottom:1px solid #eee}
.mn-post .hero{width:100%;border-radius:8px;margin:10px 0 20px}.mn-post .mn-body-text{font-size:16.5px;line-height:1.75}.mn-post .mn-body-text img{max-width:100%;height:auto}
.mn-pager{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.mn-pager a{padding:6px 13px;border:1px solid #ddd;border-radius:4px;color:#333;background:#fff}.mn-pager a.active{background:#f1c152;border-color:#f1c152;font-weight:700}
.mn-empty{padding:30px 0;color:#777}
@media(max-width:767px){.mn-blog{padding-top:60px}.mn-blog h1{font-size:23px}.mn-layout>aside{flex:1 1 100%}}

/* Header menu on tablet / small laptop widths: keep the menu clear of the logo tab (blog pages only).
   The logo tab occupies roughly the first 260px, so the menu is pushed right and wraps onto two rows if needed. */
@media (min-width:768px) and (max-width:1199px){
  .mn-blog-page #header-1 .main-nav .navbar-collapse{padding-left:270px}
  .mn-blog-page #header-1 .main-nav .nav{display:flex;flex-wrap:wrap;justify-content:flex-end;align-content:center;height:80px;margin:0}
  .mn-blog-page #header-1 .main-nav .nav>li>a{padding:6px 9px;font-size:13px;line-height:30px}
  .mn-blog-page #header-1 .main-nav .nav .fa-phone-square,
  .mn-blog-page #header-1 .main-nav .nav .fa-whatsapp{font-size:26px;margin-top:-4px}
}

/* Exactly 768px (iPad portrait): the site CSS pins the WhatsApp item with !important; keep it in the menu flow on blog pages. */
@media (width:768px){
  .mn-blog-page #header-1 .contact-item{position:static!important}
}

/* Compact logo while scrolling: the whole logo tab (image + slanted shape) scales down proportionally
   so it fits inside the fixed 80px header bar. Aspect ratio and shape are preserved. */
.mn-blog-page #header-1 #logo{transform-origin:top left;transition:transform .2s ease}
.mn-blog-page.mn-scrolled #header-1 #logo{top:0;transform:scale(.55)}
