.page-faq {
  --faq-card-bg: #FFFDF7;
  --faq-gold-line: #C9A227;
  --faq-navy: #0A1F44;
  --faq-answer-bg: #F7F3E8;
  --faq-soft-gold: #F5D36E;
}

.page-faq .faq-hero {
  position: relative;
  background: linear-gradient(140deg, #0A1F44 0%, #122D5E 52%, #092047 100%);
  color: #F7F3E8;
}

.page-faq .faq-hero-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #C9A227 0%, #E23B3B 60%, #F5D36E 100%);
  z-index: 2;
  pointer-events: none;
}

.page-faq .faq-breadcrumb {
  margin-bottom: 28px;
}

.page-faq .faq-breadcrumb .breadcrumb-link {
  color: #B8C7D9;
}

.page-faq .faq-breadcrumb .breadcrumb-link:hover {
  color: #F5D36E;
}

.page-faq .faq-breadcrumb [aria-current="page"] {
  color: #F5D36E;
}

.page-faq .faq-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.page-faq .faq-hero-count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #F5D36E;
  letter-spacing: 0.04em;
}

.page-faq .faq-title {
  font-weight: 900;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 18px 0 16px;
  max-width: 720px;
  color: #F7F3E8;
}

.page-faq .faq-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: #B8C7D9;
  max-width: 620px;
  margin: 0 0 28px;
}

.page-faq .faq-search {
  position: relative;
  max-width: 520px;
  margin-bottom: 18px;
}

.page-faq .faq-search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: rgba(10, 31, 68, 0.55);
  pointer-events: none;
}

.page-faq .faq-search-icon svg {
  width: 18px;
  height: 18px;
}

.page-faq .faq-search-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  background: #F7F3E8;
  color: #0A1F44;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.page-faq .faq-search-input:focus {
  outline: none;
  border-color: #C9A227;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.16);
  background: #FFFDF7;
}

.page-faq .faq-search-input::placeholder {
  color: rgba(10, 31, 68, 0.52);
}

.page-faq .faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-faq .faq-tag {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-title);
  color: #F7F3E8;
  border: 1px solid rgba(184, 199, 217, 0.45);
  border-radius: 999px;
  padding: 7px 16px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.page-faq .faq-tag:hover {
  background: rgba(201, 162, 39, 0.22);
  border-color: #C9A227;
  color: #F5D36E;
}

.page-faq .faq-hero-visual {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.page-faq .faq-hero-img {
  max-width: 200px;
  height: auto;
  border-radius: 24px;
  transform: rotate(2.5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-top: 52px;
  padding-bottom: 64px;
  background-image: radial-gradient(rgba(201, 162, 39, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
}

.page-faq .faq-section {
  scroll-margin-top: calc(var(--header-total) + 20px);
}

.page-faq .faq-section-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #E5DFD5;
}

.page-faq .faq-section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.page-faq .faq-section-head-row .exhibit-index {
  font-size: 26px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #C9A227;
  line-height: 1;
  opacity: 0.75;
}

.page-faq .faq-section-title {
  font-size: 28px;
  font-weight: 900;
  font-family: var(--font-title);
  color: #0A1F44;
  margin: 4px 0 8px;
  line-height: 1.25;
}

.page-faq .faq-section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--blue-gray, #2D5A93);
  margin: 0;
  max-width: 560px;
}

.page-faq .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-faq .faq-accordion-item {
  background: var(--faq-card-bg, #FFFDF7);
  border: 1px solid #E5DFD5;
  border-left: 4px solid #C9A227;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-faq .faq-accordion-item[open] {
  border-color: #C9A227;
  box-shadow: 0 12px 28px rgba(10, 31, 68, 0.10);
}

.page-faq .faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.45;
  color: #0A1F44;
  user-select: none;
}

.page-faq .faq-question::-webkit-details-marker,
.page-faq .faq-question::marker {
  display: none;
  content: none;
}

.page-faq .faq-question:hover {
  background: rgba(201, 162, 39, 0.06);
}

.page-faq .faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #C9A227;
  color: #0A1F44;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.page-faq .faq-question-toggle {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border: 1.5px solid #C9A227;
  border-radius: 50%;
  transition: border-color 0.25s;
}

.page-faq .faq-question-toggle::before,
.page-faq .faq-question-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #C9A227;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.page-faq .faq-question-toggle::before {
  width: 10px;
  height: 2px;
}

.page-faq .faq-question-toggle::after {
  width: 2px;
  height: 10px;
}

