/* "Nasıl iş bulurum?" (rehber.html): kapak, bölüm şeridi, sırayla sağda / solda çizimli 8 bölüm, kapanış çağrısı. */
main:has(.rh) { max-width: 1120px; }
.rh { --r: 26px; }
.rh .btn { font-weight: 700; padding: 11px 20px; border-radius: 12px; }

/* kapak */
.rh-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px;
  margin: 8px 0 18px; padding: 40px 44px; border-radius: 30px; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, #1FA463 0%, transparent 60%), linear-gradient(135deg, #0E7C47, #0A5C35); }
.rh-hero::before { content: ""; position: absolute; left: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 212, 92, .12); }
.rh-hero-tx { position: relative; }
.rh-eyebrow { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14);
  font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.rh-hero h1 { margin: 0 0 12px; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -2px; }
.rh-lead { max-width: 46ch; margin: 0 0 22px; font-size: 18px; line-height: 1.55; opacity: .95; }
.rh-hero-act { display: flex; flex-wrap: wrap; gap: 10px; }
.rh-hero .btn.ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.rh-hero .btn.ghost:hover { background: rgba(255, 255, 255, .2); }
.rh-hero-art { position: relative; }
.rh-hero-art .rh-art { width: 100%; height: auto; display: block; }

/* bölüm şeridi */
.rh-toc { position: sticky; top: 8px; z-index: 5; display: flex; gap: 6px; margin: 0 0 10px; padding: 8px; overflow-x: auto; scrollbar-width: none;
  border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(16, 37, 26, .07); }
.rh-toc::-webkit-scrollbar { display: none; }
.rh-toc a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 7px; border-radius: 12px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.rh-toc a b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; }
.rh-toc a:hover { background: #F4F8F5; }
.rh-toc a:hover b { background: var(--brand); color: #fff; }

/* bölümler: çizim + metin, çift sıradakiler ters */
.rh-step { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 54px 10px; scroll-margin-top: 80px; }
.rh-step + .rh-step { border-top: 1px solid #EEF2EF; }
.rh-step.flip .rh-art-wrap { order: 2; }
.rh-art-wrap { position: relative; }
.rh-art-wrap .rh-art { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto; transition: transform .4s ease; }
.rh-step:hover .rh-art { transform: translateY(-4px) rotate(-.6deg); }
.rh-num { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: 2px; color: #F5A524; }
.rh-tx h2 { margin: 4px 0 8px; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -1px; line-height: 1.1; }
.rh-lead2 { margin: 0 0 18px; font-size: 17px; color: #3B5247; }
.rh-tips { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.rh-tips li { position: relative; padding: 12px 14px 12px 46px; border-radius: 14px; background: #F7FAF8; line-height: 1.5; font-size: 15px; }
.rh-tips li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rh-tips b { color: var(--ink); }
.rh-cta { display: inline-flex; align-items: center; gap: 6px; padding: 11px 18px; border-radius: 12px; background: var(--brand); color: #fff;
  font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgba(14, 124, 71, .22); transition: background .15s, transform .15s; }
.rh-cta:hover { background: var(--brand-dark); transform: translateX(2px); }

/* kapanış */
.rh-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin: 20px 0 10px; padding: 32px 36px;
  border-radius: var(--r); background: linear-gradient(135deg, #FFF6DA, #FFFBEA 60%, #E7F6EE); border: 1.5px solid #F3DFA8; }
.rh-end h2 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.8px; }
.rh-end p { margin: 0; color: #3B5247; max-width: 52ch; }
.rh-end-act { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 820px) {
  .rh-hero { grid-template-columns: 1fr; padding: 30px 24px 10px; border-radius: 24px; }
  .rh-hero-art { max-width: 380px; margin: 0 auto; }
  .rh-step, .rh-step.flip { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .rh-step .rh-art-wrap, .rh-step.flip .rh-art-wrap { order: 0; max-width: 360px; margin: 0 auto; width: 100%; }
  .rh-end { padding: 26px 22px; }
}

/* ana sayfadaki tanıtım kutusu (index.html) */
.rh-teaser { display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 10px 30px; margin: 40px 0 8px; padding: 26px 30px;
  border-radius: 26px; background: linear-gradient(135deg, #F1FAF5, #FFFBEA); border: 1px solid #E3EFE8; }
.rh-teaser .rh-art { width: 100%; height: auto; display: block; }
.rh-teaser h2 { margin: 0 0 6px; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -1px; }
.rh-teaser > div > p { margin: 0 0 14px; color: #3B5247; font-size: 16px; }
.rh-teaser ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: t; }
.rh-teaser ol li { counter-increment: t; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.rh-teaser ol li::before { content: counter(t); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 800; }
@media (max-width: 760px) {
  .rh-teaser { grid-template-columns: 1fr; padding: 22px 20px; }
  .rh-teaser > .rh-art-mini { max-width: 260px; margin: 0 auto; }
}
