/*
	Theme Name:  Traction Theme 2025
	Theme URI:   https://www.ccgideas.com
	Description: Custom WordPress Theme built by Cummings Creative Group. This theme will probably rely on the Advanced Custom Fields (ACF) plugin (depending on how the theme is built out).
	Author:      Nathan Owens
	Author URI:  https://www.ccgideas.com
	Version:     1.0.0
	License:     GPL-2.0+
	License URI: http://www.gnu.org/licenses/gpl-2.0.html


	BEFORE MODIFYING THIS THEME:
	Please read the instructions here (private repo): https://github.com/Cummings-Creative-Group/CCG-WordPressStarterTheme/tree/master/themes/ccgBlank2020-guten
	Devs, contact me if you need access
*/

/* WordPress (WP) Admin Bar */
#wpadminbar {
    min-width: 0;
    max-width: 40px;
    overflow: hidden;
    transition: .5s;
}
#wpadminbar:hover {
    max-width: 100%;
    overflow: unset;
}
html:has(#wpadminbar) {
  margin-top: 0!important;
}
@media screen and (max-width: 782px) {
    #wpadminbar {
        top: unset;
        bottom: 0;
        position: fixed;
    }
}

/* DEFAULT IMAGE SETTING */
img {
  max-width: 100%;
}

@font-face {
  font-family: "Napa Sans Bold";
  src: url("/wp-content/themes/traction2025/assets/fonts/NAPASANS-Bd.woff2") format("woff2"), 
       url("/wp-content/themes/traction2025/assets/fonts/NAPASANS-Bd.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Napa Sans Bold Cn";
  src: url("/wp-content/themes/traction2025/assets/fonts/NAPASANS-BlkCn.woff2") format("woff2"), 
       url("/wp-content/themes/traction2025/assets/fonts/NAPASANS-BlkCn.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Napa Sans Roman";
  src: url("/wp-content/themes/traction2025/assets/fonts/NAPASANS-Roman.woff2") format("woff2"), 
       url("/wp-content/themes/traction2025/assets/fonts/NAPASANS-Roman.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

:root {
  --blue: #0A0094;
  --blue-link: #001FCC;
  --navy: #060057;
  --yellow: #FFC836;
  --gray-bg: #F2F2F2;
  --white: #FFFFFF;
  --gray-dark: #181D27;
  --text-color: #383838;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--gray-bg);
  font-size: 16px;
  font-family: "Napa Sans Roman", sans-serif;
  color: var(--text-color);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.container--small {
  gap: 20px;
}
.container--center {
  justify-content: center;
  align-items: center;
}
.content .container:not(.container--small) {
  gap: 48px
}

img {
  height: auto;
}

.bg-yellow {
  background-color: var(--yellow);
}
.bg-blue {
  background-color: var(--blue);
  color: var(--white);
}

/* Button */
#ot-sdk-btn {
  margin-top: 1rem;
}
a {
  transition: all 0.3s;
  text-decoration: none;
}

.btn, footer #ot-sdk-btn.ot-sdk-show-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px;
  border: 2px solid;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 900;
}
.btn--yellow, footer #ot-sdk-btn.ot-sdk-show-settings {
  background-color: var(--yellow);
  border-color: var(--yellow);
  color: #383838;
  box-shadow: 0px 1px 2px 0px #0A0D120D;
}
.btn--yellow:hover, footer #ot-sdk-btn.ot-sdk-show-settings:hover {
  background-color: transparent;
  border-color: var(--yellow);
  color: var(--yellow);
}
.btn--blue {
  background-color: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0px 1px 2px 0px #0A0D120D;
}
.btn--blue:hover {
  background-color: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.btn .icon {
  position: relative;
}
.btn .icon:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}
.btn:hover .icon:after {
  opacity: 0;
}
.btn .icon img {
  display: block;
}

.btn--external.btn--yellow .icon:after {
  background: url("/wp-content/themes/traction2025/assets/icons/external-gray.svg") no-repeat center center;
}
.btn--download.btn--yellow .icon:after {
  background: url("/wp-content/themes/traction2025/assets/icons/download-gray.svg") no-repeat center center;
}
.btn--arrow.btn--yellow .icon:after {
  background: url("/wp-content/themes/traction2025/assets/icons/arrow-gray.svg") no-repeat center center;
}

.btn--external.btn--blue .icon:after {
  background: url("/wp-content/themes/traction2025/assets/icons/external-white.svg") no-repeat center center;
}
.btn--download.btn--blue .icon:after {
  background: url("/wp-content/themes/traction2025/assets/icons/download-white.svg") no-repeat center center;
}
.btn--arrow.btn--blue .icon:after {
  background: url("/wp-content/themes/traction2025/assets/icons/arrow-white.svg") no-repeat center center;
}

.btn-location,
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-location:before {
  content: "";
  display: block;
  width: 13px;
  height: 17px;
  background-image: url("/wp-content/themes/traction2025/assets/icons/loc_yellow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.btn-phone svg {
  width: 15px;
  height: 15px;
}
.btn-phone svg path {
  transition: all 0.3s;
}
.btn-phone:hover svg path {
  fill: var(--white);
}

.link-text-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--white);
}
.link-text-icon:hover {
  color: var(--yellow);
}
.link-text-icon img {
  display: block;
}