.page-faq .faq-accordion-item[open] .faq-question-toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.page-faq .faq-answer {
  display: flex;
  gap: 14px;
  padding: 18px 20px 22px;
  background: var(--faq-answer-bg, #F7F3E8);
  border-top: 1px solid rgba(201, 162, 39, 0.22);
}

.page-faq .faq-answer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E23B3B;
  color: #F7F3E8;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.page-faq .faq-answer-body {
  padding-top: 2px;
  font-size: 15px;
  line-height: 1.8;
  color: #1A1A1A;
  min-width: 0;
}

.page-faq .faq-answer-body p {
  margin: 0 0 12px;
}

.page-faq .faq-answer-more {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: #0A1F44;
  text-decoration: none;
  border-bottom: 2px solid #C9A227;
  transition: color 0.2s, border-color 0.2s;
}

.page-faq .faq-answer-more:hover {
  color: #2D5A93;
  border-color: #2D5A93;
}

.page-faq .faq-mobile-section {
  margin-top: 56px;
  scroll-margin-top: calc(var(--header-total) + 20px);
}

.page-faq .faq-mobile-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #0A1F44;
  border-radius: 20px;
  overflow: hidden;
  color: #F7F3E8;
  position: relative;
}

.page-faq .faq-mobile-copy {
  padding: 32px 24px;
}

.page-faq .faq-mobile-copy .faq-section-title {
  color: #F7F3E8;
  margin-top: 12px;
}

.page-faq .faq-mobile-copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: #B8C7D9;
  margin-bottom: 20px;
}

.page-faq .faq-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .faq-mobile-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #E5DFD5;
}

.page-faq .faq-mobile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #C9A227;
  transform: rotate(45deg);
}

.page-faq .faq-mobile-figure {
  margin: 0;
  position: relative;
  min-height: 0;
}

.page-faq .faq-mobile-img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.page-faq .faq-mobile-figure figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 12px;
  background: rgba(10, 31, 68, 0.78);
  color: #F7F3E8;
  font-size: 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.page-faq .faq-aside {
  min-width: 0;
}

.page-faq .faq-toc {
  padding: 24px 22px;
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(201, 162, 39, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(10, 31, 68, 0.08);
}

.page-faq .faq-toc-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 900;
  color: #0A1F44;
  margin: 0 0 16px;
  letter-spacing: 0.06em;
}

.page-faq .faq-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-faq .faq-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  color: #1A1A1A;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.page-faq .faq-toc-link:hover {
  background: rgba(201, 162, 39, 0.12);
  transform: translateX(3px);
}

.page-faq .faq-toc-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #C9A227;
  font-weight: 700;
}

.page-faq .faq-toc-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.page-faq .faq-toc-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #2D5A93;
  border: 1px solid #B8C7D9;
  border-radius: 999px;
  padding: 1px 8px;
}

.page-faq .faq-toc-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #B8C7D9;
}

.page-faq .faq-toc-line {
  display: block;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #C9A227, #E23B3B);
  margin-bottom: 10px;
}

.page-faq .faq-toc-note p {
  font-size: 13px;
  line-height: 1.6;
  color: #2D5A93;
  margin: 0;
}

.page-faq .faq-contact-cta {
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 162, 39, 0.18), transparent 44%),
    linear-gradient(135deg, #0A1F44 0%, #122D5E 100%);
  padding: 68px 0 78px;
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
  color: #F7F3E8;
}

.page-faq .faq-contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-faq .faq-contact-title {
  font-size: 28px;
  font-weight: 900;
  font-family: var(--font-title);
  color: #F7F3E8;
  margin: 10px 0 12px;
  line-height: 1.25;
}

.page-faq .faq-contact-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: #B8C7D9;
  max-width: 560px;
  margin: 0;
}

.page-faq .faq-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-faq .faq-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    align-items: center;
    padding-top: 16px;
  }

  .page-faq .faq-hero-img {
    max-width: 280px;
    transform: rotate(3deg);
  }

  .page-faq .faq-mobile-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: stretch;
  }

  .page-faq .faq-mobile-copy {
    padding: 44px 40px;
  }

  .page-faq .faq-mobile-img {
    height: 100%;
    max-height: 400px;
    object-fit: cover;
  }

  .page-faq .faq-contact-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
    align-items: start;
  }

  .page-faq .faq-aside {
    position: sticky;
    top: calc(var(--header-total) + 28px);
  }

  .page-faq .faq-hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .page-faq .faq-hero-img {
    max-width: 340px;
  }

  .page-faq .faq-hero-visual {
    margin-top: 0;
  }
}
