.ruya-bolum {
  --vurgu: var(--ruya-cizgi-1,#3c7b6d);
  --zemin: var(--ruya-zemin-1,#f2f8f6);
  margin-block: 1.2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border-inline-start: 3px solid var(--vurgu);
  background: var(--zemin);
  color: #22342f;
  border-radius: .55rem;
}
.ruya-bolum.ton-2 { --vurgu:var(--ruya-cizgi-2,#576f99); --zemin:var(--ruya-zemin-2,#f4f6fb); }
.ruya-bolum.ton-3 { --vurgu:var(--ruya-cizgi-3,#8c6636); --zemin:var(--ruya-zemin-3,#faf6ef); }
.ruya-bolum > h2 { margin:0 0 .55em; font-size:clamp(1.2rem,2.4vw,1.55rem); line-height:1.3; }
.ruya-bolum > p { margin:0; line-height:1.7; }
.ruya-bolum > p + p { margin-top:.8em; }
.ruya-ilgili a { text-decoration:underline; text-underline-offset:.16em; }

.ruya-yonlendirme {
  --ruya-renk: #ff8800;
  --ruya-yazi: #542410;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  margin: 24px 0;
  background: linear-gradient(135deg, #fdf7ed, #fcf0df);
  border: 1px solid #f3dfc9;
  border-left: 5px solid var(--ruya-renk);
  border-radius: 15px;
  box-shadow: 0 5px 12px rgba(139, 69, 19, 0.12);
  color: var(--ruya-yazi);
  text-decoration: none !important;
  font-family: inherit;
  transition: all 0.25s ease;
}
.ruya-yonlendirme:hover {
  background: #fff0d9;
  border-color: var(--ruya-renk);
  box-shadow: 0 6px 16px rgba(139, 69, 19, 0.18);
  transform: translateY(-2px);
}
.ruya-yonlendirme-kitap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  padding-right: 18px;
  border-right: 2px solid #ead2b9;
}
.ruya-yonlendirme-kitap svg { width: 30px; height: 30px; color: #923b0c; }
.ruya-yonlendirme-metin { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ruya-yonlendirme-aciklama {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ruya-yazi);
  margin-bottom: 5px;
}
.ruya-yonlendirme-baslik {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ruya-yazi);
  padding-bottom: 7px;
  border-bottom: 2px solid var(--ruya-renk);
}
.ruya-yonlendirme-ok {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffa329, #e65a00);
  border: 1px solid #ff971d;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.3);
  color: #fff;
  transition: transform 0.25s ease;
}
.ruya-yonlendirme-ok svg { width: 16px; height: 16px; }
.ruya-yonlendirme:hover .ruya-yonlendirme-ok { transform: translateX(3px); }
.ruya-yonlendirme:focus-visible { outline: 2px solid #b94c00; outline-offset: 4px; }
@media (max-width: 600px) {
  .ruya-yonlendirme { gap: 12px; padding: 14px 12px; border-radius: 12px; }
  .ruya-yonlendirme-kitap { width: 38px; padding-right: 10px; }
  .ruya-yonlendirme-kitap svg { width: 28px; height: 28px; }
  .ruya-yonlendirme-aciklama { font-size: 12px; }
  .ruya-yonlendirme-baslik { font-size: 15px; line-height: 1.4; }
  .ruya-yonlendirme-ok { width: 28px; height: 28px; }
  .ruya-yonlendirme-ok svg { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ruya-yonlendirme, .ruya-yonlendirme-ok { transition: none; transform: none !important; }
}

.ruya-bolum.ruya-giris, .ruya-bolum.ruya-editor {
  padding: clamp(16px, 3vw, 24px);
  margin-block: 20px;
  border-radius: 10px;
}
.ruya-bolum.ruya-giris > h2, .ruya-bolum.ruya-editor > h2 {
  margin: 0 0 .65em;
  padding: 0;
  border: 0;
  color: inherit;
  line-height: 1.35;
}
.ruya-bolum.ruya-editor { --vurgu: #9c612c; --zemin: #fff7ec; }
.ruya-bolum > .ruya-yonlendirme:last-child { margin-bottom: 0; }

.ruya-bolum.ruya-giris > p + p { margin-top: .9em; }
