/***********************************/
/***** Shapermint Help Center  *****/
/***** Homepage - hc-home.css  *****/
/***********************************/

/* ── Hero ── */
.hc-hero {
  background-image: url(https://cdn.shapermint.com/backoffice/cdn/shapermint/images/BackgroundDesktopHC.jpg);
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
}

.hc-hero-container {
  max-width: 1360px;
  width: 90%;
  margin: 0 auto;
  display: flex;
}

.hc-hero-inner {
  width: 45%;
  max-width: 500px;
  padding: 48px 0;
  margin: 0 5%;
}

.hc-hero-brand {
  display: block;
  font-size: 11px;
  font-family: "Avenir Next LT Pro Demi", Arial, Helvetica, sans-serif;
  letter-spacing: 2px;
  color: #292929;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hc-hero-title {
  color: #292929;
  font-family: "Avenir Next LT Pro", Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 52px;
  margin-bottom: 12px;
  text-align: left;
  line-height: 1.1;
}

.hc-hero-subtitle {
  color: #292929;
  font-size: 16px;
  font-family: "Avenir Next LT Pro", Arial, Helvetica, sans-serif;
  margin-bottom: 24px;
  max-width: 360px;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hc-hero-inner {
    width: 55%;
    margin: auto 4%;
  }
}

@media (max-width: 768px) {
  .hc-hero {
    background-image: url(https://cdn.shapermint.com/backoffice/cdn/shapermint/images/BackgroundMobileHC.jpg);
    background-position: top center;
    min-height: 520px;
    align-items: flex-end;
    padding-bottom: 32px;
  }

  .hc-hero-container {
    width: 100%;
    padding: 0 20px;
  }

  .hc-hero-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .hc-hero-subtitle {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hc-hero-title {
    font-size: 36px;
    line-height: 1.2;
  }
}

@media (max-width: 360px) {
  .hc-hero-title {
    font-size: 32px;
  }
}

/* ─────────────────────────────── */
/* ── Help Topics                  */
/* ─────────────────────────────── */

.hc-topics {
  padding: 56px 20px;
  background-color: #ffffff;
}

.hc-topics-container {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}

.hc-topics-title {
  text-align: center;
  font-family: "Avenir Next LT Pro", Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #292929;
  margin: 0 0 36px;
}

.hc-topics-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Center the last card when it's alone in its row */
.hc-topics-card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.hc-topics-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.hc-topics-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hc-topics-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  text-decoration: none;
  color: #292929;
  height: 100%;
}

.hc-topics-card-link:hover {
  text-decoration: none;
  color: #292929;
}

.hc-topics-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.hc-topics-name {
  font-family: "Avenir Next LT Pro", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #292929;
  text-align: center;
  line-height: 1.4;
}

/* ── Responsive Topics ── */
@media (max-width: 768px) {
  .hc-topics {
    padding: 40px 16px;
  }

  .hc-topics-container {
    width: 100%;
  }

  .hc-topics-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Reset centering rule on mobile */
  .hc-topics-card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .hc-topics-card-link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 20px;
  }

  .hc-topics-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .hc-topics-name {
    text-align: left;
    font-size: 15px;
  }
}

/* ─────────────────────────────── */
/* ── FAQ Accordion                */
/* ─────────────────────────────── */

.hc-faq {
  padding: 56px 20px;
  background-color: #f7f7f7;
}

.hc-faq-container {
  max-width: 860px;
  width: 90%;
  margin: 0 auto;
}

.hc-faq-title {
  text-align: center;
  font-family: "Avenir Next LT Pro", Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #292929;
  margin: 0 0 36px;
}

.hc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hc-faq-item {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}

/* Remove default browser arrow */
.hc-faq-item summary {
  list-style: none;
}
.hc-faq-item summary::-webkit-details-marker {
  display: none;
}

.hc-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  font-family: "Avenir Next LT Pro", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #292929;
  line-height: 1.4;
}

.hc-faq-question:hover {
  background-color: #fff;
}

.hc-faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  color: #292929;
  line-height: 1;
}

.hc-faq-icon::after {
  content: '+';
}

.hc-faq-item[open] .hc-faq-icon::after {
  content: '−';
}

.hc-faq-item[open] .hc-faq-question {
  border-bottom: 0 solid #e5e5e5;
}

.hc-faq-answer {
  padding: 20px 24px;
  font-family: "Avenir Next LT Pro", Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #292929;
  line-height: 1.7;
}

.hc-faq-answer p {
  margin: 0 0 12px;
}

.hc-faq-answer p:last-child {
  margin-bottom: 0;
}

.hc-faq-answer ul {
  margin: 8px 0 12px 0;
  padding-left: 20px;
  list-style: disc;
}

.hc-faq-answer ul li {
  margin-bottom: 6px;
  padding-left: 4px;
}

.hc-faq-answer ol {
  margin: 8px 0 12px 0;
  padding-left: 20px;
  list-style: decimal;
}

.hc-faq-answer ol li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.hc-faq-answer ul ul {
  margin: 4px 0 4px 16px;
  list-style: circle;
}

.hc-faq-answer strong {
  font-weight: 700;
  color: #292929;
}

.hc-faq-link {
  display: inline-block;
  font-family: "Avenir Next LT Pro", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #292929;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hc-faq-link:hover {
  color: #F7A08B;
}

/* ── Responsive FAQ ── */
@media (max-width: 768px) {
  .hc-faq {
    padding: 40px 16px;
  }

  .hc-faq-container {
    width: 100%;
  }

  .hc-faq-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .hc-faq-question {
    padding: 16px 20px;
  }
}