.link-text-uppercase {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 900;
  font-family: "Napa Sans Bold Cn", sans-serif;
  color: var(--yellow);
}
.link-text-uppercase:hover {
  color: var(--white);
}

/* Typography */
h1 {
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
h2 {
  font-weight: 400;
  letter-spacing: -0.02em;
}
h3 {
  font-weight: 400;
}
h4 {
  font-family: "Napa Sans Bold Cn", sans-serif;
  flex: 900;
  line-height: 1.8;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 24px;
}
h5 {
  font-size: 22px;
  font-weight: 400;
}

.text-blue {
  color: var(--blue);
}
.text-yellow {
  color: var(--yellow);
}
.text-uppercase {
  text-transform: uppercase;
}
.font-bold-cn {
  font-family: "Napa Sans Bold Cn", sans-serif;
  flex: 900;
  line-height: inherit;
}
p.extra-large {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.text-center {
  text-align: center;
}

.text-bold {
  font-family: "Napa Sans Bold", sans-serif;
  font-weight: 700;
}

p {
  line-height: 1.5;
}

/* Header */
.header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  color: #fff;
  padding-top: 22px;
  padding-bottom: 22px;
  z-index: 10;
  transition: all 0.3s;
}
.header--scroll {
   background-color: var(--blue);
}
.header__container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.nav ul {
  display: flex;
  list-style: none;
}
.nav a {
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}
.nav a:hover {
  color: var(--yellow);
}

/* Hero */
.hero {
  position: relative;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 176px;
  border-bottom: 6px solid var(--yellow);
  overflow: hidden;
  text-align: center;
  color: var(--white);
  gap: 32px;
}
.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #001FCC 0%, #0A0094 100%);
  z-index: -1;
}
.hero__img {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  object-fit: cover;
  opacity: 0.2;
}
.hero__logos {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero__logos img {
  display: block;
}
.hero--locations p {
  max-width: 566px;
}

/* Home */
.section {
  padding-top: 96px;
  padding-bottom: 96px;
}
.section .container {
  gap: 36px;
}

.suppliers-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.suppliers-logos img {
  display: block;
  max-width: 100%;
}

.services.bg-blue h3 {
  color: var(--white);
}
.services .col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}
.services img {
  max-width: 100%;
}
.services__img img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.content {
  display: flex;
  flex-direction: column;
}
.content--careers {
  margin: 0 auto;
  padding-top: 140px;
  padding-bottom: 140px;
  gap: 48px;
}

/* Promotion */
.promotion-card {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 530px;
  width: 100%;
}
.promotion-card__img img {
  width: 100%;
  height: auto;
}
.promotion-card__desc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.5;
}
.promotion-card p.large {
  font-size: 20px;
}

