/* =========================================================
   QUANTAPS BLOG SINGLE — CLEAN / LIGHT / HERO-ALIGNED
   - Ağır sağ hero kartı kaldırıldı
   - Share modal kaldırıldı
   - Hero, blog-list / category diliyle uyumlu
   - İçerik + sağ related services yapısı korunur
   - Daha düşük paint / daha temiz spacing / daha iyi INP
========================================================= */

.qtb{
  --ink:#0f1736;
  --soft:#253560;
  --muted:#6d79a8;
  --bg:#f5f7ff;
  --card:#ffffff;
  --bd:#e4e9ff;
  --ac:#6a7eff;
  --ac2:#94a5ff;
  --ac3:#59d1c2;
  --ring:rgba(106,126,255,.20);

  --qt-content-max:1240px;
  --qt-hero-ic-box:48px;
  --qt-hero-ic:22px;

  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  margin:0;
  padding:0;
  overflow-x:hidden;
  color-scheme:light;
}

.qtb,
.qtb *{
  box-sizing:border-box;
}

.qtb :where(h1,h2,h3,h4,p,ul,ol,li){
  margin:0;
  padding:0;
}

.qtb :where(ul,ol){
  list-style:none;
}

.qtb :where(svg.qtb-icoSvg,.qtb-icoSvg){
  width:1em;
  height:1em;
  display:block;
  flex:0 0 auto;
  line-height:0;
}

.qtb :where(.qtb-icoSvg){
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.qtb :where(.qtb-icoSvg) use{
  pointer-events:none;
}

/* =========================================================
   PROGRESS
========================================================= */

.qtb .qtb-progress{
  position:sticky;
  top:0;
  z-index:50;
  height:3px;
  background:rgba(227,232,255,.82);
}

.qtb .qtb-progress > span{
  display:block;
  width:0%;
  height:100%;
  background:linear-gradient(90deg,var(--ac),var(--ac3));
}

/* =========================================================
   HERO
========================================================= */

.qtb .qtb-heroBleed{
  width:100%;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:0;
  position:relative;
  overflow-x:clip;
  background:
    radial-gradient(900px 360px at 50% -140px, rgba(106,126,255,.10), transparent 62%),
    radial-gradient(720px 280px at 18% 0%, rgba(148,165,255,.10), transparent 58%),
    radial-gradient(820px 320px at 88% 4%, rgba(89,209,194,.07), transparent 60%),
    linear-gradient(180deg, rgba(244,246,255,.94) 0%, rgba(247,249,255,.92) 64%);
}

.qtb .qtb-heroWrap{
  width:min(var(--qt-content-max), 94%);
  margin:0 auto;
  position:relative;
  z-index:1;
}

.qtb .qtb-heroShell{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px;
  margin:0 0 10px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,253,.84));
  box-shadow:0 8px 18px rgba(2,6,23,.05);
}

.qtb .qtb-heroIcon{
  width:var(--qt-hero-ic-box);
  height:var(--qt-hero-ic-box);
  border-radius:14px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  color:#fff;
  background:var(--ac);
  box-shadow:0 8px 18px rgba(2,6,23,.12);
}

.qtb .qtb-heroIcon .qtb-icoSvg{
  width:var(--qt-hero-ic);
  height:var(--qt-hero-ic);
  color:currentColor;
}

.qtb .qtb-heroText{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
}

.qtb .qtb-heroTopline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin:0 0 10px;
}

.qtb .qtb-title{
  margin:0;
  min-width:0;
  flex:1 1 auto;
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.02em;
  font-weight:950;
  color:#0f172a;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.qtb .qtb-heroHeading{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.qtb .qtb-heroMiniMeta{
  display:inline-flex;
  align-items:center;
  gap:7px;
  align-self:flex-start;
  min-height:32px;
  padding:6px 12px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,248,255,.92));
  border:1px solid rgba(205,216,255,.95);
  box-shadow:0 6px 14px rgba(15,23,42,.04);
  color:#33427c;
  font-weight:850;
  font-size:.82rem;
  line-height:1;
  letter-spacing:.01em;
}

