
/*
 * Ase Medya FAQ V9.1
 * Dedicated FAQ styling. It intentionally does not reuse the legacy
 * .home-ss-tab / .ss-tab-* classes, so old Lacute orange active styles
 * cannot leak into the FAQ page.
 */

.ase-faq-page {
  --faq-primary: #0ea5e9;
  --faq-primary-dark: #0284c7;
  --faq-navy: #0b1f33;
  --faq-text: #24384d;
  --faq-muted: #708398;
  --faq-line: #dceaf4;
  --faq-soft: #f5fbff;
  --faq-white: #ffffff;
}

.ase-faq-page--public {
  position: relative;
  padding: 64px 0 84px;
  background:
    radial-gradient(circle at 10% 0%, rgba(14,165,233,.06), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(56,189,248,.07), transparent 24%),
    #fff;
}

.ase-faq-page--public .container {
  max-width: 1180px;
}

.ase-faq-heading {
  max-width: 730px;
  margin: 0 auto 34px;
  text-align: center;
}

.ase-faq-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  margin-bottom: 12px;
  border-radius: 999px;
  border: 1px solid #d8edf9;
  background: #f4fbff;
  color: var(--faq-primary-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
}

.ase-faq-heading h1 {
  margin: 0 0 11px;
  color: var(--faq-navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.04em;
}

.ase-faq-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--faq-muted);
  font-size: 14px;
  line-height: 1.75;
}

.ase-faq-list {
  display: grid;
  gap: 12px;
}

.ase-faq-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--faq-line);
  border-radius: 17px;
  background: var(--faq-white);
  box-shadow: 0 8px 28px rgba(23, 66, 103, .045);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ase-faq-item:hover {
  border-color: #c4e4f5;
  box-shadow: 0 13px 34px rgba(23, 66, 103, .075);
}

.ase-faq-item[open] {
  border-color: #b8dff2;
  box-shadow: 0 14px 38px rgba(14, 165, 233, .09);
}

.ase-faq-question {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 18px 22px 18px 24px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: background .2s ease;
}

.ase-faq-question::-webkit-details-marker {
  display: none;
}

.ase-faq-item[open] > .ase-faq-question {
  background: linear-gradient(90deg, #f1faff 0%, #fbfdff 100%);
}

.ase-faq-question-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ase-faq-question-copy strong {
  color: var(--faq-navy);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 750;
  letter-spacing: -.01em;
}

.ase-faq-category {
  width: max-content;
  color: var(--faq-primary-dark);
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ase-faq-toggle {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid #dcecf6;
  background: #f5fbff;
  transition: .2s ease;
}

.ase-faq-toggle::before,
.ase-faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2px;
  border-radius: 10px;
  background: var(--faq-primary-dark);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}

.ase-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ase-faq-item[open] .ase-faq-toggle {
  border-color: var(--faq-primary);
  background: linear-gradient(135deg, var(--faq-primary), var(--faq-primary-dark));
}

.ase-faq-item[open] .ase-faq-toggle::before,
.ase-faq-item[open] .ase-faq-toggle::after {
  background: #fff;
}

.ase-faq-item[open] .ase-faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0);
}

.ase-faq-answer {
  border-top: 1px solid #e8f1f6;
  background: #fff;
}

.ase-faq-answer-inner {
  padding: 20px 24px 23px;
  color: #536b81;
  font-size: 13px;
  line-height: 1.85;
}

.ase-faq-answer-inner a {
  color: var(--faq-primary-dark);
  font-weight: 700;
}

.ase-faq-help {
  margin-top: 24px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #d8ebf6;
  border-radius: 18px;
  background: linear-gradient(120deg, #ecf9ff, #f9fdff);
}

.ase-faq-help > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ase-faq-help span {
  color: #72879a;
  font-size: 11px;
}

.ase-faq-help strong {
  color: var(--faq-navy);
  font-size: 16px;
}

.ase-faq-help-btn {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--faq-primary), var(--faq-primary-dark));
  box-shadow: 0 9px 22px rgba(14, 165, 233, .18);
  color: #fff !important;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none !important;
}

.ase-faq-empty {
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed #cfe4f1;
  border-radius: 17px;
  background: #f9fdff;
}

.ase-faq-empty i {
  margin-bottom: 12px;
  color: var(--faq-primary);
  font-size: 28px;
}

.ase-faq-empty strong {
  color: var(--faq-navy);
  font-size: 15px;
}

.ase-faq-empty span {
  margin-top: 5px;
  color: var(--faq-muted);
  font-size: 12px;
}

/* Dashboard version */
.ase-faq-page--panel .ase-faq-shell {
  overflow: hidden;
}

.ase-faq-page--panel .ase-faq-panel-title {
  margin-bottom: 0;
}

.smmsun-dashboard .ase-faq-page .ase-faq-item,
.smmsun-dashboard .ase-faq-page .ase-faq-question,
.smmsun-dashboard .ase-faq-page .ase-faq-answer {
  background: #fff !important;
}

.smmsun-dashboard .ase-faq-page .ase-faq-item[open] > .ase-faq-question {
  background: linear-gradient(90deg, #f1faff 0%, #fbfdff 100%) !important;
}

/* Explicitly neutralize any legacy orange FAQ remnants if an old class is
   accidentally injected by cached markup. */
.smmsun-public .ase-faq-page .home-ss-tab.active,
.smmsun-public .ase-faq-page .home-ss-tab.active .ss-tab-head,
.smmsun-dashboard .ase-faq-page .home-ss-tab.active,
.smmsun-dashboard .ase-faq-page .home-ss-tab.active .ss-tab-head {
  background: #fff !important;
  color: var(--faq-navy) !important;
}

@media (max-width: 767.98px) {
  .ase-faq-page--public {
    padding: 42px 0 66px;
  }

  .ase-faq-heading {
    margin-bottom: 24px;
  }

  .ase-faq-heading h1 {
    font-size: 31px;
  }

  .ase-faq-heading p {
    font-size: 12px;
  }

  .ase-faq-question {
    min-height: 68px;
    padding: 15px 15px 15px 17px;
    gap: 12px;
  }

  .ase-faq-question-copy strong {
    font-size: 13px;
  }

  .ase-faq-toggle {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .ase-faq-answer-inner {
    padding: 17px;
    font-size: 12px;
  }

  .ase-faq-help {
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .ase-faq-help-btn {
    width: 100%;
  }
}


/* Embedded FAQ inside tickets page */
.tickets-faq-pane {
  padding-top: 2px;
}

.ase-faq-list--compact {
  gap: 10px;
}

.tickets-faq-pane .ase-faq-item {
  border-radius: 14px;
  box-shadow: none;
}

.tickets-faq-pane .ase-faq-question {
  min-height: 64px;
  padding: 15px 16px 15px 18px;
}

.tickets-faq-pane .ase-faq-question-copy strong {
  font-size: 14px;
}

.tickets-faq-pane .ase-faq-answer-inner {
  padding: 15px 18px 18px;
  font-size: 12px;
  line-height: 1.8;
}

.tickets-faq-pane .ase-faq-toggle {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 10px;
}

.tickets-faq-pane .ase-faq-item[open] {
  box-shadow: 0 10px 26px rgba(14, 165, 233, .08);
}
