/* Help Center v2 — public landing, category, and article pages */
body.aya-help-center-v2-page {
  background: #f6f5f2 !important;
}

.aya-hc-v2 {
  background: #f6f5f2;
  padding-bottom: 56px;
}

.aya-hc-v2__wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.aya-hc-v2__hero {
  padding: 48px 16px 8px;
  text-align: center;
}

.aya-hc-v2__hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: #111827;
  letter-spacing: -0.02em;
}

.aya-hc-v2__hero > p {
  margin: 0 auto 28px;
  max-width: 520px;
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.55;
}

.aya-hc-v2__search {
  max-width: 640px;
  margin: 0 auto 18px;
  position: relative;
}

.aya-hc-v2__search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.aya-hc-v2__search input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 15px 20px 15px 46px;
  font-size: 15px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.aya-hc-v2__search input:focus {
  outline: none;
  border-color: #c3073f;
  box-shadow: 0 0 0 3px rgba(195, 7, 63, 0.12);
}

.aya-hc-v2__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.aya-hc-v2__filter {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
}

.aya-hc-v2__filter:hover {
  border-color: #d1d5db;
}

.aya-hc-v2__filter.is-active {
  border-color: #111827;
  color: #111827;
  box-shadow: 0 0 0 1px #111827;
}

.aya-hc-v2__section {
  padding: 36px 0 8px;
}

.aya-hc-v2__section-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 18px;
  color: #111827;
  letter-spacing: -0.02em;
}

.aya-hc-v2__problems {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .aya-hc-v2__problems {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aya-hc-v2__problem {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  padding: 22px 20px;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.aya-hc-v2__problem:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  text-decoration: none;
  color: inherit;
}

.aya-hc-v2__problem strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.aya-hc-v2__problem span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.aya-hc-v2__topics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 992px) {
  .aya-hc-v2__topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aya-hc-v2__topic {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.aya-hc-v2__topic-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 14px;
}

.aya-hc-v2__topic h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #111827;
}

.aya-hc-v2__topic > p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
  flex: 1;
}

.aya-hc-v2__topic-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border-top: 1px solid #f3f4f6;
}

.aya-hc-v2__topic-list li + li {
  border-top: 1px solid #f3f4f6;
}

.aya-hc-v2__topic-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.aya-hc-v2__topic-list a:hover {
  color: #c3073f;
}

.aya-hc-v2__topic-list a i {
  color: #9ca3af;
  font-size: 12px;
  flex-shrink: 0;
}

.aya-hc-v2__topic-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: #c3073f;
  text-decoration: none;
}

.aya-hc-v2__topic-more:hover {
  text-decoration: underline;
  color: #a10635;
}

.aya-hc-v2__search-results {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 22px 20px;
  margin-top: 24px;
}

.aya-hc-v2__search-results h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.aya-hc-v2__search-hit {
  display: block;
  padding: 12px 0;
  border-top: 1px solid #f3f4f6;
  text-decoration: none;
  color: inherit;
}

.aya-hc-v2__search-hit:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.aya-hc-v2__search-hit small {
  display: block;
  color: #9ca3af;
  font-size: 12px;
  margin-bottom: 4px;
}

.aya-hc-v2__search-hit strong {
  display: block;
  color: #111827;
  font-weight: 600;
}

.aya-hc-v2__search-hit:hover strong {
  color: #c3073f;
}

.aya-hc-v2__empty {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

.aya-hc-v2__contact {
  margin-top: 40px;
  background: #0f1419;
  border-radius: 18px;
  padding: 28px 22px;
  color: #f9fafb;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .aya-hc-v2__contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    padding: 32px 28px;
  }
}

.aya-hc-v2__contact-copy h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
}

.aya-hc-v2__contact-copy p {
  margin: 0;
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.55;
  max-width: 420px;
}

.aya-hc-v2__contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .aya-hc-v2__contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aya-hc-v2__contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 14px 12px;
}

.aya-hc-v2__contact-card span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 6px;
}

