/* Blog okuma deneyimi: ilerleme cubugu, yapiskan mini bar, icindekiler, yazi sonu */
:root { --br-red: #ff0e2a; }

/* 1) Okuma ilerleme cubugu (sayfanin en ustunde, header'in ustunde) */
.br-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 10002; pointer-events: none; background: transparent; }
.br-progress > i { display: block; height: 100%; width: 0; background: var(--br-red); transition: width .08s linear; }

/* 2) Yapiskan mini bar: asagi kaydirinca belirir */
.br-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 9990; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 2px 14px rgba(0,0,0,.12); transform: translateY(-120%); transition: transform .25s ease; }
.br-bar.is-on { transform: translateY(0); }
.br-bar-in { max-width: 1170px; margin: 0 auto; padding: 8px 15px; display: flex; align-items: center; gap: 16px; }
.br-bar a.br-back { color: #222; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.br-bar a.br-back:hover { color: var(--br-red); }
.br-bar .br-title { flex: 1; min-width: 0; font-size: 14px; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-bar a.br-cta { background: var(--br-red); color: #fff !important; font-weight: 600; font-size: 13px; padding: 8px 16px; border-radius: 50px; text-decoration: none; white-space: nowrap; }
.br-bar a.br-cta:hover { background: #d90b24; text-decoration: none; }

/* Yapiskan yan sutunun calismasi icin: .wrapper overflow:hidden yerine clip (kaydirma alani olusturmaz) */
html body .wrapper { overflow: clip !important; }

/* 3) Iki sutunlu yerlesim: metin + yapiskan yan sutun (masaustu) */
.blog-layout { display: block; }
.blog-aside { display: none; }
@media (min-width: 1100px) {
  .blog-layout { display: grid; grid-template-columns: minmax(0, 740px) 280px; gap: 56px; align-items: start; }
  .blog-aside { display: block; position: sticky; top: 150px; }
}
.blog-toc { border-left: 3px solid #eee; padding: 2px 0 2px 18px; margin-bottom: 28px; }
.blog-toc h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #888; margin: 0 0 12px; font-weight: 700; }
.blog-toc ol { list-style: none; margin: 0; padding: 0; }
.blog-toc li { margin: 0; padding: 0; }
.blog-toc a { display: block; font-size: 14px; line-height: 1.4; color: #555; padding: 7px 0; text-decoration: none; border-left: 3px solid transparent; margin-left: -21px; padding-left: 18px; }
.blog-toc a:hover { color: #111; }
.blog-toc a.is-active { color: var(--br-red); font-weight: 600; border-left-color: var(--br-red); }
.blog-aside-cta { background: #f3f3f3; border-radius: 12px; padding: 20px; }
.blog-aside-cta strong { display: block; font-size: 17px; line-height: 1.3; margin-bottom: 8px; color: #222; }
.blog-aside-cta p { font-size: 14px !important; line-height: 1.55; color: #555; margin: 0 0 14px !important; text-align: left !important; }
.blog-aside-cta a.site-btn { display: inline-block; font-size: 13px; padding: 10px 20px; }
.blog-aside-cta a.br-link { display: block; margin-top: 12px; font-size: 13px; color: #333; text-decoration: underline; text-underline-offset: 3px; }

/* 4) Yazi sonu: ilgili yazilar + basvuru karti */
.blog-after { margin: 56px 0 24px; padding-top: 36px; border-top: 1px solid #e5e5e5; }
.blog-after h3 { font-size: 24px; margin: 0 0 20px; color: #222; }
.blog-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-related a { display: block; background: #f3f3f3; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.blog-related a:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.blog-related img { width: 100%; height: 130px; object-fit: cover; display: block; margin: 0; border-radius: 0; }
.blog-related span { display: block; padding: 14px 16px 16px; font-weight: 600; font-size: 15px; line-height: 1.4; color: #222; text-wrap: balance; }
.blog-endcta { margin-top: 32px; background: #111; color: #fff; border-radius: 14px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.blog-endcta strong { display: block; font-size: 22px; line-height: 1.3; color: #fff; margin-bottom: 6px; }
.blog-endcta p { margin: 0 !important; color: rgba(255,255,255,.75); font-size: 15px !important; text-align: left !important; }
.blog-endcta .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.blog-endcta a.site-btn { font-size: 14px; }
.blog-endcta a.br-ghost { color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 50px; padding: 12px 24px; font-weight: 600; font-size: 14px; text-decoration: none; }
.blog-endcta a.br-ghost:hover { background: rgba(255,255,255,.1); text-decoration: none; }
@media (max-width: 767px) {
  .blog-related { grid-template-columns: 1fr; }
  .blog-related img { height: 160px; }
  .br-bar .br-title { display: none; }
  .br-bar-in { justify-content: space-between; }
  .blog-endcta { padding: 22px 20px; }
}
