/* FAQ – Night */

table:has(> tbody > tr > td.body_mc .faq) {
  width: 100%;
  table-layout: fixed;
}

.faq,
.faq * {
  box-sizing: border-box;
}

.faq {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 8px;
  text-align: left;
  color: var(--text);
}

.faq-head {
  margin: 0 0 16px;
}

.faq-kicker {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-head h1,
.body_mc .faq-head h1 {
  margin: 0 0 8px;
  text-align: left;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.faq-lead {
  margin: 0;
  max-width: 42em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.faq-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: baseline;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-breadcrumb strong {
  color: var(--text);
}

.faq-panel {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.faq-panel-head {
  margin: 0 0 10px;
}

.faq-panel-head h2,
.body_mc .faq-panel-head h2 {
  margin: 0;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--inset);
  color: var(--text);
  font: inherit;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease);
}

.faq-item:hover {
  border-color: var(--accent);
  background: rgba(62, 207, 255, 0.06);
  color: var(--accent);
}

.faq-item.is-open {
  border-color: rgba(62, 207, 255, 0.45);
  background: rgba(62, 207, 255, 0.1);
  color: var(--accent);
}

.faq-item-label {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
}

.faq-item-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  opacity: 0.85;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.faq-item-icon--folder {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3.5 7.5A2 2 0 0 1 5.5 5.5h4.2l1.6 1.8H18.5A2 2 0 0 1 20.5 9.3v7.2a2 2 0 0 1-2 2H5.5a2 2 0 0 1-2-2v-9z' stroke='%23fff' stroke-width='1.75' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3.5 7.5A2 2 0 0 1 5.5 5.5h4.2l1.6 1.8H18.5A2 2 0 0 1 20.5 9.3v7.2a2 2 0 0 1-2 2H5.5a2 2 0 0 1-2-2v-9z' stroke='%23fff' stroke-width='1.75' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.faq-item-icon--topic {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='8.25' stroke='%23fff' stroke-width='1.75'/%3E%3Cpath d='M12 11v5' stroke='%23fff' stroke-width='1.75' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='8.2' r='0.9' fill='%23fff'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='8.25' stroke='%23fff' stroke-width='1.75'/%3E%3Cpath d='M12 11v5' stroke='%23fff' stroke-width='1.75' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='8.2' r='0.9' fill='%23fff'/%3E%3C/svg%3E");
}

.faq-item-chevron {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background-color: currentColor;
  opacity: 0.7;
  -webkit-mask: url("../../images/general/cashpoint/icon-chevron-right.svg") center / contain no-repeat;
  mask: url("../../images/general/cashpoint/icon-chevron-right.svg") center / contain no-repeat;
  transition: transform var(--ease);
}

.faq-item--topic.is-open .faq-item-chevron {
  transform: rotate(90deg);
}

.faq-answer {
  margin: 6px 0 4px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.faq-answer-body {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-answer-body a {
  color: var(--accent);
}

.faq-back {
  margin: 16px 0 0;
}

.faq-back a {
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}

.faq-back a:hover {
  text-decoration: underline;
}
