/*
Theme Name: Tam Haber
Theme URI: https://tamhaber.com
Author: Tam Haber
Author URI: https://tamhaber.com
Description: Tam Haber - Türkçe Haber Portalı WordPress Teması. Tam özelleştirilebilir, hızlı ve modern haber teması.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tamhaber
Tags: news, blog, magazine, responsive, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   TAM HABER - ANA STİL DOSYASI
   ============================================ */

:root {
    --color-primary: #cc0000;
    --color-primary-dark: #990000;
    --color-secondary: #1a1a2e;
    --color-accent: #e8b000;
    --color-text: #222222;
    --color-text-light: #666666;
    --color-bg: #f0f0f0;
    --color-white: #ffffff;
    --color-border: #dddddd;
    --color-dark-bg: #1a1a1a;
    --color-header-top: #cc0000;
    --color-section-title: #cc0000;
    --font-primary: 'Source Serif 4', Georgia, serif;
    --font-secondary: 'Barlow', sans-serif;
    --font-mono: 'Courier New', monospace;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --transition: all 0.25s ease;
    --border-radius: 3px;
    --container-width: 1200px;
    --sidebar-width: 300px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover { color: var(--color-primary); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 11px;
    padding: 5px 0;
    position: relative;
    z-index: 100;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    overflow: hidden;
}

.top-bar-date {
    white-space: nowrap;
    font-weight: 600;
    font-size: 11px;
    border-right: 1px solid rgba(255,255,255,0.3);
    padding-right: 12px;
}

.top-bar-ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.top-bar-ticker {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
}

.top-bar-ticker span {
    display: inline-block;
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.4);
}

.top-bar-ticker span:last-child { border-right: none; }

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.top-bar-right a {
    color: var(--color-white);
    font-size: 11px;
    opacity: 0.9;
}

.top-bar-right a:hover { opacity: 1; }

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-social a {
    color: var(--color-white);
    font-size: 13px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}

.top-bar-social a:hover { background: rgba(255,255,255,0.3); }

/* ============================================
   HEADER
   ============================================ */

.site-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-main {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: -1px;
    line-height: 1;
}

.site-logo .logo-text span {
    color: var(--color-secondary);
}

.header-ad-banner {
    flex: 1;
    text-align: center;
    max-width: 728px;
}

.header-ad-banner img {
    max-height: 90px;
    margin: 0 auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search-toggle,
.header-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    font-size: 18px;
    padding: 6px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.header-search-toggle:hover,
.header-menu-toggle:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

/* ============================================
   NAVIGATION
   ============================================ */

.main-nav {
    background: var(--color-secondary);
    position: relative;
}

.main-nav-inner {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    align-items: center;
    flex: 1;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: block;
    padding: 12px 16px;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: var(--transition);
}

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a,
.main-menu > li:focus-within > a {
    background: var(--color-primary);
    color: var(--color-white) !important;
}

.main-menu > li.menu-highlighted > a {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Dropdown */
.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--color-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.main-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .sub-menu li a {
    display: block;
    padding: 9px 16px;
    color: var(--color-text);
    font-size: 13px;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.main-menu .sub-menu li:last-child a { border-bottom: none; }

.main-menu .sub-menu li a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
    padding-left: 22px;
}

/* Search in nav */
.nav-search-form {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-left: 1px solid rgba(255,255,255,0.15);
    margin-left: auto;
}

.nav-search-form input {
    background: rgba(255,255,255,0.1);
    border: none;
    outline: none;
    color: var(--color-white);
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 20px;
    width: 180px;
}

.nav-search-form input::placeholder { color: rgba(255,255,255,0.6); }

.nav-search-form button {
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    font-size: 14px;
    padding: 5px 8px;
}

/* ============================================
   BREAKING NEWS / SON DAKİKA
   ============================================ */

.breaking-news-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 8px 0;
}

.breaking-news-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.breaking-news-label {
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    white-space: nowrap;
    letter-spacing: 1px;
    flex-shrink: 0;
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
    padding-right: 20px;
}

.breaking-news-ticker {
    flex: 1;
    overflow: hidden;
    padding: 0 15px;
}

.breaking-ticker-items {
    display: flex;
    animation: breakingScroll 30s linear infinite;
    white-space: nowrap;
}

.breaking-ticker-items a {
    display: inline-block;
    padding: 0 30px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
}

.breaking-ticker-items a::after {
    content: '•';
    margin-left: 30px;
    color: var(--color-primary);
}

.breaking-ticker-items a:last-child::after { display: none; }

.breaking-ticker-items a:hover { color: var(--color-primary); }

@keyframes breakingScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

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

.site-main {
    padding: 20px 0;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: 20px;
    align-items: start;
}

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

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 8px;
    position: relative;
}

