/*
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: 1.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; }
}
