.hero-how-can-we-help {
    display: none;
}

.homepage-search-container {
    text-align: initial;
}

@media (max-width: 1069px) {
    .homepage-hero {
        padding: 20px 0 3px;
    }

    .hero-how-can-we-help {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Graphik", sans-serif;
        font-size: 28px;
        font-weight: 600;
        line-height: 36px;
        letter-spacing: 0;
        color: var(--text-color-header);
        text-align: center;
        margin-bottom: 18px;
    }
}
.homepage-qa-card {
    background-color: var(--primary-background);
    border-radius: 12px;
    box-shadow: var(--container-box-shadow);
    padding: 4px 8px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .homepage-qa-card {
        max-width: 610px;
    }
}

.help-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
}

.help-cta h2 {
    font-family: var(--font-family-primary);
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
    margin: 0;
}

.help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: #ffffff;
    font-family: var(--font-family-primary);
    font-size: 16px;
    font-weight: 700;
    height: 40px;
    padding: 10px 24px 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
}

.help-button:visited {
    color: #ffffff;
}

.help-button:hover,
.help-button:focus {
    background-color: #222222;
    color: #ffffff;
    text-decoration: none;
}

.homepage-section-wrapper {
    height: fit-content;
    margin: 18px 0;
}

@media (max-width: 1069px) {
    .popular-topics.homepage-section-wrapper {
        margin-top: 36px;
    }
}

.homepage-section-wrapper .homepage-section {
    margin: 0;
}

.homepage-section-wrapper .homepage-section-header {
    margin-bottom: 12px;
}

.settings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.settings-list-item {
    border-bottom: 1px solid var(--container-background);
}

.settings-list-item:last-child {
    border-bottom: none;
}

.settings-list-link .homepage-nav-icon-bg {
    margin-right: 0;
}

.settings-list-link {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 13px 8px;
    text-decoration: none;
    color: inherit;
    min-height: 70px;
    box-sizing: border-box;
}

.settings-list-link:hover {
    text-decoration: none;
}

.settings-list-link:hover .settings-list-title {
    text-decoration: underline;
}

.settings-list-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #eceff1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-list-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.settings-list-title {
    flex: 1;
    font-family: var(--font-family-primary);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    text-align: left;
    line-height: 24px;
    letter-spacing: 0;
    overflow: hidden;
}

.settings-list-chevron {
    flex-shrink: 0;
    color: #9a9fa7;
    font-size: 12px;
    width: 30px;
    align-self: center;
    display: flex;
    justify-content: flex-end;
}

/* TROUBLE SHOOTING */
.common-troubleshooting-container {
  text-align: left;
}

.common-troubleshooting-container p {
  font-weight: 600;
  text-align: left;
  margin-bottom: 0.2rem;
}

.common-troubleshooting-container a {
  text-align: left;
  color: var(--text-color-secondary);
  text-decoration: underline;
}

/* FAQ */
.homepage-section-header {
  text-align: center;
  margin-bottom: 0.5rem;

  h2,
  h3 {
    margin: 0;
    font-family: var(--font-family-primary);
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0;
    color: var(--text-color);
    text-align: center;
  }
}

.faq-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.faq-link.mini-homepage-link {
  text-decoration: none;
}

.faq-link.mini-homepage-link:hover .ghost-item-title {
  text-decoration: underline;
}

.faq-item-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 600;
  width: 100%;

  p {
    text-align: left;
  }
}

.homepage-section {
  background-color: white;
  padding: 2rem 1rem;
  margin: 10px 0;
  border-radius: 12px;
  box-shadow: var(--container-box-shadow);
  height: fit-content;
}

.homepage-section:has(.settings-list) {
  padding: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .knowledge-base {
    align-items: center;
  }

  .homepage-section {
    width: 610px;
  }
}

.section {
  margin-bottom: unset;
}

.shortcut-header {
  text-align: center;
  margin: 10px 0;
  font-size: 16px;
  font-family: "Avenir Next LT Pro", sans-serif;
}

.homepage-container {
  padding: 0 3%;
}

.homepage-hero .homepage-search-container {
  padding: 0 3%;
}
/* Ghost items */

.ghosts-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.ghost-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: .75rem;
}

