/* =====================================================================
   M-CSC · sitemap.css - HTML sitemap (light editorial)
   Requires base.css.
   ===================================================================== */

.sitemap-main { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); }
.sitemap-hero { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.sitemap-hero .eyebrow { margin-bottom: 14px; }
.sitemap-hero h1 { margin-bottom: 14px; }
.sitemap-hero .lead { color: var(--muted); }

.sitemap-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 18px; align-items: start; }
.sitemap-panel {
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.sitemap-section + .sitemap-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.sitemap-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.sitemap-section-head h2 { font-size: 1.1rem; }
.sitemap-count { color: var(--muted); font-size: 0.88rem; font-family: var(--font-mono); white-space: nowrap; }
.sitemap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sitemap-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
}
.sitemap-link:hover { border-color: var(--border-strong); background: #fff; transform: translateX(3px); }
.link-copy { min-width: 0; display: grid; gap: 2px; }
.link-title { font-weight: 600; }
.link-path { color: var(--muted); font-size: 0.84rem; font-family: var(--font-mono); word-break: break-word; }
.sitemap-link .arrow { color: var(--brand-strong); flex-shrink: 0; }
.sitemap-link .arrow svg { width: 17px; height: 17px; }

.sitemap-aside-card {
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(155deg, var(--surface), var(--brand-tint));
  box-shadow: var(--shadow-sm);
}
.sitemap-aside-card h2 { font-size: 1.05rem; margin-bottom: 8px; }
.sitemap-aside-card p { color: var(--muted); margin-bottom: 16px; font-size: 0.94rem; }

@media (max-width: 860px) { .sitemap-grid { grid-template-columns: 1fr; } }