.qtb .qtb-heroMiniMeta .qtb-icoSvg{
  width:15px;
  height:15px;
  color:#5164b8;
}

.qtb .qtb-desc{
  margin:0;
  color:#6a7398;
  font-size:13.5px;
  line-height:1.55;
  max-width:74ch;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.qtb .qtb-breadcrumb{
  margin:0;
}

.qtb .qtb-breadcrumb--hero{
  flex:0 1 auto;
  max-width:46%;
  margin:6px 0 0;
}

.qtb .qtb-breadcrumb__list{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.qtb .qtb-breadcrumb__item,
.qtb .qtb-breadcrumb__sep{
  font-size:13px;
  line-height:1.35;
}

.qtb .qtb-breadcrumb__item{
  color:rgba(18,27,52,.60);
}

.qtb .qtb-breadcrumb__item a{
  color:rgba(18,27,52,.60);
  text-decoration:none;
  transition:color .18s ease;
}

.qtb .qtb-breadcrumb__item a:hover{
  color:var(--ac);
}

.qtb .qtb-breadcrumb__sep{
  color:rgba(18,27,52,.34);
  user-select:none;
}

.qtb .qtb-breadcrumb__item.is-current{
  color:var(--ac);
  font-weight:700;
}

/* =========================================================
   HERO META / ACTIONS
========================================================= */

.qtb .qtb-metaRow{
  margin-top:10px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.qtb .qtb-kickerRow{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.qtb .qtb-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(227,232,255,.95);
  box-shadow:0 6px 14px rgba(15,23,42,.04);
  color:#2a3671;
  font-weight:850;
  font-size:.80rem;
  letter-spacing:.01em;
}

.qtb .qtb-pill .qtb-icoSvg{
  width:16px;
  height:16px;
}

.qtb .qtb-meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  color:#405089;
  font-weight:800;
  font-size:.88rem;
}

.qtb .qtb-dot{
  width:6px;
  height:6px;
  border-radius:99px;
  background:linear-gradient(135deg,var(--ac),var(--ac2));
  box-shadow:0 0 0 3px rgba(106,126,255,.10);
}

.qtb .qtb-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.qtb .qtb-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 11px;
  border-radius:14px;
  border:1px solid var(--bd);
  background:#fff;
  font-weight:900;
  color:#2a3671;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
  -webkit-tap-highlight-color:transparent;
  user-select:none;
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.qtb .qtb-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}

.qtb .qtb-btn:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px var(--ring), 0 12px 24px rgba(15,23,42,.08);
}

.qtb .qtb-btn .qtb-icoSvg{
  width:18px;
  height:18px;
}

/* =========================================================
   MAIN LAYOUT
========================================================= */

.qtb .qtb-wrap{
  width:min(var(--qt-content-max), 94%);
  margin:12px auto 0;
}

.qtb .qtb-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:16px;
  align-items:start;
}

.qtb .qtb-main{
  min-width:0;
}

.qtb .qtb-side{
  min-width:0;
  align-self:start;
}

/* =========================================================
   ARTICLE
========================================================= */

.qtb .qtb-article{
  background:var(--card);
  border:1px solid var(--bd);
  border-radius:20px;
  box-shadow:0 10px 26px rgba(24,32,64,.06);
  padding:20px;
  font-size:1rem;
  line-height:1.72;
}

.qtb .qtb-article h1,
.qtb .qtb-article h2,
.qtb .qtb-article h3,
.qtb .qtb-article h4{
  color:#152047;
  font-weight:850;
  letter-spacing:-.01em;
}

.qtb .qtb-article h1{
  font-size:1.55rem;
  line-height:1.24;
  margin:18px 0 10px;
}

.qtb .qtb-article h2{
  font-size:1.32rem;
  line-height:1.28;
  margin:20px 0 10px;
  position:relative;
  padding-left:14px;
}

.qtb .qtb-article h3{
  font-size:1.12rem;
  line-height:1.32;
  margin:16px 0 8px;
  position:relative;
  padding-left:14px;
}

.qtb .qtb-article h4{
  font-size:1.02rem;
  line-height:1.35;
  margin:14px 0 6px;
}