/* Locations */
.locations {
  gap: 40px;
  width: 100%;
}
.location {
  display: flex;
  flex-direction: column;
  gap: 20px;
  page-break-inside: avoid;
  break-inside: avoid;
  margin-bottom: 40px;
}
.locations__col {
  gap: 40px
}
.location h3 {
  margin-bottom: -10px;
}
.location strong {
  font-family: "Napa Sans Bold", sans-serif;
}
.location a {
  position: relative;
  color: var(--blue-link);
  font-weight: 500;
  font-family: "Napa Sans Bold", sans-serif;
}
.link-text {
  position: relative;
}
.location a:after,
.link-text:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 100%;
  transition: all 0.3s;
  border-bottom: 1px solid var(--blue-link);
}
.location a:hover:after,
.link-text:hover:after {
  right: 0;
}

.content--careers p {
  line-height: 1.2;
  letter-spacing: -0.02em;
}


/* Footer */
.footer {
  background: var(--navy);
  color: #fff;
  padding-bottom: 48px;
}
.footer__container {
  align-items: center;
}
.footer__logo img {
  display: block;
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__links p {
  text-align: center;
  line-height: 1.8;
}
@media (max-width: 991px) {
  .nav {
    position: absolute;
    top: 100%;
    right: -278px;
    background-color: var(--white);
    border-left: 6px solid var(--yellow);
    width: 278px;
    transition: all 0.3s;
  }
  .nav.is-open {
    right: 0;
  }
  .nav ul {
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav li {
    order: 3;
    border-bottom: 1px solid #DADAD9;
  }
  .nav li:first-child {
    order: 1;
  }
  .nav li:nth-child(4) {
    order: 2;
  }
  .nav li:last-child {
    border-bottom: none;
  }
  .nav a, .nav span {
    width: 100%;
    display: flex;
    padding: 12px 16px;
    color: var(--gray-dark);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
  }
  .mobile-btn {
    position: relative;
    width: 20px;
    height: 14px;
    cursor: pointer;
  }
  .mobile-btn:before,
  .mobile-btn:after {
    content: "";
  }
  .mobile-btn:before,
  .mobile-btn:after,
  .mobile-btn em {
    position: absolute;
    left: 50%;
    margin-left: -10px;
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
  }
  .mobile-btn:before {
    top: 0;
  }
  .mobile-btn:after {
    bottom: 0;
  }
  .mobile-btn em {
    top: 50%;
    margin-top: -1px;
  }
  .mobile-btn.is-open em {
    opacity: 0;
  }
  .mobile-btn.is-open:before {
    top: 6px;
    transform: rotate(45deg);
  }
  .mobile-btn.is-open:after {
    bottom: 6px;
    transform: rotate(-45deg);
  }
  .content {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }
  h2,
  h3 {
    font-size: 30px;
  }
  .logo img {
    width: 160px;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .content.content--careers {
    padding-top: 100px;
    padding-bottom: 132px;
  }

  .hero {
    padding-bottom: 41px;
    min-height: 501px;
  }
  .hero--home {
    gap: 236px;
  }
  .hero__logos {
    row-gap: 9px;
  }
  .hero__logos img {
    width: auto;
  }
  .hero__bottom {
    padding-left: 30px;
    padding-right: 30px;
  }
  .logo-truck {
    height: 50px;
  }
  .logo-stone {
    height: 40px;
  }
  .logo-global,
  .logo-otp {
    height: 45px
  }

  .services.bg-blue .container {
    padding-top: 134px;
    padding-bottom: 134px;
  }
  .services:not(.bg-blue) .container {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .services:not(.bg-blue) h3 {
    font-size: 32px;
  }
  .services:not(.bg-blue) h3 p {
    font-size: 38px;
  }
  .services__img {
    position: relative;
    width: 100vw;
    height: 100vw;
  }
  .services__img-mobile {
    width: 100%;
    height: auto;
    display: block;
  }
  .services__img-desktop {
    display: none;
  }
  .services.bg-blue .services__img img {
    object-position: 50% 50%;
  }
  .services:not(.bg-blue) .services__img img {
    object-position: 50% 50%;
  }

  .promotion-card {
    flex-direction: column;
    text-align: center;
    padding-left: 27px;
    padding-right: 27px;
  }

  .suppliers-logos {
    gap: 22px;
    margin-top: 48px;
  }

  .location:last-child {
    margin-bottom: 0;
  }

  .footer {
    padding-top: 48px;
  }
  .footer__logo img {
    width: 150px;
  }
  .footer__container {
    gap: 32px
  }
  .footer__links {
    gap: 24px;
  }
}
@media (min-width: 768px) {
  .mobile-visible {
    display: none;
  }

  h1 {
    font-size: 64px;
  }
  h1.large {
    font-size: 70px;
  }
  h3 {
    font-size: 36px;
  }
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
  

  .hero {
    padding-bottom: 60px;
  }
  .hero--home {
    gap: 140px;
  }
  .hero--locations {
    padding-bottom: 91px;
  }

  .content.content--careers {
    max-width: calc(564px + 32px * 2);
    padding-top: 140px;
    padding-bottom: 120px;
  }

  .services {
    position: relative;
  }
  .services__img {
    position: absolute;
    top: 0; 
    bottom: 0;
  }
  .services.bg-blue .services__img {
    left: 0;
  }
  .services:not(.bg-blue) .services__img {
    right: 0;
  }
  .services.bg-blue .services__img img {
    object-position: 100% 50%;
  }
  .services:not(.bg-blue) .services__img img {
    object-position: 0 50%;
  }
  .services .container {
    flex-direction: row;
  }
  .services.bg-blue .container {
    justify-content: flex-end;
  }
  
  .services__img-mobile {
    display: none;
  }

  .promotion-card__img {
    width: 45%;
    flex-shrink: 0;
  }

  .locations {
    column-gap: 40px;
  }
  
  .footer {
    padding-top: 64px;
  }
  .footer__logo img {
    width: 266px;
  }
  .footer__links {
    gap: 16px;
  }
  .footer__container {
    gap: 64px
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .container--small {
    padding-left: 0;
    padding-right: 0;
  }
  h2 {
    font-size: 40px;
  }
  p.tablet-small {
    font-size: 14px;
    line-height: 2;
  }
  .hero {
    min-height: 580px;
  }
  .hero p.large {
    font-size: 20px;
  }
  .content--locations h3 {
    font-size: 36px;
  }
  .hero--promotions h1 {
    max-width: 492px;
  }
  .locations {
    width: 520px;
    margin: 0 auto;
    column-count: 2;
  }
  .services {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .services__img {
    width: 40vw;
  }
  .services.bg-blue .services__img {
    width: 52vw;
  }
  .services:not(.bg-blue) .col {
    width: 60%;
  }
  .services.bg-blue .col {
    width: calc(48% - 32px);
  }
  .services h3 {
    font-size: 30px;
  }
}
@media (min-width: 991px) {
  .container--small {
    max-width: calc(478px + 32px * 2);
  }
  h2 {
    font-size: 40px;
  }
  h2.large {
    font-size: 48px;
  }
  p.large {
    font-size: 20px;
    line-height: 1.4;
  }
  .nav ul {
    align-items: center;
    gap: 30px;
  }
  .mobile-btn {
    display: none;
  }
  .btn-desktop {
    padding: 6px 20px;
    border: 2px solid var(--white);
    background-color: transparent;
    color: var(--white);
    border-radius: 4px;
  }
  .btn-desktop:hover {
    color: var(--yellow);
    border-color: var(--yellow);
  }

  .hero {
    min-height: 490px;
  }

  .locations {
    column-count: 3;
  }

  .content {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .content.content--promotions .container:not(.container--small) {
    gap: 96px;
  }

  .content--locations {
    padding-bottom: 192px;
  }

  .services.bg-blue {
    padding-top: 149px;
    padding-bottom: 149px;
  }
  .services:not(.bg-blue) {
    padding-top: 96px;
    padding-bottom: 96px;
  }
  .services__img {
    width: 50vw;
  }
  .services .col {
    width: calc(50% - 30px);
  }
}

.container .otnotice .otnotice-menu {
  position: absolute;
}

.socials {
  display: flex;
  gap: 1rem;
}
.socials span {
  display: none;
}
.socials a svg {
  transition: .3s;
}
.socials a:hover svg {
  filter: brightness(0.8);
}
@media (max-width: 991px) {
  .socials {
    justify-content: flex-start;
  }
  .socials span {
    display: inline-block;
    width: auto;
    white-space: nowrap;
  }
  .socials a {
    padding-inline: 0;
    width: auto;
  }
}