

.contact-page{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 5.543rem !important;
}

.contact-header{
  text-align: center;
}

.support-topics {
  margin-top: 1.6875rem;
  padding: 1.71875rem 1.5625rem;
  background: #F8F8F8 0% 0% no-repeat padding-box;
}

.contact-header h1{
  font-size: 2rem;
  letter-spacing: 0px;
  line-height: 2.4375rem;
}

.support-topics__lead,
.contact-empty {
  margin-top: .75rem;
}

.contact-topic-tabs {
  display: flex;
  width: fit-content;
  gap: 0.75rem;
  background-color: #ffffff;
  border-radius: 25px;
  padding: 0.5rem 0.875rem;
}

.contact-topic-tabs__tab {
  padding: 0.5rem 1.125rem ;
  cursor: pointer;
  text-align: center;
  line-height: 1.1875rem;
}

.contact-topic-tabs__tab.active,
.contact-topic-tabs__tab[aria-selected="true"] {
  background: #131417 0% 0% no-repeat padding-box;
  color: #FFFFFF;
  border-radius: 999px;
}


.contact-topic-tabs__tab:hover:not(.active):not([aria-selected="true"]){
  background: #e5e7eb 0% 0% no-repeat padding-box;
  border-radius: 999px;
}


.topic-links > ul,
.topic-modal__links > ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.125rem;
  padding: 0;
  list-style: none;
}

.topic-links a,
.topic-modal__links a {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 2.9375rem;
  background: #F0EDE9 0% 0% no-repeat padding-box;
  letter-spacing: 0px;
  font-weight: 400;
  line-height: 1.1875rem;
  text-align: center;
  text-decoration: none;
  color: #000000;
}

.topic-links a > span,
.topic-modal__links a > span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.contact-options {
  margin-top: 4.25rem;
  padding: 0 1.75rem;
}

.contact-options h2 {
  font-size: 2rem;
  text-align: center;
  line-height: 2.4375rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.3125rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
}

.contact-grid > li {
  display: flex;
  grid-column: span 2;
}

.contact-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cccccc;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-card--button {
  width: 100%;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.contact-grid > li:nth-child(4) {
  grid-column: 2 / span 2;
}

.contact-grid > li:nth-child(5) {
  grid-column: 4 / span 2;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgb(0 0 0 / 12%);
}

.contact-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 2.1650 / 1;
  object-fit: cover;
}

.contact-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 1.625rem 1rem 2.25rem;
  min-height: 12.625rem;
}

.contact-card__icon {
  width: 2.5rem;
  height: 2.5rem;
}

.contact-card__body > .contact-card__title {
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #000000;
}

.contact-card__body > .contact-card__description {
  margin: 0.625rem 2.375rem 0;
  color: #000000;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0px;
}

.contact-empty {
  grid-column: 1 / -1;
  text-align: center;
}

.contact-topic-dialog {
  box-sizing: border-box;
  width: min(36rem, calc(100vw));
  max-height: min(85vh, calc(100dvh - 2rem));
  overflow: auto;
  padding: 1.5rem 1rem 2.625rem;
  border: 0;
  box-shadow: 0 12px 36px rgb(0 0 0 / 28%);
}

.contact-topic-modal-mask {
  z-index: 1100;
}

.contact-topic-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.contact-topic-dialog__header h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0px;
  font-weight: 600;
}

.contact-topic-dialog__close {
  width: 1rem;
  height: 1rem;
  align-self: flex-start;
  margin: 0;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
}

.contact-topic-dialog__close svg {
  display: block;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.moli-dialog {
  position: fixed;
  inset: 0;
  width: min(38.936rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 4rem);
  margin: auto;
  border: 0;
  padding: 1rem 1.5rem 2.5rem;
  color: #1f2937;
  text-align: center;
  box-shadow: 0 1.25rem 3.75rem rgb(0 0 0 / 28%);
}

.moli-dialog::backdrop {
  background: rgb(0 0 0 / 80%);
}

.moli-dialog__header {
  position: relative;
}

.moli-dialog h2 {
  margin: 0;
  padding: 0 2.5rem;
  color: #111;
  font-size: 2rem;
  line-height: normal;
}

.moli-dialog p {
  margin: 1.25rem;
  text-align: left;
}

.moli-dialog label,
.moli-dialog input {
  display: block;
  width: 100%;
}

.moli-dialog label {
  margin-bottom: .35rem;
  font-weight: 500;
}

.moli-dialog input {
  min-height: 2.75rem;
  padding: .5rem .65rem;
  border: 1px solid #767676;
  font: inherit;
}

.moli-dialog__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.moli-dialog__submit {
  width: min(100%, 18.75rem);
  min-height: 0;
  margin-top: .5rem;
  padding: .94rem 1rem;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
}

.moli-dialog__error {
  color: #b42318;
  font-weight: 500;
}

.moli-dialog__field-error {
  display: block;
  margin-top: .35rem;
  color: #b42318;
  font-size: .9rem;
}

@media (max-width: 899px) {
  .contact-page {
    margin-top: 2.25rem !important;
  }
  .support-topics {
    margin-top: 0;
    margin: 1rem 1rem 0;
    padding: 0;
  }

  .support-topics h1{
    font-size: 1.25rem;
    line-height: 1.5rem;
  }

  .contact-topic-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .contact-topic-tabs__tab {
    min-width: 0;
    min-height: 7.0625rem;
    padding: 1.1875rem 0.875rem;
    border: 0;
    border-radius: 0;
    background: #F4F4F4;
    white-space: normal;
  }

  .contact-topic-tabs__tab.active,
  .contact-topic-tabs__tab[aria-selected="true"] {
    border-radius: 0;
    background: #f0ede9;
    color: #000;
  }

  .topic-links {
    display: none;
  }

  .contact-topic-dialog {
    max-height: calc(100dvh - 4rem);
  }

  .topic-modal__links > ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.125rem;
    margin-top: 0;
  }

  .topic-modal__links a {
    min-height: 3.25rem;
    padding: 1.5rem 1rem;
    background: #f2f2f2;
  }

  .topic-links > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.125rem;
    margin-top: 1.25rem;
  }

  .topic-links a {
    min-height: 7.5rem;
    padding: 0.75rem;
  }

  .contact-options {
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .contact-options h2 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    line-height: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-top: 0;
  }

  .contact-grid > li,
  .contact-grid > li:nth-child(4),
  .contact-grid > li:nth-child(5) {
    grid-column: 1;
  }

  .contact-card > img {
    aspect-ratio: 1.6 / 1;
  }

  .contact-card__body {
    padding: 1.5rem 1rem 2rem;
  }

  .contact-card__body span:last-child {
    margin-right: 0;
    margin-left: 0;
  }

  .contact-card:hover {
    transform: none;
    box-shadow: none;
  }
  .contact-topic-tabs__tab:hover:not(.active):not([aria-selected="true"]){
  background: none;
  border-radius: 0px;
}
}

@media (prefers-reduced-motion: reduce) {
  .contact-card {
    transition: none;
  }
}
