/* Blog page only fix.
   Scope: bd.impro-solution.com/blog.html only.
   Does not change bd.impro-solution.com/index.html or any other page.
*/

/* Larger main brand logo and homepage link appearance */
.site-header .logo-main-home{
  display:flex;
  align-items:center;
  text-decoration:none;
  flex:0 0 auto;
}

.site-header .logo-main-home img{
  width:260px !important;
  max-width:100%;
  height:auto !important;
  object-fit:contain;
  object-position:left center;
  display:block;
}

/* Keep header balanced when logo is larger */
.site-header .nav{
  min-height:96px;
  align-items:center;
}

/* Active blog menu, without changing menu structure */
.site-header .menu a.active{
  background:#eef3f8;
  border-radius:999px;
  padding:14px 18px;
}

/* Blog top platform background path.
   Create this image later:
   assets/product-hub/images/blog/impro-solutions-industrial-equipment-knowledge-hub-background.webp
*/
.blog-top-platform{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(4,17,31,.94) 0%,rgba(7,29,51,.86) 45%,rgba(7,29,51,.58) 100%),
    url("images/blog/impro-solutions-industrial-equipment-knowledge-hub-background.webp") center/cover no-repeat !important;
}

.blog-top-platform::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 14% 24%,rgba(227,166,0,.28),transparent 32%),
    radial-gradient(circle at 78% 18%,rgba(11,79,156,.22),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0));
  pointer-events:none;
}

.blog-top-platform > .container{
  position:relative;
  z-index:1;
}

/* Make hero card like a right-side professional template */
.blog-top-platform .hero-card{
  border:1px solid rgba(255,255,255,.20);
  box-shadow:0 30px 80px rgba(0,0,0,.32);
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

/* Footer logo linked to main bd.impro-solution.com */
.footer-logo-link{
  display:inline-flex;
  align-items:center;
  width:240px;
  max-width:100%;
  background:#fff;
  border-radius:18px;
  padding:12px 16px;
  margin-bottom:16px;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
}

.footer-logo-link img{
  width:100% !important;
  height:auto !important;
  object-fit:contain;
  display:block;
}

/* Responsive: logo stays larger but does not break cell phone */
@media(max-width:980px){
  .site-header .logo-main-home img{width:220px !important}
  .site-header .nav{min-height:84px}
}

@media(max-width:640px){
  .site-header .logo-main-home img{width:178px !important}
  .site-header .nav{min-height:74px}
  .footer-logo-link{width:200px;padding:10px 12px}
}
