.guide-page {
  max-width: 940px;
}

.guide-breadcrumb {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  color: var(--ap-text-secondary);
}

.guide-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.guide-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--ap-text-muted);
}

.guide-breadcrumb a,
.guide-links a {
  color: var(--purple-color);
  font-weight: 700;
  text-decoration: none;
}

.guide-breadcrumb a:hover,
.guide-links a:hover {
  text-decoration: underline;
}

.guide-page__header {
  margin-bottom: 1.75rem;
}

.guide-page__intro {
  max-width: 68ch;
}

.guide-page__updated {
  margin: 1rem 0 0;
  color: var(--ap-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-section {
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(30, 61, 47, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px var(--ap-shadow-lg);
}

.guide-section h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--font-color);
}

.guide-section h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--font-color);
}

.guide-section p {
  margin: 0 0 0.8rem;
  color: var(--ap-text-secondary);
  line-height: 1.7;
}

.guide-section p:last-child {
  margin-bottom: 0;
}

.guide-table-wrap {
  overflow-x: auto;
}

.guide-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.guide-table th,
.guide-table td {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(30, 61, 47, 0.10);
  text-align: left;
  vertical-align: top;
}

.guide-table thead th {
  color: var(--font-color);
  background: rgba(184, 115, 24, 0.10);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-table tbody th {
  width: 28%;
  color: var(--font-color);
  font-weight: 700;
}

.guide-table tbody td {
  color: var(--ap-text-secondary);
  line-height: 1.6;
}

.guide-steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-steps li {
  position: relative;
  min-height: 3rem;
  padding-left: 3.35rem;
  counter-increment: guide-step;
}

.guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--purple-color);
  color: var(--font-color-contrast);
  font-weight: 800;
}

.guide-links ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.1rem;
  margin: 0;
  color: var(--ap-text-secondary);
}

.guide-faq {
  display: grid;
  gap: 0.75rem;
}

.guide-faq details {
  border: 1px solid rgba(30, 61, 47, 0.10);
  border-radius: 12px;
  background: rgba(244, 241, 235, 0.55);
}

.guide-faq summary {
  cursor: pointer;
  padding: 0.95rem 1rem;
  color: var(--font-color);
  font-weight: 700;
}

.guide-faq details[open] summary {
  border-bottom: 1px solid rgba(30, 61, 47, 0.10);
}

.guide-faq p {
  padding: 0.95rem 1rem 1rem;
}

body.dark-mode .guide-section {
  border-color: rgba(212, 146, 28, 0.18);
  background: rgba(33, 30, 27, 0.92);
}

body.dark-mode .guide-table thead th {
  background: rgba(212, 146, 28, 0.14);
}

body.dark-mode .guide-table th,
body.dark-mode .guide-table td,
body.dark-mode .guide-faq details,
body.dark-mode .guide-faq details[open] summary {
  border-color: rgba(229, 221, 212, 0.10);
}

body.dark-mode .guide-faq details {
  background: rgba(27, 25, 22, 0.74);
}

@media (max-width: 640px) {
  .guide-section {
    padding: 1.25rem;
    border-radius: 14px;
  }

  .guide-steps li {
    padding-left: 2.75rem;
  }

  .guide-steps li::before {
    width: 2rem;
    height: 2rem;
  }
}
