/* E5 Solar — blog bridge over Hostinger AI theme (loads after e5-site.css)
   Matches LP language: navy/olive/yellow, cards, header/footer from e5-site.css */
body.wp-theme-hostinger-ai-theme,
body.wp-theme-e5-solar-blog{
  font-family:var(--font)!important;
  color:var(--ink)!important;
  background:var(--bg)!important;
}
body.wp-theme-hostinger-ai-theme .wp-site-blocks,
body.wp-theme-e5-solar-blog .wp-site-blocks{
  padding:0;
}

/* Kill old inline-styled green chrome if filter misses (belt & suspenders) */
header.site-header > header[style*="10251f"],
footer.site-footer > footer[style*="10251f"]{display:none!important}

/* Main / archive */
body.wp-theme-hostinger-ai-theme main#wp--skip-link--target,
body.wp-theme-e5-solar-blog main#wp--skip-link--target{
  max-width:var(--wrap);
  margin:0 auto;
  padding:48px 20px 64px!important;
}
body.wp-theme-hostinger-ai-theme main h1.wp-block-heading,
body.wp-theme-e5-solar-blog main h1.wp-block-heading,
body.wp-theme-hostinger-ai-theme .wp-block-post-title,
body.wp-theme-e5-solar-blog .wp-block-post-title{
  color:var(--navy)!important;
  font-weight:800;
  letter-spacing:-.01em;
}
body.wp-theme-hostinger-ai-theme .wp-block-post-title a,
body.wp-theme-e5-solar-blog .wp-block-post-title a{
  color:var(--navy)!important;
  text-decoration:none;
}
body.wp-theme-hostinger-ai-theme .wp-block-post-title a:hover,
body.wp-theme-e5-solar-blog .wp-block-post-title a:hover{
  color:var(--olive-d)!important;
}
body.wp-theme-hostinger-ai-theme .wp-block-paragraph,
body.wp-theme-e5-solar-blog .wp-block-paragraph{
  color:var(--muted);
  font-size:1.1rem;
}

/* Post cards */
body.wp-theme-hostinger-ai-theme .wp-block-post-template,
body.wp-theme-e5-solar-blog .wp-block-post-template{
  display:grid!important;
  gap:18px!important;
  list-style:none;
  padding:0;
  margin:28px 0 0;
}
@media (min-width:720px){
  body.wp-theme-hostinger-ai-theme .wp-block-post-template,
  body.wp-theme-e5-solar-blog .wp-block-post-template{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
body.wp-theme-hostinger-ai-theme .wp-block-post > .wp-block-group,
body.wp-theme-e5-solar-blog .wp-block-post > .wp-block-group{
  height:100%;
  background:#fff!important;
  border:1px solid var(--line)!important;
  border-radius:var(--radius)!important;
  box-shadow:0 1px 0 rgba(10,49,80,.03);
  padding:0!important;
  overflow:hidden;
  transition:transform .15s ease,box-shadow .15s ease;
}
body.wp-theme-hostinger-ai-theme .wp-block-post > .wp-block-group:hover,
body.wp-theme-e5-solar-blog .wp-block-post > .wp-block-group:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}
body.wp-theme-hostinger-ai-theme .wp-block-post-featured-image,
body.wp-theme-e5-solar-blog .wp-block-post-featured-image{
  margin:0!important;
}
body.wp-theme-hostinger-ai-theme .wp-block-post-featured-image img,
body.wp-theme-e5-solar-blog .wp-block-post-featured-image img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:0!important;
}
body.wp-theme-hostinger-ai-theme .wp-block-post > .wp-block-group > .wp-block-post-title,
body.wp-theme-hostinger-ai-theme .wp-block-post > .wp-block-group > .wp-block-post-excerpt,
body.wp-theme-hostinger-ai-theme .wp-block-post > .wp-block-group > .wp-block-read-more,
body.wp-theme-e5-solar-blog .wp-block-post > .wp-block-group > .wp-block-post-title,
body.wp-theme-e5-solar-blog .wp-block-post > .wp-block-group > .wp-block-post-excerpt,
body.wp-theme-e5-solar-blog .wp-block-post > .wp-block-group > .wp-block-read-more{
  padding-left:20px;
  padding-right:20px;
}
body.wp-theme-hostinger-ai-theme .wp-block-post > .wp-block-group > .wp-block-post-title,
body.wp-theme-e5-solar-blog .wp-block-post > .wp-block-group > .wp-block-post-title{
  margin:16px 0 8px!important;
  font-size:1.15rem!important;
  line-height:1.3;
}
body.wp-theme-hostinger-ai-theme .wp-block-post-excerpt,
body.wp-theme-e5-solar-blog .wp-block-post-excerpt{
  color:var(--muted);
  font-size:.98rem;
}
body.wp-theme-hostinger-ai-theme .wp-block-read-more,
body.wp-theme-e5-solar-blog .wp-block-read-more{
  display:inline-flex!important;
  align-items:center;
  margin:4px 20px 20px!important;
  color:var(--olive-d)!important;
  font-weight:700!important;
  text-decoration:none;
}
body.wp-theme-hostinger-ai-theme .wp-block-read-more:hover,
body.wp-theme-e5-solar-blog .wp-block-read-more:hover{
  color:var(--navy)!important;
}

/* Single post */
body.single .wp-block-post-title.hostinger-ai-page-title,
body.single h1.wp-block-post-title{
  color:var(--navy)!important;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}
body.single .wp-block-post-content{
  max-width:760px;
  margin:0 auto;
  color:var(--ink);
  font-size:1.05rem;
  line-height:1.7;
}
body.single .wp-block-post-content a{color:var(--navy-2)}
body.single .wp-block-post-content a:hover{color:var(--navy)}
body.single .wp-block-post-featured-image{
  max-width:960px;
  margin:0 auto 28px!important;
  border-radius:var(--radius);
  overflow:hidden;
}
body.single .wp-block-separator{
  border-color:var(--line)!important;
  background:var(--line)!important;
}

/* Hide Hostinger Woo commerce chrome in header remnant */
.hostinger-ai-menu .wc-block-mini-cart,
.hostinger-ai-menu .wc-block-customer-account{display:none!important}

/* Ensure sticky E5 header sits above WP admin bar */
.admin-bar .site-header.e5-wp-header{top:32px}
@media (max-width:782px){.admin-bar .site-header.e5-wp-header{top:46px}}
