/* ══════════════════════════════════════════════════════════════
   EczaneDizayn — Blog V3 Styles
   Hero: koyu (marka rengi) | İçerik: açık arka plan + koyu metin
   ══════════════════════════════════════════════════════════════ */

/* ── Okuma İlerleme Çubuğu ── */
#bs-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  width: 0%;
  z-index: 9999;
  transition: width .08s linear;
  pointer-events: none;
}

/* ══ PAGE ══ */
.bs-page-v2 {
  padding-top: var(--hh);
  min-height: 70vh;
  background: var(--bg-0);
}

/* ══ HERO (koyu kalıyor) ══ */
.bs2-hero {
  position: relative;
  padding: clamp(52px,7vw,88px) 0 clamp(44px,5vw,64px);
  overflow: hidden;
  background: var(--bg-0);
}
.bs2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at -5% 50%, rgba(200,21,44,.28) 0%, transparent 65%),
    radial-gradient(ellipse 30% 50% at 100% 0%, rgba(200,148,42,.08) 0%, transparent 60%);
  pointer-events: none;
}
.bs2-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,21,44,.5) 30%, rgba(200,148,42,.4) 70%, transparent 100%);
}
.bs2-hero .container { position: relative; z-index: 1; max-width: 860px; }

/* Breadcrumb */
.bs2-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .73rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.bs2-crumb a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.bs2-crumb a:hover { color: var(--red); }
.bs2-crumb span { color: rgba(255,255,255,.15); }

