/*
Theme Name: Diginest
Theme URI: https://diginest.com
Author: Diginest Team
Author URI: https://diginest.com
Description: DonanımHaber tarzı profesyonel teknoloji haber teması
Version: 3.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: diginest
Tags: news, technology, magazine, blog, responsive

This theme, like WordPress, is licensed under the GPL.
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8555;
    --secondary-color: #1a1a1a;
    --accent-color: #00D9FF;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #e8e8e8;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3d3d3d;
    --text-primary: #f5f5f5;
    --text-secondary: #cccccc;
    --text-light: #999999;
    --border-color: #404040;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* KOYU VE DERİNLİKLİ ARKA PLAN */
    background: radial-gradient(ellipse at 50% 0%, 
        #fffcf7 0%,        /* Merkez: Sıcak Beyaz */
        #fff4e6 35%,       /* Geçiş: Açık Krem */
        rgba(255, 107, 53, 0.45) 100% /* Kenarlar: Doygun Turuncu */
    );
    background-attachment: fixed;
    
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Dark Mode'da Düz Arka Plan */
[data-theme="dark"] body {
    background: var(--bg-secondary);
    background-attachment: scroll;
}

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

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

/* ============================================
   CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.site-main {
    flex: 1;
    padding: 20px 0;
    width: 100%;
}

/* ============================================
   TOP BAR (Sosyal Medya & Tarih)
   ============================================ */
.top-bar {
    background: #111111;
    color: #fff;
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
    z-index: 1002;
}

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

