/* Guide: hero guida, sidebar, steps, FAQ, related */

body[data-page="guide"] main.section {
  padding-top: 28px;
}

.guide-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.guide-breadcrumbs a,
.guide-breadcrumbs span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(49, 96, 248, 0.08);
  color: #3557c7;
  font-size: 0.84rem;
  font-weight: 700;
}

.guide-breadcrumbs span {
  color: #55627a;
  background: rgba(17, 35, 63, 0.05);
}

body[data-page="guide"] .guide-container {
  display: grid;
  gap: 18px;
}

body[data-page="guide"] .guide-hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 28px;
  box-shadow: var(--theme-shadow);
}

body[data-page="guide"] .guide-hero-media {
  min-height: 0;
}

body[data-page="guide"] .guide-hero-image-shell {
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #edf2fa;
}

body[data-page="guide"] .guide-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="guide"] .guide-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

body[data-page="guide"] .guide-category {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(49, 96, 248, 0.08);
  color: #3557c7;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-page="guide"] .guide-context-tags {
  margin: 0;
}

body[data-page="guide"] .guide-context-tag {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
}

body[data-page="guide"] .guide-hero-content h1 {
  margin: 0;
  color: #182541;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

body[data-page="guide"] .guide-intro {
  margin: 0;
  color: var(--theme-muted);
  font-size: 1rem;
  line-height: 1.72;
}

body[data-page="guide"] .guide-meta {
  margin-top: 0;
}

body[data-page="guide"] .guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 282px;
  gap: 20px;
  align-items: start;
}

body[data-page="guide"] .guide-main {
  display: grid;
  gap: 16px;
}

body[data-page="guide"] .guide-main .guide-section {
  margin: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  box-shadow: var(--theme-shadow);
}

body[data-page="guide"] .guide-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 108px;
}

.guide-outline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.guide-outline-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(49, 96, 248, 0.06);
  color: #2d4fbf;
  font-size: 0.88rem;
  font-weight: 700;
}

.guide-summary-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.guide-summary-list article {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #e5ecf6;
}

.guide-summary-list strong {
  font-size: 0.84rem;
  color: #516079;
}

.guide-summary-list span {
  color: #1f2c47;
  font-size: 0.92rem;
  font-weight: 700;
}

.problem-card,
.search-result-card,
.feature-card,
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.problem-card:hover,
.search-result-card:hover,
.feature-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(49, 94, 251, 0.18);
}

.problem-card-link,
.search-result-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.card-image,
.feature-card-image,
.search-card-image,
.card-cover,
.problem-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 16px;
  background: #ffffff;
}

.problem-card-link h3,
.search-result-card-link h3,
.card-title,
.feature-card-title,
.search-card-title {
  margin: 0 0 10px;
  font-size: 1.02rem;
  line-height: 1.32;
  color: var(--text);
}

.problem-card-link p,
.search-result-card-link p,
.card-text,
.feature-card-text,
.search-card-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.9rem;
}

.problem-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 20px 0;
}

.problem-cover-wrap {
  width: 100%;
  background: #f8fafc;
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.problem-cover {
  width: 100%;
  max-height: 155px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.problem-content {
  padding: 32px;
  max-width: 840px;
  margin: 0 auto;
}

.problem-title {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.08;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.problem-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 36px;
  font-weight: 400;
}

.problem-description {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 24px;
}

.problem-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 18px;
}

.problem-section {
  margin-top: 56px;
  margin-bottom: 40px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.problem-section + .problem-section {
  margin-top: 44px;
}

.problem-section-title {
  margin: 0 0 24px;
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--text);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
  display: inline-block;
  letter-spacing: -0.01em;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 34px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

.step-header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.005em;
}

.step-description {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.step-text {
  margin-bottom: 24px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text);
}

.step-image-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.step-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.problem-list {
  margin: 0;
  padding-left: 20px;
}

.problem-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--text);
  position: relative;
}

.problem-list li::marker {
  color: var(--primary);
  font-weight: 600;
}

