
/* ===== Juicer Energy Blog — brand alignment with juicerenergy.com ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --juicer-bg: #080808;
  --juicer-text: #f2f2f2;
  --juicer-muted: #b3b3b3;
  --juicer-green: #6ac037;
  --juicer-green-light: #8ed85c;
}

body {
  background-color: var(--juicer-bg) !important;
  color: var(--juicer-text) !important;
  font-family: 'DM Sans', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .blog-post-title, .entry-title, .page-title {
  font-family: 'Bebas Neue', sans-serif !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff !important;
}

a { color: var(--juicer-green); }
a:hover, a:focus { color: var(--juicer-green-light); }

.blog-post-title, .blog-post-title a { color: var(--juicer-green) !important; }
.blog-post-title:hover, .blog-post-title a:hover { color: var(--juicer-green-light) !important; }

p, li, .entry-content, .entry-summary { color: var(--juicer-text); }
.text-muted { color: var(--juicer-muted) !important; }

/* Header / navigation */
#masthead, .navbar, .navbar.navTrans {
  background-color: var(--juicer-bg) !important;
  box-shadow: 0 2px 0 0 var(--juicer-green);
}
.navbar .nav-link { color: #fff !important; font-family: 'DM Sans', sans-serif; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--juicer-green) !important; }
.navbar-nav > li:last-child > .nav-link {
  border: 1px solid var(--juicer-green);
  border-radius: 999px;
  padding: 6px 18px !important;
  margin-left: 10px;
}
.navbar-nav > li:last-child > .nav-link:hover { background-color: var(--juicer-green); color: #080808 !important; }

/* Hero / page banner */
.zoom-section { position: relative; }
.zoom-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.35);
  z-index: 1;
  pointer-events: none;
}
.zoom-section .container { position: relative; z-index: 2; }

/* Buttons */
.btn-juicer, .wp-block-button__link, .btn-primary {
  background-color: var(--juicer-green) !important;
  border-color: var(--juicer-green) !important;
  color: #080808 !important;
  font-family: 'Space Mono', monospace !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px !important;
  font-size: 0.85rem;
}
.btn-juicer:hover, .wp-block-button__link:hover, .btn-primary:hover {
  background-color: var(--juicer-green-light) !important;
  border-color: var(--juicer-green-light) !important;
}

/* Footer */
#footer, .bootscore-footer {
  background-color: var(--juicer-bg) !important;
}
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
  color: var(--juicer-green) !important;
  font-family: 'Space Mono', monospace !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#footer a { color: var(--juicer-text); }
#footer a:hover { color: var(--juicer-green); }

/* Widgets / sidebar */
.widget { color: var(--juicer-text); }
.widget-title { color: var(--juicer-green) !important; font-family: 'Bebas Neue', sans-serif; }

/* Blockquotes */
blockquote { border-left: 3px solid var(--juicer-green); color: var(--juicer-muted); }


/* Breadcrumb bar */
.breadcrumb-container.bg-light, .bg-light {
  background-color: var(--juicer-bg) !important;
}
.breadcrumb-item, .breadcrumb-item.active {
  color: var(--juicer-muted) !important;
}
.breadcrumb-item a {
  color: var(--juicer-green) !important;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--juicer-muted) !important;
}