.qtb .qtb-article h2::before,
.qtb .qtb-article h3::before{
  content:"";
  position:absolute;
  left:0;
  top:.50em;
  width:9px;
  height:3px;
  border-radius:2px;
  background:linear-gradient(90deg,var(--ac),var(--ac2));
}

.qtb .qtb-article p{
  color:#22305a;
  line-height:1.72;
  margin:10px 0;
  font-size:1rem;
}

.qtb .qtb-article ul{
  list-style:none;
  margin:10px 0 14px;
  padding:0;
  display:grid;
  gap:6px;
}

.qtb .qtb-article ul li{
  position:relative;
  padding-left:24px;
  color:#22305a;
}

.qtb .qtb-article ul li::before{
  content:"";
  position:absolute;
  left:0;
  top:6px;
  width:14px;
  height:14px;
  border-radius:4px;
  background:linear-gradient(180deg,#7b8bff,#a1adff);
  box-shadow:inset 0 1px 0 #fff;
}

.qtb .qtb-article blockquote{
  border-left:4px solid var(--ac2);
  padding:10px 12px;
  margin:14px 0;
  background:#f7f8ff;
  border-radius:12px;
  color:#2b3552;
  line-height:1.65;
}

.qtb .qtb-article pre,
.qtb .qtb-article code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
}

.qtb .qtb-article pre{
  background:#0f172a;
  color:#e5e7eb;
  padding:12px;
  margin:12px 0;
  border-radius:12px;
  overflow:auto;
  border:1px solid #1f2a44;
  font-size:.92rem;
  line-height:1.55;
}

.qtb .qtb-article code{
  background:#eef1ff;
  color:#111e6a;
  padding:2px 5px;
  border-radius:6px;
  border:1px solid var(--bd);
  font-size:.92em;
}

.qtb .qtb-article table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:14px;
  margin:12px 0;
}

.qtb .qtb-article thead th{
  background:#f4f6ff;
  color:#1a2140;
  padding:9px;
  text-align:left;
  font-size:.96rem;
}

.qtb .qtb-article tbody td{
  padding:9px;
  border-top:1px solid #eef1ff;
  font-size:.96rem;
}

.qtb .qtb-article tbody tr:nth-child(even) td{
  background:#fbfbff;
}

.qtb .qtb-article img{
  max-width:100%;
  height:auto;
  display:block;
  margin:12px auto;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(106,126,255,.10);
}

.qtb .qtb-article a{
  color:#2434a2;
  text-decoration:none;
  border-bottom:1px dotted #aab4ff;
}

.qtb .qtb-article a:hover{
  color:#0f1f8a;
}

/* =========================================================
   RELATED SERVICES
========================================================= */

.qtb .qtb-card{
  background:var(--card);
  border:1px solid var(--bd);
  border-radius:20px;
  box-shadow:0 10px 26px rgba(24,32,64,.06);
  overflow:hidden;
}

.qtb .qtb-cardHead{
  padding:12px 12px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:linear-gradient(180deg,#ffffff,#f7f8ff);
  border-bottom:1px solid #eef1ff;
}

.qtb .qtb-cardTitle{
  margin:0;
  font-size:.82rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:950;
  color:#2b3a7a;
}

.qtb .qtb-cardDot{
  width:10px;
  height:10px;
  border-radius:99px;
  background:linear-gradient(135deg,var(--ac),var(--ac2));
  box-shadow:0 0 0 3px rgba(106,126,255,.14);
  flex:0 0 auto;
}

.qtb .qtb-relTop{
  padding:10px 12px 0;
}

.qtb .qtb-rel{
  padding:10px 10px 12px;
}

.qtb .qtb-relTitle{
  margin:0;
  font-size:.95rem;
  font-weight:950;
  letter-spacing:-.02em;
  color:#161d48;
}

.qtb .qtb-relSub{
  margin:6px 0 0;
  color:#445083;
  font-size:.9rem;
  line-height:1.55;
}

.qtb .qtb-relList{
  list-style:none;
  margin:10px 0 0;
  padding:0;
  display:grid;
  gap:8px;
}

.qtb .qtb-relItem a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 10px;
  border-radius:14px;
  text-decoration:none;
  background:#fbfbff;
  border:1px solid #eef1ff;
  color:#1a2140;
  box-shadow:0 6px 14px rgba(106,126,255,.05);
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.qtb .qtb-relItem a:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(106,126,255,.08);
}

