/**
 * Help & Resources hub + How-to Videos archive — Figma alignment overrides.
 */

/* Shared breadcrumbs */
.wc-page-help .wc-breadcrumbs a,
.wc-page-archive-video .wc-breadcrumbs a,
.wc-page-archive-guide .wc-breadcrumbs a {
  color: var(--color-gray-nav);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wc-page-help .wc-breadcrumbs .sep,
.wc-page-archive-video .wc-breadcrumbs .sep,
.wc-page-archive-guide .wc-breadcrumbs .sep {
  color: #a4a7ae;
  text-decoration: none;
}

.wc-page-help .wc-breadcrumbs [aria-current="page"],
.wc-page-archive-video .wc-breadcrumbs [aria-current="page"],
.wc-page-archive-guide .wc-breadcrumbs [aria-current="page"] {
  color: var(--color-brand-600);
  font-weight: 600;
}

.wc-page-help .wc-section__foot {
  display: none;
  margin-top: 32px;
}

/* Help sections */
.wc-page-help .wc-section {
  padding: 48px 0;
}
.wc-page-help .wc-section.wc-section--faqs-hub {
  padding-bottom: 32px;
}
.wc-page-help .wc-section--guides {
  background: #fafafa;
}

.wc-page-help .wc-section__head {
  gap: 24px;
  margin-bottom: 32px;
}
.wc-page-help .wc-section__title {
  font-size: 30px;
  line-height: 38px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.wc-page-help .wc-section__text {
  font-size: 18px;
  line-height: 28px;
}

.wc-page-help .wc-section--faqs .wc-section__head {
  align-items: center;
  text-align: center;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.wc-page-help .wc-section--faqs .wc-section__foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.wc-page-help .wc-card-grid--3 {
  gap: 32px;
}

/* Hub video / guide cards */
.wc-page-help .wc-video-card,
.wc-page-help .wc-guide-card {
  gap: 24px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}

.wc-page-help .wc-video-card__thumb,
.wc-page-help .wc-guide-card__thumb {
  border: 1px solid var(--color-gray-md);
  border-radius: 12px;
  aspect-ratio: 16 / 9;
}

.wc-page-help .wc-guide-card__thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.wc-page-help .wc-video-card__play {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  padding: 0;
  border-radius: 999px;
  background: rgba(24, 29, 39, 0.6);
  backdrop-filter: blur(4px);
}

.wc-page-help .wc-video-card__play::after {
  left: 55%;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--background-white);
}

.wc-page-help .wc-video-card__meta,
.wc-page-help .wc-guide-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-brand-600);
}

.wc-page-help .wc-video-card__meta .wc-video-card__category,
.wc-page-help .wc-guide-card__meta .wc-guide-card__category {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
}

.wc-page-help .wc-video-card__length,
.wc-page-help .wc-guide-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-brand-600);
}

.wc-page-help .wc-video-card__category + .wc-video-card__length::before,
.wc-page-help .wc-guide-card__category + .wc-guide-card__read-time::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.wc-page-help .wc-video-card__copy,
.wc-page-help .wc-guide-card__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wc-page-help .wc-video-card__title,
.wc-page-help .wc-guide-card__title {
  font-size: 20px;
  line-height: 30px;
  color: var(--color-text);
}

.wc-page-help .wc-video-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.wc-page-help .wc-video-card__body .btn,
.wc-page-help .wc-guide-card__body .btn,
.wc-page-help .wc-video-card__excerpt,
.wc-page-help .wc-guide-card__excerpt {
  display: none;
}

/* Help hub FAQ */
.wc-page-help .wc-faq-list {
  gap: 0;
}

.wc-page-help .wc-faq-item,
.wc-page-help .wc-faq-item--accordion {
  border: 0;
  border-radius: 0;
  background: none;
  border-bottom: 1px solid var(--color-gray-md);
}

.wc-page-help .wc-faq-item:first-child {
  border-top: 0;
}
.wc-page-help .wc-faq-item:first-child .wc-faq-item__question {
  padding-top: 0;
}
.wc-page-help .wc-faq-item:last-child {
  border-bottom: 0;
}
.wc-page-help .wc-faq-item__question {
  min-height: 48px;
  padding: 8px 0;
  gap: 10px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: var(--color-brand-600);
}

.wc-page-help .wc-faq-item__question > span:first-child {
  flex: 1;
}

