
:root {
  --dps-red: #ff8a80;
  --dps-red-dark: #e96b60;
  --dps-text: #20262b;
  --dps-muted: #66717a;
  --dps-border: #e5e9ec;
  --dps-light: #fffafa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dps-text);
  background: #fff;
  font-family: "Lato", "Lato Light", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

/* Required for Ueeshop sticky menu */
.article_content.editor_txt,
.article_content_box,
.ly_article_1 .section,
.ly_article_1 .wide {
  overflow: visible !important;
}

.dps-faq-page {
  padding: 42px 20px 64px;
}

.dps-faq-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 50px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.dps-faq-sidebar {
  position: sticky !important;
  top: 90px !important;
  align-self: start !important;
  height: max-content !important;
  z-index: 50;
}

.dps-faq-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--dps-red-dark);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dps-faq-kicker::before {
  width: 25px;
  height: 1px;
  background: var(--dps-red);
  content: "";
}

.dps-faq-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.12;
}

.dps-faq-intro {
  margin: 0 0 28px;
  color: var(--dps-muted);
  font-size: 15px;
}

.dps-faq-nav {
  display: grid;
  gap: 7px;
}

.dps-faq-nav a {
  display: block;
  padding: 10px 12px 10px 17px;
  border-left: 2px solid transparent;
  color: var(--dps-muted);
  font-size: 14px;
  text-decoration: none;
  transition: .2s ease;
}

.dps-faq-nav a:hover,
.dps-faq-nav a.active {
  border-color: var(--dps-red);
  background: #fff8f7;
  color: var(--dps-red-dark);
  transform: translateX(3px);
}

.dps-faq-category {
  margin-bottom: 42px;
  scroll-margin-top: 90px;
}

.dps-faq-category-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.25;
}

.dps-faq-category-title::before {
  width: 7px;
  height: 27px;
  background: var(--dps-red);
  content: "";
}

.dps-faq-list {
  display: grid;
  gap: 10px;
}

.dps-faq-item {
  overflow: hidden;
  border: 1px solid var(--dps-border);
  background: #fff;
  transition: .22s ease;
}

.dps-faq-item.open {
  border-color: rgba(255, 138, 128, .7);
  box-shadow: 0 10px 25px rgba(32, 38, 43, .07);
}

.dps-faq-question {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 17px 18px;
  border: 0;
  color: var(--dps-text);
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.dps-faq-question:hover {
  color: var(--dps-red-dark);
}

.dps-faq-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 138, 128, .7);
  border-radius: 50%;
  color: var(--dps-red-dark);
  font-size: 11px;
  transition: .2s ease;
}

.dps-faq-item.open .dps-faq-number {
  color: #fff;
  background: var(--dps-red);
  transform: rotate(8deg);
}

.dps-faq-question-text {
  font-size: 17px;
  line-height: 1.45;
}

.dps-faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.dps-faq-icon::before,
.dps-faq-icon::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  background: var(--dps-red-dark);
  content: "";
  transition: .2s ease;
}

.dps-faq-icon::after {
  transform: rotate(90deg);
}

.dps-faq-item.open .dps-faq-icon::after {
  transform: rotate(0);
}

.dps-faq-answer {
  display: none;
  margin: 0;
  padding: 0 18px 20px 87px;
  color: var(--dps-muted);
  font-size: 15px;
  line-height: 1.78;
}

.dps-faq-item.open .dps-faq-answer {
  display: block;
  animation: dpsFaqIn .28s ease;
}

.dps-faq-note {
  margin-top: 25px;
  padding: 15px 18px;
  border-left: 2px solid var(--dps-red);
  background: var(--dps-light);
  color: var(--dps-muted);
  font-size: 14px;
}

@keyframes dpsFaqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .dps-faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dps-faq-sidebar {
    position: sticky !important;
    top: 12px !important;
    padding: 10px 0;
    background: #fff;
  }

  .dps-faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .dps-faq-nav a {
    padding: 8px 11px;
    border: 1px solid var(--dps-border);
  }
}

@media (max-width: 560px) {
  .dps-faq-page {
    padding: 30px 15px 45px;
  }

  .dps-faq-question {
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    gap: 9px;
    padding: 15px 12px;
  }

  .dps-faq-number {
    width: 27px;
    height: 27px;
  }

  .dps-faq-question-text {
    font-size: 15px;
  }

  .dps-faq-answer {
    padding: 0 12px 17px 53px;
    font-size: 14px;
  }
}