.ghost-link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.ghost-link p {
  margin: 5px 0;
  font-weight: 600;
}

.ghost-link:hover .ghost-background {
  background-color: #fffc00;
}

:lang(ar)>.homepage-nav-title .icon-chevron-right {
  transform: rotate(180deg);
}

[dir="rtl"] .settings-list-chevron {
  transform: rotate(180deg);
}

.ghost-item .ghost-background,
.homepage-nav-header .ghost-background {
  background-color: #eceff1;
  width: 70px;
  height: 70px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  /* align-items: flex-end; */
  transition: background 0.1s ease;
}

/* .homepage-nav-header .ghost-background img {
  width: 60px;
  height: 60px;
} */

.ghost-item a {
  font-family: "Avenir Next LT Pro", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color-header);
}

/* New icons on homepage */
.ghost-background img {
  max-width: 84px;
  /* width: 100%; */
}

.globalnav-ghost-icon-link img {
  max-width: 32px;
  max-height: 32px;
}

.faded-bg {
  background: rgba(0, 0, 0, 0.8);
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
}

.contact-us-btn-container,
.contact-us-btn-container-bottom {
  display: none;
  /* display: flex; */
  justify-content: center;
  margin: 1rem 0;
}

.contact-us-btn {
  padding: 15px 30px;
  background: #eceff1;
  border-radius: 100px;
  color: black;
  font-family: "Avenir Next LT Pro";
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 16px;
}

.contact-us-btn:visited {
  color: black;
}

.contact-us-btn:focus,
.contact-us-btn:active,
.contact-us-btn:hover {
  text-decoration: none;
}

.homepage-nav-loader {
  height: fit-content;
  background-color: white;
  padding: 8px 0;
}

.faq-subheader {
  text-align: center;
}

.ghost-item-info {
  font-family: var(--font-family-primary);
  display: flex;
  flex: 1;
  flex-direction: column;
  text-align: left;
  font-size: 16px;
}

.ghost-item-info p {
  margin: 0;
}

.ghost-item-desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0px;
  text-align: left;
  color: var(--text-color-secondary);
}

.knowledge-base {

  display: flex;
  flex-direction: column;

  .popular-topics {
    order: 1;
  }

  .homepage-nav-section {
    order: 2;
  }

  .personalized-support {
    order: 3;
  }

    .quick-answer {
      order: 4;
    }
  .resources {
    order: 5;
    font-family: "Graphik", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;

    p {
      margin: 1rem 0;

      &:last-of-type {
        margin: 0;
      }
    }

    a {
      color: black;

      &:visited {
        color: black;
      }
    }
  }

  .help {
    order: 4;
  }

  .videos {
    order: 5;
  }

  .tips {
    order: 6;
  }
}



@media (min-width: 1070px) {
  .contact-us-btn-container {
    display: none;
  }

  .shortcut-header {
    display: none;
  }

  .section {
    border: 1px solid transparent;
  }

  .homepage-section {
    padding: 2rem;
    margin: 0;
  }

  .homepage-section-wrapper {
    margin: 0;
  }

  .homepage-container {
    max-width: unset;
    margin: unset;
    width: unset;
    background-color: #f7f8f9;
  }

  .homepage-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .knowledge-base {
    display: flex;
    column-gap: 2rem;
    row-gap: 1rem;
    padding: 20px 0;
    max-width: 1160px;
    margin: 0 auto;

  }

  .popular-topics {
    grid-area: shortcuts;
  }

  .videos {
    grid-area: videos;
  }

  .tips {
    grid-area: tips;
  }

  .help {
    grid-area: help;
  }

  .personalized-support {
    grid-area: support;
  }
}

@media (max-width: 425px) {
  .ghost-item {
    margin-bottom: 1.5rem;
  }

  .ghost-item:last-of-type {
    margin-bottom: 0;
  }
}

.videos .homepage-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    padding: 24px 16px;
    text-align: center;
}

.youtube-video {
    width: 100%;
    border-radius: 24px;
    border: none;
    aspect-ratio: 3 / 2;
}

.videos .homepage-section p {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.2px;
    color: var(--text-color);
    text-align: center;
    margin: 0;
    max-width: 313px;
}