/*
Theme Name: Ocala Electrician Pros
Description: Original charcoal/gold/sage design with ten electrical services, sourced 55+ community guides and directory, Services and Contact hubs, three featured articles and hybrid GenerateBlocks patterns.
Author: Ocala Electrician Pros
Template: generatepress
Version: 2.4.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: ocala-electrician-pros
*/

/* GeneratePress loads this child stylesheet. Modern design and local fonts are
   enqueued separately; there is no second parent or child stylesheet enqueue. */
.site-header .inside-header {
  max-width: var(--m-wrap, 1240px);
}
.site-header .site-logo .header-image {
  width: 238px;
  height: auto;
  max-height: none;
}
body.oep-full-width #page {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
body.oep-full-width #content {
  display: block;
  padding: 0;
}
body.oep-full-width .oep-main,
body.oep-full-width .oep-content {
  width: 100%;
  margin: 0;
  padding: 0;
}
/* Native posts and archives keep their GP content layout but share the footer. */
.site-footer > .m-footer {
  width: 100%;
  margin: 0;
}

/* Preview has an independent toggle at 900px; WordPress keeps GP's native
   768px breakpoint and .toggled state. Never hide GP's native toggle with JS. */
@media (min-width: 769px) and (max-width: 900px) {
  .site-header .main-navigation .main-nav > ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 17px;
    border-top: 0;
    padding-top: 0;
  }
  .site-header .main-navigation .main-nav > ul > .oep-nav-cta > a {
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  .site-header .inside-header {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .site-header .mobile-menu-control-wrapper {
    margin-left: auto;
  }
  .site-header .main-navigation {
    width: 100%;
  }
  .site-header .main-navigation:not(.toggled) .main-nav > ul {
    display: none;
  }
  .site-header .main-navigation.toggled .main-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header .menu-toggle {
    color: var(--m-ink, #232820);
    background: var(--m-soft, #f8f9f5);
    border: 1px solid var(--m-line, #e2e6dd);
    border-radius: 6px;
    padding: 9px 12px;
    line-height: 1.5;
    font-size: 12px;
  }
}
@media (max-width: 680px) {
  .site-header .site-logo .header-image {
    width: 191px;
  }
}
/* WP's admin bar is 46px high at tablet widths, not just small phones. */
@media (min-width: 681px) and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
