/* Rehber ve sektör sayfaları (tools/sayfa-uretici rehber bölümü) */
.rh-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--sa-ink-soft); }
.rh-crumbs a { color: var(--sa-ink-soft); text-decoration: none; }
.rh-crumbs a:hover { color: var(--sa-ink); }
.rh-crumbs span[aria-hidden] { opacity: .5; }
.rh-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--sa-ink-soft); }
.rh-meta b { color: var(--sa-ink); font-weight: 500; }
.rh-pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--sa-line); font-size: 13px; color: var(--sa-ink-soft); }
.rh-pill--accent { border-color: var(--sa-accent); color: var(--sa-accent); }

.rh-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 1040px) { .rh-body { grid-template-columns: minmax(0, 720px) 240px; justify-content: space-between; } }
.rh-aside { position: sticky; top: calc(var(--nav-h, 72px) + 24px); align-self: start; display: none; }
@media (min-width: 1040px) { .rh-aside { display: grid; gap: 10px; } }
.rh-aside h2 { font-size: 13px; font-weight: 500; color: var(--sa-ink-soft); text-transform: none; letter-spacing: 0; margin: 0 0 4px; }
.rh-aside a { font-size: 14px; color: var(--sa-ink-soft); text-decoration: none; line-height: 1.4; }
.rh-aside a:hover { color: var(--sa-ink); }

.rh-short { margin: 0 0 8px; padding: 22px 24px; border-radius: var(--sa-radius-m); background: var(--sa-surface); border-left: 3px solid var(--sa-accent); }
.rh-short p { color: var(--sa-ink) !important; margin: 0; }
.rh-short .rh-short__k { display: block; font-size: 13px; color: var(--sa-accent); margin-bottom: 6px; font-weight: 500; }

.doc ol { display: grid; gap: 8px; margin: 14px 0; padding-left: 22px; list-style: decimal; }
.doc ol li { color: var(--sa-ink-soft); }
.rh-example { margin: 18px 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.rh-example div { padding: 16px 18px; border: 1px solid var(--sa-line); border-radius: var(--sa-radius-m); font-size: 15px; }
.rh-example div b { display: block; font-size: 13px; color: var(--sa-ink-soft); font-weight: 400; margin-bottom: 6px; }
.rh-swatches { display: flex; gap: 0; margin: 18px 0; border-radius: var(--sa-radius-m); overflow: hidden; border: 1px solid var(--sa-line); }
.rh-swatches span { flex: 1; height: 72px; position: relative; }
.rh-swatches span i { position: absolute; left: 10px; bottom: 8px; font-style: normal; font-size: 12px; color: #fff; mix-blend-mode: difference; }

.rh-cta { margin: 56px 0 8px; padding: clamp(28px, 4vw, 40px); border-radius: var(--sa-radius-l); background: var(--sa-dark); color: var(--sa-dark-ink); display: grid; gap: 18px; }
.rh-cta__k { font-size: 14px; color: var(--sa-dark-accent); font-weight: 500; }
.rh-cta .rh-cta__h { color: var(--sa-dark-ink) !important; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 500; letter-spacing: var(--sa-track-tight); margin: 0; max-width: none; }
.rh-cta p { color: var(--sa-dark-ink-soft) !important; margin: 0; max-width: 52ch; }
.rh-cta ul { display: flex !important; flex-wrap: wrap; gap: 8px 18px !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
.rh-cta li { color: var(--sa-dark-ink) !important; font-size: 14px; }
.rh-cta li::before { content: "✓ "; color: var(--sa-dark-accent); }
.rh-cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rh-cta .btn { --b-bg: var(--sa-dark-ink); --b-ink: var(--sa-dark); }
.rh-cta .btn--ghost { --b-bg: transparent; --b-ink: var(--sa-dark-ink); border-color: var(--sa-dark-line); }

.rh-related { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rh-card { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--sa-line); border-radius: var(--sa-radius-m); background: var(--sa-canvas); text-decoration: none; color: inherit; transition: border-color .2s var(--sa-ease), transform .25s var(--sa-ease); }
.rh-card:hover { border-color: var(--sa-ink); transform: translateY(-2px); }
.rh-card h3 { font-size: 19px; line-height: 1.3; margin: 0; }
.rh-card p { font-size: 15px; color: var(--sa-ink-soft); margin: 0; }
.rh-card small { font-size: 13px; color: var(--sa-ink-soft); }

.rh-hub { display: grid; gap: 56px; }
.rh-hub__h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 20px; }
.rh-hub__h h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0; }
.rh-hub__h p { color: var(--sa-ink-soft); margin: 6px 0 0; max-width: 56ch; }
.rh-hub__h a { font-size: 15px; }
.rh-featured { display: grid; gap: 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--sa-radius-l); background: var(--sa-surface); text-decoration: none; color: inherit; }
@media (min-width: 900px) { .rh-featured { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.rh-featured h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 10px 0 0; }
.rh-featured p { color: var(--sa-ink-soft); margin: 0; }
.rh-sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.rh-sectors a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--sa-line); text-decoration: none; color: var(--sa-ink); font-size: 15px; }
.rh-sectors a:hover { border-color: var(--sa-ink); }

.rh-steps { display: grid; gap: 14px; margin: 18px 0; counter-reset: s; }
.rh-steps li { list-style: none; position: relative; padding: 18px 20px 18px 64px; border: 1px solid var(--sa-line); border-radius: var(--sa-radius-m); }
.rh-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--sa-ink); color: var(--sa-canvas); display: grid; place-items: center; font-size: 14px; }
.rh-steps b { display: block; margin-bottom: 4px; }
.rh-cover { margin: 0 0 clamp(32px, 5vh, 56px); border-radius: var(--sa-radius-l); overflow: hidden; background: var(--sa-surface); }
.rh-cover img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.doc .rh-table { min-width: 0; font-size: 14px; }
.rh-table th, .rh-table td { padding: 12px 14px; }
.rh-table :is(th, td):nth-child(4) { background: color-mix(in srgb, var(--sa-accent) 7%, var(--sa-surface)); }
@media (max-width: 700px) { .doc .rh-table { min-width: 560px; } }
.doc .rh-related { margin-top: 20px; }
.doc .rh-related + .rh-related { margin-top: 16px; }