.aya-hc-v2__contact-card a {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  word-break: break-word;
}

.aya-hc-v2__contact-card a:hover {
  text-decoration: underline;
}

.aya-hc-v2__contact-card em {
  font-style: normal;
  color: #e5e7eb;
  font-weight: 600;
  font-size: 14px;
}

/* Subpages (category + article) */
.aya-hc-v2__hero--subpage {
  text-align: left;
  padding: 28px 16px 4px;
  max-width: 1120px;
  margin: 0 auto;
}

.aya-hc-v2__hero--subpage h1 {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.25;
  max-width: 720px;
}

.aya-hc-v2__hero--subpage > p:not(.aya-hc-v2__breadcrumbs) {
  margin: 0 0 8px;
  max-width: 560px;
  text-align: left;
  font-size: 0.95rem;
}

.aya-hc-v2__hero--subpage .aya-hc-v2__breadcrumbs {
  margin: 0 0 12px;
  max-width: none;
  text-align: left;
}

.aya-hc-v2__hero--subpage .aya-hc-v2__topic-badge {
  margin-bottom: 12px;
}

@media (min-width: 992px) {
  .aya-hc-v2__hero--subpage {
    text-align: center;
    padding-top: 40px;
  }

  .aya-hc-v2__hero--subpage h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .aya-hc-v2__hero--subpage > p:not(.aya-hc-v2__breadcrumbs),
  .aya-hc-v2__hero--subpage .aya-hc-v2__breadcrumbs {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

.aya-hc-v2__search--mobile-only {
  display: block;
  max-width: 100%;
  margin: 16px 0 0;
}

@media (min-width: 992px) {
  .aya-hc-v2__search--mobile-only {
    display: none;
  }
}

.aya-hc-v2__mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 4px;
}

@media (min-width: 992px) {
  .aya-hc-v2__mobile-actions .aya-hc-v2__back {
    display: none;
  }
}

.aya-hc-v2__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #c3073f;
  text-decoration: none;
}

.aya-hc-v2__back:hover {
  text-decoration: underline;
}

.aya-hc-v2__article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 0 8px;
}

@media (min-width: 992px) {
  .aya-hc-v2__article-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }
}

.aya-hc-v2__sidebar {
  display: none;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  padding: 18px 16px;
}

@media (min-width: 992px) {
  .aya-hc-v2__sidebar {
    display: block;
  }
}

.aya-hc-v2__sidebar h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 12px;
}

.aya-hc-v2__sidebar nav a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  border-top: 1px solid #f3f4f6;
}

.aya-hc-v2__sidebar nav a:first-child {
  border-top: 0;
  padding-top: 0;
}

.aya-hc-v2__sidebar nav a.is-active,
.aya-hc-v2__sidebar nav a:hover {
  color: #c3073f;
}

.aya-hc-v2__content {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 28px 22px 32px;
}

@media (max-width: 767.98px) {
  .aya-hc-v2__content {
    padding: 20px 16px 24px;
    border-radius: 14px;
  }

  .aya-hc-v2__article-layout {
    padding-top: 12px;
    gap: 0;
  }
}

.aya-hc-v2__prose {
  max-width: 42rem;
}

@media (min-width: 992px) {
  .aya-hc-v2__prose {
    max-width: none;
  }
}

.aya-hc-v2__content .help-center-article-body {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  word-wrap: break-word;
}

@media (max-width: 767.98px) {
  .aya-hc-v2__content .help-center-article-body {
    font-size: 15px;
    line-height: 1.65;
  }
}

.aya-hc-v2__content .help-center-article-body > :first-child {
  margin-top: 0;
}

.aya-hc-v2__content .help-center-article-body p {
  margin: 0 0 1rem;
}

.aya-hc-v2__content .help-center-article-body h2,
.aya-hc-v2__content .help-center-article-body h3,
.aya-hc-v2__content .help-center-article-body h4 {
  color: #111827;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.aya-hc-v2__content .help-center-article-body h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.65rem;
}

