/* ============ FOOTER ============ */
.cs-footer {
  --cs-footer-bg: var(--main--03);
  --cs-footer-text: var(--white);
  --cs-footer-muted: color-mix(in srgb, var(--white) 78%, transparent);
  --cs-footer-line: color-mix(in srgb, var(--white) 22%, transparent);

  background: var(--cs-footer-bg);
  color: var(--cs-footer-text);
  padding: 64px 24px;
}

.cs-footer {
  background-repeat: repeat-x;
  background-position: top center;
  background-size: auto 36px;
  background-image: url("/wp-content/uploads/footer-mark.svg");
}

.cs-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 128px;
}

/* GÓRA */
.cs-footer__top {
  display: flex;
  gap: 64px;
  align-items: start;
  justify-content: space-between;
}

.cs-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 64px;
}

.cs-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.cs-footer__list a {
  font-family: var(--font-family-body-basic);
  font-size: var(--font-size-13);
  line-height: var(--line-height-13);
  color: var(--white);
  font-weight: var(--font-weight-300);
}

/* Newsletter */
.cs-footer__newsletter {
  max-width: 420px;
}

.cs-footer__form {
  width: 100%;
  max-width: 420px;
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

input#cs-news-email {
  background: transparent !important;
  border-radius: 999px !important;
}

.cs-footer__input {
  flex: 1;
  color: var(--white) !important;
}

.cs-footer__input::placeholder {
  color: var(--white) !important;
}

.cs-footer__input::placeholder {
  color: color-mix(in srgb, var(--white) 65%, transparent);
}

.cs-footer__submit {
  width: 52px;
  height: 52px;
  border: 0;
  background: var(--white);
  cursor: pointer;
  border-radius: 999px;
  position: absolute;
  right: 0;
}

.cs-footer__submit span {
  color: var(--main--04) !important;
  display: flex;
  justify-content: center;
}

.cs-footer__contact {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  color: var(--cs-footer-muted);
  font-size: 14px;
}

.cs-footer__center {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

img.cs-footer__img {
  max-width: 1000px;
  width: 100%;
}

.cs-footer {
  a {
    color: var(--white);
    font-weight: var(--font-weight-300);
  }

  span {
    color: var(--white);
    font-weight: var(--font-weight-300);
  }

  a:hover {
    opacity: 75%;
  }
}

.cs-footer__contactItem {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.cs-footer__hr {
  margin: 22px 0;
  border: 0;
  border-top: 1px dashed var(--cs-footer-line);
  opacity: 1;
}

.cs-footer__bottom {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 18px 22px;
  align-items: center;
}

.cs-footer__social {
  display: flex;
  gap: 12px;
}
.cs-footer__socialLink {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--cs-footer-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
}
.cs-footer__socialLink:hover {
  background: color-mix(in srgb, var(--white) 10%, transparent);
}

.cs-footer__locale {
  justify-self: center;
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, #000 25%, transparent);
  color: var(--white);
  cursor: pointer;
}

.cs-footer__copy {
  justify-self: end;
  color: var(--cs-footer-muted);
  font-size: 13px;
}

/* A11y */
.cs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* RWD */
@media (max-width: 980px) {
  .cs-footer__top {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cs-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .cs-footer__cols {
    grid-template-columns: 1fr;
  }
  .cs-footer__bottom {
    grid-template-columns: 1fr;
  }
  .cs-footer__copy {
    justify-self: start;
  }
  .cs-footer__locale {
    justify-self: start;
  }
}
