/* ==========================================================================
   İçerik sayfaları: Haberler (/haberler, /hbr/…) ve Bilgi Bankası (/bilgi, /bkat/…, /bbk/…)
   Hakkımızda görünümü (corphero + corpnav + .about) üzerine kurulu. Tüm seçiciler .ic- ile.
   ========================================================================== */

.ic-page .about__main > .slash-title:first-child { margin-top: 2px; }
.ic-sub { margin-top: clamp(36px, 4vw, 52px); font-size: clamp(22px, 2.2vw, 28px); }

/* ---------- ortak küçük parçalar */
.ic-chip { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #eaf1fb; color: var(--brand); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.ic-chip .i { width: 16px; height: 16px; }
.ic-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--brand); }
.ic-more .i { width: 18px; height: 18px; transition: transform .2s; }
.ic-more:hover .i { transform: translateX(4px); }
.ic-tag { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12.5px; font-weight: 600; box-shadow: 0 4px 14px rgba(13,27,46,.12); }

/* ---------- öne çıkan haber */
.ic-feat { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); background: #fff; border: 1px solid #e6ecf4; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 40px rgba(19,43,70,.08); }
.ic-feat::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.ic-feat__img { position: relative; display: block; min-height: 340px; background: #0b1d3a; overflow: hidden; }
.ic-feat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s ease; }
.ic-feat:hover .ic-feat__img img { transform: scale(1.04); }
.ic-feat__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); }
.ic-feat__title { margin: 0; font-size: clamp(21px, 2vw, 27px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.ic-feat__title a { color: var(--ink); }
.ic-feat__title a:hover { color: var(--brand); }
.ic-feat__text { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.ic-feat__btn { align-self: flex-start; margin-top: auto; border-radius: 10px; }
.ic-feat__btn .i { width: 18px; height: 18px; }

/* ---------- kart ızgarası */
.ic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 26px); }
.ic-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6ecf4; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(19,43,70,.06); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ic-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(19,43,70,.12); border-color: #d6e1f0; }
.ic-card__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3f9; }
.ic-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s ease; }
.ic-card:hover .ic-card__img img { transform: scale(1.05); }
.ic-card__img.is-empty { display: grid; place-items: center; background: radial-gradient(120% 140% at 0% 0%, #12305e 0%, #0b1d3a 60%, #081530 100%); }
.ic-card__img.is-empty .i { width: 54px; height: 54px; color: rgba(255,255,255,.55); }
.ic-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.ic-card__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.ic-card__title a { color: var(--ink); }
.ic-card__title a:hover { color: var(--brand); }
.ic-card__text { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ic-card .ic-more { margin-top: auto; padding-top: 6px; }

/* ---------- Bilgi Bankası konu kartları */
.ic-topics { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(30px, 3.5vw, 44px); }
.ic-topic { flex: 1 1 250px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid #e6ecf4; border-radius: 16px; box-shadow: 0 8px 24px rgba(19,43,70,.05); color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.ic-topic--all { flex: 0 1 210px; }
.ic-topic:hover { border-color: #c9d8ee; box-shadow: 0 12px 30px rgba(19,43,70,.09); color: var(--ink); }
.ic-topic__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #eaf1fb; color: var(--brand); }
.ic-topic__icon .i { width: 24px; height: 24px; }
.ic-topic__label { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.ic-topic__label small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.ic-topic__chev { flex: none; width: 18px; height: 18px; color: var(--brand); transform: rotate(-90deg); }
.ic-topic[aria-current] { background: linear-gradient(135deg, #0e2a57, #1b4fa0); border-color: transparent; color: #fff; box-shadow: 0 14px 34px rgba(27,79,160,.28); }
.ic-topic[aria-current] .ic-topic__icon { background: rgba(255,255,255,.14); color: #fff; }
.ic-topic[aria-current] .ic-topic__label small { color: #b9c8e0; }
.ic-topic[aria-current] .ic-topic__chev { color: #fff; }

/* ---------- boş durum */
.ic-empty { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 48px); border: 1px solid #e6ecf4; border-radius: 20px; background: linear-gradient(150deg, #f4f7fb 0%, #fff 60%); box-shadow: 0 10px 30px rgba(19,43,70,.05); }
.ic-empty::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(27,79,160,.10), transparent 70%); }
.ic-empty::after { content: ""; position: absolute; right: clamp(24px, 4vw, 48px); bottom: -30px; width: 90px; height: 150px; background: var(--red); opacity: .9; transform: skewX(-22deg); border-radius: 6px; }
.ic-empty > * { position: relative; z-index: 1; }
.ic-empty__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fdecec; color: #b81d25; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.ic-empty__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227,38,47,.18); }
.ic-empty__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, #0e2a57, #1b4fa0); color: #fff; margin-bottom: 18px; box-shadow: 0 12px 28px rgba(27,79,160,.3); }
.ic-empty__icon .i { width: 32px; height: 32px; }
.ic-empty h2 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; max-width: 26ch; }
.ic-empty p { max-width: 58ch; margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.ic-empty__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ic-empty__actions .btn { border-radius: 10px; }
.ic-empty__actions .btn .i { width: 18px; height: 18px; }

/* ---------- PDF rehberleri */
.ic-guides { margin-top: clamp(36px, 4vw, 52px); }
.ic-guides .slash-title { font-size: clamp(22px, 2.2vw, 28px); }
.ic-guides__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ic-guide { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid #e6ecf4; border-radius: 18px; box-shadow: 0 10px 30px rgba(19,43,70,.06); color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .2s; }
.ic-guide:hover { color: var(--ink); border-color: #c9d8ee; box-shadow: 0 16px 38px rgba(19,43,70,.11); transform: translateY(-2px); }
.ic-guide__icon { position: relative; flex: none; display: grid; place-items: center; width: 54px; height: 62px; border-radius: 10px; background: #fdecec; color: var(--red); }
.ic-guide__icon .i { width: 28px; height: 28px; }
.ic-guide__icon b { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 4px; background: var(--red); color: #fff; font-size: 10.5px; letter-spacing: .06em; }
.ic-guide__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ic-guide__body strong { font-size: 16.5px; font-weight: 700; }
.ic-guide__body span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.ic-guide__body em { font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.ic-guide__go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #eaf1fb; color: var(--brand); transition: background .15s, color .15s; }
.ic-guide__go .i { width: 18px; height: 18px; }
.ic-guide:hover .ic-guide__go { background: var(--brand); color: #fff; }

/* ---------- detay sayfaları (news_item.php / article.php) */
.ic-detail__card { background: #fff; border: 1px solid #e6ecf4; border-radius: 20px; box-shadow: 0 10px 30px rgba(19,43,70,.06); overflow: hidden; }
.ic-detail__img { display: block; width: 100%; max-height: 560px; object-fit: contain; background: #0b1d3a; }
.ic-detail__body { padding: clamp(22px, 3.5vw, 44px); }
.ic-detail__lead { margin: 0 0 22px; padding-left: 18px; border-left: 3px solid var(--red); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--ink); font-weight: 500; }
.ic-detail__body .prose { color: var(--ink-2); line-height: 1.75; }
.ic-detail__body .prose img { height: auto; border-radius: 12px; }
.ic-detail__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #e6ecf4; }
.ic-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.ic-back .i { width: 18px; height: 18px; transform: rotate(180deg); }
.ic-detail__more { margin-top: clamp(36px, 4vw, 52px); }
.ic-detail__more .slash-title { font-size: clamp(22px, 2.2vw, 28px); }
.ic-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- duyarlı */
@media (max-width: 1080px) {
    .ic-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .ic-feat { grid-template-columns: 1fr; }
    .ic-feat__img { min-height: 0; aspect-ratio: 16 / 10; }
    .ic-feat__btn { margin-top: 6px; }
    .ic-guides__grid { grid-template-columns: 1fr; }
    .ic-empty::after { width: 60px; height: 100px; bottom: -40px; }
}
@media (max-width: 600px) {
    .ic-grid, .ic-grid--3 { grid-template-columns: 1fr; }
    .ic-topic, .ic-topic--all { flex-basis: 100%; }
    .ic-empty::after { display: none; }
    .ic-empty__actions .btn { flex: 1 1 100%; }
    .ic-guide { padding: 16px; gap: 14px; }
}

/* detay sayfalarında uzun başlıklar için daha küçük h1 */
body:has(.ic-detail__card) .abouthero h1 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.12; max-width: 24ch; }
.ic-detail__more .ic-topics { margin-bottom: 0; }
.ic-detail__body .prose img { margin-block: 10px; }