.aya-hc-v2__content .help-center-article-body h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.aya-hc-v2__content .help-center-article-body h4 {
  font-size: 1rem;
  margin: 1.35rem 0 0.5rem;
}

.aya-hc-v2__content .help-center-article-body h2:first-child,
.aya-hc-v2__content .help-center-article-body h3:first-child,
.aya-hc-v2__content .help-center-article-body h4:first-child {
  margin-top: 0;
}

.aya-hc-v2__content .help-center-article-body ul,
.aya-hc-v2__content .help-center-article-body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.aya-hc-v2__content .help-center-article-body li {
  margin-bottom: 0.35rem;
}

.aya-hc-v2__content .help-center-article-body a {
  color: #c3073f;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aya-hc-v2__content .help-center-article-body a:hover {
  color: #a10635;
}

.aya-hc-v2__content .help-center-article-body strong,
.aya-hc-v2__content .help-center-article-body b {
  font-weight: 700;
  color: #111827;
}

/* Normalize legacy WYSIWYG inline colors for a cleaner reading experience */
.aya-hc-v2__content .help-center-article-body span[style],
.aya-hc-v2__content .help-center-article-body font {
  color: #111827 !important;
}

.aya-hc-v2__content .help-center-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.75rem 0;
}

.aya-hc-v2__content .help-center-article-body table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  display: block;
  font-size: 14px;
  margin-bottom: 1rem;
}

.aya-hc-v2__category-lede {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.aya-hc-v2__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

.aya-hc-v2__tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.aya-hc-v2__tag:hover {
  background: #fee2e2;
  color: #c3073f;
}

.aya-hc-v2__article-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #f3f4f6;
  color: #111827;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
}

.aya-hc-v2__article-list a i {
  color: #9ca3af;
  font-size: 12px;
  flex-shrink: 0;
}

.aya-hc-v2__article-list a:first-child {
  border-top: 0;
}

.aya-hc-v2__article-list a:hover {
  color: #c3073f;
}

.aya-hc-v2__breadcrumbs {
  font-size: 14px;
  color: #6b7280;
  margin: 0 auto;
  max-width: 640px;
}

.aya-hc-v2__breadcrumbs a {
  color: #c3073f;
  font-weight: 600;
  text-decoration: none;
}

.aya-hc-v2__breadcrumbs a:hover {
  text-decoration: underline;
}

.aya-hc-v2__sidebar-submit {
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.aya-hc-v2__sidebar-submit:hover {
  border-color: #c3073f;
  color: #c3073f;
}

/* Organizer spotlight — advanced settings guides */
.aya-hc-v2__spotlight {
  padding: 28px 0 8px;
}

.aya-hc-v2__spotlight-inner {
  background: linear-gradient(135deg, #1f0a12 0%, #3d0f24 45%, #c3073f 100%);
  border-radius: 18px;
  padding: 28px 24px;
  color: #fff;
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .aya-hc-v2__spotlight-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    padding: 32px 36px;
  }
}

.aya-hc-v2__spotlight-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 12px;
}

.aya-hc-v2__spotlight-copy .aya-hc-v2__section-title {
  color: #fff;
  margin-bottom: 10px;
}

.aya-hc-v2__spotlight-copy > p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 18px;
  line-height: 1.55;
  max-width: 36rem;
}

.aya-hc-v2__spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #111827;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 20px;
  text-decoration: none;
}

.aya-hc-v2__spotlight-cta:hover {
  color: #c3073f;
  text-decoration: none;
}

.aya-hc-v2__spotlight-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aya-hc-v2__spotlight-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.aya-hc-v2__spotlight-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
  color: #fff;
}

/* Article hero banner (in-body, for social-friendly previews) */
.aya-hc-v2__article-hero {
  background: linear-gradient(120deg, #fdf2f6 0%, #fff 55%);
  border: 1px solid #f3e4ea;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.aya-hc-v2__article-hero-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c3073f;
  margin-bottom: 6px;
}

.aya-hc-v2__article-hero-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}
