.macs-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #050507;
}

.macs-hero-background {
  display: block;
  width: 100%;
  height: auto;
}

.macs-hero-logo {
  position: absolute;
  top: 22px;
  left: 28px;
  width: clamp(150px, 18vw, 260px);
  max-width: 32%;
  height: auto;
  z-index: 2;
}

@media (max-width: 768px) {
  .macs-hero-logo {
    top: 12px;
    left: 14px;
    width: 30%;
    max-width: 180px;
  }
}
/* =========================
   MAC'S ELECTRIC TOP HEADER
   ========================= */

.container-header {
  background: #404a61;
  background-image: none;
  box-shadow: none;
  border-bottom: 18px solid #d85b5b;
  padding-top: 0;
  padding-bottom: 0;
}

.container-header .container-nav {
  max-width: 1510px;
  margin: 0 auto;
  padding: 0 12px;
}

/* Site title / phone line */
.container-header .navbar-brand {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
  margin: 10px 0 8px;
  padding: 0;
}

.container-header .navbar-brand a {
  color: #fff;
  text-decoration: none;
}

/* Main menu */
.container-header .mod-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 10px 0 18px;
}

.container-header .mod-menu > li {
  margin: 0;
}

.container-header .mod-menu > li > a {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li.active > a {
  color: #f1d3d3;
}

/* Search icon area */
.container-header .container-search {
  margin-left: auto;
}

.container-header .container-search a,
.container-header .container-search button,
.container-header .container-search .icon-search {
  color: #fff;
}

/* Remove space between top header and skyline */
.container-banner {
  margin-top: 0;
  padding-top: 0;
}

.container-banner .moduletable,
.container-banner .mod-custom {
  margin: 0;
  padding: 0;
}

/* Skyline block */
.macs-hero {
  max-width: 1510px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #050507;
}

.macs-hero-background {
  display: block;
  width: 100%;
  height: auto;
}

.macs-hero-logo {
  position: absolute;
  top: 18px;
  left: 44px;
  width: 240px;
  max-width: 29%;
  height: auto;
  z-index: 2;
}

/* Remove Cassiopeia's normal banner spacing */
.container-banner > div {
  width: 100%;
}

@media (max-width: 991px) {
  .container-header .navbar-brand {
    font-size: 30px;
  }

  .container-header .mod-menu {
    gap: 16px;
    flex-wrap: wrap;
  }

  .container-header .mod-menu > li > a {
    font-size: 15px;
  }

  .macs-hero-logo {
    top: 12px;
    left: 18px;
    width: 25%;
  }
}

@media (max-width: 767px) {
  .container-header {
    border-bottom-width: 10px;
  }

  .container-header .navbar-brand {
    font-size: 24px;
    margin-bottom: 4px;
  }

  .container-header .mod-menu {
    display: block;
    padding-bottom: 10px;
  }

  .container-header .mod-menu > li {
    margin: 8px 0;
  }

  .macs-hero-logo {
    width: 30%;
    max-width: 165px;
  }
}
/* ==================================================
   MAC'S ELECTRIC — DESKTOP HEADER REFINEMENT
   ================================================== */

:root {
  --macs-header: #414b62;
  --macs-red: #d65a5a;
  --macs-page-width: 1510px;
}

/* Header */
.container-header {
  background: var(--macs-header);
  background-image: none;
  box-shadow: none;
  border-bottom: 18px solid var(--macs-red);
  padding: 0;
}

/* Header inner width */
.container-header .container-nav {
  width: 100%;
  max-width: var(--macs-page-width);
  margin: 0 auto;
  padding: 10px 12px 16px;
  display: block;
}

/* Site title */
.macs-site-title {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 18px;
}

/* Menu */
.container-header .mod-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.container-header .mod-menu > li {
  margin: 0;
  padding: 0;
}

.container-header .mod-menu > li > a {
  display: block;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 0 8px;
  border-bottom: 3px solid transparent;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
  color: #fff;
  border-bottom-color: #ef7777;
}

/* Banner outer area */
.container-banner {
  margin: 0;
  padding: 0;
  width: 100%;
}

.container-banner > div,
.container-banner .moduletable,
.container-banner .mod-custom {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Skyline banner */
.macs-hero {
  position: relative;
  width: calc(100% - 120px);
  max-width: var(--macs-page-width);
  margin: 0 auto;
  overflow: hidden;
  background: #050507;
}

.macs-hero-background {
  display: block;
  width: 100%;
  height: auto;
}

/* Animated logo overlay */
.macs-hero-logo {
  position: absolute;
  top: 9%;
  left: 3.2%;
  width: 18%;
  max-width: 270px;
  min-width: 150px;
  height: auto;
  z-index: 2;
}

/* Tablet */
@media (max-width: 991px) {
  .container-header {
    border-bottom-width: 12px;
  }

  .container-header .container-nav {
    padding: 9px 12px 13px;
  }

  .macs-site-title {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .container-header .mod-menu {
    gap: 18px;
  }

  .container-header .mod-menu > li > a {
    font-size: 15px;
  }

  .macs-hero {
    width: 100%;
  }

  .macs-hero-logo {
    width: 23%;
    top: 7%;
  }
}

/* Phone */
@media (max-width: 767px) {
  .container-header {
    border-bottom-width: 9px;
  }

  .container-header .container-nav {
    padding: 8px 10px 11px;
  }

  .macs-site-title {
    font-size: 23px;
    margin-bottom: 12px;
  }

  .container-header .mod-menu {
    gap: 14px;
  }

  .container-header .mod-menu > li > a {
    font-size: 14px;
    padding-bottom: 5px;
  }

  .macs-hero-logo {
    width: 27%;
    min-width: 115px;
    top: 6%;
    left: 3%;
  }
}
/* Give the title breathing room from the left */
.macs-site-title {
    padding-left: 12px;
    margin-bottom: 16px;
}

/* Line the menu up with the title */
.container-header .mod-menu {
    padding-left: 12px;
}

/* Make the red divider match the original a little better */
.container-header {
    border-bottom: 14px solid #d65a5a;
}