.guide-page {
  padding-top: var(--header-h);
}

.guide-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.guide-hero__back {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.guide-hero__back a {
  color: var(--accent);
  font-weight: 500;
}

.guide-hero__back a:hover {
  color: var(--accent-dark);
}

.guide-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.guide-hero__badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-subtle);
  border-radius: 999px;
}

.guide-content {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.guide-content__intro {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.guide-section {
  margin-bottom: 2.25rem;
}

.guide-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.guide-section p {
  margin-bottom: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
}

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

.guide-faq {
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.guide-faq h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.guide-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guide-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.guide-faq__item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

.guide-faq__item summary::-webkit-details-marker {
  display: none;
}

.guide-faq__item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--accent);
}

.guide-faq__item[open] summary::after {
  content: "\2212";
}

.guide-faq__item p {
  padding: 0 1.15rem 1rem;
  margin: 0;
  line-height: 1.65;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.guide-cta {
  margin: 3rem 0 4rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-subtle) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  text-align: center;
}

.guide-cta h2 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.guide-cta p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.guide-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.08);
}

.guide-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.guide-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.guide-card p {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.guide-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.guide-card__link {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

.guide-card__link:hover {
  color: var(--accent-dark);
}

.guide-related {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.guide-related a {
  color: var(--accent);
  font-weight: 500;
}

.guide-related a:hover {
  color: var(--accent-dark);
}

.guide-related__sep {
  margin: 0 0.5rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .guide-content__intro {
    font-size: 1.05rem;
  }

  .guide-cta {
    padding: 1.5rem;
  }
}
