
/* =========================================================
   Ssegujja Arts — Help / FAQ
   Shares the wall-label palette/type used across the site
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Public+Sans:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');

.ssegujja-help {
  --ink: #1c1a17;
  --canvas: #f1ece0;
  --canvas-soft: #e8e1d1;
  --clay: #a8452a;
  --moss: #4b5842;
  --brass: #a6863c;
  --sand: #d8cdb8;
  --line: rgba(28, 26, 23, 0.14);
  --white: #fffdf9;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-label: 'Space Mono', 'Courier New', monospace;

  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  padding: 56px 6vw 72px;
}

.ssegujja-help * {
  box-sizing: border-box;
}

.ssegujja-help :focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

.ssegujja-help__wrapper {
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Header ---------- */

.ssegujja-help__header {
  margin-bottom: 40px;
}

.ssegujja-help__eyebrow {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 10px;
}

.ssegujja-help__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 38px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 12px;
}

.ssegujja-help__intro {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(28, 26, 23, 0.8);
  max-width: 58ch;
  margin: 0;
}

.ssegujja-help__link {
  color: var(--clay);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 69, 42, 0.35);
  transition: border-color 0.15s ease;
}

.ssegujja-help__link:hover {
  border-bottom-color: var(--clay);
}

/* ---------- FAQ heading ---------- */

.ssegujja-help__faq-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  border-left: 3px solid var(--brass);
  padding-left: 14px;
  margin: 0 0 18px;
}

/* ---------- FAQ list ---------- */

.ssegujja-help__faq-list {
  border-top: 1px solid var(--line);
}

.ssegujja-help__faq-item {
  border-bottom: 1px solid var(--line);
}

.ssegujja-help__faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 16px 2px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  transition: color 0.2s ease;
}

.ssegujja-help__faq-question:hover {
  color: var(--clay);
}

.ssegujja-help__faq-question[aria-expanded="true"] {
  color: var(--clay);
}

.ssegujja-help__faq-icon {
  position: relative;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.ssegujja-help__faq-icon::before,
.ssegujja-help__faq-icon::after {
  content: '';
  position: absolute;
  background: var(--brass);
  transition: transform 0.25s ease, background 0.2s ease;
}

.ssegujja-help__faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.ssegujja-help__faq-icon::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 1.5px;
  transform: translateX(-50%);
}

.ssegujja-help__faq-question[aria-expanded="true"] .ssegujja-help__faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.ssegujja-help__faq-question[aria-expanded="true"] .ssegujja-help__faq-icon::before,
.ssegujja-help__faq-question[aria-expanded="true"] .ssegujja-help__faq-icon::after {
  background: var(--clay);
}

.ssegujja-help__faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.ssegujja-help__faq-item.is-open .ssegujja-help__faq-answer {
  grid-template-rows: 1fr;
}

.ssegujja-help__faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.ssegujja-help__faq-answer-inner p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(28, 26, 23, 0.78);
  margin: 0;
  padding: 0 2px 18px;
  max-width: 60ch;
}

@media (prefers-reduced-motion: reduce) {
  .ssegujja-help__faq-answer {
    transition: none;
  }
}

/* ---------- Contact CTA ---------- */

.ssegujja-help__contact {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ssegujja-help__contact-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--ink);
}

.ssegujja-help__contact-text p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(28, 26, 23, 0.75);
  margin: 0;
  max-width: 46ch;
}

.ssegujja-help__cta-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.ssegujja-help__cta-link:hover {
  color: var(--clay);
  border-color: var(--clay);
  gap: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  .ssegujja-help {
    padding: 44px 5vw 56px;
  }

  .ssegujja-help__contact {
    flex-direction: column;
    align-items: flex-start;
  }
}