.wc-page-help .wc-faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-gray-md);
  border-radius: 8px;
  background: var(--background-white);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.wc-page-help .wc-faq-item__icon::before {
  font-size: 20px;
  line-height: 1;
}

.wc-page-help .wc-faq-item__answer-inner {
  padding: 0 0 16px;
  font-size: 16px;
  line-height: 24px;
}

/* Video archive filters */
.wc-page-archive-video .wc-filter-tabs {
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
}

.wc-page-archive-video .wc-filter-tabs__item {
  padding: 8px 20px;
  border-color: var(--color-gray-md);
  border-radius: 999px;
  background: #fdfdfd;
  color: var(--color-gray-nav);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.wc-page-archive-video .wc-filter-tabs__item.is-active {
  background: var(--color-brand-50);
  border-color: #40a1d2;
  color: var(--color-brand-700);
}

/* Video archive list */
.wc-page-archive-video .wc-section {
  padding: 64px 0 32px;
}

.wc-page-archive-video .wc-section__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.wc-page-archive-video .wc-card-grid--list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.wc-page-archive-video .wc-video-card--list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: none;
  border-radius: 12px;
  border: 1px solid var(--color-gray-md);
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__play {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(24, 29, 39, 0.6);
  backdrop-filter: blur(4px);
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__play::after {
  left: 55%;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--background-white);
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0;
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__title {
  font-size: 24px;
  line-height: 32px;
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__excerpt {
  font-size: 18px;
  line-height: 28px;
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-brand-600);
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__meta .wc-video-card__category {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__length {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-brand-600);
}

.wc-page-archive-video .wc-video-card--list .wc-video-card__category + .wc-video-card__length::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.wc-page-archive-video .wc-video-card--list .wc-home-btn {
  align-self: flex-start;
  gap: 6px;
  padding: 12px 18px;
  font-size: 16px;
  line-height: 24px;
  border: 0;
}

.wc-page-archive-video .wc-video-card__play-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.wc-page-archive-guide .wc-filter-tabs {
  justify-content: center;
  gap: 8px;
  margin-bottom: 64px;
}

.wc-page-archive-guide .wc-filter-tabs__item {
  padding: 8px 20px;
  border-color: var(--color-gray-md);
  border-radius: 999px;
  background: #fdfdfd;
  color: var(--color-gray-nav);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.wc-page-archive-guide .wc-filter-tabs__item.is-active {
  background: var(--color-brand-50);
  border-color: #40a1d2;
  color: var(--color-brand-700);
}

.wc-page-archive-guide .wc-section {
  padding: 64px 0 32px;
}

.wc-page-archive-guide .wc-card-grid--list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 28px;
}

.wc-page-archive-guide .wc-guide-card--list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}

.wc-page-archive-guide .wc-guide-card--list .wc-guide-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: none;
  border: 0;
  border-radius: 12px;
}

.wc-page-archive-guide .wc-guide-card--list .wc-guide-card__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0;
}

.wc-page-archive-guide .wc-guide-card--list .wc-guide-card__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wc-page-archive-guide .wc-guide-card--list .wc-guide-card__title {
  font-size: 24px;
  line-height: 32px;
}

.wc-page-archive-guide .wc-guide-card--list .wc-guide-card__excerpt {
  font-size: 18px;
  line-height: 28px;
}

.wc-page-archive-guide .wc-guide-card--list .wc-guide-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-brand-600);
}

.wc-page-archive-guide .wc-guide-card--list .wc-guide-card__category {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
}

.wc-page-archive-guide .wc-guide-card--list .wc-guide-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-brand-600);
}

.wc-page-archive-guide .wc-guide-card--list .wc-guide-card__category + .wc-guide-card__read-time::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.wc-page-archive-guide .wc-guide-card--list .wc-home-btn {
  align-self: flex-start;
  gap: 6px;
  padding: 12px 18px;
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 768px) {
  .wc-page-archive-guide .wc-card-grid--list {
    margin-bottom: 48px;
  }
  .wc-page-help .wc-section {
    padding: 96px 0;
  }
  .wc-page-help .wc-section.wc-section--faqs-hub {
    padding-bottom: 32px;
  }
  .wc-page-help .wc-section__title {
    font-size: 48px;
    line-height: 60px;
    margin-bottom: 24px;
  }

  .wc-page-help .wc-section__text {
    font-size: 20px;
    line-height: 30px;
  }

  .wc-page-help .wc-guide-card__thumb {
    min-height: 0;
  }

  .wc-page-help .wc-video-card__title,
  .wc-page-help .wc-guide-card__title {
    font-size: 24px;
    line-height: 32px;
  }

  .wc-page-help .wc-faq-item__question {
    font-size: 24px;
    line-height: 32px;
    padding: 32px 0;
  }

  .wc-page-help .wc-faq-item__icon {
    width: 48px;
    height: 48px;
    padding: 14px;
  }
}