.section-title h2, 
.section-title h3 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 800;
    color: var(--color-white);
    background: var(--color-primary);
    padding: 5px 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
    padding-right: 22px;
}

.section-title .see-all {
    margin-left: auto;
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    border: 1px solid var(--color-primary);
    padding: 3px 10px;
    border-radius: 2px;
    transition: var(--transition);
}

.section-title .see-all:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   FEATURED / SLIDER AREA
   ============================================ */

.featured-area {
    margin-bottom: 20px;
}

.featured-slider-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3px;
    background: var(--color-dark-bg);
}

.featured-main {
    position: relative;
    overflow: hidden;
}

.featured-main .slider-container {
    position: relative;
    overflow: hidden;
}

.featured-main .slide {
    display: none;
    position: relative;
}

.featured-main .slide.active { display: block; }

.featured-main .slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 30px 20px 20px;
}

.slide-category {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.slide-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 8px;
}

.slide-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}

.slider-arrows {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
}

.slider-arrows button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 2px;
    transition: var(--transition);
}

.slider-arrows button:hover { background: var(--color-primary); }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 5px;
}

.slider-dots span {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots span.active {
    background: var(--color-primary);
    width: 18px;
    border-radius: 3px;
}

/* Featured Side */
.featured-side {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.featured-side-item {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.featured-side-item img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-side-item:hover img { transform: scale(1.05); }

.featured-side-item .side-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 10px 8px;
}

.featured-side-item .side-category {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.featured-side-item .side-title {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
    background: var(--color-secondary);
    padding: 10px 0;
    margin-bottom: 20px;
}

.stats-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    font-size: 11px;
    gap: 2px;
}

.stat-item strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-accent);
}

.stat-separator {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
}

/* ============================================
   NEWS GRID
   ============================================ */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.news-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.news-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.news-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-card-thumb {
    position: relative;
    overflow: hidden;
}

.news-card-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-thumb img { transform: scale(1.05); }

