/*!
Theme Name: Coyote Cargo
Theme URI: https://qodeum.com/
Author: qodeum.com
Author URI: https://qodeum.com/
Description:
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: coyote-cargo
Tags:
----------------------------------------------------------------------------------------- */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

*:focus,
*:active {
  outline: none;
}

:root {
  /* font */
  --font-sans-serif: "Exo 2", serif;

  /* color */
  --color-black: #000000;
  --color-black-light: #1a1a1a;
  --color-black-trans: rgba(0, 0, 0, 0.16);

  --color-white: #ffffff;
  --color-white-trans: rgba(255, 255, 255, 0.16);

  --color-accent: #ffcc00;
  --color-accent-trans: rgba(245, 145, 79, 0.08);

  --color-gray: #a8a8a8;
  --color-gray-dark: #3a3a3a;
  --color-gray-light: #f8f8f8;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

/*  html
------------------------------------------ */
html {
  line-height: normal;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-gray-dark);
  font-family: var(--font-sans-serif);

  /*  */
  margin: 0 auto;
  max-width: 1600px;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.16);
}

@media (max-width: 1280px) {
  body {
    font-size: 14px;
  }
}

/*  responsive
------------------------------------------ */
@media (max-width: 1280px) {
  .hide-1280 {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .hide-992 {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hide-768 {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .hide-576 {
    display: none !important;
  }
}

/*  responsive
------------------------------------------ */
@media (min-width: 1280px) {
  .show-1280 {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .show-992 {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .show-768 {
    display: none !important;
  }
}

@media (min-width: 576px) {
  .show-576 {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  HTML
 *
 *  ——
 *  ——
 *
----------------------------------------------------------------------------------------- */

:root {
  /* heading */
  --font-size-h1: 48px;
  --font-size-h2: 32px;
  --font-size-h3: 28px;
  --font-size-h4: 24px;
  --font-size-h5: 20px;
  --font-size-h6: 16px;

  /* font size */
  --font-size-lg: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin: 0 !important;
  line-height: 1.4;
  font-family: var(--font-serif);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

p {
  line-height: 1.56;
}

ul,
ol,
dl {
  line-height: 1.56;
  list-style: none;
}

img {
  height: auto;
  max-width: 100%;
}

hr {
  border: none;
  border-bottom: 1px solid var(--color-black-trans);
}

blockquote {
  padding: 16px;
  position: relative;
  background: var(--color-accent-trans);
  border-left: 2px solid var(--color-accent);
}

/*  table
------------------------------------------ */
table,
td,
th {
  border: 1px solid var(--color-black-trans);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
}

tr:nth-child(even) {
  background-color: var(--color-accent-trans);
}

td,
th {
  padding: 16px;
  text-align: left;
  position: relative;
}

/* thaed */
thead {
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-accent);
}

/*  responsive max width
------------------------------------------ */
@media (max-width: 992px) {
  :root {
    /* heading */
    --font-size-h1: 32px;
    --font-size-h2: 28px;
    --font-size-h3: 24px;
    --font-size-h4: 20px;
    --font-size-h5: 16px;
    --font-size-h6: 12px;

    /* font size */
    --font-size-lg: 16px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.24;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  site header
 *
 *  —— masthead
 *  —— mastside
 *
----------------------------------------------------------------------------------------- */

:root {
  /* site header: masthead */
  --masthead-height: 64px;
}

/* site header */
.site-header {
  top: 0;
  width: 100%;
  z-index: 999;
  position: sticky;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
  background: var(--color-black-light);
}

/*  site header: masthead
----------------------------------------------------------------------------------------- */
.masthead,
.masthead-panel,
.masthead [class*="col-"] {
  gap: 0 32px;
  display: flex;
  align-items: center;
}

/* masthead */
.masthead {
  position: relative;
  height: var(--masthead-height);
}

/* masthead column */
.masthead [class*="col-"] {
  flex-direction: row;
  justify-content: space-between;
}

/*  masthead navigation
------------------------------------------ */
.masthead-navigation {
  --menu-item-height: 64px;
}

/* masthead menu */
.masthead-navigation .menu {
  gap: 32px;
  display: flex;
}

/* masthead navigation menu item */
.masthead-navigation .menu-item {
  gap: 4px;
  display: flex;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  align-items: center;
  transition: ease-in-out 0.16s;
  justify-content: space-between;
  height: var(--menu-item-height);
}

.masthead-navigation .menu-item:hover,
.masthead-navigation [class*="current-menu-"] {
  color: var(--color-accent);
}

/* masthead navigation sub menu */
.masthead-navigation .sub-menu {
  gap: 8px;
  left: 50%;
  z-index: 1;
  top: calc(var(--menu-item-height) - 0px);
  padding: 32px;
  display: none;
  min-width: 256px;
  position: absolute;
  border-radius: 0px;
  flex-direction: column;
  transform: translateX(-50%);
  background: var(--color-white);
  color: var(--color-black) !important;

  box-shadow: 0 0 16px rgba(0, 0, 0, 0.04);
}

.masthead-navigation .sub-menu .menu-item {
  height: unset;
}

/* masthead navigation sub menu first level */
.masthead-navigation .menu > *:hover > .sub-menu {
  display: flex;
}

/* masthead navigation sub menu second level */
.masthead-navigation .menu > * > * > *:hover > .sub-menu {
  top: 0;
  left: 100%;
  display: flex;
}

/*  responsive
------------------------------------------ */

/* --------------------------------------------------------------------------------------
 *
 *  Site Footer
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
.site-footer {
  padding: 32px 0;
  color: var(--color-gray);
  background: var(--color-black-light);
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Main
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
:root {
  /* section */
  --section-gap: 96px;
}

section {
  padding: var(--section-gap) 0;
}

/* section group */
.section-group > section {
  background: var(--color-gray-light);
}

.section-group > section:nth-child(even) {
  color: var(--color-gray-light);
  background: url(/wp-content/themes/coyote-cargo/assets/media/stripe-white.svg)
    no-repeat center right / contain var(--color-black-light);
}

/*  responsive
------------------------------------------ */
@media (max-width: 992px) {
  :root {
    /* section */
    --section-gap: 48px;
  }
}

/*  section: hero
----------------------------------------------------------------------------------------- */
section#hero {
  padding: 0;
}

/*  hero slider
------------------------------------------ */
#hero-slider .swiper-slide {
  display: flex;
  min-height: 512px;
  align-items: flex-end;
  background-size: cover;
  color: var(--color-white);
  background-position: center center;
  padding: calc(var(--masthead-height) + var(--section-gap)) 0
    var(--section-gap) 0;
}

@media (max-width: 992px) {
  #hero-slider .swiper-slide {
    min-height: 256px;
  }
}

/*  section: contact
----------------------------------------------------------------------------------------- */
section#contact {
  background: url(/wp-content/themes/coyote-cargo/assets/media/map-europe.png)
    no-repeat right bottom / contain var(--color-accent);
}

/* --------------------------------------------------------------------------------------
 *
 *  Component
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */

/*  component: icon card
----------------------------------------------------------------------------------------- */
.icon__card {
  gap: 16px;
  height: 100%;
  display: flex;
  padding: 24px;
  border-radius: 4px;
  flex-direction: column;
  background: var(--color-accent);
}

.icon__card-panel {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.icon__card-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(0);
}

.icon__card-title {
  font-weight: 600;
  color: var(--color-black);
  font-size: var(--font-size-lg);
}

/*  component: card
----------------------------------------------------------------------------------------- */
.card,
.card-panel {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-weight: 600;
  font-size: var(--font-size-lg);
}

/*  component: accordion
----------------------------------------------------------------------------------------- */
.accordion {
  position: relative;
}

/*  accordion button
------------------------------------------ */
.accordion-button {
  cursor: pointer;
  position: relative;
}

.accordion-button::selection {
  background: transparent;
}

/*  accordion content
------------------------------------------ */
.accordion-content {
  display: none;
}

/*  component: tab
----------------------------------------------------------------------------------------- */

/*  tab content
----------------------------------------- */
.tab-content {
  height: 100%;
  display: none;
  overflow: hidden;
  position: relative;
  animation: fadeEffect 0.16s;
  -webkit-animation: fadeEffect 0.16s;
}

/* tab content active */
.tab-content.active {
  display: block;
}

/*  tab animation
----------------------------------------- */
@-webkit-keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*  component: sidebar
----------------------------------------------------------------------------------------- */
:root {
  --sidebar-width: 320px;
}

/* sidebar */
.sidebar {
  top: 0;
  right: 0;
  height: 100%;
  position: fixed;
  overflow-y: scroll;
  color: var(--color-white);
  width: var(--sidebar-width);
  transform: translateX(100%);
  background: var(--color-black-light);
  transition: transform 0.16s ease-out;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar > * {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar > *:not(:last-child) {
  border-bottom: 1px solid var(--color-white-trans);
}

/* sidebar head */
.sidebar-head {
  padding: 0 32px;
  min-height: calc(var(--masthead-height) * 1);
}

/* sidebar panel */
.sidebar-panel {
  gap: 16px;
  padding: 32px;
}

/*  sidebar navigation
------------------------------------------ */
.sidebar-navigation .menu *::selection {
  background: transparent;
}

/* sidebar navigation menu-item */
.sidebar-navigation .menu .menu-item {
  position: relative;
}

.sidebar-navigation .menu .menu-item:not(:last-child) {
  border-bottom: 1px solid var(--color-white-trans);
}

/* sidebar navigation menu-item > a */
.sidebar-navigation .menu .menu-item > a {
  z-index: 1;
  display: block;
  position: relative;
  padding: 16px 0 16px 32px;
  max-width: calc(100% - 80px);
  transition: ease-in-out 0.16s;
}

.sidebar-navigation .menu .menu-item > a:hover,
.sidebar-navigation .menu [class*="current-menu-"] > a {
  color: var(--color-accent);
}

.sidebar-navigation .menu .menu-item > a:hover {
  text-decoration: underline;
}

/* sidebar navigation menu-item-has-children > a */
.sidebar-navigation .menu .menu-item-has-children > a {
  display: inline-block;
}

/* sidebar navigation menu-item > accordion-button */
.sidebar-navigation .menu-item > span {
  right: 0;
  top: 14px;
  width: 100%;
  height: 24px;
  opacity: 0.32;
  display: block;
  cursor: pointer;
  position: absolute;
  transition: ease-in-out 0.16s;
  background: url("https://api.iconify.design/mdi-light/chevron-down.svg?color=white")
    no-repeat right 32px center / contain;
}

.sidebar-navigation .menu-item > span {
  opacity: 1;
}

/* іidebar navigation sub-menu */
.sidebar-navigation .sub-menu {
  background: var(--color-white-trans);
}

/*  component: headline
----------------------------------------------------------------------------------------- */
.headline {
  gap: 16px;
  display: flex;
  height: 100%;
  flex-direction: column;

  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-black-trans);
}

/* headline center */
.headline.center {
  text-align: center;
  align-items: center;
}

.headline.center * {
  text-align: center;
}

/*  headline label
------------------------------------------ */
.headline-label {
  font-weight: 500;
  font-style: italic;
}

/*  headline title
------------------------------------------ */
.headline-title {
  font-weight: 600;
  line-height: 1.4;
  font-size: var(--font-size-h2);
}

/* headline title --large */
.headline-title.--large {
  font-size: var(--font-size-h1);
}

.headline-textarea {
  opacity: 0.8;
}

@media (max-width: 992px) {
  .headline-title {
    line-height: 1.4;
  }
}

/*  component: contact
----------------------------------------------------------------------------------------- */

/*  contact
------------------------------------------ */
.contact {
  display: flex;
  line-height: 1.56;
  flex-direction: column;
}

/* contact label */
.contact-label {
  font-size: 12px;
  font-weight: 600;
}

/*  contact widget
------------------------------------------ */
.contact-widget {
  gap: 2px;
  display: flex;
  flex-direction: column;
}

/* contact phone */
.contact-phone a {
  line-height: 1;
  font-size: 24px;
  font-weight: 600;
}

.contact-grid {
  display: flex;
}

.contact-grid > * {
  width: 50%;
}

/*  contact group
------------------------------------------ */
.contact-group {
  display: flex;
  flex-direction: column;
}

/* contact group name */
.contact-group__name {
  font-weight: 600;
  font-size: var(--font-size-lg);
}

/* contact group inline */
.contact-group.inline {
  flex-direction: row;
}

/*  component: editor
----------------------------------------------------------------------------------------- */
.editor {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* editor list */
.editor ul,
.editor ol {
  gap: 8px;
  display: flex;
  margin: 0 0 0 16px;
  flex-direction: column;
}

.editor ul {
  list-style: square;
}

.editor ol {
  list-style: decimal;
}

/* editor iframe */
.editor iframe {
  width: 100%;
  height: 420px;
}

/* editor link */
.editor a {
  text-decoration: underline;
  color: var(--color-accent);
}

/* editor bold */
.editor strong,
.editor b {
  font-weight: 600;
}

/*  responsive
------------------------------------------ */
@media (max-width: 992px) {
  /* editor br */
  .editor br {
    display: none;
  }
}

/*  component: swiper
----------------------------------------------------------------------------------------- */

.swiper--endless {
  padding: 0 var(--section-gap) !important;
}

/*  swiper slide
----------------------------------------- */
.swiper-slide {
  height: auto !important;
}

/*  component: language switcher
----------------------------------------------------------------------------------------- */
.wpm-switcher-list {
  gap: 16px;
  display: flex;
}

.wpm-switcher-list li a,
.wpm-switcher-list li.active a,
.wpm-switcher-list li > span,
.wpm-switcher-list li.active > span {
  color: inherit;
  cursor: pointer;
  font-weight: 500;
  display: inline-block;
  transition: ease-in-out 0.16s;
}

.wpm-switcher-list li a:hover,
.wpm-switcher-list li.active span {
  color: var(--color-accent) !important;
}

/*  component: form
----------------------------------------------------------------------------------------- */
form {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  label
------------------------------------------ */
label {
  gap: 8px;
  display: flex;
  font-weight: 600;
  align-items: baseline;
}

/*  fieldset
------------------------------------------ */
fieldset {
  margin: 0;
  height: 100%;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid var(--color-black);
}

/* legend */
legend {
  font-weight: 600;
  padding: 0 16px;
}

/*  field
------------------------------------------ */
input,
textarea {
  width: 100%;
  border: none;
  padding: 0 16px;
  background: transparent;
  color: inherit !important;
}

textarea {
  height: 100%;
  max-height: 128px;
}

input[type="radio"],
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  background: transparent;
}

input[type="submit"] {
  max-width: max-content;
}

/*  contact from 7
------------------------------------------ */

/* .wpcf7-form-control-wrap */
.wpcf7-form-control-wrap {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* wpcf7-form-control */
.wpcf7-form-control {
  gap: 16px;
  display: flex;
}

/* .wpcf7-list-item */
.wpcf7-list-item {
  gap: 8px;
  margin: 0;
  display: flex;
  align-items: center;
}

/* .wpcf7-spinne */
.wpcf7-spinner {
  top: 50%;
  right: 25px;
  position: absolute;
  transform: translateY(-50%);
}

/* .wpcf7-response-output */
.wpcf7-response-output {
  border-radius: 0px;
  border-width: 2px;
  margin: 0 !important;
  padding: 16px !important;
}

/*  component: site branding
----------------------------------------------------------------------------------------- */
.site-branding {
  gap: 16px;
  display: flex;
  align-items: center;
  min-width: max-content;
}

/* site branding logo */
.site-branding__logo {
  max-height: 40px;
}

.site-branding__meta {
  display: flex;
  flex-direction: column;
}

.site-branding__name {
  font-size: 20px;
  font-weight: 500;
}

.site-branding__desc {
  opacity: 0.64;
  font-size: 12px;
  font-weight: 500;
}

/*  component: button
----------------------------------------------------------------------------------------- */
:root {
  --button-height: 40px;

  /* button xs */
  --button-xs-height: 32px;
}

/*  button group
------------------------------------------ */
.button-group {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
}

/* button group center */
.button-group.center {
  justify-content: center;
}

/*  button
------------------------------------------ */
.button {
  gap: 8px;
  display: flex;
  outline: none;
  cursor: pointer;
  font-weight: 500;
  padding: 0px 24px;
  border-radius: 4px;
  text-align: center;
  align-items: center;
  min-width: max-content;
  justify-content: center;
  color: var(--color-black);
  height: var(--button-height);
  transition: ease-in-out 0.16s;
  border: 1px solid transparent;
  background: var(--color-accent);
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.9);
}

.button:hover {
  opacity: 0.8;
}

.button-xs {
  height: var(--button-xs-height);
}

/* button black */
.button.--black {
  color: var(--color-white) !important;
  background: var(--color-black-light);
}

/*  button square / round
------------------------------------------ */
.button-round,
.button-square {
  padding: 0;
  font-size: 24px;
  width: var(--button-height);
  height: var(--button-height);
  min-width: var(--button-height);
  min-height: var(--button-height);
}

/* button square */
.button-square {
  border-radius: 4px;
}

/* button round */
.button-round {
  border-radius: 100%;
}

.button-sidebar {
  z-index: 1;
  position: relative;
}

/*  component: modal
----------------------------------------------------------------------------------------- */
.modal {
  display: none;
}

/*  component: thumbnail
----------------------------------------------------------------------------------------- */
.thumbnail {
  gap: 8px;
  height: 256px;
  padding: 32px;
  display: flex;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
  flex-direction: column;
  background: transparent;
  justify-content: flex-end;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
  background: var(--color-black-trans);
}

.thumbnail::after {
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.24),
    rgba(0, 0, 0, 0.24),
    rgba(0, 0, 0, 0.24)
  );
}

/*  thumbnail square
------------------------------------------ */
.thumbnail-square {
  height: unset;
  padding: 100% 0 0 0;
}

/*  thumbnail large
------------------------------------------ */
.thumbnail-large {
  height: 512px;
}

/*  thumbnail media
------------------------------------------ */
.thumbnail-media {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  transition: ease-in-out 0.16s;
}

/* <a> thumbnail / thumbnail media */
a.thumbnail:hover .thumbnail-media {
  transform: scale(1.08);
}

/*  component: transport
----------------------------------------------------------------------------------------- */
.transport {
  border-radius: 4px;
  border: 1px solid var(--color-black-trans);
}

.transport-button {
  gap: 64px;
  display: flex;
}

.transport-image {
  width: 100%;
  max-width: 60%;
  padding: 32px;
}

.transport-content {
  display: none;
}

.transport-panel {
  gap: 8px;
  width: 40%;
  padding: 32px;
  display: flex;
  min-height: 100%;
  border-radius: 4px;
  flex-direction: column;
  background: var(--color-accent-trans);
}

.transport-title {
  font-weight: 600;
  font-size: var(--font-size-lg);
}

.transport-details {
  color: var(--color-accent);
  text-decoration: underline;
}

.transport-content {
  padding: 32px;
  background: var(--color-gray-light);
}

/*  transport group
------------------------------------------ */
.transport-group {
  gap: 32px;
  display: flex;
  flex-direction: column;
}