.problem-summary {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 24px;
  font-weight: 500;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.problem-warning-box {
  background: #fefce8;
  border: 1px solid #eab308;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
}

.problem-warning-box::before {
  content: "\26A0\FE0F";
  position: absolute;
  top: -10px;
  left: 16px;
  background: white;
  border: 1px solid #eab308;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.problem-disclaimer-box {
  background: #f8fafc;
  border: 1px solid #d7dee8;
}

.problem-summary {
  margin: 20px 0 28px;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text);
  font-weight: 500;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.problem-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 32px;
  padding: 0;
}

.problem-meta-strip span,
.related-guide-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  background: #f1f5f9;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

.problem-toc {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 1;
}

.toc-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.toc-list a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: block;
  font-weight: 500;
}

.toc-list a:hover {
  background: var(--surface-soft);
  color: var(--primary);
  transform: translateX(4px);
}

.problem-link-list {
  margin: 0;
  padding-left: 18px;
}

.problem-link-list li {
  margin-bottom: 10px;
}

.problem-link-list small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.step-description {
  margin: 0 0 10px;
  color: var(--muted);
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.5;
}

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

.faq-answer {
  padding-top: 12px;
}

.problem-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--primary);
  margin: 40px 0 32px;
}

.problem-cta-box p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.related-guides-grid {
  display: grid;
  gap: 12px;
}

.guide-page {
  padding: 18px 0 44px;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(17, 36, 71, 0.06);
}

.guide-hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  overflow: hidden;
}

.guide-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--guide-hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.04);
  opacity: 0.14;
  transform: scale(1.08);
}

.guide-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(49, 94, 251, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 100%);
}

.guide-hero-image-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 34px rgba(17, 36, 71, 0.1);
}

.guide-hero-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}