.news-card-category {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.news-card-category.cat-ekonomi { background: #2196F3; }
.news-card-category.cat-spor { background: #4CAF50; }
.news-card-category.cat-kultur { background: #9C27B0; }
.news-card-category.cat-teknoloji { background: #FF9800; }
.news-card-category.cat-saglik { background: #00BCD4; }
.news-card-category.cat-yasam { background: #E91E63; }

.news-card-body {
    padding: 12px;
}

.news-card-title {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title a:hover { color: var(--color-primary); }

.news-card-excerpt {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--color-text-light);
    border-top: 1px solid var(--color-border);
    padding-top: 8px;
    margin-top: 8px;
}

.news-card-meta .author { font-weight: 600; }
.news-card-meta .date::before { content: '•'; margin-right: 5px; }

/* Horizontal news card */
.news-card-horizontal {
    display: flex;
    gap: 12px;
    background: var(--color-white);
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 10px;
}

.news-card-horizontal:hover {
    box-shadow: var(--shadow-md);
}

.news-card-horizontal .thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.news-card-horizontal .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card-horizontal:hover .thumb img { transform: scale(1.08); }

.news-card-horizontal .body {
    flex: 1;
    min-width: 0;
}

.news-card-horizontal .category {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.news-card-horizontal .title {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.news-card-horizontal .title a:hover { color: var(--color-primary); }

.news-card-horizontal .meta {
    font-size: 11px;
    color: var(--color-text-light);
}

/* Big featured card */
.news-card-featured {
    grid-column: span 2;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.news-card-featured img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.news-card-featured .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 40px 20px 20px;
}

.news-card-featured .category {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.news-card-featured .title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 6px;
}

.news-card-featured .meta {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   KÖŞE YAZARLARI
   ============================================ */

.columnists-section {
    background: var(--color-white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.columnists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.columnist-card {
    text-align: center;
    padding: 10px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

.columnist-card:hover {
    background: var(--color-bg);
}

.columnist-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    border: 3px solid var(--color-primary);
}

.columnist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.columnist-name {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-text);
}

.columnist-latest {
    font-size: 11px;
    color: var(--color-text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.columnist-date {
    font-size: 10px;
    color: var(--color-primary);
    margin-top: 4px;
}

/* ============================================
   NEWS SECTION WITH TABS
   ============================================ */

.section-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-border);
}

.section-tab {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--color-text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.section-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.section-tab:hover { color: var(--color-primary); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================
   BURÇ (HOROSCOPE)
   ============================================ */

.horoscope-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px 0;
    margin: 20px 0;
}

.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    padding: 0 15px;
}

.horoscope-item {
    text-align: center;
    padding: 10px 5px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.horoscope-item:hover {
    background: rgba(204,0,0,0.3);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.horoscope-symbol {
    font-size: 24px;
    margin-bottom: 4px;
    display: block;
}

.horoscope-name {
    font-size: 10px;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    text-transform: uppercase;
}

/* ============================================
   PHOTO GALLERY
   ============================================ */

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin-bottom: 5px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.photo-item:hover img { transform: scale(1.1); }

.photo-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: var(--transition);
}

.photo-item:hover::after { opacity: 1; }

/* ============================================
   VIDEO SECTION
   ============================================ */

.video-section {
    background: var(--color-dark-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.video-section .section-title h2 {
    background: #ff0000;
}

.video-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 10px;
}

.video-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.video-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.video-card .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(255,0,0,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--color-primary);
}

.video-card-main img { height: 220px; }

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 25px 10px 10px;
    color: white;
}

.video-info .title {
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-primary);
    line-height: 1.3;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-widget {
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-widget-title {
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 15px;
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, 100% 0, 97% 50%, 100% 100%, 0 100%);
}

.sidebar-widget-body {
    padding: 15px;
}

/* Son Dakika Widget */
.latest-news-widget .news-item {
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.latest-news-widget .news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-news-widget .thumb {
    flex-shrink: 0;
    width: 70px;
    height: 55px;
    overflow: hidden;
    border-radius: 2px;
}

.latest-news-widget .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-news-widget .content .title {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-widget .content .date {
    font-size: 10px;
    color: var(--color-text-light);
}

/* Popular Widget */
.popular-widget .popular-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.popular-widget .rank {
    font-size: 22px;
    font-weight: 900;
    color: var(--color-border);
    line-height: 1;
    min-width: 28px;
    font-family: var(--font-primary);
}

.popular-widget .popular-item:nth-child(1) .rank { color: var(--color-primary); }
.popular-widget .popular-item:nth-child(2) .rank { color: #666; }
.popular-widget .popular-item:nth-child(3) .rank { color: #999; }

.popular-widget .title {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Weather Widget */
.weather-widget {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
}

.weather-widget .sidebar-widget-title {
    background: rgba(0,0,0,0.2);
    clip-path: none;
}

.weather-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.weather-temp {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.weather-icon { font-size: 48px; }

.weather-city {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 2px;
}

.weather-desc {
    font-size: 12px;
    opacity: 0.7;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0,0,0,0.2);
}

.weather-detail {
    padding: 8px;
    text-align: center;
    background: rgba(255,255,255,0.05);
}

.weather-detail span {
    display: block;
    font-size: 10px;
    opacity: 0.7;
    text-transform: uppercase;
}

.weather-detail strong {
    font-size: 14px;
    font-weight: 700;
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag-item {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    font-size: 11px;
    color: var(--color-text-light);
    transition: var(--transition);
    cursor: pointer;
}

.tag-item:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ============================================
   LATEST NEWS SLIDER (Footer above)
   ============================================ */

.latest-slider-section {
    background: var(--color-secondary);
    padding: 15px 0;
    margin: 20px 0 0;
}

.latest-slider-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.latest-slider-label {
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 8px 16px;
    white-space: nowrap;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.latest-news-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.lns-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
}

.lns-item {
    flex-shrink: 0;
    width: calc(25% - 12px);
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.lns-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-primary);
}

.lns-item .thumb {
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.lns-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lns-item:hover .thumb img { transform: scale(1.08); }

.lns-item .lns-body {
    padding: 8px 10px;
}

.lns-item .lns-cat {
    font-size: 10px;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.lns-item .lns-title {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lns-item .lns-date {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    margin-top: 5px;
}

.lns-nav {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.lns-nav button {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 2px;
    transition: var(--transition);
}

.lns-nav button:hover { background: var(--color-primary); }

/* ============================================
   NEWS LIST (Text only)
   ============================================ */

.news-list-section {
    background: var(--color-white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.news-list-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.news-list-item:last-child { border-bottom: none; }

.news-list-item::before {
    content: '›';
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 900;
    flex-shrink: 0;
    line-height: 1.4;
}

.news-list-item a {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-item a:hover { color: var(--color-primary); }

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--color-secondary);
    color: rgba(255,255,255,0.8);
    padding: 40px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 25px;
}

.footer-logo .logo-text {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 10px;
}

.footer-logo .logo-text span { color: var(--color-primary); }

.footer-desc {
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-white);
    transition: var(--transition);
}

.footer-social a:hover { background: var(--color-primary); }

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.footer-menu li {
    margin-bottom: 6px;
}

.footer-menu li a {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-menu li a::before {
    content: '›';
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 900;
}

.footer-menu li a:hover { color: var(--color-white); padding-left: 4px; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-bottom a:hover { color: var(--color-white); }

/* ============================================
   AD BLOCKS
   ============================================ */

.ad-block {
    background: var(--color-bg);
    border: 1px dashed var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.ad-block img {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 20px 0;
}

.pagination a, 
.pagination span {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 992px) {
    .content-area {
        grid-template-columns: 1fr;
    }
    .sidebar { position: static; }
    .columnists-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .horoscope-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 768px) {
    .featured-slider-wrap { grid-template-columns: 1fr; }
    .featured-side { display: none; }
    .news-grid { grid-template-columns: 1fr; }
    .main-menu { display: none; }
    .columnists-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .horoscope-grid { grid-template-columns: repeat(4, 1fr); }
    .lns-item { width: calc(50% - 8px); }
    .top-bar-right { display: none; }
    .stats-bar-inner { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 480px) {
    .horoscope-grid { grid-template-columns: repeat(3, 1fr); }
    .news-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   ADMIN CUSTOMIZER
   ============================================ */

.customize-partial-edit-shortcut-button { z-index: 999 !important; }

/* ============================================
   UTILITIES
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* WP Core */
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin: 0 auto 10px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 11px; color: var(--color-text-light); margin-top: 4px; }

/* Skip link */
.skip-link {
    position: absolute;
    top: -999px;
    left: -999px;
    font-size: 13px;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
}

.skip-link:focus {
    top: 5px;
    left: 5px;
}


/* ============================================
   TAM HABER - BOOKMARK VE PRELOADER STİLLERİ
   ============================================ */

/* Bookmark Butonu */
.bookmark-post-btn {
    transition: all 0.3s ease !important;
}

.bookmark-post-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}

.bookmark-icon {
    color: #cc0000;
    transition: all 0.3s ease;
}

/* Dinamik Menü */
.main-menu-auth a {
    transition: all 0.3s ease;
}

.main-menu-auth a:hover {
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
}

/* Benzer Haberler Bölümü */
#single-post-infinity-scroll {
    background: #fafafa;
    padding: 30px;
    border-radius: 5px;
}

#single-post-infinity-scroll .section-title h2 {
    margin: 0;
}

#related-posts-container {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sayfa Geçiş Preloader */
#page-preloader {
    animation: fadeInPreloader 0.3s ease;
}

@keyframes fadeInPreloader {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#page-preloader div {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #related-posts-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    }
    
    .main-menu-auth {
        margin-left: 0 !important;
        margin-top: 10px;
    }
    
    #single-post-infinity-scroll {
        padding: 20px;
    }
}


/* Yukarı Çık Butonu */
#scroll-to-top {
    transition: all 0.3s ease;
}

#scroll-to-top:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 16px rgba(204,0,0,0.4);
}

#scroll-to-top:active {
    transform: scale(0.95);
}

/* Mobil Uyum */
@media (max-width: 480px) {
    #scroll-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
    }
}


/* ============================================================
   REAKSIYON SISTEMI VE OVERLAY ANİMASYONLARI
   ============================================================ */

/* Reaksiyon Butonları */
.reaction-btn {
    transition: all 0.3s ease !important;
}

.reaction-btn:hover {
    filter: grayscale(0%) !important;
    transform: scale(1.3) !important;
}

.reaction-btn:active {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1.3); }
    50% { transform: scale(1.5); }
}

/* Arama Overlay */
#search-overlay {
    animation: overlayFadeIn 0.3s ease;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#search-overlay input {
    transition: all 0.3s ease;
}

#search-overlay input:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

/* Arama Sonuçları */
#search-overlay-results div {
    transition: all 0.2s ease;
}

#search-overlay-results div:hover {
    background: #f5f5f5;
}

/* Dinamik Menü */
.main-menu-dynamic a {
    transition: all 0.3s ease;
}

.main-menu-dynamic a:hover {
    background: rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    #search-overlay {
        padding: 20px;
    }
    
    #search-overlay > div {
        max-width: 100% !important;
        padding: 20px !important;
    }
}


/* ============================================================
   DÜZELTME: Fotoğraf ve Kart Bug'ları
   ============================================================ */

/* Haber kartı görseli her zaman görünsün */
.news-card-thumb,
.news-card .news-card-thumb {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 16/9;
}

.news-card-thumb img,
.news-card .news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-thumb img {
    transform: scale(1.04);
}

/* Fotoğraf lazy load için görünürlük */
.news-card-thumb img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}
.news-card-thumb img.loaded {
    opacity: 1;
}

/* Infinity scroll için grid uyumu */
#infinity-posts-container.news-grid,
#archive-posts-grid.news-grid {
    min-height: 100px;
}

/* Spin animasyonu (eğer yoksa) */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================================
   GİRİŞ / KAYIT SAYFALARI
   ============================================================ */

.account-tab {
    transition: all 0.2s;
}
.account-tab:hover {
    color: var(--color-primary) !important;
    background: rgba(204,0,0,0.04) !important;
}

/* Auth form input focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}

/* Hesap sekmesi */
.account-tab-panel {
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Bookmark buton hover */
.bookmark-post-btn:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Reaction btn hover */
.reaction-btn:hover {
    border-color: var(--color-primary) !important;
    background: rgba(204,0,0,0.05) !important;
    transform: scale(1.08);
}

/* Infinity scroll section */
#infinity-scroll-section,
#infinity-posts-container {
    position: relative;
}

/* ============================================================
   YENİ MODÜL STİLLERİ
   ============================================================ */

/* --- Piyasalar Widget --- */
.markets-widget { font-family: var(--font-secondary); }
.markets-widget .market-items { margin-top: 6px; }

/* --- Namaz Vakitleri Widget --- */
.prayer-widget { font-family: var(--font-secondary); }
.prayer-row { transition: background 0.2s; }

/* --- Galeri Widget --- */
.gallery-widget a { text-decoration: none; }

/* --- Video Liste Widget --- */
.video-list-widget .video-list-item a { text-decoration: none; }

/* --- Fotoğraf + Metin Widget --- */
.photo-text-widget img { transition: transform 0.3s ease; }
.photo-text-widget:hover img { transform: scale(1.04); }

/* --- Arama overlay ortalama düzeltmesi --- */
#search-overlay { display: none; }
#search-overlay.active { display: flex !important; }

/* --- Nav hover düzeltmesi: yazı asla kaybolmasın --- */
.main-menu > li > a { color: var(--color-white) !important; }
.main-menu > li > a:hover { color: var(--color-white) !important; }
.main-menu .sub-menu li a { color: var(--color-text) !important; }
.main-menu .sub-menu li a:hover { color: var(--color-primary) !important; }

/* --- Künye kısa kodu --- */
.kunye-block td { line-height: 1.5; }
@media (max-width: 480px) {
    .kunye-block td { display: block; width: 100% !important; padding: 6px 14px !important; }
    .kunye-block tr td:first-child { padding-bottom: 0 !important; font-weight: 800; background: #fafafa; }
}

/* ============================================================
   TAM HABER v2 - GENİŞLETİLMİŞ STİLLER
   ============================================================ */

/* --- KATEGORİ RENKLERİ (Kapsamlı) --- */
/* Kategori etiketleri hover'da gitmesin - pointer events fix */
.news-card-category,
.slide-category,
.side-category,
.lns-cat,
.section-cat-badge {
    pointer-events: none; /* Linke tıklamayı engelle, sadece görsel */
}
/* Eğer link istersen sadece bu sınıfları pointer-events: auto yap */
a.news-card-category,
a.slide-category,
a.side-category,
a.lns-cat {
    pointer-events: auto;
}
/* Kategori hover: renk sabit kalsın, sadece yazı rengi değişmesin */
a.news-card-category:hover,
a.slide-category:hover,
a.side-category:hover {
    opacity: 0.9;
    color: #fff !important;
    text-decoration: none;
}

/* Dinamik Kategori Renkleri - slug tabanlı */
.cat-gundem,     [data-cat="gundem"]     { background: #dc2626 !important; } /* Kırmızı */
.cat-saglik,     [data-cat="saglik"]     { background: #16a34a !important; } /* Yeşil */
.cat-kripto,     [data-cat="kripto"],
.cat-bitcoin,    [data-cat="bitcoin"]    { background: #f97316 !important; } /* Turuncu */
.cat-ekonomi,    [data-cat="ekonomi"]    { background: #2563eb !important; } /* Mavi */
.cat-spor,       [data-cat="spor"]       { background: #0891b2 !important; } /* Cyan */
.cat-teknoloji,  [data-cat="teknoloji"]  { background: #7c3aed !important; } /* Mor */
.cat-siyaset,    [data-cat="siyaset"]    { background: #b45309 !important; } /* Kahve */
.cat-dunya,      [data-cat="dunya"]      { background: #0f766e !important; } /* Teal */
.cat-kultur,     [data-cat="kultur"],
.cat-sanat,      [data-cat="sanat"]      { background: #db2777 !important; } /* Pembe */
.cat-yasam,      [data-cat="yasam"]      { background: #65a30d !important; } /* Lime */
.cat-otomobil,   [data-cat="otomobil"]   { background: #475569 !important; } /* Gri */
.cat-turizm,     [data-cat="turizm"]     { background: #0369a1 !important; } /* Lacivert */
.cat-haber,      [data-cat="haber"]      { background: #991b1b !important; } /* Koyu kırmızı */
.cat-video,      [data-cat="video"]      { background: #be123c !important; } /* Gül kırmızı */
.cat-galeri,     [data-cat="galeri"]     { background: #6d28d9 !important; } /* Indigo */
.cat-yerel,      [data-cat="yerel"]      { background: #15803d !important; } /* Koyu yeşil */
.cat-astroloji,  [data-cat="astroloji"]  { background: #9333ea !important; } /* Violet */
.cat-magazin,    [data-cat="magazin"]    { background: #e11d48 !important; } /* Rose */
.cat-egitim,     [data-cat="egitim"]     { background: #1d4ed8 !important; } /* Koyu mavi */
.cat-cevre,      [data-cat="cevre"]      { background: #047857 !important; } /* Emerald */

/* --- DÖVİZ BANT --- */
.doviz-bant { position: relative; z-index: 100; }

/* --- İÇERİK ARASI WİDGET ALANI --- */
.between-content-widget-area {
    margin: 20px 0;
    clear: both;
}
.between-widget {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}
.between-widget-title {
    background: var(--color-secondary);
    color: #fff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.between-widget-body {
    padding: 12px;
}

/* --- NAV KATEGORİ: üstüne gelince renk geçişi animasyonlu, metin gitmesin --- */
.main-menu > li > a {
    position: relative;
}
.main-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.25s ease;
}
.main-menu > li > a:hover::after,
.main-menu > li.current-menu-item > a::after {
    width: 100%;
}

/* --- SIDEBAR WIDGET ALANLARI 2-4 --- */
#sidebar-2 .sidebar-widget,
#sidebar-3 .sidebar-widget,
#sidebar-4 .sidebar-widget {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
}

/* --- HAVA DURUMU WİDGET --- */
.weather-widget { font-family: var(--font-secondary); }

/* --- NÖBETÇİ ECZANE WİDGET --- */
.pharmacy-widget { font-family: var(--font-secondary); }

/* --- NAMAZ VAKİTLERİ --- */
.prayer-times-widget { font-family: var(--font-secondary); }

/* --- DARK MODE HAZIRLIK --- */
@media (prefers-color-scheme: dark) {
    body.dark-mode-auto {
        --color-bg: #121212;
        --color-text: #e0e0e0;
        --color-border: #2a2a2a;
        --color-white: #1e1e1e;
    }
}
body.dark-mode {
    --color-bg: #0f0f0f;
    --color-bg-alt: #1a1a1a;
    --color-text: #d4d4d4;
    --color-text-light: #9a9a9a;
    --color-border: #2a2a2a;
    --color-white: #1a1a1a;
    background: var(--color-bg) !important;
    color: var(--color-text) !important;
}
body.dark-mode .news-card,
body.dark-mode .sidebar-widget,
body.dark-mode .between-widget {
    background: var(--color-bg-alt) !important;
    border-color: var(--color-border) !important;
}
body.dark-mode .news-card-title a,
body.dark-mode .news-card-title {
    color: var(--color-text) !important;
}
body.dark-mode .site-header,
body.dark-mode .main-nav { background: #111 !important; }
body.dark-mode .prayer-row,
body.dark-mode .weather-detail-item,
body.dark-mode .market-row,
body.dark-mode .pharmacy-item {
    background: #222 !important;
    color: #ddd !important;
}

/* --- KOYU MOD TOGGLE BUTONU --- */
.dark-mode-toggle {
    position: fixed;
    bottom: 80px;
    right: 18px;
    width: 42px;
    height: 42px;
    background: var(--color-secondary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 9990;
    transition: transform 0.2s, background 0.2s;
}
.dark-mode-toggle:hover { transform: scale(1.1); }

/* --- OKU SONRA SİL BUTONU (haber kartı üzerinde) --- */
.readlater-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    z-index: 5;
    transition: background 0.2s;
    opacity: 0;
    pointer-events: none;
}
.news-card:hover .readlater-btn { opacity: 1; pointer-events: auto; }
.readlater-btn.saved { background: var(--color-primary); opacity: 1; pointer-events: auto; }

/* --- SOSYAL PAYLAŞIM ÇUBUĞU (single.php altında) --- */
.social-share-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 15px;
    background: var(--color-bg-alt);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}
.social-share-bar span {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-light);
    align-self: center;
    margin-right: 5px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: transform 0.15s, opacity 0.15s;
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }
.share-btn.share-fb    { background: #1877f2; }
.share-btn.share-tw    { background: #000; }
.share-btn.share-wa    { background: #25d366; }
.share-btn.share-tg    { background: #0088cc; }
.share-btn.share-copy  { background: #6c757d; }

/* --- OKUMA SÜRESİ ROZET --- */
.read-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--color-text-light);
    background: var(--color-bg-alt);
    padding: 3px 8px;
    border-radius: 10px;
}
.read-time-badge i { font-size: 10px; color: var(--color-primary); }

/* --- ANA SAYFA HABER ARASI BANNER --- */
.between-content-widget-area .between-widget-title {
    font-family: var(--font-secondary);
}
/* Reklam alanı görünümü */
.between-ad-slot {
    text-align: center;
    padding: 10px 0;
    border-top: 1px dashed var(--color-border);
    border-bottom: 1px dashed var(--color-border);
    margin: 15px 0;
    color: #bbb;
    font-size: 11px;
}
.between-ad-slot img { max-width: 100%; height: auto; }

/* --- HABER ETİKET RENK SINIFLAMASI (section-title h2) --- */
.section-title-gundem h2  { background: #dc2626 !important; }
.section-title-saglik h2  { background: #16a34a !important; }
.section-title-kripto h2  { background: #f97316 !important; }
.section-title-ekonomi h2 { background: #2563eb !important; }
.section-title-spor h2    { background: #0891b2 !important; }

/* --- PAZAR YERİ / ALIŞ SATIŞ TABLOSU --- */
.market-table-widget table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.market-table-widget th {
    background: var(--color-secondary);
    color: #fff;
    padding: 6px 8px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
}
.market-table-widget td {
    padding: 6px 8px;
    border-bottom: 1px solid #f5f5f5;
}
.market-table-widget tr:hover td { background: #fafafa; }

/* --- MOBİL KATEGORİ ÇUBUĞU (yatay kaydırılabilir) --- */
.mobile-cat-bar {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 0;
    margin-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mobile-cat-bar::-webkit-scrollbar { display: none; }
.mobile-cat-bar a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--color-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-decoration: none;
    margin-right: 6px;
}
@media (max-width: 768px) {
    .mobile-cat-bar { display: block; }
}

/* --- ARAMA KUTUSU GELİŞTİRME --- */
#search-overlay-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(204,0,0,0.15);
}
.search-result-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}
.search-result-item:hover { background: #fafafa; }
.search-result-thumb { width: 70px; height: 50px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.search-result-title { font-size: 13px; font-weight: 600; color: var(--color-text); line-height: 1.35; }
.search-result-cat { font-size: 11px; color: var(--color-primary); margin-top: 3px; }

/* --- SIDEBAR WIDGET BAŞLIĞI İYİLEŞTİRME --- */
.sidebar-widget-title {
    position: relative;
    overflow: hidden;
}
.sidebar-widget-title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(to left, var(--color-primary), transparent);
    opacity: 0.3;
}

/* --- ANA SAYFA PİYASALAR BANDI (section içinde) --- */
.markets-inline-widget {
    background: var(--color-secondary);
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0;
}
.markets-inline-widget .markets-tabs .markets-tab-btn {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}
.markets-inline-widget .markets-tabs .markets-tab-btn.active {
    background: var(--color-primary);
    color: #fff;
}
.markets-inline-widget .market-row { border-color: rgba(255,255,255,0.1); }
.markets-inline-widget .market-name { color: rgba(255,255,255,0.8); }
.markets-inline-widget .market-price { color: #fff; }

/* --- FOOTER HABER GRİD (daha iyi) --- */
.footer-news-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
}
.footer-news-item:last-child { border-bottom: none; }
.footer-news-thumb { width: 65px; height: 45px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.footer-news-title { font-size: 12px; color: rgba(255,255,255,0.8); line-height: 1.4; }
.footer-news-title:hover { color: var(--color-accent); }
.footer-news-date { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 3px; }

/* --- PRINT STİLLERİ --- */
@media print {
    .top-bar, .site-header, .sidebar, .footer, .doviz-bant,
    .dark-mode-toggle, #scroll-to-top, .social-share-bar { display: none !important; }
    .content-area { grid-template-columns: 1fr !important; }
    .entry-content { font-size: 12pt; line-height: 1.6; }
}

/* ============================================================
   MOBİL MENÜ - Temiz v6
   ============================================================ */

/* Toggle butonu */
.mobile-menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.mobile-menu-toggle:hover { background: rgba(255,255,255,0.18); }
.hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Karanlık overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 8000;
    backdrop-filter: blur(2px);
}
.mobile-nav-overlay.active { display: block; }

/* Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100dvh;
    background: #111827;
    z-index: 8001;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
}
.mobile-nav-panel.is-open { transform: translateX(0); }

/* Panel başlık */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--color-primary, #cc0000);
    flex-shrink: 0;
}
.mobile-nav-header .site-name {
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.3px;
}
.mobile-nav-close {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.25); }

/* Menü listesi */
.mobile-nav-panel .mobile-main-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    flex: 1;
}
.mobile-nav-panel .mobile-main-menu li { margin: 0; border: none; }
.mobile-nav-panel .mobile-main-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s, color 0.15s;
    letter-spacing: 0.2px;
}
.mobile-nav-panel .mobile-main-menu > li > a:hover,
.mobile-nav-panel .mobile-main-menu > li.current-menu-item > a {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
/* Ok ikonu */
.mobile-nav-panel .arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    flex-shrink: 0;
    transition: transform 0.2s, background 0.2s;
}
.mobile-nav-panel .arrow-icon svg { width: 12px; height: 12px; stroke: rgba(255,255,255,0.6); }
.mobile-nav-panel li.sub-open > a .arrow-icon { transform: rotate(180deg); background: rgba(255,255,255,0.15); }

/* Alt menü */
.mobile-nav-panel .sub-menu {
    display: none;
    list-style: none;
    padding: 4px 0;
    margin: 0;
    background: rgba(0,0,0,0.2);
}
.mobile-nav-panel .sub-menu.sub-open { display: block; }
.mobile-nav-panel .sub-menu li a {
    display: block;
    padding: 9px 18px 9px 34px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: color 0.15s;
}
.mobile-nav-panel .sub-menu li a:hover { color: rgba(255,255,255,0.9); }

/* Panel footer - sosyal */
.mobile-nav-footer {
    display: flex;
    gap: 14px;
    justify-content: center;
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.mobile-nav-footer a {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav-footer a:hover { background: var(--color-primary); color: #fff; }

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex !important; }
}
@media (min-width: 769px) {
    .mobile-menu-toggle { display: none !important; }
    .mobile-nav-panel  { display: none !important; }
    .mobile-nav-overlay { display: none !important; }
    .main-menu { display: flex !important; }
}

/* İkincil (sağ) menü */
.secondary-nav { margin-left: auto; display: flex; align-items: center; }
.secondary-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.secondary-menu > li > a {
    display: block;
    padding: 10px 12px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
    border-left: 1px solid rgba(255,255,255,0.1);
    transition: color 0.2s, background 0.2s;
}
.secondary-menu > li > a:hover { color: #fff; background: rgba(255,255,255,0.07); }