.top-bar-date {
    font-weight: 500;
    opacity: 0.9;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-social {
    display: flex;
    gap: 12px;
}

.top-bar-social a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.top-bar-social a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.top-bar-auth {
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
}

.top-bar-auth:hover {
    color: var(--primary-light);
}

/* ============================================
   HEADER - DÜZENLENMİŞ VE TEMİZ
   ============================================ */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.header-main-inner {
    display: flex;
    align-items: center;
    height: 60px;
    gap: 20px;
}

.site-branding {
    flex-shrink: 0;
}

.site-branding img {
    height: 32px;
    width: auto;
}

.site-branding h1 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.site-branding a {
    color: var(--primary-color);
}

/* Ana Menü - GÖRÜNÜR OLMASI İÇİN */
.main-navigation {
    flex: 1;
    display: block !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 10px;
}

.main-navigation ul {
    list-style: none;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.main-navigation li {
    display: inline-block !important;
    position: relative;
    margin: 0;
}

.main-navigation a {
    display: block !important;
    color: #333333 !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 20px 12px;
    line-height: 1;
    position: relative;
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.main-navigation a:hover::after,
.main-navigation a.current-menu-item::after {
    transform: scaleX(1);
}

.main-navigation a:hover {
    color: var(--primary-color) !important;
    background: rgba(255,107,53,0.05);
}

/* Arama ve Dark Mode */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.search-form {
    position: relative;
}

.search-form input {
    padding: 7px 32px 7px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    width: 150px;
    font-size: 0.82rem;
    transition: width 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    width: 190px;
}

.search-form input::placeholder {
    color: var(--text-light);
}

.search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.8rem;
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ============================================
   REKLAM ALANI (Sadece reklam varsa görünür)
   ============================================ */
.header-ad-wrapper {
    background: var(--bg-primary);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.header-ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.header-ad-container > * {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    margin: 0 0 20px;
}

.slider-container {
    max-width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-main {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.slider-item.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    color: #fff;
}

.slider-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.slider-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.slider-title a {
    color: #fff;
}

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

.slider-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    opacity: 0.85;
}

.slider-side {
    background: var(--bg-primary);
    overflow-y: auto;
    max-height: 400px;
    border-left: 1px solid var(--border-color);
}

.side-news-item {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.side-news-item:hover {
    background: var(--bg-secondary);
}

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

.side-news-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.side-news-content {
    flex: 1;
    min-width: 0;
}

.side-news-title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-news-meta {
    font-size: 0.7rem;
    color: var(--text-light);
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 25px;
    border-radius: 5px;
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs-wrapper {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.filter-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tabs a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
}

.filter-tabs a:hover {
    color: var(--primary-color);
    background: rgba(255,107,53,0.05);
}

.filter-tabs a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(255,107,53,0.08);
    pointer-events: none;
}

.filter-tabs a i {
    font-size: 13px;
}

/* ============================================
   CONTENT GRID
   ============================================ */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    margin-bottom: 30px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* ============================================
   NEWS CARD
   ============================================ */
.news-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.news-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.news-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.news-card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

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

.news-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.news-stats {
    display: flex;
    gap: 10px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.widget {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
}

.widget-title i {
    color: var(--primary-color);
}

/* Trending Widget */
.trending-list {
    list-style: none;
}

.trending-item {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.trending-item:hover .trending-title {
    color: var(--primary-color);
}

.trending-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.35;
    min-width: 22px;
    line-height: 1;
}

.trending-content {
    flex: 1;
    min-width: 0;
}

.trending-title {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 3px;
}

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

.trending-meta {
    font-size: 0.7rem;
    color: var(--text-light);
}

/* Categories Widget */
.widget-categories .cat-list {
    list-style: none;
}

.widget-categories .cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-color);
}

.widget-categories .cat-item:last-child {
    border-bottom: none;
}

.widget-categories .cat-item:hover .cat-link {
    color: var(--primary-color);
}

.cat-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.35;
    min-width: 20px;
    text-align: center;
}

.cat-info {
    flex: 1;
}

.cat-link {
    font-size: 0.82rem;
    font-weight: 600;
}

.cat-count {
    font-size: 0.7rem;
    color: var(--text-light);
}

.cat-arrow {
    color: var(--text-light);
    font-size: 0.75rem;
}

.widget-categories .cat-item:hover .cat-arrow {
    color: var(--primary-color);
    transform: translateX(2px);
}

/* ============================================
   AD SPACES
   ============================================ */
.ad-space {
    background: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px 0;
    border-radius: var(--radius-sm);
    min-height: 90px;
    overflow: hidden;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.single-post-featured {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.single-post-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-post-header {
    padding: 25px 30px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.single-post-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 12px 0 15px;
    color: var(--text-primary);
}

.single-post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-light);
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-post-content {
    padding: 25px 30px 30px;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.single-post-content p {
    margin-bottom: 18px;
}

.single-post-content img {
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.single-post-content h2 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    font-weight: 700;
}

.single-post-content h3 {
    font-size: 1.25rem;
    margin: 20px 0 12px;
    font-weight: 600;
}

.single-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 20px 0;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

.single-post-content ul,
.single-post-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.single-post-content li {
    margin-bottom: 8px;
}

.single-post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.single-post-content a:hover {
    color: var(--primary-dark);
}

.single-post-content pre {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin: 15px 0;
}

.single-post-content code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    margin-top: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.comments-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.comments-title span {
    background: var(--primary-color);
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.comment-list {
    list-style: none;
    margin-bottom: 22px;
}

.comment-item {
    padding: 18px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    overflow: visible;
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-avatar {
    float: left;
    margin-right: 15px;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    overflow: visible;
}

.comment-author {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.comment-author a {
    color: var(--text-primary);
}

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

.comment-date {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.comment-text {
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--text-secondary);
    overflow: visible;
}

.comment-text p {
    margin-bottom: 8px;
}

.comment-reply-link {
    font-size: 0.82rem;
    color: var(--primary-color);
    font-weight: 600;
}

.comment-reply-link:hover {
    color: var(--primary-dark);
}

.children {
    list-style: none;
    margin-left: 30px;
    margin-top: 15px;
}

/* Comment Form */
.comment-respond {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
}

.comment-reply-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.comment-reply-title small {
    margin-left: 10px;
    font-weight: 400;
}

.comment-reply-title a {
    color: var(--primary-color);
}

.comment-form {
    background: var(--bg-secondary);
    padding: 22px;
    border-radius: var(--radius-md);
    overflow: visible;
}

.comment-form p {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.comment-form .required {
    color: #dc3545;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.comment-form textarea {
    min-height: 130px;
    resize: vertical;
}

.comment-form-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 5px;
}

.comment-form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.comment-form-cookies-consent input {
    width: auto;
}

.comment-notes {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.no-comments {
    text-align: center;
    padding: 30px;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   PREMIUM FOOTER
   ============================================ */
.site-footer {
    background: var(--secondary-color);
    color: #fff;
    width: 100%;
    position: static;
    margin-top: auto;
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.footer-col h3.footer-widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary-color);
}

.footer-brand .footer-logo {
    margin-bottom: 15px;
}

.footer-brand .footer-logo img,
.footer-brand .footer-logo h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin: 0;
}

.footer-brand .footer-logo img {
    max-height: 38px;
    width: auto;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.92rem;
}

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

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

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

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
}

.footer-contact i {
    color: var(--primary-color);
    width: 16px;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
}

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

.footer-newsletter p {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.newsletter-form {
    display: flex;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255,255,255,0.1);
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    padding: 10px 14px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    padding: 20px 0;
    background: rgba(0,0,0,0.25);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

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

/* ============================================
   INFINITE SCROLL
   ============================================ */
.infinite-scroll-trigger {
    text-align: center;
    padding: 22px;
    grid-column: 1 / -1;
}

.infinite-scroll-button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 11px 30px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
}

.infinite-scroll-button:hover {
    background: var(--primary-dark);
}

.infinite-scroll-loading {
    display: none;
    padding: 22px;
    text-align: center;
    grid-column: 1 / -1;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   CATEGORY PAGE
   ============================================ */
.category-header {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin: 18px 0;
    box-shadow: var(--shadow-sm);
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

/* ============================================
   DARK MODE DÜZELTMELERİ (MENÜ GÖRÜNÜRLÜĞÜ)
   ============================================ */
[data-theme="dark"] .site-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
}

[data-theme="dark"] .top-bar {
    background: #111111;
}

[data-theme="dark"] .main-navigation a {
    color: #333333 !important;
}

[data-theme="dark"] .main-navigation a:hover {
    color: #FF6B35 !important;
}

[data-theme="dark"] .search-form input {
    background: #f5f5f5 !important;
    color: #333333 !important;
    border-color: #e0e0e0 !important;
}

[data-theme="dark"] .theme-toggle {
    background: #f5f5f5 !important;
    color: #333333 !important;
    border-color: #e0e0e0 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-col h3.footer-widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .top-bar { display: none; }
    
    .header-main-inner {
        height: auto;
        padding: 12px 0;
        flex-wrap: wrap;
    }
    
    .site-branding {
        margin-right: 0;
    }
    
    .menu-toggle {
        display: block !important;
        order: 2;
        margin-left: auto;
    }
    
    .header-actions {
        order: 3;
        margin-left: 0;
    }
    
    .main-navigation {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-navigation.menu-open {
        max-height: 500px;
    }
    
    .main-navigation ul {
        flex-direction: column !important;
        padding-top: 10px;
        border-top: 1px solid var(--border-color);
        margin-top: 10px;
    }
    
    .main-navigation a {
        padding: 12px 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    .search-form input {
        width: 130px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        grid-template-columns: 1fr;
    }
    
    .slider-main {
        min-height: 280px;
    }
    
    .slider-title {
        font-size: 1.1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-header-inner {
        flex-direction: column;
        gap: 8px;
    }
    
    .logo-header-ad {
        justify-content: center;
    }
    
    .header-ad-placeholder {
        width: 100%;
        height: 60px;
    }
    
    .single-post-title {
        font-size: 1.3rem;
    }
    
    .single-post-featured {
        height: 220px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3.footer-widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .top-nav a {
        font-size: 11px;
        padding: 5px 6px;
    }
    
    .search-form input {
        width: 110px;
    }
    
    .filter-tabs a {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .single-post-header,
    .single-post-content {
        padding: 16px;
    }
    
    .comments-area {
        padding: 16px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }