/* Ana stil - Newsite teması + mevcut site blokları */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800&display=swap');

:root {
    --hc-red: #c00;
    --hc-blue: #1e3a5f;
    --hc-bg: #f9f7f1;
    --hc-card: #f9f7f1;
    --hc-border: #e8e6e0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.habercode-theme {
    font-family: 'Rubik', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f7f1;
}

/* Container - hem .container hem .hc-container */
.hc-main .container,
.hc-main .hc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ----- Hero Section ----- */
.hero-section {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--hc-card);
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    padding: 0;
}
@media (max-width: 992px) { .hero-layout { grid-template-columns: 1fr; } }
.hero-main .hero-card { display: block; text-decoration: none; color: inherit; }
.hero-image { position: relative; overflow: hidden; min-height: 380px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.hero-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 80px 25px 25px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    color: #fff;
}
.hero-badge { background: var(--hc-red); color: #fff; padding: 4px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.hero-title { font-size: 1.5rem; margin: 10px 0 8px; font-weight: 700; line-height: 1.3; color: #fff; }
.hero-summary { font-size: 14px; opacity: .95; margin: 0 0 8px; }
.hero-time { font-size: 12px; opacity: .9; }
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.hero-side-item a { display: flex; gap: 12px; text-decoration: none; color: #222; padding: 10px; border-radius: 6px; transition: background .2s; }
.hero-side-item a:hover { background: #f9f7f1; color: var(--hc-red); }
.hero-side-image { flex-shrink: 0; width: 120px; height: 80px; overflow: hidden; border-radius: 4px; }
.hero-side-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-content h3 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.hero-side-time { font-size: 12px; color: #666; }

/* ----- News Slider ----- */
.news-slider-section { margin-bottom: 25px; }
.news-slider {
    position: relative;
    max-height: 450px;
    overflow: hidden;
    border-radius: 8px;
    background: #ddd;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.slider-container { position: relative; width: 100%; }
.slider-item { display: none; position: relative; }
.slider-item.active { display: block; }
.slider-item a { display: block; color: #fff; text-decoration: none; }
.slider-item img { width: 100%; height: 450px; object-fit: cover; }
.slider-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 80px 25px 25px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.slider-overlay h2 { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.3; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.9); color: var(--hc-red); font-size: 1.5rem;
    cursor: pointer; z-index: 3;
}
.slider-nav.prev { left: 15px; }
.slider-nav.next { right: 15px; }
.slider-pagination {
    display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
    padding: 15px 0; background: var(--hc-card); margin-top: 0;
}
.page-dot {
    min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #333; background: #f0eeea; border-radius: 4px;
    border: 0; cursor: pointer; transition: background .2s, color .2s;
}
.page-dot:hover { background: #e0e0e0; color: var(--hc-red); }
.page-dot.active { background: var(--hc-red); color: #fff; }

/* ----- Section header ----- */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; flex-wrap: wrap; gap: 10px; }
.section-title {
    font-size: 1.25rem; font-weight: 700; margin: 0; padding-bottom: 8px; border-bottom: 3px solid var(--hc-red);
    color: #222; text-transform: uppercase;
}
.view-all-btn { font-size: 14px; font-weight: 600; color: var(--hc-red); text-decoration: none; }
.view-all-btn:hover { text-decoration: underline; }

/* ----- Grid Section ----- */
.grid-section, .tabbed-news-section, .masonry-section, .list-section, .video-section, .gallery-section, .card-section {
    margin-bottom: 30px;
    background: var(--hc-card);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    border: 1px solid #eee;
}
.news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 992px) { .news-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .news-grid-4 { grid-template-columns: 1fr; } }
.grid-news-item a { display: block; text-decoration: none; color: #222; border-radius: 6px; overflow: hidden; transition: box-shadow .2s; }
.grid-news-item a:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); color: var(--hc-red); }
.grid-news-image { height: 160px; overflow: hidden; background: #ebe9e3; }
.grid-news-image img { width: 100%; height: 100%; object-fit: cover; }
.grid-news-image.no-image { display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.grid-news-content { padding: 12px; }
.grid-news-content h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.grid-news-time { font-size: 12px; color: #666; }

/* ----- Tabbed News ----- */
.news-tabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 20px; border-bottom: 2px solid #eee; }
.news-tab {
    padding: 12px 18px; font-size: 14px; font-weight: 600; text-transform: uppercase;
    background: 0; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px;
    color: #666; cursor: pointer; transition: color .2s, border-color .2s;
}
.news-tab:hover { color: var(--hc-red); }
.news-tab.active { color: var(--hc-red); border-bottom-color: var(--hc-red); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-news-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 25px; }
@media (max-width: 768px) { .tab-news-layout { grid-template-columns: 1fr; } }
.tab-main-news a { display: block; text-decoration: none; color: #222; border-radius: 6px; overflow: hidden; }
.tab-main-news img { width: 100%; height: 280px; object-fit: cover; }
.tab-main-content { padding: 15px; background: #f9f7f1; }
.tab-main-content h2 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; }
.tab-main-content p { margin: 0; font-size: 14px; color: #555; line-height: 1.5; }
.tab-side-news { display: flex; flex-direction: column; gap: 15px; }
.tab-small-item a { display: flex; gap: 12px; text-decoration: none; color: #222; }
.tab-small-item a:hover { color: var(--hc-red); }
.tab-small-image { flex-shrink: 0; width: 100px; height: 70px; overflow: hidden; border-radius: 4px; position: relative; }
.tab-small-image img { width: 100%; height: 100%; object-fit: cover; }
.tab-small-item h3 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; flex: 1; }

/* ----- Masonry ----- */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 992px) { .masonry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .masonry-grid { grid-template-columns: 1fr; } }
.masonry-item a { display: block; text-decoration: none; color: #222; border-radius: 6px; overflow: hidden; transition: box-shadow .2s; }
.masonry-item a:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); color: var(--hc-red); }
.masonry-image { height: 200px; overflow: hidden; }
.masonry-image img { width: 100%; height: 100%; object-fit: cover; }
.masonry-content { padding: 12px; }
.masonry-content h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.masonry-meta { font-size: 12px; color: #666; display: flex; gap: 12px; }

/* ----- List Section ----- */
.news-list { list-style: none; margin: 0; padding: 0; }
.list-item { margin-bottom: 0; border-bottom: 1px solid #eee; }
.list-item:last-child { border-bottom: 0; }
.list-item-link { display: flex; gap: 20px; padding: 15px 0; text-decoration: none; color: #222; transition: color .2s; }
.list-item-link:hover { color: var(--hc-red); }
.list-item-image { flex-shrink: 0; width: 200px; height: 120px; overflow: hidden; border-radius: 6px; position: relative; background: #ebe9e3; }
.list-item-image img { width: 100%; height: 100%; object-fit: cover; }
.list-item-content h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.list-item-content p { margin: 0 0 8px; font-size: 14px; color: #555; line-height: 1.5; }
.list-item-meta { font-size: 12px; color: #666; display: flex; gap: 15px; }
@media (max-width: 768px) {
    .list-item-link { flex-direction: column; }
    .list-item-image { width: 100%; height: 180px; }
}

/* ----- Video Section ----- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 992px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .video-grid { grid-template-columns: 1fr; } }
.video-card a { display: block; text-decoration: none; color: #222; border-radius: 6px; overflow: hidden; transition: box-shadow .2s; }
.video-card a:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); color: var(--hc-red); }
.video-thumbnail { position: relative; height: 160px; overflow: hidden; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.video-play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.video-content { padding: 12px; }
.video-content h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.video-time { font-size: 12px; color: #666; }

/* ----- Gallery Section ----- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item a { display: block; text-decoration: none; color: #222; border-radius: 6px; overflow: hidden; border: 1px solid #eee; transition: box-shadow .2s; }
.gallery-item a:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); color: var(--hc-red); }
.gallery-image { position: relative; height: 140px; overflow: hidden; }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }
.gallery-overlay h4 { margin: 0; font-size: 13px; font-weight: 600; }

/* ----- Card Section ----- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 992px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .card-grid { grid-template-columns: 1fr; } }
.modern-card a { display: block; text-decoration: none; color: #222; border-radius: 8px; overflow: hidden; background: var(--hc-card); border: 1px solid #eee; transition: box-shadow .2s; }
.modern-card a:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); color: var(--hc-red); }
.modern-card-image { height: 160px; overflow: hidden; }
.modern-card-image img { width: 100%; height: 100%; object-fit: cover; }
.modern-card-content { padding: 15px; }
.modern-card-content h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.modern-card-content p { margin: 0 0 10px; font-size: 13px; color: #555; line-height: 1.5; }
.modern-card-footer { font-size: 12px; color: #666; display: flex; gap: 12px; }

/* ----- Sidebar + içerik düzeni ----- */
.hc-main .container.hc-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}
.hc-main .container > .hero-section,
.hc-main .container > .news-slider-section,
.hc-main .container > .grid-section,
.hc-main .container > .tabbed-news-section,
.hc-main .container > .masonry-section,
.hc-main .container > .list-section,
.hc-main .container > .video-section,
.hc-main .container > .gallery-section,
.hc-main .container > .card-section {
    grid-column: 1;
}
.hc-main .container > .sidebar {
    grid-column: 2;
    grid-row: 1 / -1;
    position: sticky;
    top: 80px;
}
@media (max-width: 992px) {
    .hc-main .container.hc-container { grid-template-columns: 1fr; }
    .hc-main .container > .sidebar { grid-column: 1; grid-row: auto; }
}
.widget {
    background: var(--hc-card);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    border: 1px solid #eee;
    margin-bottom: 25px;
}
.widget-title {
    font-size: 1rem; font-weight: 700; margin: 0 0 15px; padding-bottom: 8px; border-bottom: 2px solid var(--hc-red);
    color: #222;
}
.rates-widget { display: flex; flex-direction: column; gap: 10px; }
.rate-item { display: flex; justify-content: space-between; font-size: 13px; }
.rate-name { font-weight: 600; color: #333; }
.rate-value { font-weight: 600; color: var(--hc-blue); }
.popular-news { display: flex; flex-direction: column; gap: 0; }
.popular-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ebe9e3; text-decoration: none; color: #222; align-items: flex-start; }
.popular-item:hover { color: var(--hc-red); }
.popular-number { font-weight: 700; color: var(--hc-red); min-width: 24px; }
.popular-content h4 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; }

/* Son Haberler sidebar (tekli haber sayfası) */
.latest-news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sidebar-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #222;
    align-items: flex-start;
    transition: color .2s;
}
.sidebar-news-item:last-child { border-bottom: 0; }
.sidebar-news-item:hover { color: var(--hc-red); }
.sidebar-news-item img {
    flex-shrink: 0;
    width: 90px;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.sidebar-news-item > div {
    flex: 1;
    min-width: 0;
}
.sidebar-news-item h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-news-item .news-time {
    font-size: 12px;
    color: #666;
}

/* Özel haberler sidebar slider */
.widget-ozel-haberler .ozel-haberler-slider-wrap {
    position: relative;
}
.widget-ozel-haberler .ozel-haberler-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 0;
}
.widget-ozel-haberler .ozel-haberler-slider::-webkit-scrollbar {
    display: none;
}
.widget-ozel-haberler .ozel-haberler-track {
    display: flex;
    gap: 12px;
    width: max-content;
    padding-bottom: 5px;
}
.widget-ozel-haberler .ozel-haberler-slide {
    flex-shrink: 0;
    width: 200px;
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--hc-card, #f9f7f1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ebe9e3;
    transition: border-color .2s, box-shadow .2s;
}
.widget-ozel-haberler .ozel-haberler-slide:hover {
    border-color: var(--hc-red, #c00);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.widget-ozel-haberler .ozel-haberler-slide img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}
.widget-ozel-haberler .ozel-slide-title {
    display: block;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.widget-ozel-haberler .ozel-slide-time {
    display: block;
    padding: 0 10px 10px;
    font-size: 11px;
    color: #666;
}
.widget-ozel-haberler .ozel-slider-prev,
.widget-ozel-haberler .ozel-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #333;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.widget-ozel-haberler .ozel-slider-prev { left: -10px; }
.widget-ozel-haberler .ozel-slider-next { right: -10px; }
.widget-ozel-haberler .ozel-slider-prev:hover,
.widget-ozel-haberler .ozel-slider-next:hover {
    background: #f0f0f0;
    border-color: #ccc;
}
.ozel-haberler-empty { margin: 0; padding: 15px; font-size: 13px; color: #666; text-align: center; }

/* ----- Scroll top button ----- */
.scroll-top {
    position: fixed; bottom: 25px; right: 25px; width: 48px; height: 48px; border-radius: 50%;
    background: var(--hc-blue); color: #fff; border: 0; cursor: pointer; font-size: 1.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: #2a5290; }

/* ========== İç sayfalar: content-grid (haber detay, kategori, arama, hakkimizda vb.) ========== */
.hc-main .container > .content-grid,
.hc-main .container > .category-slider-section {
    grid-column: 1 / -1;
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}
.content-grid .main-column { grid-column: 1; }
.content-grid .sidebar {
    grid-column: 2;
    position: sticky;
    top: 80px;
}
@media (max-width: 992px) {
    .content-grid { grid-template-columns: 1fr; }
    .content-grid .sidebar { position: static; }
}

/* ----- Haber detay sayfası ----- */
.news-detail {
    background: var(--hc-card);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    border: 1px solid #eee;
}
.breadcrumb {
    font-size: 13px; color: #666; margin-bottom: 15px;
}
.breadcrumb a { color: var(--hc-red); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.news-detail-category {
    margin-bottom: 10px;
}
.news-detail-category a {
    display: inline-block; padding: 4px 12px; background: var(--hc-red); color: #fff;
    font-size: 12px; font-weight: 600; text-transform: uppercase; border-radius: 4px; text-decoration: none;
}
.news-detail-category a:hover { opacity: .9; }
.news-detail-title {
    font-size: 1.75rem; font-weight: 700; margin: 0 0 15px; line-height: 1.3; color: #222;
}
.news-detail-meta {
    font-size: 14px; color: #666; margin-bottom: 20px;
}
.news-detail-image {
    margin-bottom: 20px; border-radius: 8px; overflow: hidden;
}
.news-detail-image img { width: 100%; max-height: 450px; object-fit: cover; display: block; }
.news-detail-summary {
    font-size: 1.1rem; line-height: 1.6; color: #333; margin-bottom: 20px; padding: 15px; background: #f2f0eb; border-radius: 6px; border-left: 4px solid var(--hc-red);
}
.news-detail-content {
    font-size: 1rem; line-height: 1.8; color: #333; margin-bottom: 25px;
}
.news-detail-content img { max-width: 100%; height: auto; border-radius: 6px; }
.share-buttons {
    margin: 25px 0; padding: 15px 0; border-top: 1px solid #eee;
}
.share-buttons strong { margin-right: 12px; font-size: 14px; color: #555; }
.share-btn {
    display: inline-block; padding: 8px 16px; margin-right: 8px; border-radius: 6px;
    font-size: 13px; font-weight: 600; text-decoration: none; color: #fff; transition: opacity .2s;
}
.share-btn:hover { opacity: .9; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.related-news { margin-top: 30px; padding-top: 25px; border-top: 1px solid #eee; }
.related-news h2 {
    font-size: 1.25rem; font-weight: 700; margin: 0 0 15px; padding-bottom: 8px; border-bottom: 2px solid var(--hc-red); color: #222;
}
.related-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
.related-item {
    display: block; text-decoration: none; color: #222; border-radius: 8px; overflow: hidden; border: 1px solid #eee; transition: box-shadow .2s;
}
.related-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); color: var(--hc-red); }
.related-item img { width: 100%; height: 160px; object-fit: cover; display: block; }
.related-content { padding: 12px; }
.related-content h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.news-time { font-size: 12px; color: #666; }

/* ----- Kategori / Son dakika / Video sayfaları: slider + grid ----- */
.category-slider-section {
    margin-bottom: 30px;
    background: var(--hc-card);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    border: 1px solid #eee;
}
.category-slider-header {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px;
}
.category-slider-header h1 {
    font-size: 1.5rem; font-weight: 700; margin: 0; padding-bottom: 8px; border-bottom: 3px solid var(--hc-red); color: #222; text-transform: uppercase;
}
.category-slider-header p { font-size: 14px; color: #666; margin: 0; }
.category-slider {
    position: relative; max-height: 400px; overflow: hidden; border-radius: 8px; background: #ddd;
}
.cat-slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.9); color: var(--hc-red); font-size: 1.5rem; cursor: pointer; z-index: 2;
}
.cat-slider-nav.prev { left: 10px; }
.cat-slider-nav.next { right: 10px; }
.cat-slider-container { position: relative; width: 100%; }
.cat-slide { display: none; position: relative; }
.cat-slide.active { display: block; }
.cat-slide a { display: block; color: #fff; text-decoration: none; }
.cat-slide img { width: 100%; height: 400px; object-fit: cover; }
.cat-slide .cat-slide-img { position: relative; }
.cat-slide .cat-slide-img img { width: 100%; height: 400px; object-fit: cover; }
.cat-slide-no-img {
    width: 100%; height: 400px; background: var(--hc-blue); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: rgba(255,255,255,.5);
}
.cat-slide-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 60px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.cat-slide-overlay h2 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 700; line-height: 1.3; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.cat-slide-time { font-size: 12px; opacity: .9; }
.cat-slider-pagination {
    display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 15px 0; background: var(--hc-card); margin-top: 0;
}
.cat-page-dot {
    min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #333; background: #f0eeea; border-radius: 4px; border: 0; cursor: pointer; transition: background .2s, color .2s;
}
.cat-page-dot:hover { background: #e0e0e0; color: var(--hc-red); }
.cat-page-dot.active { background: var(--hc-red); color: #fff; }
.video-thumbnail { position: relative; }
.video-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.category-news-section { margin-bottom: 25px; }
.news-grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 992px) { .news-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .news-grid-3 { grid-template-columns: 1fr; } }
.category-news-section .grid-news-item a { display: block; text-decoration: none; color: #222; border-radius: 6px; overflow: hidden; transition: box-shadow .2s; }
.category-news-section .grid-news-item a:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); color: var(--hc-red); }
.category-news-section .grid-news-content p { margin: 0 0 8px; font-size: 13px; color: #555; line-height: 1.4; }

/* ----- Sidebar: Güncel konular ----- */
.widget-current-topics .widget-title-current { text-transform: uppercase; }
.current-topics { display: flex; flex-direction: column; gap: 0; }
.topic-item {
    display: block; padding: 10px 0; border-bottom: 1px solid #ebe9e3; font-size: 14px; color: #222; text-decoration: none;
}
.topic-item:hover { color: var(--hc-red); }

/* ----- Arama sayfası ----- */
.search-section {
    background: var(--hc-card) !important;
    padding: 30px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.08) !important;
    border: 1px solid #eee !important;
    margin: 20px 0 !important;
}
.search-section h1 {
    font-size: 1.5rem !important; margin-bottom: 20px !important; color: #222 !important;
    padding-bottom: 8px !important; border-bottom: 3px solid var(--hc-red) !important;
}
.search-section form { margin-bottom: 25px !important; }
.search-section input[type="text"] {
    flex: 1; padding: 12px 16px; font-size: 1rem; border: 1px solid #ddd; border-radius: 6px; background: #f9f7f1; color: #222;
}
.search-section button[type="submit"] {
    padding: 12px 24px; font-size: 1rem; background: var(--hc-red); color: #fff; border: 0; border-radius: 6px; cursor: pointer; font-weight: 600;
}
.search-section button[type="submit"]:hover { background: #a00; }
.news-list-item {
    display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; text-decoration: none; color: #222; transition: color .2s;
}
.news-list-item:hover { color: var(--hc-red); }
.news-list-image { flex-shrink: 0; width: 200px; height: 120px; overflow: hidden; border-radius: 6px; }
.news-list-image img { width: 100%; height: 100%; object-fit: cover; }
.news-item-content h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 600; line-height: 1.35; }
.news-item-content p { margin: 0; font-size: 14px; color: #555; line-height: 1.5; }
.news-item-content .category_name { color: #666; font-size: 13px; }

/* ----- Statik sayfalar (Hakkımızda, İletişim, Künye) ----- */
.page-content {
    background: var(--hc-card) !important;
    padding: 40px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.08) !important;
    border: 1px solid #eee !important;
}
.page-content h1 {
    font-size: 1.75rem !important; margin-bottom: 20px !important; color: #222 !important;
    padding-bottom: 8px !important; border-bottom: 3px solid var(--hc-red) !important;
}
.page-content h2 { font-size: 1.2rem !important; margin: 15px 0 10px !important; color: #222 !important; }
.page-content p, .page-content div { line-height: 1.7 !important; color: #333 !important; }
.page-content a { color: var(--hc-red) !important; }
.habercode-theme .main-column .breadcrumb a { color: var(--hc-red); }
.habercode-theme .sidebar .widget a[href*="hakkimizda"],
.habercode-theme .sidebar .widget a[href*="kunye"] {
    display: block; padding: 10px 15px; border-radius: 6px; text-decoration: none; color: #222; background: #f2f0eb; margin-bottom: 8px;
}
.habercode-theme .sidebar .widget a[href*="hakkimizda"]:hover,
.habercode-theme .sidebar .widget a[href*="kunye"]:hover {
    background: var(--hc-red); color: #fff;
}

/* ----- Sayfalama ----- */
.pagination {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 25px 0;
}
.page-btn {
    display: inline-block; padding: 8px 16px; font-size: 14px; background: #f0eeea; color: #333; border-radius: 6px;
    text-decoration: none; border: 0; cursor: default; transition: background .2s, color .2s;
}
.page-btn:hover { cursor: pointer; }
a.page-btn:hover { background: var(--hc-red); color: #fff; }
.page-btn.active { background: var(--hc-red); color: #fff; }
.page-btn:disabled { opacity: .6; cursor: not-allowed; }
