:root {
  --ayvens-primary: #0F3549;
  --ayvens-accent: #FFDC46;
  --primaryText: #2D2D2D;
  --md: 24px;
  --lg: 40px;
  --spacer: 120px;
}

.logo-ayvens img {
  height: 28px;
  width: 135px;
}

#nav-ayvens {
  display: flex;
  align-items: center;
}

#nav-ayvens .logo-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  line-height: normal;
  flex: 1 0 auto;
}

#nav-ayvens .back-tosite {
  margin-right: 10px;
}

.mb-md {
  margin-bottom: var(--md);
}

.mt-md {
  margin-top: var(--md);
}

.mb-lg {
  margin-bottom: var(--lg);
}

.mt-lg {
  margin-top: var(--lg);
}

.mt-spacer {
  margin-top: var(--spacer);
}

.mb-spacer {
  margin-bottom: var(--spacer);
}

/* Ayvens post type archive */
.post-type-archive-ayvens-cars .section-content {
  margin-top: 100px;
}

@media only screen and (min-width : 601px) {
  .post-type-archive-ayvens-cars .section-content {
    margin-top: 140px;
  }
}


.post-type-archive-ayvens-cars h3 {
  color: var(--ayvens-primary);
}

.post-type-archive-ayvens-cars .filtra_per {
  background-color: var(--ayvens-accent);
  color: var(--primary);
}

.post-type-archive-ayvens-cars .car-item.card-ayvens-cars .car-item--box {
  border: 1px solid var(--ayvens-primary);
}

.post-type-archive-ayvens-cars .car-item.card-ayvens-cars .title {
  color: var(--ayvens-primary);
}

.post-type-archive-ayvens-cars .car-item.card-ayvens-cars .card-action {
  background-color: var(--ayvens-accent) !important;
  color: var(--ayvens-primary);
}

.post-type-archive-ayvens-cars {
  --primaryText: var(--ayvens-primary);
}

.car-item {
  color: var(--primaryText);
}

.car-item .title {
  color: var(--primaryText);
  font-size: 1.21875rem;
  line-height: normal;
  text-transform: uppercase;
}

.car-item .main-info {
  font-size: 1rem;
  margin-top: 10px;
}


/* Single cars */
.single-ayvens-cars {
  color: var(--ayvens-primary);
  --accent: var(--ayvens-accent);
}

.single-ayvens-cars .section_14 h1 {
  color: var(--ayvens-primary);
}


.single-ayvens-cars .infotab--header .tab a {
  color: var(--ayvens-primary) !important;
}

.single-ayvens-cars .btn_cta {
  color: var(--ayvens-primary) !important;
}

.single-ayvens-cars #request-form {
  /* background-color: var(--ayvens-accent); */
}

#request-form.js-open {
  background: rgba(255, 255, 255, .8);
}

.post-type-archive-ayvens-cars .empty-state .u-accent {
  color: var(--ayvens-primary);
}

.post-type-archive-ayvens-cars .btn-filter-reset {
  background-color: var(--ayvens-primary);
}

.post-type-archive-ayvens-cars .pagination li .active {
  color: var(--ayvens-primary);
}

.single-cars .swiper-button-next,
.single-cars .swiper-button-prev,
.single-ayvens-cars .swiper-button-next,
.single-ayvens-cars .swiper-button-prev {
  color: white;
}


#history .title {
  color: var(--primaryText);
}

.ayvens-partnership {
  background-color: var(--ayvens-primary);
  padding: 80px 0;
  color: white;
}

.btn-ayvens-accent {
  border-radius: 50px;
  background-color: var(--ayvens-accent);
  color: var(--ayvens-primary);
}

.car-item--features {
  gap: 5px;
}

.car-item--features .features--item {
  flex: 0 0 auto;
  min-width: auto;
}

.fuel-type span {
  display: flex;
  flex: 0 0 auto;
  max-width: 80px;
  line-height: 120%;
  margin-right: 0;
}

.fuel-type .fuel-wrapper {
  display: flex;
  flex-direction: column;
}

.btn-transparent {
  background-color: #fff;
  color: var(--accent);
  box-shadow: none;
  border: 1px solid var(--accent);
}

.btn-transparent:hover,
.btn-transparent:focus {
  background-color: var(--accent);
  color: #fff;
}