.qtb .qtb-relLeft{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.qtb .qtb-relIco{
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:
    linear-gradient(180deg,#ffffff,#f5f7ff) padding-box,
    linear-gradient(135deg,var(--ac),var(--ac2)) border-box;
  border:2px solid transparent;
  color:#2b3a7a;
  box-shadow:inset 0 1px 0 #fff;
  flex:0 0 auto;
}

.qtb .qtb-relName{
  font-weight:900;
  font-size:.92rem;
  min-width:0;
  white-space:normal;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-height:1.25;
  max-height:2.5em;
}

.qtb .qtb-relChip{
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:6px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--ac),var(--ac2));
  color:#fff;
  box-shadow:0 8px 16px rgba(106,126,255,.10);
  flex:0 0 auto;
}

.qtb .qtb-relFoot{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding:0 2px;
}

.qtb .qtb-relBtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--bd);
  background:#fff;
  font-weight:900;
  color:#2a3671;
  text-decoration:none;
  box-shadow:0 8px 16px rgba(15,23,42,.05);
  transition:transform .14s ease, box-shadow .14s ease;
}

.qtb .qtb-relBtn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(15,23,42,.08);
}

/* =========================================================
   DESKTOP
========================================================= */

@media (min-width:1200px){
  .qtb .qtb-breadcrumb--hero{
    max-width:42%;
  }
}

@media (min-width:1025px){
  .qtb .qtb-side{
    position:sticky;
    top:92px;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:1180px){
  .qtb .qtb-grid{
    grid-template-columns:minmax(0,1fr) 320px;
  }
}

@media (max-width:991px){
  .qtb .qtb-heroTopline{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    margin:0 0 8px;
  }

  .qtb .qtb-breadcrumb--hero{
    max-width:100%;
    margin:0;
  }

  .qtb .qtb-breadcrumb__list{
    justify-content:flex-start;
  }

  .qtb .qtb-grid{
    grid-template-columns:1fr;
  }

  .qtb .qtb-side{
    position:static;
  }
}

@media (max-width:768px){
  .qtb{
    --qt-hero-ic-box:44px;
    --qt-hero-ic:20px;
  }

  .qtb .qtb-heroShell{
    padding:12px;
    margin:0 0 8px;
    gap:12px;
    border-radius:20px;
  }

  .qtb .qtb-title{
    font-size:20px;
    line-height:1.16;
  }

  .qtb .qtb-desc{
    font-size:13px;
  }

  .qtb .qtb-breadcrumb__item,
  .qtb .qtb-breadcrumb__sep{
    font-size:12px;
    line-height:1.3;
  }

  .qtb .qtb-metaRow{
    gap:10px;
  }

  .qtb .qtb-actions{
    width:100%;
  }

  .qtb .qtb-article{
    padding:16px;
    line-height:1.70;
  }

  .qtb .qtb-article h2{
    font-size:1.22rem;
  }

  .qtb .qtb-article h3{
    font-size:1.08rem;
  }

  .qtb .qtb-relChip{
    padding:6px 8px;
    font-size:.72rem;
  }
}

@media (max-width:640px){
  .qtb .qtb-title{
    font-size:clamp(1.35rem, 6.2vw, 1.85rem);
  }

  .qtb .qtb-desc{
    font-size:.98rem;
    line-height:1.62;
  }

  .qtb .qtb-cardHead{
    flex-wrap:wrap;
  }

  .qtb .qtb-actions{
    gap:8px;
  }

  .qtb .qtb-btn{
    padding:8px 10px;
    font-size:.88rem;
  }

  .qtb .qtb-relItem a{
    padding:10px 9px;
  }
}

@media (prefers-reduced-motion:reduce){
  .qtb *,
  .qtb *::before,
  .qtb *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}