@import "./support-shared.css";

body {
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #a3a3a3;
  --color-light: #1e1e1e;
  --color-text: var(--color-white);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-black);
  max-width: none;
}

.header,
.main {
  max-width: 77.25rem;
  margin-right: auto;
  margin-left: auto;
}

.header {
  margin-bottom: 5rem;
}

.logo,
.menu a,
.language-switcher a {
  color: var(--color-white);
}

.footer {
  display: none;
}

.support-subpage-header {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.support-lined-header {
  width: 100%;
  max-width:900px;
}

.support-lined-page-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  color: var(--color-white);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem) !important;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0;
}

.support-lined-page-title::before,
.support-lined-page-title::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, .28);
}

.support-lined-page-title span {
  white-space: nowrap;
}

.support-nav {
  justify-content: center;
}

.support-nav a {
  border-color: rgba(255, 255, 255, .28);
  color: var(--color-white);
  background: #1e1e1e;
}

.support-nav a:hover,
.support-nav a:focus-visible,
.support-nav a[aria-current] {
  background: var(--color-white);
  color: var(--color-black);
}

.support-content {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}

.support-content--layout {
  width: 100%;
  max-width: 900px;
}

.support-content--layout .grid.margin-xl {
  margin-bottom: 2rem;
}

.support-content--layout figure {
  margin: 0;
}

.support-content--layout .img-caption,
.support-content--layout figcaption {
  text-align: center;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.support-content--contact {
  padding-top: 0.5rem;
}

.support-content--contact .contact-list {
  display: grid;
  gap: 1.75rem;
}

.support-content--contact .contact-item {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.support-content--contact .contact-item-iconwrap {
  display: grid;
  place-items: start;
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.support-content--contact .contact-item-icon {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}

.support-content--contact .contact-item-title {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}

.support-content--contact .contact-item-text {
  margin: 0;
  color: white;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.support-content--contact .contact-item-link {
  display: inline;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.support-content--contact .contact-item-link:hover,
.support-content--contact .contact-item-link:focus-visible {
  text-decoration: underline;
}

.support-content > .text,
.support-content--layout .text {
  font-size: 14px;
  line-height: 1.7;
}

.support-content > .text {
  margin-bottom: 3rem;
}

@media screen and (max-width: 750px) {
  .support-content > .text,
  .support-content--layout .text {
    font-size: 12px;
  }
}

.support-content-section {
  display: grid;
  gap: 1.5rem;
  /* padding: 2rem 0; */
  /* border-top: 1px solid rgba(255, 255, 255, .16); */
}

.support-content-section figure {
  background: #1e1e1e;
}

.support-content-section img {
  display: block;
}

.support-content-section h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media screen and (min-width: 60rem) {
  .support-content-section {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  }

  .support-content-section figure:empty {
    display: none;
  }
}