@media (min-width: 992px) {
  .wc-page-help .wc-section__head {
    margin-bottom: 64px;
  }
  .wc-page-help .wc-section__head .wc-section__cta {
    display: inline-flex;
  }

  .wc-page-help .wc-section__foot {
    display: none !important;
  }

  .wc-page-help .wc-section--faqs .wc-section__foot {
    display: flex !important;
    justify-content: center;
  }

  .wc-page-help .wc-still-need-help .btn-header-primary,
  .wc-page-archive-video .wc-still-need-help .btn-header-primary,
  .wc-page-archive-guide .wc-still-need-help .btn-header-primary {
    width: 256px;
    max-width: 100%;
    flex-shrink: 0;
  }

  .wc-page-archive-video .wc-video-card--list {
    grid-template-columns: minmax(0, 58%) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  .wc-page-archive-video .wc-video-card--list .wc-video-card__body {
    padding: 24px 0;
  }

  .wc-page-archive-guide .wc-guide-card--list {
    grid-template-columns: minmax(0, 448px) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  .wc-page-archive-guide .wc-guide-card--list .wc-guide-card__body {
    padding: 24px 0;
  }
}
@media (min-width: 1200px) {
  .wc-page-archive-video .wc-video-card--list {
    grid-template-columns: minmax(0, 704px) minmax(0, 1fr);
  }
  .wc-page-archive-guide .wc-card-grid--list {
    padding: 0 17px;
  }
}
@media (max-width: 991px) {
  .wc-page-help .wc-section__head {
    text-align: center;
    align-items: center;
  }
  .wc-page-help .wc-section__head .wc-section__cta {
    display: none;
  }

  .wc-page-help .wc-section__foot {
    display: flex;
  }

  .wc-page-help .wc-section__foot .btn {
    width: 100%;
  }

  .wc-page-help .wc-section--faqs .wc-section__head .wc-section__cta {
    display: none;
  }

  .wc-page-help .wc-section--faqs .wc-section__foot .btn,
  .wc-page-help .wc-still-need-help .btn-header-primary,
  .wc-page-archive-video .wc-still-need-help .btn-header-primary,
  .wc-page-archive-guide .wc-still-need-help .btn-header-primary,
  .wc-page-archive-video .wc-video-card--list .wc-home-btn,
  .wc-page-archive-guide .wc-guide-card--list .wc-home-btn {
    width: 100%;
  }

  .wc-page-archive-video .wc-video-card--list .wc-home-btn {
    align-self: stretch;
  }

  .wc-page-archive-guide .wc-guide-card--list .wc-home-btn {
    align-self: stretch;
  }
}

/* FAQ archive */
.wc-page-archive-faq .wc-breadcrumbs a {
  color: var(--color-gray-nav);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wc-page-archive-faq .wc-breadcrumbs .sep {
  color: #a4a7ae;
  text-decoration: none;
}

.wc-page-archive-faq .wc-breadcrumbs [aria-current="page"] {
  color: var(--color-brand-600);
  font-weight: 600;
}

.wc-page-archive-faq .wc-section {
  padding: 48px 0 0 0;
}

.wc-page-archive-faq .wc-faq-layout {
  display: grid;
  gap: 32px;
}

.wc-page-archive-faq .wc-faq-category-nav {
  display: contents;
}

.wc-page-archive-faq .wc-faq-sidebar {
  display: none;
}

.wc-page-archive-faq .wc-faq-category-select {
  display: block;
  order: 1;
}

.wc-page-archive-faq .wc-faq-category-select__label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--color-gray-nav);
}

.wc-page-archive-faq .wc-faq-category-select__field {
  position: relative;
  width: 100%;
}

.wc-page-archive-faq .wc-faq-category-select__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-nav);
  pointer-events: none;
  line-height: 0;
}

.wc-page-archive-faq .wc-faq-category-select__control {
  width: 100%;
  padding: 10px 40px 10px 14px;
  border: 1px solid var(--color-gray-md);
  border-radius: 8px;
  background: var(--background-white);
  box-shadow: var(--shadow-xs);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--color-text);
  appearance: none;
  font-family: 'Inter';
}

