/* Keep the original transparent header and white header after scrolling. */
@font-face {
  font-family: "Pixelum Nav";
  src: url("fonts/poppins-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

#masthead.pix-header-desktop.is-scroll {
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(34, 42, 48, .1) !important;
}

#masthead.pix-header-desktop .navbar-nav > .menu-item > .nav-link,
#masthead.pix-header-desktop .navbar-nav > .menu-item > .nav-link .pix-dropdown-title,
#masthead.pix-header-desktop .pix-header-text:not(i):not([class*="pixicon"]),
#masthead.pix-header-desktop a.secondary-font,
#mobile_head .navbar-nav .pix-dropdown-title {
  font-family: "Pixelum Nav", "Poppins", Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

/* Let the theme's data-text and data-text-scroll settings control colors.
   Some pages start with a light header before the is-scroll class is added. */

#masthead.pix-header-desktop .navbar-nav > .menu-item > .nav-link .pix-dropdown-title {
  font-size: 15px !important;
}

#masthead.pix-header-desktop .dropdown-menu .pix-dropdown-title { color: #495159 !important; }
#masthead.pix-header-desktop .pix-header-divider { background-color: #d4d9dc !important; }

/* Dropdown text uses the same bold type on every header variant. */
#masthead .dropdown-menu :is(a, span):not([class*="pixicon"]),
#mobile_head .dropdown-menu :is(a, span):not([class*="pixicon"]) {
  font-family: "Pixelum Nav", "Poppins", Arial, sans-serif !important;
  font-weight: 700 !important;
  color: #495057 !important;
}

/* Orange page headers use white foregrounds until the white sticky header appears. */
body:is(.page-id-6310, .woocommerce-account) #masthead:not(.is-scroll) .pix-header-text,
body:is(.page-id-6310, .woocommerce-account) #masthead:not(.is-scroll) .navbar-nav > .menu-item > .nav-link {
  color: #fff !important;
}
body:is(.page-id-6310, .woocommerce-account) #masthead:not(.is-scroll) .dropdown-menu :is(a, span) {
  color: #495057 !important;
}

/* The Store uses the solid white surface of the other light header variants. */
body.woocommerce-shop #masthead,
body.woocommerce-shop #masthead .dropdown-menu,
body.woocommerce-shop #masthead .dropdown-menu .submenu-box {
  background: #fff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Services content follows the original theme colors. */
body.page-id-6310 .pix-main-intro {
  min-height: 0 !important;
  height: auto !important;
  padding: 138px 20px 40px !important;
}

body.page-id-6310 .pix-main-intro .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page-id-6310 .pix-main-intro :is(h1, h1 span, .pix-sliding-item) {
  font-size: clamp(2.25rem, 3.6vw, 3.3rem) !important;
}

body.page-id-6310 .pix-intro-img,
body.page-id-6310 .pix-main-intro-placeholder,
body.page-id-6310 .pix-main-intro .pix-divider { display: none !important; }
body.page-id-6310 .pix-main-intro::after { display: none !important; }
body.page-id-6310 .pix-main-intro .pix-intro-container,
body.page-id-6310 .pix-main-intro .row { height: auto !important; min-height: 0 !important; }

/* The Services page uses the actual four services offered on this site. */
body.page-id-6310 #content.site-content {
  padding: 0 20px 70px !important;
  background: #fff !important;
}

body.page-id-6310 #content > .container { max-width: 1180px; }

.pixelum-services {
  color: #20272c;
  font-family: Arial, "Segoe UI", sans-serif;
}

.pixelum-services :is(h2, h3, p, a, span) { font-family: inherit !important; }
.pixelum-services a { text-decoration: none; }

.pixelum-services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr);
  gap: 55px;
  align-items: end;
  padding: 58px 0 50px;
  border-bottom: 1px solid #dcdedc;
}

.pixelum-services-eyebrow {
  display: block;
  margin-bottom: 15px;
  color: #9b6400;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pixelum-services-intro h2 {
  max-width: 680px;
  margin: 0 !important;
  color: #20272c;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 700;
}

.pixelum-services-intro p {
  max-width: 420px;
  margin: 0;
  color: #59636a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.pixelum-services-list { padding: 14px 0 24px; }
.pixelum-service {
  display: grid;
  grid-template-columns: 62px minmax(190px, .75fr) minmax(0, 1.25fr) auto;
  gap: 25px;
  align-items: start;
  padding: 33px 0;
  border-bottom: 1px solid #dcdedc;
}

.pixelum-service-number { padding-top: 5px; color: #9b6400; font-size: .82rem; font-weight: 700; }
.pixelum-service h3 { margin: 0 !important; color: #20272c; font-size: 1.45rem; line-height: 1.3; font-weight: 700; }
.pixelum-service p { max-width: 560px; margin: 0; color: #59636a; line-height: 1.7; }
.pixelum-service a { margin-top: 3px; color: #9b6400; font-weight: 700; white-space: nowrap; }
.pixelum-service a:hover { color: #654000; text-decoration: underline; }

.pixelum-services-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  padding-top: 43px;
}

.pixelum-services-note,
.pixelum-services-cta { padding: 30px 32px; border: 1px solid #dcdedc; border-radius: 8px; background: #fff; }
.pixelum-services-note h3,
.pixelum-services-cta h3 { margin: 0 0 10px !important; color: #20272c; font-size: 1.35rem; font-weight: 700; }
.pixelum-services-note p,
.pixelum-services-cta p { margin: 0 0 17px; color: #59636a; line-height: 1.65; }
.pixelum-services-note a,
.pixelum-services-cta a { color: #9b6400; font-weight: 700; }
.pixelum-services-cta { background: #fff4da; border-color: #f1ddb0; }

@media (max-width: 900px) {
  .pixelum-service { grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1.4fr); }
  .pixelum-service a { grid-column: 2 / -1; margin-top: 0; }
}

@media (max-width: 767px) {
  body.page-id-6310 .pix-main-intro { padding: 116px 16px 28px !important; }
  body.page-id-6310 #content.site-content { padding: 0 16px 48px !important; }
  .pixelum-services-intro { grid-template-columns: 1fr; gap: 18px; padding: 38px 0; }
  .pixelum-service { grid-template-columns: 35px minmax(0, 1fr); gap: 10px 15px; padding: 24px 0; }
  .pixelum-service p,
  .pixelum-service a { grid-column: 2; }
  .pixelum-services-bottom { grid-template-columns: 1fr; padding-top: 30px; }
}