.guide-hero-content {
  padding: 24px 26px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guide-category {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.guide-context-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.guide-context-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(49, 94, 251, 0.08);
  border: 1px solid rgba(49, 94, 251, 0.14);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.guide-context-tag:hover {
  transform: translateY(-1px);
  border-color: rgba(49, 94, 251, 0.24);
  background: rgba(49, 94, 251, 0.12);
}

.guide-context-tag-muted {
  background: #f8fafc;
  border-color: var(--line);
  color: var(--text);
}

.guide-context-tag-strong {
  background: linear-gradient(180deg, rgba(49, 94, 251, 0.12) 0%, rgba(106, 165, 255, 0.18) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.guide-hero-content h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
}

.guide-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.66;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.guide-meta p {
  margin: 0;
  padding: 7px 11px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 300px;
  gap: 28px;
  align-items: start;
}

.guide-main {
  min-width: 0;
}

.guide-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-section {
  margin-bottom: 32px;
}

.guide-section h2 {
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.guide-section p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.guide-sidebar-card {
  margin-bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(17, 36, 71, 0.055);
}

.guide-sidebar-card h2 {
  margin-bottom: 14px;
  font-size: 1.48rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.guide-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.guide-cta-button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.guide-warning {
  background: #fefce8;
  border: 1px solid #eab308;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 32px;
}

.guide-warning h2 {
  margin: 0 0 12px;
  color: #a16207;
}

.guide-list {
  margin: 0;
  padding-left: 20px;
}

.guide-list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.guide-list li small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}

.step-content p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  margin-top: 14px;
  display: block;
  padding: 10px;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f6fb 100%);
  border: 1px solid #e2e8f0;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--text);
}

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

.faq-answer {
  padding: 0 18px 16px;
}

.source-link {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

.guide-related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-guide-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 12px 40px 12px 16px;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 22px rgba(17, 36, 71, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.related-guide-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2f66f6 0%, #6aa5ff 100%);
}

.related-guide-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  aspect-ratio: 1 / 1;
  padding: 6px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid rgba(47, 102, 246, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.related-guide-thumb-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
}

.related-guide-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  min-height: 72px;
  min-width: 0;
}

.related-guide-card strong {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.34;
  letter-spacing: -0.01em;
  display: block;
  overflow: visible;
  white-space: normal;
  text-wrap: pretty;
}

.related-guide-overline {
  display: block;
  max-width: 100%;
  color: var(--primary);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.related-guide-meta {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-guide-card::after {
  content: "\2192";
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.62;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.related-guide-card:hover {
  border-color: rgba(47, 102, 246, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 10px 22px rgba(17, 36, 71, 0.075);
  transform: translateY(-1px);
}

.related-guide-card:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

.guide-closing {
  padding: 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.guide-main > .guide-section,
.guide-main > .guide-info-grid,
.guide-main > .guide-extra-grid {
  margin-bottom: 32px;
}

.guide-info-grid,
.guide-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-info-grid .guide-section,
.guide-extra-grid .guide-section {
  margin-bottom: 0;
  height: 100%;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(17, 36, 71, 0.04);
}

.guide-info-grid .guide-section h2,
.guide-extra-grid .guide-section h2 {
  margin-bottom: 14px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.guide-info-grid .guide-section p,
.guide-extra-grid .guide-section p,
.guide-info-grid .guide-section li,
.guide-extra-grid .guide-section li {
  font-size: 0.98rem;
  line-height: 1.7;
}

.guide-main > .guide-section {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.guide-main > .guide-section:has(.guide-list) {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(17, 36, 71, 0.04);
}

.guide-main > .guide-section h2 {
  margin-bottom: 18px;
}

.guide-main > .guide-section.guide-closing {
  padding: 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.guide-main > .guide-section.guide-warning {
  padding: 20px;
  background: #fefce8;
  border: 1px solid #eab308;
  border-radius: 16px;
}

.guide-main > .guide-section .guide-list {
  padding-left: 20px;
}

.guide-main > .guide-section .guide-list li + li {
  margin-top: 8px;
}

.guide-main > .guide-section .source-link {
  font-weight: 700;
}

.guide-main > .guide-section {
  margin-bottom: 32px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(17, 36, 71, 0.05);
}

.guide-main > .guide-section h2 {
  margin: 0 0 18px;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.guide-main > .guide-section p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.guide-main > .guide-section .guide-list {
  margin: 0;
  padding-left: 20px;
}

.guide-main > .guide-section .guide-list li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.guide-main > .guide-section .guide-list li small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.guide-main > .guide-section .source-link {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.guide-main > .guide-section .source-link:hover {
  text-decoration: underline;
}

.guide-main > .guide-section:first-of-type:not(.guide-warning) {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid #dbe7ff;
}

.guide-main > .guide-section .guide-list .source-link {
  display: inline-block;
  margin-bottom: 2px;
}

.guide-main > .guide-section:has(.guide-list) {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.guide-main > .guide-section h2 + .guide-list li {
  position: relative;
}

.guide-main > .guide-section h2 {
  scroll-margin-top: 100px;
}

.guide-explanation-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe7ff;
}

.guide-links-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.guide-checklist-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6fdf7 100%);
  border-color: #d9f0dc;
}

.guide-checklist-section .guide-list li::marker {
  color: #1f9d55;
}

.guide-errors-section {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  border-color: #f1d4d4;
}

.guide-errors-section .guide-list li::marker {
  color: #dc2626;
}

.guide-notes-section {
  background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
  border-color: #f3e7bf;
}

.guide-disclaimer-section {
  background: #f8fafc;
  border-style: dashed;
  border-color: #d7dee8;
}

.guide-disclaimer-section p {
  color: var(--muted);
}

.guide-links-grid-section {
  padding: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(17, 36, 71, 0.05);
}

.guide-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guide-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-link-card {
  padding: 14px 15px;
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(17, 36, 71, 0.04);
}

.guide-link-card .source-link {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  line-height: 1.45;
}

.guide-link-card .source-link:hover {
  text-decoration: underline;
}

.guide-link-card small {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}