.wc-page-archive-faq .wc-faq-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  order: 2;
}

.wc-page-archive-faq .wc-faq-main__title {
  margin: 0;
  font-size: 30px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text);
  display: none;
}

.wc-page-archive-faq .wc-faq-list--archive {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wc-page-archive-faq .wc-faq-item--entry {
  padding: 0 0 32px;
  margin: 0 0 32px;
  border: 0;
  border-bottom: 1px solid var(--color-gray-md);
  border-radius: 0;
  background: none;
}

.wc-page-archive-faq .wc-faq-item--entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.wc-page-archive-faq .wc-faq-item--entry .wc-faq-item__heading {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: var(--color-brand-600);
}

.wc-page-archive-faq .wc-faq-item--entry .wc-faq-item__answer-inner {
  padding: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-gray-nav);
}

.wc-page-archive-faq .wc-faq-item--entry .wc-faq-item__answer-inner p,
.wc-page-archive-faq .wc-faq-item--entry .wc-faq-item__answer-inner li {
  margin-bottom: 16px;
}

.wc-page-archive-faq .wc-faq-item--entry .wc-faq-item__answer-inner p:last-child,
.wc-page-archive-faq .wc-faq-item--entry .wc-faq-item__answer-inner ol:last-child,
.wc-page-archive-faq .wc-faq-item--entry .wc-faq-item__answer-inner ul:last-child {
  margin-bottom: 0;
}



@media (min-width: 768px) {
  .wc-page-archive-faq .wc-faq-main__title {
    display: block;
  }
  .wc-page-archive-faq .wc-faq-main__title,
  .wc-page-archive-faq .wc-faq-item--entry .wc-faq-item__heading {
    font-size: 24px;
    line-height: 32px;
  }

  .wc-page-archive-faq .wc-faq-item--entry .wc-faq-item__answer-inner {
    font-size: 18px;
    line-height: 28px;
  }
}

@media (min-width: 992px) {
  .wc-page-archive-faq .wc-section {
    padding: 64px 0 32px;
  }
  .wc-page-archive-faq .wc-faq-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .wc-page-archive-faq .wc-faq-category-nav {
    display: block;
  }

  .wc-page-archive-faq .wc-faq-sidebar {
    display: block;
  }

  .wc-page-archive-faq .wc-faq-category-select {
    display: none;
  }

  .wc-page-archive-faq .wc-faq-main {
    gap: 48px;
  }

  .wc-page-archive-faq .wc-faq-sidebar__card {
    border: 1px solid var(--color-gray-md);
    border-radius: 12px;
    background: var(--background-white);
    overflow: hidden;
  }

  .wc-page-archive-faq .wc-faq-sidebar__title {
    margin: 0;
    padding: 24px 20px 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 24px; 
  }

  .wc-page-archive-faq .wc-faq-categories {
    list-style: none;
    margin: 0;
    padding: 8px;
  }

  .wc-page-archive-faq .wc-faq-categories__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-gray-nav);
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
  }

  .wc-page-archive-faq .wc-faq-categories__link.is-active {
    background: var(--color-brand-50);
    color: var(--color-brand-700);
    font-weight: 600;
  }

  .wc-page-archive-faq .wc-faq-categories__label {
    flex: 1;
  }

  .wc-page-archive-faq .wc-faq-categories__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 10px;
    border: 1px solid #e9eaeb;
    border-radius: 16px;
    background: #fafafa;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-gray-nav);
  }

  .wc-page-archive-faq .wc-faq-categories__link.is-active .wc-faq-categories__count {
    border-color: var(--color-brand-200);
    background: var(--color-brand-50);
    color: var(--color-brand-700);
  }

  .wc-page-archive-faq .wc-still-need-help .btn-header-primary {
    width: 256px;
    max-width: 100%;
    flex-shrink: 0;
  }
}

@media (max-width: 991px) {
  .wc-page-archive-faq .wc-still-need-help .btn-header-primary {
    width: 100%;
  }
  .wc-page-archive-guide .wc-filter-tabs,
  .wc-page-archive-video .wc-filter-tabs {
    justify-content: start;
  }
  .wc-page-archive-video .wc-section__inner {
    gap: 48px;
  }
  .wc-page-archive-video .wc-section,
  .wc-page-archive-guide .wc-section {
    padding-top: 48px;
    padding-bottom: 0;
  }
  .wc-page-archive-guide .wc-filter-tabs {
    margin-bottom: 32px;
  }
}
