/* ============================================================
   Haber Script — Ön Yüz Stilleri (Bootstrap 5 üzerine)
   ============================================================ */

:root {
    --hs-primary: #dc2626;
    --hs-dark: #0f172a;
    --hs-gray: #64748b;
    --hs-light: #f1f5f9;
}

@font-face {
    font-family: "bootstrap-icons";
    font-display: swap;
    src: url("../vendor/fonts/bootstrap-icons.woff2") format("woff2"), url("../vendor/fonts/bootstrap-icons.woff") format("woff");
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: #f8fafc;
    color: #1e293b;
}

a { text-decoration: none; }

/* ---------- Üst bar ---------- */
.topbar {
    background: var(--hs-dark);
    color: #cbd5e1;
    font-size: .8rem;
}
.topbar a { color: #cbd5e1; transition: color .15s; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
    backdrop-filter: blur(18px);
}
.site-logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--hs-dark);
}
.site-logo > span:not(.site-slogan) { color: var(--hs-primary); }
.site-logo img { display: block; width: auto; height: 52px; max-width: 150px; object-fit: contain; }
.site-slogan { font-size: .8rem; color: var(--hs-gray); }

.header-layout {
    min-height: 82px;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 1.25rem;
}
.header-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}
.header-brand-name { color: var(--hs-dark); line-height: 1; white-space: nowrap; }
.header-brand-name b { color: var(--hs-primary); }
.header-brand .site-slogan {
    display: block;
    max-width: 170px;
    margin-top: .2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.desktop-main-menu {
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 100%;
    gap: .1rem;
}
.header-nav-item { position: relative; display: flex; align-items: center; height: 82px; }
.header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 42px;
    padding: .65rem .72rem;
    border: 0;
    border-radius: .75rem;
    background: transparent;
    color: #334155;
    font-size: .82rem;
    font-weight: 750;
    white-space: nowrap;
    transition: color .18s, background .18s, transform .18s;
}
.header-nav-link:hover,
.header-nav-item.active > .header-nav-link,
.header-nav-item.drawer-open > .header-nav-link {
    color: var(--hs-dark);
    background: color-mix(in srgb, var(--cat-color, var(--hs-primary)) 10%, #fff);
    box-shadow: inset 0 -2px 0 var(--cat-color, var(--hs-primary));
}
.header-home-link { width: 42px; justify-content: center; padding: 0; font-size: 1rem; }
.header-home-link.active { color: var(--hs-primary); background: color-mix(in srgb, var(--hs-primary) 10%, #fff); }
.drawer-toggle {
    width: 28px;
    height: 38px;
    margin-left: -.48rem;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: .68rem;
    transition: transform .18s, color .18s;
}
.header-nav-item:hover .drawer-toggle,
.header-nav-item.drawer-open .drawer-toggle { color: var(--hs-primary); }
.header-nav-item.drawer-open .drawer-toggle,
.header-nav-item:hover .drawer-toggle { transform: rotate(180deg); }
.category-drawer {
    position: absolute;
    top: calc(100% - 7px);
    left: 50%;
    width: min(460px, 80vw);
    padding: .85rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .18);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.header-nav-item:hover > .category-drawer,
.header-nav-item:focus-within > .category-drawer,
.header-nav-item.drawer-open > .category-drawer {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.category-drawer::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    transform: translateX(-50%) rotate(45deg);
}
.drawer-parent {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .75rem;
    padding: .75rem;
    border-radius: .8rem;
    color: var(--hs-dark);
    background: linear-gradient(135deg, color-mix(in srgb, var(--cat-color) 12%, #fff), #fff);
}
.drawer-parent:hover { color: var(--cat-color); }
.drawer-parent-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .7rem;
    background: var(--cat-color);
    color: var(--cat-contrast, #fff) !important;
}
.drawer-parent strong, .drawer-parent small { display: block; }
.drawer-parent small { margin-top: .1rem; color: #64748b; font-size: .72rem; }
.drawer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .65rem; }
.drawer-child {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .55rem;
    min-width: 0;
    padding: .58rem;
    border-radius: .7rem;
    color: #334155;
    transition: background .16s, color .16s;
}
.drawer-child:hover, .drawer-child.active { color: var(--hs-primary); background: #f8fafc; }
.drawer-child > span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .6rem;
}
.drawer-child b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.drawer-child small { color: #94a3b8; font-size: .66rem; white-space: nowrap; }
.more-menu-button { cursor: pointer; }
.more-menu-button .bi { font-size: .65rem; }
.compact-drawer { left: auto; right: 0; width: 245px; transform: translate(0, 10px); }
.compact-drawer::before { left: auto; right: 25px; transform: rotate(45deg); }
.header-nav-item:hover > .compact-drawer,
.header-nav-item:focus-within > .compact-drawer,
.header-nav-item.drawer-open > .compact-drawer { transform: translate(0, 0); }
.drawer-simple-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .72rem .8rem;
    border-radius: .7rem;
    color: #334155;
    font-size: .83rem;
    font-weight: 700;
}
.drawer-simple-link:hover { color: var(--hs-primary); background: #f8fafc; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .4rem; }
.header-icon-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: .8rem;
    background: #fff;
    color: #334155;
    font-size: 1.05rem;
    transition: color .18s, border-color .18s, background .18s, transform .18s;
}
.header-icon-button:hover { color: var(--hs-primary); border-color: color-mix(in srgb, var(--hs-primary) 35%, #e2e8f0); background: var(--hs-light); transform: translateY(-1px); }
.header-search-panel { border-top: 1px solid #eef2f7; background: #fff; }
.header-search-panel[hidden] { display: none; }
.header-search-panel form {
    min-height: 64px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
}
.header-search-panel input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--hs-dark);
    font-size: 1rem;
}
.header-search-panel button {
    border: 0;
    border-radius: .65rem;
    padding: .55rem 1rem;
    background: var(--hs-dark);
    color: #fff;
    font-weight: 700;
}
.header-ad-slot { padding-top: .25rem; padding-bottom: .25rem; }
.header-ad-slot .spot-area { margin: 0; }
.mobile-menu { max-width: 360px; }
.mobile-menu .offcanvas-header { min-height: 70px; border-bottom: 1px solid #e2e8f0; }
.mobile-menu .offcanvas-title { color: var(--hs-dark); font-size: 1.05rem; font-weight: 850; }
.mobile-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
    padding: .5rem .55rem .5rem .8rem;
    border: 1px solid #e2e8f0;
    border-radius: .8rem;
    background: #f8fafc;
}
.mobile-search input { min-width: 0; border: 0; outline: 0; background: transparent; font-size: .88rem; }
.mobile-search button { width: 34px; height: 34px; border: 0; border-radius: .6rem; background: var(--hs-dark); color: #fff; }
.mobile-menu-home {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .75rem;
    border-radius: .75rem;
    background: var(--hs-light);
    color: var(--hs-dark);
    font-weight: 750;
}
.mobile-menu-label { margin: 1.25rem 0 .5rem; color: #94a3b8; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mobile-category-group { border-bottom: 1px solid #eef2f7; }
.mobile-category-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.mobile-category-parent { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .65rem .2rem; color: #334155; }
.mobile-category-parent.active { color: var(--hs-primary); }
.mobile-category-parent > span { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: .65rem; }
.mobile-category-parent b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.mobile-category-row > button { width: 38px; height: 38px; border: 0; background: transparent; color: #64748b; }
.mobile-category-row > button[aria-expanded="true"] { transform: rotate(180deg); }
.mobile-category-children { margin: 0 0 .65rem 2.7rem; padding-left: .75rem; border-left: 2px solid #e2e8f0; }
.mobile-category-children a { display: flex; justify-content: space-between; align-items: center; padding: .5rem .3rem; color: #64748b; font-size: .82rem; font-weight: 650; }
.mobile-category-children a.active { color: var(--hs-primary); }
.mobile-category-children small { min-width: 26px; padding: .1rem .35rem; border-radius: 999px; background: #f1f5f9; text-align: center; }
.mobile-page-list { display: grid; gap: .25rem; }
.mobile-page-list a { display: flex; align-items: center; gap: .65rem; padding: .65rem .25rem; color: #475569; font-size: .86rem; font-weight: 650; }

/* ---------- Navigasyon ---------- */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
    position: sticky;
    top: 0;
    z-index: 1020;
}
.main-nav .nav-link {
    color: var(--hs-dark);
    font-weight: 600;
    font-size: .92rem;
    padding: .9rem 1rem;
    position: relative;
    white-space: nowrap;
}
.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem; right: 1rem; bottom: .5rem;
    height: 3px;
    border-radius: 2px;
    background: var(--cat-color, var(--hs-primary));
    transform: scaleX(0);
    transition: transform .2s;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }

/* Kategori sayısı arttığında yatay kaydırma + ok navigasyonu */
.nav-scroll-wrap { position: relative; min-width: 0; }
.nav-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-scroll-arrow {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: var(--hs-light);
    color: var(--hs-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .15);
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.nav-scroll-arrow:first-child { margin-right: .4rem; }
.nav-scroll-arrow:last-child { margin-left: .4rem; }
.nav-scroll-arrow:hover { background: var(--hs-primary); color: #fff; border-color: var(--hs-primary); transform: scale(1.08); }
.nav-scroll-arrow.is-hidden { display: none; }

/* ---------- Son dakika şeridi ---------- */
.breaking-bar {
    background: linear-gradient(90deg, #b91c1c, #dc2626);
    color: #fff;
    overflow: hidden;
}
.breaking-label {
    background: rgba(0, 0, 0, .25);
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .5px;
    padding: .55rem .9rem;
    white-space: nowrap;
}
.breaking-label .bi { animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 35s linear infinite;
}
.ticker-wrap:hover .ticker { animation-play-state: paused; }
.ticker a { color: #fff; font-size: .88rem; margin-right: 3rem; }
.ticker a:hover { text-decoration: underline; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- Manşet ızgarası ---------- */
.hero-card {
    position: relative;
    border-radius: .9rem;
    overflow: hidden;
    display: block;
    height: 100%;
    min-height: 210px;
    background: var(--hs-dark);
}
.hero-card-lg { min-height: 440px; }
.hero-card img, .hero-card .img-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.hero-card:hover img { transform: scale(1.05); }
.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(2, 6, 23, .88));
}
.hero-card .hero-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.1rem;
    z-index: 2;
    color: #fff;
}
.hero-card h2, .hero-card h3 { color: #fff; font-weight: 700; }
.hero-card-lg h2 { font-size: 1.6rem; line-height: 1.3; }
.hero-card h3 { font-size: .98rem; line-height: 1.35; }
.hero-meta { font-size: .78rem; color: #cbd5e1; }

/* ---------- Manşet: Liste tasarımı ---------- */
.manset-list-items {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    border: 1px solid #e2e8f0;
    border-radius: .9rem;
    padding: .5rem;
    background: #fff;
}
.manset-list-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .6rem .55rem;
    border-radius: .6rem;
    text-decoration: none;
    transition: background .15s;
    flex: 1;
}
.manset-list-item + .manset-list-item { border-top: 1px solid #f1f5f9; }
.manset-list-item:hover { background: #f8fafc; }
.manset-list-item .cat-dot {
    width: 9px; height: 9px; border-radius: 50%;
    margin-top: .45rem; flex-shrink: 0;
}
.manset-list-body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.manset-list-cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.manset-list-title { font-size: .95rem; font-weight: 700; line-height: 1.3; color: var(--hs-dark, #0f172a); }
.manset-list-item:hover .manset-list-title { color: #dc2626; }
.manset-list-meta { font-size: .72rem; color: #94a3b8; }

/* ---------- Manşet: Slider tasarımı ---------- */
.hs-slider {
    position: relative;
    border-radius: .9rem;
    overflow: hidden;
    height: 460px;
    background: var(--hs-dark);
}
.hs-slider-track { position: relative; width: 100%; height: 100%; }
.hs-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease;
    z-index: 1;
}
.hs-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hs-slide-img, .hs-slide .img-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hs-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(2, 6, 23, .9));
}
.hs-slide-ribbon {
    position: absolute;
    left: 0;
    top: 2.2rem;
    z-index: 3;
    color: #fff;
    font-weight: 800;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: .5rem 1.6rem .5rem 1.1rem;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}
.hs-slide-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    padding: 1.4rem 1.5rem 4.2rem;
    color: #fff;
}
.hs-slide-body h2 {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 .5rem;
    max-width: 90%;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.hs-slide-meta { font-size: .82rem; color: #cbd5e1; }

.hs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px; height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, .55);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
}
.hs-arrow:hover { background: var(--hs-primary); }
.hs-prev { left: 1rem; }
.hs-next { right: 1rem; }

.hs-slider-bar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem .9rem;
    background: rgba(2, 6, 23, .75);
    backdrop-filter: blur(2px);
}
/* Yuvarlak görsel önizlemeli sekme navigasyonu — barın tamamını doldurur */
.hs-thumb-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    gap: .35rem;
}
.hs-thumb {
    flex: 1 1 0;
    max-width: 40px;
    min-width: 18px;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 50%;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, .3);
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, .1);
    cursor: pointer;
    transition: border-color .15s, transform .15s;
}
.hs-thumb:hover { border-color: rgba(255, 255, 255, .7); transform: scale(1.08); }
.hs-thumb.active { border-color: var(--hs-primary); transform: scale(1.15); box-shadow: 0 0 0 2px rgba(220, 38, 38, .35); }
.hs-slider-dots { display: flex; gap: .35rem; }
.hs-dot {
    width: 8px; height: 8px;
    flex: 0 0 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.hs-dot:hover { background: rgba(255, 255, 255, .6); }
.hs-dot.active { background: var(--hs-primary); transform: scale(1.25); }

@media (max-width: 767.98px) {
    .hs-slider { height: 360px; }
    .hs-slide-body { padding: 1.1rem 1.1rem 3.6rem; }
    .hs-slide-body h2 { font-size: 1.3rem; max-width: 100%; }
    .hs-slider-dots { display: none; }
    .hs-arrow { width: 36px; height: 36px; font-size: 1rem; }
    .hs-thumb-nav { flex-wrap: wrap; justify-content: center; }
    .hs-thumb { flex: 0 0 28px; max-width: 28px; min-width: 28px; }
}

/* ---------- Manşet: Bölünmüş (8/12 manşet + 4/12 son dakika) ---------- */
.hs-slider-side .hs-slide-body { padding-bottom: 3.4rem; }
.hs-slider-side .hs-slide-body h2 { font-size: 1.15rem; max-width: 100%; }
.hs-slider-bar-dots { justify-content: center; }
.hs-live-badge {
    position: absolute;
    top: .9rem; right: .9rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .35rem;
    background: var(--hs-primary);
    color: #fff;
    font-size: .66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: .3rem .6rem;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.hs-live-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: blink 1.1s infinite;
}
.hs-slider-empty {
    height: 460px;
    border-radius: .9rem;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
}
@media (max-width: 991.98px) {
    .hs-slider-side { height: 320px; margin-top: .75rem; }
    .hs-slider-empty { height: 200px; margin-top: .75rem; }
}

/* ---------- Kategori rozeti ---------- */
.cat-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #fff;
    padding: .28rem .6rem;
    border-radius: .35rem;
}

/* ---------- Haber kartı ---------- */
.news-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .9rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
}
.news-card .thumb-wrap { position: relative; height: 190px; overflow: hidden; }
.news-card .thumb-wrap img, .news-card .thumb-wrap .img-placeholder {
    width: 100%; height: 100%; object-fit: cover;
}
.news-card .thumb-wrap .cat-badge { position: absolute; top: .7rem; left: .7rem; }
.news-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
}
.news-card h3 a { color: var(--hs-dark); }
.news-card h3 a:hover { color: var(--hs-primary); }
.news-card .card-meta { font-size: .78rem; color: var(--hs-gray); }

/* ---------- Görsel yer tutucu ---------- */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .85);
    font-size: 2.4rem;
    width: 100%;
    height: 100%;
}

/* ---------- Bölüm başlığı ---------- */
.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.1rem;
}
.section-title::before {
    content: "";
    width: 5px;
    height: 22px;
    border-radius: 3px;
    background: var(--hs-primary);
}

/* ---------- Kategori filtresi ---------- */
.cat-filter .btn {
    border-radius: 2rem;
    font-size: .82rem;
    font-weight: 600;
}

/* ---------- Kenar çubuğu ---------- */
.side-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .9rem;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}
.side-widget .widget-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--hs-primary);
}
.popular-item { display: flex; gap: .8rem; padding: .55rem 0; }
.popular-item + .popular-item { border-top: 1px dashed #e2e8f0; }
.popular-item .rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
    min-width: 28px;
}
.popular-item a { color: var(--hs-dark); font-weight: 600; font-size: .88rem; line-height: 1.4; }
.popular-item a:hover { color: var(--hs-primary); }
.popular-item .meta { font-size: .74rem; color: var(--hs-gray); }
.cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--hs-dark);
    font-weight: 600;
    font-size: .88rem;
    padding: .5rem .2rem;
    border-bottom: 1px dashed #e2e8f0;
}
.cat-list a:last-child { border-bottom: 0; }
.cat-list a:hover { color: var(--hs-primary); }
.cat-list .badge { font-size: .7rem; }

/* ---------- Tanıtım/spot alanı ---------- */
.spot-area { text-align: center; margin: 1rem 0; }
.spot-area img { max-width: 100%; height: auto; }

/* ---------- Haber detayı ---------- */
.article-title { font-size: 1.9rem; font-weight: 800; line-height: 1.25; letter-spacing: -.5px; }
.article-detail { min-width: 0; }
.article-hero {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1.1rem;
    background: #e2e8f0;
}
.article-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .5));
    pointer-events: none;
}
.article-hero-image, .article-hero .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.article-hero-badges { position: absolute; z-index: 1; left: 1rem; top: 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.article-hero-badges .cat-badge { box-shadow: 0 6px 18px rgba(15, 23, 42, .22); }
.article-intro { position: relative; }
.article-summary {
    font-size: 1.08rem;
    color: #475569;
    border-left: 4px solid var(--hs-primary);
    background: #fff;
    padding: 1rem 1.2rem;
    border-radius: 0 .6rem .6rem 0;
}
.article-meta { font-size: .84rem; color: var(--hs-gray); }
.article-image img, .article-image .img-placeholder {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: .9rem;
}
.article-image .img-placeholder { height: 320px; border-radius: .9rem; }
.article-content { font-size: 1.06rem; line-height: 1.85; color: #334155; }
.article-content p { margin-bottom: 1.2rem; }
.article-content h2, .article-content h3 { margin: 2rem 0 .85rem; color: var(--hs-dark); line-height: 1.28; }
.article-content a { color: var(--hs-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; }
.article-content img { max-width: 100%; height: auto; border-radius: .6rem; }
.article-content blockquote {
    border-left: 4px solid var(--hs-primary);
    background: #fff;
    padding: 1rem 1.2rem;
    border-radius: 0 .6rem .6rem 0;
    font-style: italic;
}
.article-content iframe { max-width: 100%; border-radius: .6rem; }
.video-embed { position: relative; padding-top: 56.25%; border-radius: .9rem; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.share-buttons a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: .45rem .85rem;
    border-radius: .5rem;
    transition: opacity .15s;
}
.share-buttons a:hover { opacity: .85; }

.author-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .9rem;
    padding: 1.3rem;
}
.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    flex-shrink: 0;
}
.author-avatar-lg { width: 110px; height: 110px; font-size: 2.4rem; }

/* ---------- Yorumlar ---------- */
.comment-item { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px dashed #e2e8f0; }
.comment-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--hs-dark); color: #94a3b8; margin-top: 3rem; }
.site-footer h5, .site-footer .footer-heading { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #94a3b8; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-bottom { border-top: 1px solid #1e293b; font-size: .82rem; }
.social-icons a {
    display: inline-flex;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    border-radius: .5rem;
    color: #cbd5e1;
    margin-right: .4rem;
    transition: background .15s, color .15s;
}
.social-icons a:hover { background: var(--hs-primary); color: #fff; }

/* ---------- Sayfalama ---------- */
.pagination .page-link { color: var(--hs-dark); border-radius: .5rem; margin: 0 .15rem; border: 1px solid #e2e8f0; }
.pagination .page-item.active .page-link { background: var(--hs-primary); border-color: var(--hs-primary); }

/* ---------- Mobil kategori menüsü ---------- */
.mobile-cat-tile {
    background: color-mix(in srgb, var(--tile-color) 10%, #fff);
    color: var(--tile-color);
    border: 1px solid color-mix(in srgb, var(--tile-color) 25%, #fff);
    transition: transform .15s, box-shadow .15s;
}
.mobile-cat-tile:hover, .mobile-cat-tile.active {
    color: var(--tile-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--tile-color) 25%, transparent);
}

/* ---------- Duyarlılık ---------- */
@media (max-width: 991.98px) {
    .hero-card-lg { min-height: 320px; }
    .article-title { font-size: 1.45rem; }
}

@media (max-width: 1199.98px) {
    .header-layout { grid-template-columns: 42px minmax(0, 1fr) auto; min-height: 70px; gap: .6rem; }
    .header-brand { justify-self: center; align-items: center; text-align: center; }
    .site-logo img { height: 46px; max-width: 145px; }
}

@media (max-width: 575.98px) {
    .topbar { font-size: .7rem; }
    .topbar .container { gap: .5rem; }
    .topbar .container > div { gap: .5rem !important; }
    .header-brand .site-slogan { display: none; }
    .header-actions { gap: 0; }
    .header-icon-button { width: 38px; height: 38px; }
    .article-hero { aspect-ratio: 4 / 3; border-radius: .85rem; }
    .article-hero-badges { left: .75rem; top: .75rem; }
    .article-meta { gap: .65rem 1rem !important; }
    .share-buttons a { flex: 1 1 calc(50% - .5rem); justify-content: center; }
    .author-box { flex-direction: column; }
}