/* Badges */
.bs2-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.bs2-badge {
  font-family: var(--fh);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  padding: 4px 12px;
  text-decoration: none;
  transition: background .2s;
}
.bs2-badge:hover { background: #a8101f; }

/* Title */
.bs2-title {
  font-family: var(--fh);
  font-size: clamp(2.2rem,5.5vw,3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 22px;
}

/* Meta */
.bs2-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.bs2-meta-item { display: flex; align-items: center; gap: 5px; }
.bs2-meta-item svg { flex-shrink: 0; opacity: .5; }
.bs2-meta-sep { color: rgba(255,255,255,.15); }

/* ══ İÇERİK ALANI — AÇIK ARKA PLAN ══ */
.bs2-wrap {
  background: #f2f3f5;
  padding: clamp(36px,5vw,60px) 0 clamp(60px,8vw,100px);
}

.bs2-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ══ ANA MAKALE — BEYAZ KART ══ */
.bs2-main {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  overflow: hidden;
  min-width: 0;
}

/* Featured image */
.bs2-thumb { aspect-ratio: 16/8; overflow: hidden; }
.bs2-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Article body */
.bs2-body {
  padding: clamp(28px,4vw,48px) clamp(24px,4vw,52px);
  color: #222;
  font-size: 1.04rem;
  line-height: 1.88;
  font-family: var(--fm), system-ui, sans-serif;
}

/* Lead paragraph */
.bs2-body > p:first-child {
  font-size: 1.12rem;
  color: #333;
  font-weight: 500;
  border-left: 4px solid var(--red);
  padding-left: 18px;
  margin-bottom: 28px;
}

.bs2-body h2 {
  font-family: var(--fh);
  font-size: clamp(1.45rem,3vw,2rem);
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 48px 0 16px;
  line-height: 1.2;
  padding-bottom: 12px;
  border-bottom: 2px solid #eee;
  position: relative;
}
.bs2-body h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 48px; height: 2px;
  background: var(--red);
}

.bs2-body h3 {
  font-family: var(--fh);
  font-size: 1.18rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 32px 0 10px;
  text-transform: uppercase;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bs2-body h3::before {
  content: '';
  display: inline-block;
  width: 18px; height: 3px;
  background: var(--red);
  flex-shrink: 0;
  border-radius: 2px;
}

.bs2-body h4 {
  font-family: var(--fm);
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin: 22px 0 8px;
}

.bs2-body p { margin-bottom: 20px; color: #333; }
.bs2-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.bs2-body a:hover { color: #8a0d1e; }
.bs2-body strong { color: #111; font-weight: 700; }
.bs2-body em { color: #555; font-style: italic; }

/* Lists */
.bs2-body ul, .bs2-body ol {
  margin: 0 0 22px 0;
  padding: 0;
  list-style: none;
}
.bs2-body ul li, .bs2-body ol li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-size: .97rem;
  line-height: 1.65;
}
.bs2-body ul li:last-child,
.bs2-body ol li:last-child { border-bottom: none; }
.bs2-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 17px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
}
.bs2-body ol { counter-reset: ol-c; }
.bs2-body ol li::before {
  content: counter(ol-c);
  counter-increment: ol-c;
  position: absolute;
  left: 0; top: 8px;
  width: 22px; height: 22px;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--fm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Blockquote */
.bs2-body blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  background: #fdf3f4;
  border-left: 5px solid var(--red);
  border-radius: 0 8px 8px 0;
}
.bs2-body blockquote p {
  margin: 0;
  color: #444;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.72;
}

/* Table */
.bs2-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: .9rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.bs2-body th {
  background: #111;
  color: #fff;
  font-family: var(--fm);
  font-weight: 700;
  padding: 13px 18px;
  text-align: left;
  font-size: .85rem;
}
.bs2-body td {
  padding: 11px 18px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}
.bs2-body tr:last-child td { border-bottom: none; }
.bs2-body tr:nth-child(even) td { background: #fafafa; }
.bs2-body tr:hover td { background: #fdf3f4; }

/* Info boxes */
.bs2-body .bs-box {
  margin: 28px 0;
  padding: 18px 22px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.bs2-body .bs-box--tip  { border-color: #f0a500; background: #fffbf0; }
.bs2-body .bs-box--info { border-color: #3b82f6; background: #eff6ff; }
.bs2-body .bs-box--warn { border-color: var(--red); background: #fdf3f4; }
.bs2-body .bs-box p { margin: 0; font-size: .92rem; color: #333; }

/* ── Inline CTA ── */
.bs2-inline-cta {
  margin: 0 clamp(24px,4vw,52px) 0;
  padding: clamp(22px,3vw,32px);
  background: #111;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.bs2-inline-cta-icon { font-size: 2rem; flex-shrink: 0; }
.bs2-inline-cta-title {
  font-family: var(--fh);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0 0 3px;
}
.bs2-inline-cta-sub { font-size: .8rem; color: rgba(255,255,255,.5); margin: 0; }
.bs2-inline-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.bs2-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 100px;
  background: #25D366;
  color: #fff;
  font-family: var(--fm);
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
  transition: opacity .2s;
  white-space: nowrap;
}
.bs2-wa-btn:hover { opacity: .88; }

/* Tags */
.bs2-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px clamp(24px,4vw,52px);
  font-size: .8rem;
  color: #888;
}
.bs2-tag {
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 4px 12px;
  color: #555;
  text-decoration: none;
  font-size: .78rem;
  transition: border-color .2s, color .2s;
}
.bs2-tag:hover { border-color: var(--red); color: var(--red); }

/* Post Nav */
.bs2-postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  padding: 24px clamp(24px,4vw,52px);
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}
.bs2-postnav-item { display: flex; flex-direction: column; gap: 4px; }
.bs2-postnav-next { text-align: right; }
.bs2-postnav-label {
  font-family: var(--fh);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #aaa;
}
.bs2-postnav-link {
  font-family: var(--fh);
  font-size: .9rem;
  color: #333;
  text-decoration: none;
  line-height: 1.3;
  transition: color .2s;
}
.bs2-postnav-link:hover { color: var(--red); }

/* ══ SIDEBAR ══ */
.bs2-sidebar {
  position: sticky;
  top: calc(var(--hh) + 20px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Sidebar CTA — koyu */
.bs2-side-cta {
  background: #111;
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.bs2-side-cta-tag {
  display: inline-block;
  font-family: var(--fh);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.bs2-side-cta-title {
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 6px;
  line-height: 1.2;
}
.bs2-side-cta-title span { color: var(--red); }
.bs2-side-cta-desc { font-size: .83rem; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 20px; }
.bs2-side-cta .btn-primary {
  width: 100%;
  justify-content: center;
  display: flex;
  margin-bottom: 10px;
}
.bs2-side-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  margin-bottom: 8px;
  text-decoration: none;
  transition: background .2s;
}
.bs2-side-phone-row:hover { background: rgba(255,255,255,.1); }
.bs2-side-phone-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.bs2-side-phone-icon--red { background: var(--red); }
.bs2-side-phone-icon--green { background: #25D366; }
.bs2-side-phone-text {
  font-family: var(--fm);
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
}
.bs2-side-phone-label { font-size: .7rem; color: rgba(255,255,255,.35); display: block; }

/* TOC Box */
.bs2-toc-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  padding: 22px 22px;
  border-top: 3px solid var(--red);
}
.bs2-toc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fh);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.bs2-toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; }
.bs2-toc-sub .bs2-toc-link { padding-left: 18px; font-size: .8rem; color: #888; }
.bs2-toc-link {
  display: block;
  font-size: .85rem;
  color: #444;
  text-decoration: none;
  padding: 6px 8px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: all .2s;
  line-height: 1.4;
}
.bs2-toc-link:hover,
.bs2-toc-link.active {
  color: var(--red);
  border-left-color: var(--red);
  background: #fdf3f4;
}

/* Sidebar Hizmet Linkleri */
.bs2-side-links {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  padding: 20px 22px;
}
.bs2-side-links-title {
  font-family: var(--fh);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 12px;
}
.bs2-side-link {
  display: block;
  font-size: .86rem;
  color: #444;
  text-decoration: none;
  padding: 9px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color .2s, padding-left .2s;
}
.bs2-side-link:last-child { border-bottom: none; }
.bs2-side-link:hover { color: var(--red); padding-left: 6px; }

/* ══ İLGİLİ YAZILAR ══ */
.bs2-related {
  padding: clamp(52px,7vw,80px) 0;
  background: #111;
}
.bs2-related-label {
  font-family: var(--fh);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.bs2-related-title {
  font-family: var(--fh);
  font-size: clamp(1.5rem,3vw,2.2rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 36px;
}
.bs2-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ba-card-thumb--no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,.05);
}
.ba-card-no-img-icon { font-size: 2.5rem; opacity: .2; }

/* ══ ARŞİV SAYFASI ══ */
.ba-page {
  min-height: 70vh;
  padding-top: var(--hh);
  background: var(--bg-0);
}
.ba-hero {
  padding: clamp(72px,9vw,110px) 0 52px;
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
}
.ba-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at -5% 50%, rgba(200,21,44,.22) 0%, transparent 65%);
}
.ba-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,21,44,.45) 30%, transparent);
}
.ba-hero .container { position: relative; z-index: 1; }
.ba-hero-title {
  font-family: var(--fh);
  font-size: clamp(2.4rem,5vw,3.6rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.ba-hero-desc { margin-top: 12px; color: rgba(255,255,255,.45); max-width: 600px; }

.ba-posts { padding: clamp(44px,6vw,72px) 0 clamp(60px,8vw,100px); background: #f2f3f5; }
.ba-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* Kart — açık arka plan üstünde */
.ba-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .25s, transform .25s;
  border: none;
}
.ba-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.12); transform: translateY(-4px); }
.ba-card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; position: relative; }
.ba-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; display: block; }
.ba-card:hover .ba-card-img { transform: scale(1.06); }
.ba-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.3)); }
.ba-card-body { padding: 20px 22px 22px; }
.ba-card-cat { font-family: var(--fh); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ba-card-title { margin: 8px 0 10px; font-family: var(--fh); font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.ba-card-title a { color: #111; text-decoration: none; transition: color .2s; }
.ba-card-title a:hover { color: var(--red); }
.ba-card-exc { font-size: .84rem; color: #666; line-height: 1.65; margin-bottom: 16px; }
.ba-card-foot { display: flex; align-items: center; justify-content: space-between; }
.ba-card-date { font-size: .76rem; color: #aaa; }
.ba-card-more { font-family: var(--fh); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); text-decoration: none; transition: color .2s; }
.ba-card-more:hover { color: #8a0d1e; }

.ba-pagination { margin-top: 52px; display: flex; justify-content: center; }
.ba-pagination .nav-links { display: flex; gap: 8px; align-items: center; }
.ba-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  font-family: var(--fh); font-size: .85rem; font-weight: 700;
  color: #555; background: #fff; border: 1px solid #e0e0e0;
  text-decoration: none; transition: all .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.ba-pagination .page-numbers.current,
.ba-pagination .page-numbers:hover { background: var(--red); color: #fff; border-color: var(--red); }
.ba-pagination .prev, .ba-pagination .next { width: auto; padding: 0 16px; font-size: .78rem; }
.ba-empty { text-align: center; padding: 60px 0; color: #888; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .bs2-layout { grid-template-columns: 1fr; }
  .bs2-sidebar { position: static; }
  .bs2-toc-box { display: none; }
  .bs2-side-cta { order: -1; }
}
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ba-grid { grid-template-columns: 1fr; }
  .bs2-related-grid { grid-template-columns: 1fr; }
  .bs2-postnav { grid-template-columns: 1fr; }
  .bs2-postnav-next { text-align: left; }
  .bs2-inline-cta { flex-direction: column; }
  .bs2-inline-cta-btns { margin-left: 0; }
}
