/* İlk Bakış - Sözcü tarzı düzen */
:root {
  --ib-k: #e30613;
  --ib-kd: #b30410;
  --ib-s: #151515;
  --ib-g: #f4f4f4;
  --ib-c: #e5e5e5;
  --ib-font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ib-w: 1020px;
}
body { font-family: var(--ib-font); background: #fff; color: var(--ib-s); }
body.ib-cekmece-acik { overflow: hidden; }

/* ---------- Header ---------- */
.ib-header { font-family: var(--ib-font); }
.ib-ust { background: var(--ib-k); }
.ib-ust__ic { max-width: var(--ib-w); margin: 0 auto; padding: 8px 14px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ib-logo { background: #fff; border-radius: 4px; padding: 5px 12px; line-height: 0; }
.ib-logo a, .ib-logo img { display: block; }
.ib-logo img, .ib-logo .custom-logo { height: 38px !important; width: auto !important; max-height: none !important; }
.ib-ust__sag { display: flex; align-items: center; gap: 22px; color: #fff; }
.ib-hava { font-size: 15px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.ib-hava { gap: 0 !important; }
.ib-hava__simge { margin-right: 6px; }
.ib-hava small { font-size: 12px; font-weight: 500; opacity: .85; margin-left: 6px; }
.ib-hava__simge { font-size: 18px; line-height: 1; }
.ib-ig { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; }
.ib-ig:hover { opacity: .85; }
.ib-burger { width: 38px; height: 34px; padding: 6px 5px; background: transparent; border: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; }
.ib-burger span { display: block; height: 3px; background: #fff; border-radius: 2px; }

.ib-menu { background: #fff; border-bottom: 1px solid var(--ib-c); }
.ib-menu__liste { max-width: var(--ib-w); margin: 0 auto; padding: 0 14px; box-sizing: border-box; list-style: none; display: flex; flex-wrap: wrap; gap: 0 4px; }
.ib-menu__liste li { margin: 0; padding: 0; }
.ib-menu__liste a { display: block; padding: 0 12px; line-height: 42px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--ib-s); text-decoration: none; letter-spacing: .2px; }
.ib-menu__liste a:hover { color: var(--ib-k); box-shadow: inset 0 -3px 0 var(--ib-k); }

.ib-kur { background: #f3f5f9; border-bottom: 1px solid var(--ib-c); }
.ib-kur__ic { max-width: var(--ib-w); margin: 0 auto; padding: 8px 14px; box-sizing: border-box; display: flex; justify-content: space-between; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.ib-kur__ic::-webkit-scrollbar { display: none; }
.ib-kur__oge { display: flex; flex-direction: column; white-space: nowrap; line-height: 1.25; }
.ib-kur__ad { font-size: 11.5px; font-weight: 600; color: #555; }
.ib-kur__deger { font-size: 14px; font-weight: 700; color: var(--ib-s); }
.ib-kur em { font-style: normal; font-size: 11.5px; font-weight: 500; margin-left: 4px; }
.ib-kur .yukari { color: #1a9d57; }
.ib-kur .asagi { color: #e0323c; }
.ib-kur i { font-style: normal; font-size: 9px; }

/* Hamburger çekmecesi: logo, arama, hızlı erişim kutuları, renkli kategoriler, son haberler */
.ib-cekmece__panel { width: 400px !important; padding: 0 22px 24px !important; }
.ib-cekmece__ust { position: sticky; top: 0; z-index: 2; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 12px 0; margin-bottom: 12px; border-bottom: 3px solid var(--ib-k); }
.ib-cekmece__ust .ib-logo { padding: 0; background: transparent; }
.ib-cekmece__ust .ib-logo img, .ib-cekmece__ust .ib-logo .custom-logo { height: 34px !important; }
.ib-cekmece__kapat { position: static !important; width: 38px; height: 38px; border-radius: 50%; background: var(--ib-g) !important; transition: background .2s, color .2s; }
.ib-cekmece__kapat:hover { background: var(--ib-k) !important; color: #fff; }
.ib-cekmece__baslik { margin: 20px 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #888; display: flex; align-items: center; gap: 10px; }
.ib-cekmece__baslik::after { content: ""; flex: 1; height: 1px; background: var(--ib-c); }
.ib-cekmece__kutular { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ib-kutu { display: flex; align-items: center; gap: 9px; padding: 11px 12px; background: var(--ib-g); border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--ib-s) !important; text-decoration: none; transition: background .2s, transform .2s, color .2s; }
.ib-kutu:hover { background: var(--ib-k); color: #fff !important; transform: translateY(-1px); }
.ib-kutu__simge { font-size: 17px; line-height: 1; }
.ib-cekmece__kat { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ib-cekmece__kat li { margin: 0; border-left: 4px solid var(--kat); background: #fff; box-shadow: 0 0 0 1px var(--ib-c) inset; border-radius: 0 6px 6px 0; transition: background .2s, box-shadow .2s; }
.ib-cekmece__kat li:hover { background: var(--kat); box-shadow: none; }
.ib-cekmece__kat a { display: block; padding: 10px 12px; font-size: 13.5px; font-weight: 700; color: var(--ib-s); text-decoration: none; border: 0; }
.ib-cekmece__kat li:hover a { color: #fff; }
.ib-cekmece__son { list-style: none; margin: 0; padding: 0; counter-reset: ib-c; }
.ib-cekmece__son li { counter-increment: ib-c; display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--ib-c); }
.ib-cekmece__son li::before { content: counter(ib-c); flex: 0 0 22px; height: 22px; background: var(--ib-k); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 3px; }
.ib-cekmece__son a { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--ib-s); text-decoration: none; }
.ib-cekmece__son a:hover { color: var(--ib-k); }
.ib-cekmece__alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 12px 14px; background: var(--ib-s); border-radius: 6px; }
.ib-cekmece__alt .ib-cekmece__ig { color: #fff !important; font-size: 13px; }
.ib-cekmece__hava { color: #cfd3da; font-size: 13px; white-space: nowrap; }
/* Panel açılırken yandan kayarak gelir */
.ib-cekmece:not([hidden]) .ib-cekmece__panel { animation: ib-panel-gel .28s ease; }
.ib-cekmece:not([hidden]) .ib-cekmece__perde { animation: ib-perde-gel .28s ease; }
@keyframes ib-panel-gel { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ib-perde-gel { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 480px) { .ib-cekmece__panel { width: 92vw !important; } .ib-cekmece__kutular, .ib-cekmece__kat { gap: 6px; } }

/* Hamburger çekmecesi (temel) */
.ib-cekmece[hidden] { display: none; }
.ib-cekmece { position: fixed; inset: 0; z-index: 99999; }
.ib-cekmece__perde { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.ib-cekmece__panel { position: absolute; top: 0; right: 0; bottom: 0; width: 340px; max-width: 88vw; background: #fff; padding: 56px 22px 24px; box-sizing: border-box; overflow-y: auto; box-shadow: -6px 0 24px rgba(0,0,0,.25); }
.ib-cekmece__kapat { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; font-size: 32px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ib-s); }
.ib-ara { display: flex; margin-bottom: 18px; }
.ib-ara input { flex: 1; min-width: 0; border: 1px solid var(--ib-c); border-right: 0; padding: 10px 12px; font-size: 14px; border-radius: 0; }
.ib-ara button { background: var(--ib-k); color: #fff; border: 0; padding: 0 16px; font-weight: 700; cursor: pointer; border-radius: 0; }
.ib-cekmece__liste { list-style: none; margin: 0 0 20px; padding: 0; }
.ib-cekmece__liste a { display: block; padding: 11px 0; border-bottom: 1px solid var(--ib-c); font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--ib-s); text-decoration: none; }
.ib-cekmece__liste a:hover { color: var(--ib-k); }
.ib-cekmece__ig { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ib-k) !important; text-decoration: none; }

/* Ana sayfanın üstündeki gereksiz boşluklar */
.home #cm-content, .home .cm-content, .home #content, .home .cm-container.cm-row { padding-top: 0 !important; margin-top: 0 !important; }

/* ---------- Ana sayfa ---------- */
.ib-ana { width: 100%; max-width: var(--ib-w); margin: 0 auto; padding: 16px 14px 30px; box-sizing: border-box; float: none; clear: both; }
.ib-ana a { text-decoration: none; color: var(--ib-s); }

/* Son dakika şeridi */
.ib-sondakika { display: flex; align-items: stretch; margin-bottom: 18px; background: var(--ib-k); }
.ib-sondakika__etiket { background: var(--ib-s); color: #fff; font-weight: 700; font-size: 14px; padding: 9px 15px; white-space: nowrap; letter-spacing: .5px; display: flex; align-items: center; }
.ib-sondakika__metin { color: #fff !important; font-weight: 700; font-size: 17px; line-height: 1.3; padding: 9px 15px; display: flex; align-items: center; text-transform: uppercase; }
.ib-sondakika__metin:hover { text-decoration: underline; }

/* Kartlar */
.ib-kart { display: block; position: relative; }
.ib-kart__resim { display: block; position: relative; overflow: hidden; background: var(--ib-g); aspect-ratio: 16 / 10; }
.ib-kart__resim img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ib-kart:hover .ib-kart__resim img { transform: scale(1.04); }
.ib-resimyok { display: block; width: 100%; height: 100%; background: var(--ib-c); }
.ib-kart__baslik { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.35; margin-top: 8px; color: var(--ib-s); }
.ib-kart:hover .ib-kart__baslik { color: var(--ib-k); }
.ib-etiket { position: absolute; left: 0; bottom: 0; z-index: 3; background: var(--ib-k); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; padding: 3px 8px; letter-spacing: .3px; }

/* 4'lü sıra */
.ib-dortlu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }

/* Manşet alanı */
.ib-manset { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; margin-bottom: 28px; }
.ib-slider { position: relative; }
.ib-slider__alan { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ib-g); }
.ib-slider__slayt { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity .7s ease, transform 1.1s ease, visibility 0s linear .7s; }
.ib-slider__slayt.is-aktif { opacity: 1; visibility: visible; transform: scale(1); transition: opacity .7s ease, transform 1.1s ease, visibility 0s; z-index: 1; }
.ib-slider .ib-kart, .ib-slider .ib-kart__resim { height: 100%; }
.ib-slider .ib-kart__resim { aspect-ratio: auto; }
.ib-slider__nokta { transition: background .3s, transform .3s; }
.ib-slider__nokta.is-aktif { transform: scale(1.25); }
.ib-slider .ib-kart__baslik {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0;
  padding: 70px 22px 20px; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.28; text-shadow: 0 1px 3px rgba(0,0,0,.5);
  background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,0));
}
.ib-slider .ib-kart:hover .ib-kart__baslik { color: #fff; }
.ib-slider .ib-etiket { bottom: auto; top: 0; }
.ib-slider__ok { position: absolute; top: 40%; z-index: 5; width: 36px; height: 52px; border: 0; cursor: pointer; background: rgba(0,0,0,.5); color: #fff; font-size: 16px; transition: background .2s; }
.ib-slider__ok:hover { background: var(--ib-k); }
.ib-slider__ok--sol { left: 0; }
.ib-slider__ok--sag { right: 0; }
.ib-slider__noktalar { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--ib-c); }
.ib-slider__nokta { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #ccc; cursor: pointer; }
.ib-slider__nokta.is-aktif { background: var(--ib-k); }

/* Sağ sütun */
.ib-manset__sag { display: grid; gap: 16px; align-content: start; }
.ib-manset__sag .ib-kart__resim { aspect-ratio: 16 / 10; }
.ib-manset__sag .ib-kart__baslik {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0;
  padding: 44px 13px 11px; color: #fff; font-size: 14.5px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.5);
  background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,0));
}
.ib-manset__sag .ib-kart:hover .ib-kart__baslik { color: #fff; }

/* Yatay mini kartlar */
.ib-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.ib-kart--yatay { display: flex; background: var(--ib-g); align-items: stretch; transition: background .2s; }
.ib-kart--yatay:hover { background: #ececec; }
.ib-kart--yatay .ib-kart__resim { flex: 0 0 40%; aspect-ratio: auto; min-height: 84px; }
.ib-kart--yatay .ib-kart__baslik { margin: 0; padding: 9px 13px; font-size: 14px; align-self: center; }

/* Bölüm başlıkları: her kategorinin kendi renginde etiket + şerit (--kat değişkeni şablondan gelir) */
.ib-blok { margin-top: 8px; }
.ib-blok__baslik { --kat: var(--ib-k); margin: 0 0 16px; padding: 0; font-size: 15px; font-weight: 700; text-transform: uppercase; display: flex; align-items: center; line-height: 1; letter-spacing: .5px; border: 0; }
.ib-blok__baslik a { display: flex; align-items: center; flex: 1; text-decoration: none; }
.ib-blok__baslik span { background: var(--kat); color: #fff; padding: 9px 18px; border-radius: 2px 0 0 2px; position: relative; }
.ib-blok__baslik span::after { content: ""; position: absolute; right: -9px; top: 0; border-left: 9px solid var(--kat); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.ib-blok__baslik a::after { content: ""; flex: 1; height: 3px; margin-left: 9px; background: var(--kat); opacity: .9; }
.ib-blok__baslik a:hover span { filter: brightness(1.1); }

/* Yan reklamların kaydırmayı takip edebilmesi (sticky) için body kaydırma kapsayıcısı olmamalı; yatay taşmayı html keser. */
html { overflow-x: hidden !important; }
body { overflow: visible !important; }

/* Koyu zeminli Bilim-Teknoloji bloğu: ekran genişliğinde, içeriği ortada */
.ib-koyu { width: 100vw; margin: 8px 0 28px calc(50% - 50vw); background: #262a33; padding: 26px 0 6px; box-sizing: border-box; }
.ib-koyu__ic { max-width: var(--ib-w); margin: 0 auto; padding: 0 14px; box-sizing: border-box; }
.ib-blok__baslik--koyu { justify-content: center; }
.ib-blok__baslik--koyu span { color: #fff; }
.ib-koyu a { color: #fff !important; }
.ib-koyu .ib-kart__baslik { color: #fff; }
.ib-koyu .ib-kart:hover .ib-kart__baslik { color: #7fe0ef; }
.ib-koyu__ust { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; margin-bottom: 26px; align-items: start; }
.ib-kart--ana .ib-kart__resim { aspect-ratio: 16 / 9; }
.ib-kart--ana .ib-kart__baslik { text-align: center; font-size: 22px; line-height: 1.3; margin-top: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.18); }
.ib-koyu__reklam .ib-reklam { margin: 0; }
.ib-koyu__reklam .ib-reklam__etiket { color: #8b93a3; }

/* Yazarlar: kayan liste */
.ib-yazarlar { margin-bottom: 28px; }
.ib-yazarlar--ust { margin: 4px 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--ib-c); }
.ib-yz { position: relative; }
.ib-yz__alan { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 0 4px; }
.ib-yz__alan::-webkit-scrollbar { display: none; }
.ib-yazar { flex: 0 0 calc((100% - 66px) / 4); scroll-snap-align: start; display: flex; align-items: center; gap: 14px; box-sizing: border-box; padding: 4px 0; }
.ib-yazar__avatar {
  flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  background: #f87a7a; color: #fff !important; font-weight: 700; font-size: 26px;
  display: flex; align-items: center; justify-content: center; letter-spacing: .5px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.ib-yazar__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: grayscale(1) contrast(1.05); }
.ib-yazar:hover .ib-yazar__avatar { transform: scale(1.06); box-shadow: 0 6px 16px rgba(227,6,19,.25); }
.ib-yazar__icerik { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ib-yazar__yazi { font-weight: 700; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ib-yazar__yazi:hover { color: var(--ib-k); }
.ib-yazar__ad { font-weight: 400; font-size: 13.5px; color: #888 !important; }
.ib-yz__gezinme { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.ib-yz__ok { width: 32px; height: 32px; border: 0; background: transparent; color: var(--ib-s); cursor: pointer; font-size: 20px; line-height: 1; transition: color .2s, transform .2s; }
.ib-yz__ok:hover { color: var(--ib-k); transform: scale(1.15); }
.ib-yz__noktalar { display: inline-flex; align-items: center; gap: 8px; }
.ib-yz__nokta { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #ccc; cursor: pointer; transition: background .3s, transform .3s; }
.ib-yz__nokta.is-aktif { background: var(--ib-k); transform: scale(1.5); }

/* Sosyal medya şeridi */
.ib-sosyal { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 6px 0 30px; padding: 12px 18px; border: 1px solid var(--ib-c); border-radius: 6px; }
.ib-sosyal__yazi { font-weight: 700; font-size: 15px; }
.ib-sosyal__liste { display: flex; align-items: center; gap: 20px; }
.ib-sosyal__liste a { color: #333; display: inline-flex; transition: color .2s, transform .2s; }
.ib-sosyal__liste a:hover { color: var(--ib-k); transform: translateY(-2px); }

/* ---------- Haber sayfası ---------- */
.ib-haber__govde { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.ib-makale { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
.ib-makale__yol { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: #666; }
.ib-makale__yol a { color: #555 !important; text-decoration: none; }
.ib-makale__yol a:hover { text-decoration: underline; }
.ib-makale__yol .ib-makale__kat { font-weight: 700; }
.ib-makale__yol span { margin: 0 5px; }
.ib-makale__baslik { margin: 0 0 12px; font-size: 32px; line-height: 1.22; font-weight: 700; color: var(--ib-s); letter-spacing: -.2px; }
.ib-makale__spot { margin: 0 0 14px; font-size: 18px; line-height: 1.5; font-weight: 600; color: #333; }
.ib-makale__bilgi { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: #777; margin-bottom: 12px; }
.ib-makale__bilgi em { font-style: normal; margin-left: 10px; padding-left: 10px; border-left: 1px solid #ccc; }
.ib-makale__okuma::before { content: "⏱ "; }
.ib-paylas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.ib-paylas__yazi { font-size: 13px; font-weight: 700; color: #555; margin-right: 2px; }
.ib-paylas a, .ib-paylas__kopyala { display: inline-block; padding: 7px 13px; border: 0; border-radius: 3px; color: #fff !important; font-size: 12.5px; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; transition: filter .2s; }
.ib-paylas__kopyala { background: #555; font-family: inherit; }
.ib-paylas a:hover, .ib-paylas__kopyala:hover { filter: brightness(1.15); text-decoration: none; }
.ib-makale__yazar { margin: 0 0 14px; font-size: 13.5px; color: #666; }
.ib-makale__yazar a { color: var(--ib-k); font-weight: 700; text-decoration: none; }
.ib-yazarkutu { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 12px 14px; background: var(--ib-g); border-left: 4px solid var(--ib-k); }
.ib-yazarkutu .ib-yazar__avatar { flex: 0 0 56px; width: 56px; height: 56px; font-size: 18px; }
.ib-yazarkutu strong { display: block; font-size: 16px; color: var(--ib-s); }
.ib-yazarkutu a:not(.ib-yazar__avatar) { font-size: 13px; color: var(--ib-k); text-decoration: none; font-weight: 600; }
.ib-makale__gorsel { margin: 0 0 20px; }
.ib-makale__gorsel img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 22%; }
.ib-makale__gorsel figcaption { font-size: 12.5px; color: #777; padding-top: 6px; }
.ib-makale__icerik { font-size: 18px; line-height: 1.75; color: #222; }
.ib-makale__icerik p { margin: 0 0 1.15em; font-size: inherit; line-height: inherit; }
.ib-makale__icerik h2, .ib-makale__icerik h3, .ib-makale__icerik h4 { margin: 1.5em 0 .6em; line-height: 1.3; font-weight: 700; color: var(--ib-s); }
.ib-makale__icerik h2 { font-size: 24px; }
.ib-makale__icerik h3 { font-size: 20px; }
.ib-makale__icerik a { color: var(--ib-k); text-decoration: underline; text-underline-offset: 2px; }
.ib-makale__icerik img { max-width: 100%; height: auto; }
.ib-makale__icerik figure { margin: 1.2em 0; max-width: 100%; }
.ib-makale__icerik figcaption, .ib-makale__icerik .wp-caption-text { font-size: 13px; color: #777; }
.ib-makale__icerik blockquote { margin: 1.3em 0; padding: 12px 20px; border-left: 4px solid var(--ib-k); background: var(--ib-g); font-size: 19px; font-weight: 600; }
.ib-makale__icerik ul, .ib-makale__icerik ol { margin: 0 0 1.2em 1.4em; }
.ib-makale__icerik iframe, .ib-makale__icerik video { max-width: 100%; }
.ib-etiketler { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.ib-etiketler a { background: var(--ib-g); color: #333 !important; padding: 5px 11px; border-radius: 3px; font-size: 13px; text-decoration: none; transition: background .2s, color .2s; }
.ib-etiketler a:hover { background: var(--ib-k); color: #fff !important; }
.ib-sayfalar { margin: 16px 0; font-weight: 700; }
/* Yan sütun */
.ib-haber__yan-ic { position: sticky; top: 14px; }
.ib-haber__yan .ib-reklam { margin: 0 0 22px; }
.ib-yanliste { margin-bottom: 24px; }
.ib-yanliste .ib-blok__baslik { margin-bottom: 10px; font-size: 14px; }
.ib-yanliste ol { list-style: none; margin: 0; padding: 0; counter-reset: ib-s; }
.ib-yanliste li { counter-increment: ib-s; display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--ib-c); }
.ib-yanliste li::before { content: counter(ib-s); flex: 0 0 22px; height: 22px; background: var(--ib-s); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 3px; }
.ib-yanliste a { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ib-s); text-decoration: none; }
.ib-yanliste a:hover { color: var(--ib-k); }
.ib-ilgili { margin-top: 30px; }
.ib-yorumlar { margin-top: 28px; max-width: 700px; }
@media (max-width: 900px) {
  .ib-haber__govde { grid-template-columns: 1fr; }
  .ib-haber__yan-ic { position: static; }
  .ib-makale__baslik { font-size: 25px; }
  .ib-makale__icerik { font-size: 17px; }
}
.ib-reklam--sag .ib-reklam__yer { max-width: 300px; }

/* ---------- Footer (koyu, sütunlu) ---------- */
.advertisement_above_footer { display: none !important; } /* eski büyük Sosyal Çene alanı: footer köşesine küçültülerek taşındı */
.ib-footer { background: #262a33; color: #cfd3da; font-family: var(--ib-font); margin-top: 30px; border-top: 4px solid var(--ib-k); }
.ib-footer { margin-top: 18px; }
.ib-footer__ic { max-width: var(--ib-w); margin: 0 auto; padding: 16px 14px 12px; box-sizing: border-box; }
.ib-footer__ust { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ib-footer .ib-logo { padding: 3px 9px; }
.ib-footer .ib-logo img, .ib-footer .ib-logo .custom-logo { height: 26px !important; }
.ib-footer__slogan { font-size: 12.5px; color: #9aa1ad; letter-spacing: .3px; }
.ib-footer__kolonlar { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 20px; padding: 14px 0 2px; }
.ib-footer__kolonlar > div:first-child ul { column-count: 2; column-gap: 18px; }
.ib-footer h3 { margin: 0 0 8px; color: #fff; font-size: 14px; font-weight: 700; }
.ib-footer ul { list-style: none; margin: 0; padding: 0; }
.ib-footer li { margin: 0 0 5px; break-inside: avoid; }
.ib-footer a { color: #cfd3da; text-decoration: none; font-size: 13px; transition: color .2s; }
.ib-footer a:hover { color: #fff; text-decoration: underline; }
.ib-footer__sosyal { padding: 8px 0 2px; display: flex; align-items: center; gap: 14px; }
.ib-footer__sosyal h3 { margin: 0; }
.ib-footer__ikonlar { display: flex; gap: 16px; align-items: center; }
.ib-footer__ikonlar a { display: inline-flex; color: #fff; }
.ib-footer__ikonlar svg { width: 20px; height: 20px; }
.ib-footer__ikonlar a:hover { color: var(--ib-k); text-decoration: none; }
.ib-footer__alt { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); }
.ib-footer__yasal { margin: 0; font-size: 11.5px; line-height: 1.5; color: #8b93a3; max-width: 640px; }
/* Sosyal Çene: küçük, sağ alt köşede */
.ib-footer__sc { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 150px; text-align: right; text-decoration: none !important; opacity: .9; }
.ib-footer__sc:hover { opacity: 1; }
.ib-footer__sc img { background: #fff; border-radius: 4px; padding: 3px 7px; width: 72px; height: auto; box-sizing: content-box; }
.ib-footer__sc span { font-size: 10px; line-height: 1.3; color: #8b93a3; }
@media (min-width: 901px) {
  .ib-footer__sc { margin-right: 332px; } /* sağ alttaki Son Dakika kutusunun soluna */
}

/* ---------- Sağ alttaki "Son Dakika" kutusu ---------- */
.ib-sd { position: fixed; right: 16px; bottom: 16px; z-index: 99990; width: 300px; background: #111; color: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 22px rgba(0,0,0,.35); font-family: var(--ib-font); }
.ib-sd[hidden] { display: none; }
.ib-sd__bas { display: flex; align-items: center; gap: 8px; background: var(--ib-k); padding: 7px 10px; font-size: 12px; font-weight: 700; letter-spacing: .4px; }
.ib-sd__nokta { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: ib-nabiz 1.2s infinite; }
@keyframes ib-nabiz { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.ib-sd__kapat { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.ib-sd__liste { position: relative; height: 84px; }
.ib-sd__oge { position: absolute; inset: 0; display: flex; align-items: stretch; color: #fff !important; text-decoration: none !important; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.ib-sd__oge.is-aktif { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
.ib-sd__resim { flex: 0 0 38%; background: #222; overflow: hidden; }
.ib-sd__resim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ib-sd__baslik { flex: 1; padding: 8px 10px; font-size: 13px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; align-self: center; }
.ib-sd__oge:hover .ib-sd__baslik { color: #ffd2d5; }
.ib-sd__liste { transition: height .3s ease; }
.ib-sd__liste.is-reklam { height: 169px; }
.ib-sd__reklam { display: block; background: #000; }
.ib-sd__reklam video, .ib-sd__reklam iframe, .ib-sd__reklam img { width: 100%; height: 169px; object-fit: cover; display: block; }
.ib-sd__reklam .ib-reklam__oge, .ib-sd__reklam .widget { display: block; margin: 0; padding: 0; }
.ib-sd__etiket { position: absolute; top: 6px; left: 8px; z-index: 3; font-size: 9px; letter-spacing: 1px; color: #fff; background: rgba(0,0,0,.55); padding: 2px 6px; border-radius: 2px; }
.ib-sd__ses { position: absolute; right: 8px; bottom: 8px; z-index: 4; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.ib-sd__ses:hover { background: var(--ib-k); transform: scale(1.08); }
.ib-sd__yer { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #bbb; font-size: 13px; text-align: center; background: repeating-linear-gradient(45deg, #1b1b1b, #1b1b1b 10px, #222 10px, #222 20px); }
.ib-sd__yer small { font-size: 10.5px; opacity: .7; }

/* ---------- Alt sabit reklam barı ---------- */
.ib-altbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99980; background: #fff; border-top: 1px solid var(--ib-c); box-shadow: 0 -3px 14px rgba(0,0,0,.14); padding: 5px 34px 5px; text-align: center; }
.ib-altbar[hidden] { display: none; }
.ib-altbar .ib-reklam { margin: 0 auto; max-width: 970px; overflow: visible; }
.ib-altbar .ib-reklam__etiket { display: none; }
.ib-altbar .ib-reklam--bos .ib-reklam__yer { min-height: 70px; }
.ib-altbar__kapat { position: absolute; top: 4px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--ib-g); color: #333; font-size: 18px; line-height: 1; cursor: pointer; z-index: 2; transition: background .2s, color .2s; }
.ib-altbar__kapat:hover { background: var(--ib-k); color: #fff; }
/* Bar açıkken sağ alttaki kutu, geri-yukarı düğmesi ve footer onun üstünde kalır */
.ib-altbar-acik .ib-sd { bottom: 108px; }
.ib-altbar-acik #scroll-up { bottom: 108px !important; }
.ib-altbar-acik .ib-footer { margin-bottom: 96px; }
.ib-cekmece__sosyal { display: flex; align-items: center; gap: 16px; }
.ib-cekmece__sosyal a { color: #fff !important; display: inline-flex; }
.ib-cekmece__sosyal a:hover { color: var(--ib-k) !important; }
.ib-cekmece__sosyal svg { width: 22px; height: 22px; }
#scroll-up { left: 16px !important; right: auto !important; } /* geri-yukarı düğmesi sola: Son Dakika kutusuyla çakışmasın */
@media (max-width: 560px) {
  .ib-sd { width: 248px; right: 8px; bottom: 8px; }
  .ib-sd__liste { height: 72px; }
  #scroll-up { left: 8px !important; }
  .ib-footer__kolonlar { grid-template-columns: repeat(2, 1fr); }
  .ib-footer__kolonlar > div:first-child { grid-column: 1 / -1; }
  .ib-footer__alt { flex-direction: column; align-items: flex-start; }
  .ib-footer__sc { align-items: flex-start; text-align: left; }
}

/* ---------- Reklam alanları ---------- */
.ib-reklam { position: relative; margin: 0 auto 22px; text-align: center; max-width: 100%; overflow: hidden; }
.ib-reklam__etiket { display: block; font-size: 10px; letter-spacing: 1px; color: #999; text-transform: uppercase; margin-bottom: 4px; }
.ib-reklam__oge { display: flex; justify-content: center; }
.ib-reklam__oge img, .ib-reklam__oge iframe, .ib-reklam__oge ins { max-width: 100%; height: auto; }
/* Yönetici yer tutucusu: yalnızca yönetici girişliyken görünür */
.ib-reklam--bos .ib-reklam__yer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: repeating-linear-gradient(45deg, #fafafa, #fafafa 10px, #f1f1f1 10px, #f1f1f1 20px); border: 2px dashed #c9c9c9; color: #777; font-size: 13px; padding: 12px; box-sizing: border-box; }
.ib-reklam--bos .ib-reklam__yer strong { color: #444; font-size: 14px; }
.ib-reklam--bos .ib-reklam__yer small { font-size: 11px; opacity: .8; }
.ib-reklam--orta .ib-reklam__yer, .ib-reklam--sonu .ib-reklam__yer { min-height: 120px; max-width: 970px; margin: 0 auto; }
.ib-sonu-kap { width: 100%; max-width: var(--ib-w); margin: 0 auto; padding: 14px 14px 0; box-sizing: border-box; clear: both; }
.ib-sonu-kap .ib-reklam { margin: 0 auto 14px; width: 100%; max-width: 970px; }
.ib-reklam--sonu .ib-reklam__yer { width: 100%; min-height: 250px; box-sizing: border-box; }
/* Sözcü'deki gibi ikiye bölünmüş üst banner */
.ib-reklam-cift { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.ib-reklam-cift .ib-reklam { margin: 0; min-width: 0; }
.ib-reklam--yarim .ib-reklam__yer { min-height: 250px; width: 100%; }
.ib-reklam--yarim .ib-reklam__oge { width: 100%; }
/* Haber içi reklamlar */
.ib-reklam--haberici { margin: 26px auto; clear: both; }
.ib-reklam--haberici .ib-reklam__yer { min-height: 280px; max-width: 336px; margin: 0 auto; }
.single .ib-reklam--orta { margin: 22px auto; }
.ib-reklam--sag { margin-bottom: 0; }
.ib-reklam--sag .ib-reklam__yer { min-height: 250px; max-width: 300px; margin: 0 auto; }
/* Kenar reklamları (yalnızca ana sayfada): içeriğin iki yanında, içerikle aynı hizadan başlar ve kayarken takip eder.
   İçerik 1020px: yan boşluk = (ekran - 1020) / 2. 160px reklam için 1360px, 300px reklam için 1700px ekran gerekir. */
.ib-ana { position: relative; }
.ib-kenar-kol { display: none; position: absolute; top: 0; bottom: 0; width: 160px; pointer-events: none; }
.ib-kenar-kol .ib-reklam { position: sticky; top: 12px; margin: 16px 0 0; pointer-events: auto; }
.ib-kenar-kol .ib-reklam__yer { min-height: 600px; }
@media (min-width: 1360px) {
  .ib-kenar-kol { display: block; }
  .ib-kenar-kol--sol { left: -168px; }
  .ib-kenar-kol--sag { right: -168px; }
}
@media (min-width: 1700px) {
  .ib-kenar-kol { width: 300px; }
  .ib-kenar-kol--sol { left: -308px; }
  .ib-kenar-kol--sag { right: -308px; }
}

/* Tablet ve mobil */
@media (max-width: 900px) {
  .ib-dortlu { grid-template-columns: repeat(2, 1fr); }
  .ib-reklam-cift { grid-template-columns: 1fr; }
  .ib-koyu__ust { grid-template-columns: 1fr; }
  .ib-manset { grid-template-columns: 1fr; }
  .ib-manset__sag { grid-template-columns: repeat(3, 1fr); }
  .ib-yazar { flex-basis: calc((100% - 22px) / 2); }
  .ib-ig span { display: none; }
  .ib-sondakika__etiket { font-size: 12px; padding: 8px 10px; }
  .ib-sondakika__metin { font-size: 14px; padding: 8px 10px; }
  .ib-slider .ib-kart__baslik { font-size: 19px; }
  .ib-menu__liste { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ib-menu__liste::-webkit-scrollbar { display: none; }
  .ib-menu__liste a { white-space: nowrap; }
}
@media (max-width: 560px) {
  .ib-dortlu, .ib-mini, .ib-manset__sag { grid-template-columns: 1fr; }
  .ib-yazar { flex-basis: 92%; }
  .ib-yz__noktalar { display: none; }
  .ib-yz__gezinme { gap: 28px; }
  .ib-mini .ib-kart:nth-child(n+5) { display: none; }
  .ib-yazar__avatar { flex-basis: 76px; width: 76px; height: 76px; font-size: 22px; }
  .ib-sosyal { flex-direction: column; align-items: flex-start; }
  .ib-slider .ib-kart__baslik { font-size: 16px; padding: 40px 14px 14px; }
  .ib-logo img, .ib-logo .custom-logo { height: 30px !important; }
  .ib-hava small { display: none; }
  .ib-ust__sag { gap: 14px; }
}

/* Ekranda görünmeyen ama arama motorlarının okuduğu ana başlık */
.ib-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