/* Replace stock forest/road photo with an on-brand shot from juicerenergy.com */
.zoom-section img {
  display: none !important;
}
.zoom-section {
  background-image: url('https://blog.juicerenergy.com/wp-content/uploads/2026/08/blog-hero-green-flow.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 190px !important;
  height: 190px !important;
  border: 1px solid var(--juicer-green);
}


/* Page title in green, matching the About Us "Our Mission" banner style */
.hero-title {
  color: var(--juicer-green-light) !important;
}


/* Hide the redundant hardcoded "Become A Juicer" button now that the nav mirrors the company site */
.navbar .btn-juicer {
  display: none !important;
}

/* Dropdown submenus (Solutions / Company / Calculators) styled to match the dark mega-menu look on juicerenergy.com */
.navbar .dropdown-menu {
  background-color: #0d0d0d;
  border: 1px solid var(--juicer-green);
  border-radius: 4px;
  padding: 8px 0;
  margin-top: 4px;
}
.navbar .dropdown-menu .dropdown-item,
.navbar .dropdown-menu a {
  color: #f2f2f2 !important;
  background-color: transparent !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  padding: 8px 20px;
}
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu a:hover {
  color: var(--juicer-green-light) !important;
  background-color: rgba(106,192,55,0.08) !important;
}
.navbar .dropdown-toggle::after {
  vertical-align: middle;
}

/* Semi-bold text throughout, matching the company site's heavier type */
.navbar .nav-link {
  font-weight: 600 !important;
}
body, p, li, .entry-content, .entry-summary {
  font-weight: 500 !important;
}


/* Push the hero banner below the fixed nav instead of bleeding behind it (fixes clipped title text and clipped outline) */
.zoom-section {
  margin-top: 80px !important;
  height: auto !important;
  min-height: 150px !important;
  padding: 28px 24px !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid var(--juicer-green) !important;
}
.zoom-section .container {
  margin-top: 0 !important;
}

/* 1px green outline on each blog post card so entries pop on the blog homepage */
.blog-post-card {
  border: 1px solid var(--juicer-green) !important;
  border-radius: 4px;
}

/* Distinguish the two right-hand nav buttons: outline pill for Landlord Login, solid green for the new Juicer Home link */
.navbar-nav > li:first-child > .nav-link {
  background-color: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  color: #ffffff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
  text-transform: none;
  padding: 8px 18px !important;
  margin-right: 10px;
}
.navbar-nav > li:first-child > .nav-link:hover {
  background-color: rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
}
.navbar-nav > li:last-child > .nav-link {
  background-color: rgba(106,192,55,0.15) !important;
  border: 1px solid rgba(106,192,55,0.4);
  border-radius: 20px;
  color: var(--juicer-green) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
  text-transform: none;
  padding: 8px 18px !important;
  margin-left: 10px;
}
.navbar-nav > li:last-child > .nav-link:hover {
  background-color: rgba(106,192,55,0.25) !important;
  color: var(--juicer-green) !important;
}


/* Shrink individual blog post header banner to ~half height (fix per Sean 2026-08-21) */
.single-post-banner .hero-title {
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  font-size: 2.25rem !important;
  line-height: 1.3 !important;
}
.zoom-section.single-post-banner {
  min-height: 147px !important;
  padding: 24px 24px !important;
}


/* --- Round of fixes: CEO feedback 2026-08-21 --- */

/* 1. Bigger logo (was rendering small) */
.navbar-brand img {
  width: 140px !important;
  height: auto !important;
}

/* 2. Remove green background image + border on the main blog archive banner only
      (individual post banners keep their green flow background/border) */
.zoom-section:not(.single-post-banner) {
  background-image: none !important;
  background-color: var(--juicer-bg) !important;
  border: none !important;
}
.zoom-section:not(.single-post-banner)::before {
  display: none !important;
}

/* 3. News-article style layout: images float so text runs alongside them,
      keeping content visible without scrolling on individual post pages */
.single-post-content {
  overflow: visible;
}
.single-post-content figure.wp-block-image {
  max-width: 42%;
  margin: 0 28px 20px 0;
}
.single-post-content figure.wp-block-image:nth-of-type(odd) {
  float: left;
  margin: 0 28px 20px 0;
}
.single-post-content figure.wp-block-image:nth-of-type(even) {
  float: right;
  margin: 0 0 20px 28px;
}
.single-post-content figure.wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.single-post-content p {
  margin-bottom: 1rem;
}
.single-post-content::after {
  content: "";
  display: block;
  clear: both;
}
@media (max-width: 767px) {
  .single-post-content figure.wp-block-image {
    float: none !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
  }
}


/* Tighten top nav item spacing to match juicerenergy.com (28px between items) */
#bootscore-navbar > li.nav-item {
  margin-right: 28px !important;
}
.navbar-nav > li:first-child > .nav-link {
  margin-right: 0 !important;
}


/* Shrink top nav to match juicerenergy.com (64px height, smaller logo/button text) */
.navbar-brand img {
  width: 63px !important;
  height: auto !important;
}
.navbar {
  padding: 10.5px 0 !important;
}
.navbar .nav-link {
  font-size: 15px !important;
}
.navbar-nav > li:first-child > .nav-link,
.navbar-nav > li:last-child > .nav-link {
  font-size: 13px !important;
  padding: 8px 18px !important;
}
