/*
Theme Name: Adsense Blog Theme
Description: Modern dark blog theme with purple gradients and card-based layout, inspired by gaming/anime aesthetics
Author: Custom Theme
Version: 1.0
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Header Styles */
.site-header {
    background: #2d2d2d;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-bottom: 1px solid #404040;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Header Layout Variations */
.site-header.centered-layout .header-container {
    justify-content: center;
    text-align: center;
}

.site-header.centered-layout .main-navigation {
    flex: none;
    margin: 0 2rem;
}

.site-header.centered-layout .header-actions {
    position: absolute;
    right: 2rem;
}

.site-header.minimal-layout {
    padding: 0.5rem 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.site-header.minimal-layout .header-container {
    padding: 0 1rem;
}

.site-header.minimal-layout .site-logo {
    font-size: 1.3rem;
}

.site-header.minimal-layout .main-navigation ul {
    gap: 1.5rem;
}

.site-header.minimal-layout .main-navigation a {
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

/* Common Container for Header and Content */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    box-sizing: border-box;
}

.site-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    gap: 0.8rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: #4a9eff;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a9eff;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Main Content Area */
.site-main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    box-sizing: border-box;
}

/* 404 page styles override - ensure no conflicts */
.error-404 .site-main {
    padding: 0 !important;
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

/* Blog Posts Grid */
.posts-container {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
}

/* Hero Slider */
.hero-slider {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    margin: 0;
    height: 300px;
}

/* Main Slider Post (Left Side) */
.slider-main-post {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: flex-end;
}

.slider-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slider-main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.slider-main-content {
    position: relative;
    z-index: 3;
    padding: 1.5rem;
    width: 100%;
}

.slider-main-rating {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
    color: white;
}

.slider-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    display: inline-block;
    color: white;
}

.slider-main-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.slider-main-title a {
    color: white;
    text-decoration: none;
}

.slider-main-title a:hover {
    color: #4a9eff;
}

.slider-main-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    opacity: 0.9;
    color: white;
}

/* Side Posts (Right Side) */
.slider-side-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.slider-side-post {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: calc(50% - 0.5rem);
    display: flex;
    align-items: flex-end;
}

.slider-side-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slider-side-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.slider-side-content {
    position: relative;
    z-index: 3;
    padding: 1rem;
    width: 100%;
}

.slider-side-rating {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: bold;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 4;
    color: white;
    font-size: 0.8rem;
}

.slider-side-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.slider-side-title a {
    color: white;
    text-decoration: none;
}

.slider-side-title a:hover {
    color: #4a9eff;
}

.slider-side-meta {
    font-size: 0.7rem;
    opacity: 0.9;
    color: white;
}

/* Homepage Posts */
.homepage-posts {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

/* Blog Layout Variations */
.blog-layout-grid .homepage-grid-posts {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-layout-masonry .homepage-grid-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: masonry;
}

/* Masonry fallback for browsers that don't support it */
@supports not (grid-template-rows: masonry) {
    .blog-layout-masonry .homepage-grid-posts {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

/* Author Display Styles */
.homepage-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #cccccc;
}

.homepage-author img {
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.homepage-featured-meta .homepage-author img {
    width: 24px;
    height: 24px;
}

/* Light Mode Author Styles */
.light-mode .homepage-author {
    color: #666666;
}

/* Homepage Featured Posts (Full Width) */
.homepage-featured-post {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1rem;
    background: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: stretch;
    margin: 0 0 1rem 0;
}

.homepage-featured-post:first-child {
    margin-top: 0;
}

.homepage-featured-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.homepage-featured-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

.homepage-featured-image .featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-featured-rating {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #4a9eff;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.homepage-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.homepage-featured-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.homepage-featured-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.homepage-featured-title a:hover {
    color: #4a9eff;
}

.homepage-featured-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #cccccc;
}

.homepage-featured-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 4.8rem; /* 3 satır için sabit yükseklik */
}

.homepage-read-more {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.homepage-read-more:hover {
    color: #357abd;
}

/* Homepage Grid Posts (2-Column) */
.homepage-grid-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.homepage-grid-post {
    background: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.homepage-grid-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.homepage-grid-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.homepage-grid-image .grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.homepage-grid-rating {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #4a9eff;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

.homepage-grid-content {
    padding: 1rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.homepage-grid-category {
    background: rgba(74, 158, 255, 0.2);
    color: #4a9eff;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.homepage-grid-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
    line-height: 1.3;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.homepage-grid-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.homepage-grid-title a:hover {
    color: #4a9eff;
}

.homepage-grid-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #cccccc;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 0.5rem;
}

.homepage-date {
    color: #cccccc;
}

.homepage-comments {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Regular Posts */
.regular-posts {
    display: grid;
    gap: 2rem;
}

/* Featured Post (Legacy - keeping for compatibility) */
.featured-post {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.featured-post-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.featured-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    z-index: 2;
}

.featured-post-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    width: 100%;
}

.post-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
}

.post-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.post-rating {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
}

/* Regular Posts */
.post-card {
    background: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 1.5rem;
}

.post-card .post-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.post-card .post-title a {
    color: #ffffff;
    text-decoration: none;
}

.post-card .post-title a:hover {
    color: #4a9eff;
}

.post-excerpt {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more {
    color: #4a9eff;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more::after {
    content: "→";
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: fit-content;
    position: static;
}

.sidebar-widget {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 1rem;
}

.sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a9eff;
    color: #4a9eff;
}

.category-list {
    list-style: none;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #404040;
}

.category-list a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.category-list a:hover {
    color: #4a9eff !important;
}

.category-count {
    background: #404040;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-size: 0.8rem;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}


/* ===== POPULAR POSTS - RADIKAL YENİ TASARIM ===== */

/* Ana Popular Posts Widget - Mobil First Yaklaşım */
.popular-posts-widget {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.popular-posts-widget .sidebar-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #4a9eff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Popular Posts List Container */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Popular Post Item - Mobil Optimized */
.popular-post-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.popular-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

/* Post Thumbnail - Radikal Yeni Tasarım */
.popular-post-item .post-thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.popular-post-item:hover .post-thumbnail {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.popular-post-item .post-thumbnail img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.popular-post-item:hover .post-thumbnail img {
    transform: scale(1.1);
}

/* No Thumbnail Placeholder */
.popular-post-item .no-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Post Content */
.popular-post-item .post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 0.3rem;
}

/* Post Title - Geliştirilmiş Typography */
.popular-post-item .post-title {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.popular-post-item .post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.popular-post-item .post-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4a9eff, #667eea);
    transition: width 0.3s ease;
}

.popular-post-item .post-title a:hover {
    color: #4a9eff;
    text-shadow: 0 0 8px rgba(74, 158, 255, 0.3);
}

.popular-post-item .post-title a:hover::after {
    width: 100%;
}

/* Post Date */
.popular-post-item .post-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.popular-post-item .post-date::before {
    content: "📅";
    font-size: 0.7rem;
}

/* No Popular Posts */
.no-popular-posts {
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* ===== LIGHT MODE POPULAR POSTS ===== */
.light-mode .popular-posts-widget {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.light-mode .popular-posts-widget .sidebar-title {
    color: #333333;
    border-bottom-color: #4a9eff;
}

.light-mode .popular-post-item {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.light-mode .popular-post-item:hover {
    background: rgba(74, 158, 255, 0.05);
}

.light-mode .popular-post-item .post-title a {
    color: #333333;
}

.light-mode .popular-post-item .post-title a:hover {
    color: #4a9eff;
    text-shadow: 0 0 8px rgba(74, 158, 255, 0.2);
}

.light-mode .popular-post-item .post-date {
    color: rgba(0, 0, 0, 0.6);
}

.light-mode .no-popular-posts {
    color: rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ===== MOBIL RESPONSIVE - RADIKAL YAKLAŞIM ===== */

/* Tablet ve Küçük Desktop */
@media (max-width: 1024px) {
    .popular-posts-widget {
        padding: 0.9rem;
        margin-bottom: 1.3rem;
    }
    
    .popular-post-item .post-thumbnail {
        width: 65px;
        height: 65px;
    }
    
    .popular-post-item .post-thumbnail img {
        width: 65px !important;
        height: 65px !important;
    }
}

/* Mobil Cihazlar - 768px ve altı */
@media (max-width: 768px) {
    .popular-posts-widget {
        padding: 0.8rem;
        margin-bottom: 1.2rem;
        border-radius: 12px;
    }
    
    .popular-posts-widget .sidebar-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.4rem;
        border-bottom-width: 2px;
    }
    
    .popular-post-item {
        gap: 0.7rem;
        padding: 0.7rem 0;
    }
    
    .popular-post-item .post-thumbnail {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }
    
    .popular-post-item .post-thumbnail img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .popular-post-item .post-title {
        font-size: 0.85rem;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }
    
    .popular-post-item .post-date {
        font-size: 0.7rem;
    }
    
    .popular-post-item:hover {
        margin: 0 -0.8rem;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        transform: translateX(3px);
    }
}

/* Küçük Mobil Cihazlar - 480px ve altı */
@media (max-width: 480px) {
    .popular-posts-widget {
        padding: 0.6rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .popular-posts-widget .sidebar-title {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }
    
    .popular-post-item {
        gap: 0.6rem;
        padding: 0.6rem 0;
    }
    
    .popular-post-item .post-thumbnail {
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }
    
    .popular-post-item .post-thumbnail img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .popular-post-item .post-title {
        font-size: 0.8rem;
        line-height: 1.2;
        -webkit-line-clamp: 2;
        font-weight: 500;
    }
    
    .popular-post-item .post-date {
        font-size: 0.65rem;
    }
    
    .popular-post-item:hover {
        margin: 0 -0.6rem;
        padding-left: 0.6rem;
        padding-right: 0.6rem;
        transform: translateX(2px);
    }
    
    .no-popular-posts {
        padding: 1.5rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Çok Küçük Mobil Cihazlar - 360px ve altı */
@media (max-width: 360px) {
    .popular-posts-widget {
        padding: 0.5rem;
        border-radius: 8px;
    }
    
    .popular-post-item {
        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    
    .popular-post-item .post-thumbnail {
        width: 45px;
        height: 45px;
        border-radius: 6px;
    }
    
    .popular-post-item .post-thumbnail img {
        width: 45px !important;
        height: 45px !important;
    }
    
    .popular-post-item .post-title {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .popular-post-item .post-date {
        font-size: 0.6rem;
    }
}

/* Latest Reviews */
.latest-reviews {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review-item {
    position: relative;
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.review-image-link {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.review-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-image-link:hover .review-image {
    transform: scale(1.05);
}

.review-rating {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #4a9eff;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.review-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1rem 1rem;
    border-radius: 0 0 10px 10px;
}

.review-title {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.review-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-title a:hover {
    color: #4a9eff;
}

/* Social Buttons */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.facebook:hover {
    background: #166fe5;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.twitter:hover {
    background: #0d8bd9;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #e08322 0%, #d5572b 25%, #cb1632 50%, #bb1255 75%, #ab0777 100%);
}

.social-btn.youtube {
    background: #ff0000;
}

.social-btn.youtube:hover {
    background: #e60000;
}

.social-btn.discord {
    background: #5865f2;
}

.social-btn.discord:hover {
    background: #4752c4;
}

.social-btn.twitch {
    background: #9146ff;
}

.social-btn.twitch:hover {
    background: #7c3aed;
}

.social-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 2rem 0 1rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #4a9eff;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Pages List (No Numbers) */
.footer-pages-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-pages-list li {
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 0;
}

.footer-pages-list a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.2rem 0;
}

.footer-pages-list a:hover {
    color: #4a9eff;
}

/* Footer Posts with Images */
.footer-posts-with-images {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-post-item {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
    padding-bottom: 0.2rem;
}

.footer-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-post-image {
    flex-shrink: 0;
}

.footer-post-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.footer-post-content {
    flex: 1;
    min-width: 0;
}

.footer-post-content a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
    display: block;
    margin-bottom: 0.2rem;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.footer-post-content a:hover {
    color: #4a9eff;
}

.footer-post-excerpt {
    color: #95a5a6;
    font-size: 0.8rem;
    line-height: 1.4;
    display: block;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 1rem 0 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.85rem;
    text-align: left;
    flex: 1;
    width: 100%;
    max-width: 100%;
}

.footer-copyright p {
    margin: 0;
    line-height: 1.4;
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(74, 158, 255, 0.2);
    color: #4a9eff;
    transform: translateY(-1px);
    border-color: rgba(74, 158, 255, 0.3);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

/* Single Post Styles - Dark Mode Compatible */
.single-post-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
}

/* Single Post Page Site Main Override */
.single .site-main {
    padding: 0;
    display: block;
    grid-template-columns: none;
    gap: 0;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Category Badge */
.post-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.category-label {
    background: #4a9eff;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

/* Single Post Featured Image */
.single-post-featured-image {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.single-post-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Single Post Title */
.single-post-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 0 1rem;
}

/* Simple Meta */
.post-meta-simple {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.post-meta-simple svg {
    opacity: 0.7;
}

/* Single Post Content Wrapper */
.single-post-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

/* Single Post Article */
.single-post-article {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Single Post Content */
.single-post-content {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
    margin: 0 auto;
}

.post-content-body {
    line-height: 1.7;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 3rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.post-content-body p {
    margin-bottom: 1.5rem;
    text-align: left;
    color: #cccccc;
}

.post-content-body h1,
.post-content-body h2,
.post-content-body h3,
.post-content-body h4,
.post-content-body h5,
.post-content-body h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.post-content-body h2 {
    font-size: 1.6rem;
}

.post-content-body h3 {
    font-size: 1.4rem;
}

.post-content-body img {
    width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.post-content-body blockquote {
    background: #404040;
    border-left: 4px solid #4a9eff;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #ffffff;
    border-radius: 4px;
}

.post-content-body code {
    background: #404040;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', monospace;
    color: #4a9eff;
    font-size: 0.9rem;
}

.post-content-body pre {
    background: #404040;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #555;
    color: #ffffff;
}

.post-content-body pre code {
    background: transparent;
    color: #ffffff;
    padding: 0;
}

.post-content-body ul,
.post-content-body ol {
    color: #cccccc;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content-body li {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.post-content-body a {
    color: #4a9eff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content-body a:hover {
    color: #357abd;
    text-decoration: underline;
}

.post-content-body strong {
    color: #ffffff;
    font-weight: 600;
}

.post-content-body em {
    color: #ffffff;
    font-style: italic;
}



/* Single Post Sidebar */
.single-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
    color: #000000;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Single Post Sidebar Popular Posts - Override for Single Pages */
.single-post-sidebar .popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.single-post-sidebar .popular-post {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e1e4e8;
    transition: all 0.3s ease;
}

.single-post-sidebar .popular-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* General Popular Post Hover Effects - All Pages */
.popular-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.single-post-sidebar .popular-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.single-post-sidebar .popular-post-image {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.single-post-sidebar .popular-post-image img {
    width: 45px !important;
    height: 45px !important;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.single-post-sidebar .popular-post:hover .popular-post-image img {
    transform: scale(1.05);
}

.single-post-sidebar .popular-post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.single-post-sidebar .popular-post-title {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.single-post-sidebar .popular-post-title a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.single-post-sidebar .popular-post-title a:hover {
    color: #4a9eff;
}

.single-post-sidebar .popular-post-date {
    font-size: 0.8rem;
    color: #666666;
    margin: 0;
}

/* Category List */
.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.category-list a:hover {
    color: #007bff;
}

.category-count {
    background: #f8f9fa;
    color: #666666;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sidebar-widget {
    background: #2d2d2d;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.sidebar-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #4a9eff;
    color: #4a9eff;
    font-weight: 600;
}

/* Table of Contents */
.toc-widget {
    position: sticky;
    top: 100px;
}

#table-of-contents {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

#table-of-contents::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

#table-of-contents ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#table-of-contents li {
    margin-bottom: 0.5rem;
}

#table-of-contents a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

#table-of-contents a:hover {
    color: #4a9eff;
}

#table-of-contents .toc-h2 {
    font-weight: 600;
}

#table-of-contents .toc-h3 {
    padding-left: 1rem;
    font-size: 0.85rem;
}

#table-of-contents .toc-h4 {
    padding-left: 2rem;
    font-size: 0.8rem;
}


/* Single Sidebar */
.single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: #2d2d2d;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.sidebar-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #4a9eff;
    color: #4a9eff;
    font-weight: 600;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-toggle, .theme-toggle, .mobile-menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.search-toggle:hover, .theme-toggle:hover, .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #2d2d2d;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    right: 0;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid #404040;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-nav {
    padding: 1rem 0;
}

.mobile-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-nav li {
    border-bottom: 1px solid #404040;
}

.mobile-menu-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-nav a:hover {
    background: rgba(74, 158, 255, 0.1);
    color: #4a9eff;
    padding-left: 2rem;
}

.mobile-menu-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #4a9eff;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-menu-nav a:hover::before {
    transform: scaleY(1);
}

.mobile-menu-actions {
    padding: 1.5rem;
    border-top: 1px solid #404040;
    display: flex;
    gap: 1rem;
}

/* Mobile Menu Categories Section */
.mobile-menu-section {
    padding: 1rem 0;
    border-top: 1px solid #404040;
}

.mobile-menu-section-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0 1.5rem 1rem 1.5rem;
    margin: 0;
    color: #4a9eff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-menu-section-title svg {
    color: #4a9eff;
    flex-shrink: 0;
}

.mobile-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-categories-list li {
    border-bottom: 1px solid #404040;
}

.mobile-categories-list li:last-child {
    border-bottom: none;
}

.mobile-categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-categories-list a:hover {
    background: rgba(74, 158, 255, 0.1);
    color: #4a9eff;
    padding-left: 2rem;
}

.mobile-categories-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #4a9eff;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-categories-list a:hover::before {
    transform: scaleY(1);
}

.mobile-categories-list .cat-count {
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: normal;
    background: #404040;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    min-width: 24px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mobile-categories-list a:hover .cat-count {
    background: rgba(74, 158, 255, 0.2);
    color: #4a9eff;
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid #4a9eff;
    color: #4a9eff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-action-btn:hover {
    background: #4a9eff;
    color: #ffffff;
}

/* Search Form */
.search-form-container {
    background: #1a1a1a;
    padding: 1.5rem 0;
    border-top: 1px solid #404040;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.search-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.search-form {
    width: 100%;
}

.search-form-inner {
    display: flex;
    align-items: center;
    background: #404040;
    border-radius: 25px;
    padding: 0.5rem;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #555;
    transition: border-color 0.3s ease;
}

.search-form-inner:focus-within {
    border-color: #4a9eff;
    box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.2);
}

.search-field {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    outline: none;
}

.search-field::placeholder {
    color: #cccccc;
    opacity: 0.8;
}

.search-submit {
    background: #4a9eff;
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
}

.search-submit:hover {
    background: #357abd;
    transform: scale(1.05);
}

.search-submit svg {
    width: 18px;
    height: 18px;
}

/* Footer Styles */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #cccccc;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #4a9eff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

.back-to-top.show {
    display: flex;
}

/* Pagination - Görseldeki Tasarım */
.pagination-wrapper {
    margin: 2rem 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    background: transparent;
}

.page-numbers {
    display: inline-flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    background: transparent;
    border-radius: 8px;
    box-shadow: none;
    border: none;
    overflow: hidden;
}

.page-numbers a, 
.page-numbers span {
    padding: 0.8rem 1rem;
    background: transparent;
    color: #cccccc;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 0.9rem;
    border: none;
    position: relative;
    border-right: 1px solid #404040;
}

.page-numbers a:last-child,
.page-numbers span:last-child {
    border-right: none;
}

.page-numbers a:hover {
    background: #404040;
    color: #ffffff;
}

.page-numbers .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    cursor: default;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.page-numbers .next {
    font-weight: 500;
    padding: 0.8rem 1.2rem;
    background: transparent;
    font-size: 0.85rem;
    color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    line-height: 1;
    min-width: 80px;
    position: relative;
}

.page-numbers .next:hover {
    background: #404040;
    color: #ffffff;
}

.page-numbers .next::after {
    content: ">";
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    margin-left: 0.3rem;
}


/* Page Header Styles */
.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: #ffffff;
}

/* Entry Header Styles for Single Posts */
.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: #ffffff;
}

.entry-meta {
    color: #cccccc;
    font-size: 0.9rem;
}

.entry-meta .posted-on {
    margin-right: 1rem;
}

.entry-meta .author {
    color: #ffffff;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.category-count {
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.category-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.category-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Category Content Wrapper */
.category-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Category Posts Section */
.category-posts-section {
    width: 100%;
}

/* Category Sidebar */
.category-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.category-sidebar .sidebar-widget {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.category-sidebar .sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a9eff;
    color: #4a9eff;
    font-weight: 600;
}

/* Category Posts Grid */
.category-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-post-card {
    background: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.category-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.category-post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.category-post-image .category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-post-card:hover .category-img {
    transform: scale(1.05);
}

.no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
}

.placeholder-content {
    text-align: center;
    opacity: 0.7;
}

.category-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #cccccc;
}

.category-post-comments {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.category-post-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.category-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-post-title a:hover {
    color: #4a9eff;
}

.category-post-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    height: 3.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.category-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.category-read-more:hover {
    color: #357abd;
    transform: translateX(3px);
}

.category-read-more svg {
    transition: transform 0.3s ease;
}

.category-read-more:hover svg {
    transform: translateX(3px);
}

/* Category Pagination */
.category-pagination {
    text-align: center;
    margin: 3rem 0;
}

.category-pagination .page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.category-pagination .page-numbers a,
.category-pagination .page-numbers span {
    padding: 0.8rem 1.2rem;
    background: #2d2d2d;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-pagination .page-numbers a:hover,
.category-pagination .page-numbers .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 4rem 2rem;
    background: #2d2d2d;
    border-radius: 15px;
    margin: 2rem 0;
}

.no-posts-content svg {
    color: #4a9eff;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-posts-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.no-posts-content p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.back-home-btn:hover {
    transform: translateY(-2px);
}

/* Category Sidebar Styles */
.related-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #404040;
    transition: all 0.3s ease;
}

.related-categories li:hover {
    background: rgba(74, 158, 255, 0.1);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.related-categories a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.related-categories a:hover {
    color: #4a9eff;
}

.related-categories .category-count {
    background: #404040;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #cccccc;
}

/* Category Popular Posts */
.category-popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-popular-post {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #404040;
    transition: all 0.3s ease;
}

.category-popular-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.category-popular-post:last-child {
    border-bottom: none;
}

/* Category Popular Posts - Specific for Category Pages */
.category-popular-post .popular-post-thumb {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.category-popular-post .popular-post-thumb img {
    width: 45px !important;
    height: 45px !important;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.category-popular-post .popular-post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-popular-post .popular-post-title {
    font-size: 0.9rem;
    margin: 0 0 0.3rem 0;
    line-height: 1.4;
}

.category-popular-post .popular-post-title a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.category-popular-post .popular-post-title a:hover {
    color: #4a9eff;
}

.category-popular-post .popular-post-date {
    font-size: 0.8rem;
    color: #cccccc;
    margin: 0;
}

/* Latest Posts */
.latest-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.latest-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #404040;
    transition: all 0.3s ease;
}

.latest-post-item:hover {
    background: rgba(74, 158, 255, 0.05);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.latest-post-item:last-child {
    border-bottom: none;
}

.latest-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.latest-post-content {
    flex: 1;
    min-width: 0;
}

.latest-post-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.latest-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-post-title a:hover {
    color: #4a9eff;
}

.latest-post-meta {
    font-size: 0.8rem;
    color: #cccccc;
}

/* Desktop Specific Styles */
@media (min-width: 1200px) {
    .header-container,
    .site-main,
    .single-post-container {
        max-width: 1200px;
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 2rem;
        padding-right: 2rem;
        box-sizing: border-box;
    }
}

/* Mobile and Tablet Override for Fixed Widths */
@media (max-width: 1199px) {
    .header-container,
    .site-main,
    .single-post-container {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    /* Footer content width fix */
    .footer-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    /* Footer columns responsive */
    .footer-columns {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Container fixes for mobile */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVENESS ===== */

/* Mobile Menu Display */
@media (max-width: 768px) {
    /* Show mobile menu toggle, hide desktop navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        display: none;
    }
    
    /* Force mobile-friendly viewport */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    /* Prevent horizontal scrolling */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    /* All containers must respect mobile width */
    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    /* Images responsive */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Hide Popular Posts section in mobile view */
    .sidebar .sidebar-widget:nth-child(2) {
        display: none !important;
    }
    
    /* Hide Latest Reviews section in mobile view */
    .latest-reviews,
    .sidebar .sidebar-widget:has(.latest-reviews) {
        display: none !important;
    }
    
    /* Hide Categories section in mobile view (first sidebar widget) */
    .sidebar .sidebar-widget:first-child {
        display: none !important;
    }
    
    /* Add spacing between header and content in category pages mobile view - match homepage */
    .category-content-wrapper {
        padding: 0.75rem !important;
    }
    
    /* Hide footer columns in mobile view - keep only first column (Pages) */
    .footer-columns .footer-column:nth-child(2),
    .footer-columns .footer-column:nth-child(3) {
        display: none !important;
    }
    
    /* Make first footer column full width on mobile */
    .footer-columns .footer-column:nth-child(1) {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    /* Header Mobile Layout */
    .header-container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        justify-content: space-between;
        flex-direction: row;
        gap: 0;
    }
    
    .site-logo {
        font-size: 1.3rem;
        gap: 0.6rem;
    }
    
    .logo-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    /* Header Actions Mobile */
    .header-actions {
        gap: 0.5rem;
    }
    
    .search-toggle, .theme-toggle, .mobile-menu-toggle {
        padding: 0.4rem;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Main Content Mobile */
    .site-main {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.75rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    /* Hero Slider Mobile */
    .hero-slider {
        grid-template-columns: 1fr;
        gap: 1rem;
        height: auto;
    }
    
    .slider-main-post {
        height: 250px;
    }
    
    .slider-side-posts {
        grid-template-columns: 1fr;
        gap: 1rem;
        display: grid;
    }
    
    .slider-side-post {
        height: 150px;
    }
    
    /* Homepage Posts Mobile */
    .homepage-featured-post {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .homepage-featured-image {
        height: 150px;
    }
    
    .homepage-featured-title {
        font-size: 1.1rem;
    }
    
    .homepage-grid-posts {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .homepage-grid-image {
        height: 150px;
    }
    
    /* Post Cards Mobile */
    .post-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .post-card-image {
        height: 180px;
    }
    
    .post-card-content {
        padding: 1rem;
    }
    
    .post-card .post-title {
        font-size: 1.2rem;
    }
    
    /* Sidebar Mobile */
    .sidebar {
        position: static;
        gap: 0.75rem;
        margin-top: 0;
    }
    
    .sidebar-widget {
        padding: 0.75rem;
        border-radius: 8px;
    }

    .sidebar-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    /* Mobile Popular Posts */
    .popular-post {
        padding: 0.4rem 0;
        gap: 0.4rem;
    }

    .popular-post-image {
        width: 35px;
        height: 35px;
    }
    
    .popular-post-image img {
        width: 35px !important;
        height: 35px !important;
    }

    .popular-post-title {
        font-size: 0.8rem;
        line-height: 1.2;
        height: 1.8rem;
    }

    .popular-post-date {
        font-size: 0.7rem;
    }

    .popular-post:hover {
        margin: 0 -0.4rem;
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }
    
    /* Single Post Mobile */
    .single .site-main {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .single-post-container {
        width: 100%;
        max-width: 100%;
        padding: 0.75rem;
    }
    
    .single-post-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .single-post-featured-image {
        height: 250px;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
    
    .single-post-title {
        font-size: 1.8rem;
        padding: 0;
    }
    
    .post-meta-simple {
        padding: 0;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .post-content-body {
        padding: 0;
        font-size: 1rem;
    }
    
    .post-content-body img {
        height: 200px;
    }
    
    .single-sidebar {
        position: static;
        gap: 1rem;
    }
    
    /* Category Page Mobile */
    .category-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .category-sidebar {
        position: static;
        order: 2;
    }
    
    .category-posts-section {
        order: 1;
    }
    
    .category-posts {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-post-card {
        max-width: 100%;
        margin: 0;
    }
    
    .category-post-image {
        height: 180px;
    }
    
    .category-post-content {
        padding: 1rem;
    }
    
    .category-post-title {
        font-size: 1.2rem;
    }
    
    
    /* Footer Mobile */
    .site-footer {
        padding: 20px 0 10px;
        margin-top: 30px;
    }
    
    .footer-content {
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-column {
        padding: 0;
        margin: 0;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-pages-list {
        padding: 0;
        margin: 0;
    }
    
    .footer-pages-list li {
        padding-left: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .footer-pages-list a {
        font-size: 0.85rem;
        padding: 0.1rem 0;
    }
    
    .footer-post-item {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .footer-post-image img {
        width: 50px;
        height: 50px;
    }
    
    .footer-post-content a {
        font-size: 0.85rem;
        line-height: 1.2;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        max-width: none;
    }
    
    .footer-post-excerpt {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        justify-content: center;
        padding: 1rem 0 0.5rem;
        border-top: 1px solid #34495e;
    }
    
    .footer-copyright {
        text-align: center;
        font-size: 0.8rem;
        order: 2;
    }
    
    .footer-social {
        justify-content: center;
        order: 1;
        gap: 8px;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
    }
    
    .social-link svg {
        width: 14px;
        height: 14px;
    }
    
    /* Search Form Mobile */
    .search-form-wrapper {
        padding: 0 1rem;
    }
    
    .search-form-inner {
        max-width: 100%;
    }
    
    /* Pagination Mobile */
    .pagination-wrapper {
        background: #1a1a1a;
        border-radius: 10px;
        padding: 1rem;
        margin: 2rem 0;
    }
    
    .page-numbers {
        background: #2a2a2a;
        border-radius: 8px;
        padding: 0.6rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .page-numbers a, .page-numbers span {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        min-width: 36px;
        height: 36px;
    }
    
    .page-numbers .prev,
    .page-numbers .next {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Back to Top Mobile */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    /* Typography Mobile Optimization */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    
    /* Touch-Friendly Interface */
    button, .btn, a.button {
        min-height: 44px;
        min-width: 44px;
        padding: 0.8rem 1rem;
    }
    
    input, textarea, select {
        min-height: 44px;
        padding: 0.8rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile Menu Light Mode */
    .light-mode .mobile-menu {
        background: #ffffff;
        border-left: 1px solid #e1e4e8;
    }
    
    .light-mode .mobile-menu-header {
        border-bottom-color: #e1e4e8;
    }
    
    .light-mode .mobile-menu-logo {
        color: #333333;
    }
    
    .light-mode .mobile-menu-close {
        color: #333333;
    }
    
    .light-mode .mobile-menu-nav li {
        border-bottom-color: #e1e4e8;
    }
    
    .light-mode .mobile-menu-nav a {
        color: #333333;
    }
    
    .light-mode .mobile-menu-nav a:hover {
        background: rgba(74, 158, 255, 0.1);
        color: #4a9eff;
    }
    
    .light-mode .mobile-menu-actions {
        border-top-color: #e1e4e8;
    }
    
    .light-mode .mobile-action-btn {
        background: rgba(74, 158, 255, 0.1);
        border-color: #4a9eff;
        color: #4a9eff;
    }
    
    .light-mode .mobile-action-btn:hover {
        background: #4a9eff;
        color: #ffffff;
    }
    
    .light-mode .hamburger-line {
        background: #333333;
    }
    
    /* Light Mode Mobile Categories */
    .light-mode .mobile-menu-section {
        border-top-color: #e1e4e8;
    }
    
    .light-mode .mobile-menu-section-title {
        color: #4a9eff;
    }
    
    .light-mode .mobile-categories-list li {
        border-bottom-color: #e1e4e8;
    }
    
    .light-mode .mobile-categories-list a {
        color: #333333;
    }
    
    .light-mode .mobile-categories-list a:hover {
        background: rgba(74, 158, 255, 0.1);
        color: #4a9eff;
    }
    
    .light-mode .mobile-categories-list .cat-count {
        background: #f8f9fa;
        color: #666666;
        border: 1px solid #e1e4e8;
    }
    
    .light-mode .mobile-categories-list a:hover .cat-count {
        background: rgba(74, 158, 255, 0.1);
        color: #4a9eff;
        border-color: #4a9eff;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* Extra small mobile optimizations */
    .site-header {
        padding: 0.5rem 0;
    }
    
    .header-container {
        padding: 0 0.6rem;
    }
    
    .site-logo {
        font-size: 1.1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .site-main {
        padding: 0.5rem;
    }
    
    /* Hero Slider Extra Small */
    .slider-main-post {
        height: 200px;
    }
    
    .slider-main-content {
        padding: 1rem;
    }
    
    .slider-main-title {
        font-size: 1.2rem;
    }
    
    .slider-side-post {
        height: 120px;
    }
    
    /* Posts Extra Small */
    .homepage-featured-post {
        padding: 0.5rem;
    }
    
    .homepage-featured-image {
        height: 120px;
    }
    
    .homepage-featured-title {
        font-size: 1rem;
    }
    
    .homepage-grid-image {
        height: 120px;
    }
    
    .post-card-content {
        padding: 0.5rem;
    }
    
    /* Single Post Extra Small */
    .single-post-featured-image {
        height: 200px;
        margin-top: 1rem;
    }
    
    .single-post-title {
        font-size: 1.6rem;
    }
    
    .post-content-body {
        font-size: 0.95rem;
    }
    
    .post-content-body img {
        height: 150px;
    }
    
    /* Category Extra Small */
    .category-post-image {
        height: 150px;
    }
    
    .category-post-content {
        padding: 0.8rem;
    }
    
    /* Footer Extra Small */
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-columns {
        gap: 1rem;
    }
    
    /* Mobile Menu Extra Small */
    .mobile-menu {
        width: 280px;
    }
    
    .mobile-menu-header {
        padding: 1rem;
    }
    
    .mobile-menu-actions {
        padding: 1rem;
        flex-direction: column;
    }
    
    /* Typography Extra Small */
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    
    /* Contact Page Mobile */
    .contact-container {
        padding: 1rem;
    }
    
    .contact-header {
        padding: 1rem;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-content-wrapper {
        gap: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
    
    .contact-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-card-icon {
        align-self: center;
        margin-bottom: 0.5rem;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        max-width: 100%;
        width: 100%;
        padding: 0 1.5rem;
    }
    
    .site-main {
        max-width: 100%;
        width: 100%;
        padding: 1rem 1.5rem;
        grid-template-columns: 1fr 280px;
        gap: 1.5rem;
    }
    
    .single .site-main {
        padding: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .single-post-container {
        max-width: 100%;
        width: 100%;
        padding: 1rem 1.5rem;
    }
    
    .single-post-content-wrapper {
        grid-template-columns: 1fr 300px;
    }
    
    .category-content-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .homepage-grid-posts {
        grid-template-columns: 1fr 1fr;
    }
    
    .category-posts {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
}

/* Large Tablets and Small Laptops */
@media (min-width: 1025px) and (max-width: 1199px) {
    .header-container,
    .site-main,
    .single-post-container {
        max-width: 1000px;
        width: 1000px;
    }
    
    .site-main {
        grid-template-columns: 1fr 320px;
    }
    
    .single-post-content-wrapper {
        grid-template-columns: 1fr 320px;
    }
    
    .category-content-wrapper {
        grid-template-columns: 1fr 320px;
    }
    
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
}

.reading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a9eff 0%, #667eea 100%);
    width: 0%;
    transition: width 0.3s ease;
}

/* TOC Active State */
#table-of-contents a.active {
    color: #4a9eff;
    font-weight: 600;
    background: rgba(74, 158, 255, 0.1);
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    margin: 0 -0.5rem;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2d2d2d;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.notification-success {
    border-left: 4px solid #4a9eff;
}

.notification.notification-error {
    border-left: 4px solid #ff4757;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Header Auto-hide */
.site-header {
    transition: transform 0.3s ease;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Form Error States */
.comment-form input.error,
.comment-form textarea.error {
    border-color: #ff4757;
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2);
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: #2d2d2d;
    color: #ffffff;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    pointer-events: none;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2d2d2d;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .article-sidebar,
    .article-share,
    .article-navigation,
    .back-to-top,
    .reading-progress {
        display: none !important;
    }
    
    .article-content-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .article-content {
        box-shadow: none !important;
        background: white !important;
        color: black !important;
    }
    
    .article-title {
        color: black !important;
    }
}

/* ===== LIGHT MODE SUPPORT ===== */

/* Base Light Mode */
.light-mode {
    background: #ffffff !important;
    color: #333333 !important;
}

.light-mode body {
    background: #ffffff !important;
    color: #333333 !important;
}

/* Header Light Mode */
.light-mode .site-header {
    background: #ffffff;
    border-bottom: 1px solid #e1e4e8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.light-mode .site-logo,
.light-mode .logo-text {
    color: #333333;
}

.light-mode .main-navigation a {
    color: #333333;
}

.light-mode .main-navigation a:hover {
    color: #4a9eff;
}

.light-mode .main-navigation a::after {
    background: #4a9eff;
}

.light-mode .search-toggle,
.light-mode .theme-toggle {
    color: #333333;
}

.light-mode .search-toggle:hover,
.light-mode .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Main Content Light Mode */
.light-mode .site-main {
    background: #ffffff;
}

/* Post Cards Light Mode */
.light-mode .post-card,
.light-mode .homepage-featured-post,
.light-mode .homepage-grid-post {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .post-card:hover,
.light-mode .homepage-featured-post:hover,
.light-mode .homepage-grid-post:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.light-mode .post-title a,
.light-mode .homepage-featured-title a,
.light-mode .homepage-grid-title a {
    color: #333333;
}

.light-mode .post-title a:hover,
.light-mode .homepage-featured-title a:hover,
.light-mode .homepage-grid-title a:hover {
    color: #4a9eff;
}

.light-mode .post-excerpt,
.light-mode .homepage-featured-excerpt {
    color: #666666;
}

.light-mode .post-meta,
.light-mode .homepage-featured-meta,
.light-mode .homepage-grid-meta {
    color: #666666;
}

/* Sidebar Light Mode */
.light-mode .sidebar,
.light-mode .single-post-sidebar {
    background: transparent;
}

.light-mode .sidebar-widget {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .sidebar-title {
    color: #333333;
    border-bottom-color: #4a9eff;
}

.light-mode .category-list a,
.light-mode .popular-post-title a {
    color: #333333 !important;
    font-weight: 600;
}

.light-mode .category-list a:hover,
.light-mode .popular-post-title a:hover {
    color: #4a9eff !important;
}

/* Light Mode Popular Posts Unified Styles */
.light-mode .popular-post {
    border-bottom-color: #e1e4e8;
}

.light-mode .popular-post:hover {
    background: rgba(74, 158, 255, 0.05);
}

.light-mode .popular-post-title a {
    color: #333333 !important;
    font-weight: 500;
}

.light-mode .popular-post-title a:hover {
    color: #4a9eff !important;
}

.light-mode .popular-post-date {
    color: #666666;
}

/* Light Mode Single Post Sidebar */
.light-mode .single-post-sidebar .popular-post {
    border-bottom-color: #e1e4e8;
}

.light-mode .single-post-sidebar .popular-post:hover {
    background: rgba(74, 158, 255, 0.05);
}

.light-mode .single-post-sidebar .popular-post-title a {
    color: #333333 !important;
}

.light-mode .single-post-sidebar .popular-post-title a:hover {
    color: #4a9eff !important;
}

.light-mode .single-post-sidebar .popular-post-date {
    color: #666666;
}

/* Light Mode Category Popular Posts */
.light-mode .category-popular-post .popular-post-title a {
    color: #333333 !important;
}

.light-mode .category-popular-post .popular-post-title a:hover {
    color: #4a9eff !important;
}

.light-mode .category-popular-post .popular-post-date {
    color: #666666;
}

.light-mode .category-count {
    background: #e1e4e8;
    color: #666666;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.light-mode .category-list li {
    border-bottom-color: #e1e4e8;
}


.light-mode .popular-post-date {
    color: #666666;
}

/* Single Post Light Mode */
.light-mode .single-post-container {
    background: #ffffff;
}

.light-mode .single-post-article {
    background: #ffffff;
    padding: 2rem 0;
}

.light-mode .single-post-title {
    color: #333333;
    padding: 0 1rem;
}

.light-mode .post-meta-simple {
    color: #666666;
    padding: 0 1rem;
}

.light-mode .post-content-body {
    color: #333333;
    padding: 0 1rem;
}

.light-mode .post-content-body h1,
.light-mode .post-content-body h2,
.light-mode .post-content-body h3,
.light-mode .post-content-body h4,
.light-mode .post-content-body h5,
.light-mode .post-content-body h6 {
    color: #333333;
}

.light-mode .post-content-body blockquote {
    background: #f8f9fa;
    border-left-color: #4a9eff;
    color: #555555;
}

.light-mode .post-content-body code {
    background: #f1f3f4;
    color: #d73a49;
}

.light-mode .post-content-body pre {
    background: #f8f9fa;
    border-color: #e1e4e8;
}

/* Post Tags Light Mode */
.light-mode .post-tags {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    margin: 3rem auto;
    padding: 2rem;
    width: 600px;
    max-width: 90%;
    overflow: hidden;
    text-align: center;
    display: block;
}

.light-mode .post-tags h4 {
    color: #333333;
}

.light-mode .tag-link {
    background: #4a9eff;
    color: white;
}

.light-mode .tag-link:hover {
    background: #357abd;
}

/* Post Share Light Mode */
.light-mode .post-share {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    margin: 3rem auto;
    padding: 2rem;
    width: 600px;
    max-width: 90%;
    overflow: hidden;
    text-align: center;
    display: block;
}

.light-mode .post-share h4 {
    color: #333333;
}

/* Author Bio Light Mode */
.light-mode .author-bio {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    margin: 3rem auto;
    padding: 2rem;
    width: 600px;
    max-width: 90%;
    overflow: hidden;
}

.light-mode .author-name {
    color: #333333;
}

.light-mode .author-description {
    color: #666666;
}

/* Related Posts Light Mode */
.light-mode .related-posts h3 {
    color: #333333;
}

.light-mode .related-post-card,
.light-mode .related-card {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .related-post-card:hover,
.light-mode .related-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.light-mode .related-post-title a,
.light-mode .related-title a {
    color: #333333;
}

.light-mode .related-post-title a:hover,
.light-mode .related-title a:hover {
    color: #4a9eff;
}

.light-mode .related-post-date,
.light-mode .related-date {
    color: #666666;
}

/* Post Navigation Light Mode */
.light-mode .nav-link {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    color: #333333;
}

.light-mode .nav-link:hover {
    background: #4a9eff;
    color: white;
}

.light-mode .nav-direction {
    color: #666666;
}

.light-mode .nav-link:hover .nav-direction {
    color: white;
}


/* Footer Light Mode */
.light-mode .site-footer {
    background: #f8f9fa;
    color: #333333;
    border-top: 1px solid #e1e4e8;
}

.light-mode .footer-title {
    color: #333333;
}

.light-mode .footer-pages-list a,
.light-mode .footer-post-content a {
    color: #666666;
}

.light-mode .footer-pages-list a:hover,
.light-mode .footer-post-content a:hover {
    color: #4a9eff;
}

.light-mode .footer-post-excerpt {
    color: #666666;
}

.light-mode .footer-copyright {
    color: #666666;
}

.light-mode .social-link {
    background: rgba(0, 0, 0, 0.05);
    color: #666666;
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .social-link:hover {
    background: #4a9eff;
    color: white;
    border-color: #4a9eff;
}

/* Light Mode Footer Mobile */
@media (max-width: 768px) {
    .light-mode .footer-bottom {
        border-top-color: #e1e4e8;
    }
}

/* Search Form Light Mode */
.light-mode .search-form-container {
    background: #f8f9fa;
    border-top-color: #e1e4e8;
}

.light-mode .search-form-inner {
    background: #ffffff;
    border-color: #e1e4e8;
}

.light-mode .search-field {
    color: #333333;
}

.light-mode .search-field::placeholder {
    color: #666666;
}

/* Category Page Light Mode */
.light-mode .category-post-card {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .category-post-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.light-mode .category-post-title a {
    color: #333333;
}

.light-mode .category-post-title a:hover {
    color: #4a9eff;
}

.light-mode .category-post-excerpt {
    color: #666666;
}

.light-mode .category-post-meta {
    color: #666666;
}

/* Pagination Light Mode - Görseldeki Tasarım */
.light-mode .pagination-wrapper {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 15px;
    padding: 1.5rem;
}

.light-mode .page-numbers {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 0.8rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.light-mode .page-numbers a,
.light-mode .page-numbers span {
    background: transparent;
    color: #666666;
    border: none;
    box-shadow: none;
}

.light-mode .page-numbers a:hover {
    background: #f0f0f0;
    color: #333333;
    transform: scale(1.05);
}

.light-mode .page-numbers .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    font-weight: 600;
}

.light-mode .page-numbers .dots {
    background: transparent;
    color: #999999;
    font-weight: bold;
    font-size: 1.1rem;
}

.light-mode .page-numbers .dots:hover {
    background: transparent;
    transform: none;
    color: #999999;
}

.light-mode .page-numbers .prev,
.light-mode .page-numbers .next {
    background: transparent;
    color: #666666;
    font-weight: 500;
}

.light-mode .page-numbers .prev:hover,
.light-mode .page-numbers .next:hover {
    background: #f0f0f0;
    color: #333333;
}

.light-mode .page-numbers .next::after {
    content: "›";
    font-size: 1.2rem;
    font-weight: bold;
}

.light-mode .page-numbers .prev::before {
    content: "‹";
    font-size: 1.2rem;
    font-weight: bold;
}

/* Notification Light Mode */
.light-mode .notification {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e1e4e8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.light-mode .notification.notification-success {
    border-left-color: #28a745;
}

.light-mode .notification.notification-error {
    border-left-color: #dc3545;
}

/* Back to Top Light Mode */
.light-mode .back-to-top {
    background: #4a9eff;
    color: white;
}

.light-mode .back-to-top:hover {
    background: #357abd;
}

/* Reading Progress Light Mode */
.light-mode .reading-progress {
    background: rgba(0, 0, 0, 0.1);
}

.light-mode .reading-progress-fill {
    background: #4a9eff;
}

/* Lightbox Light Mode */
.light-mode .lightbox {
    background: rgba(255, 255, 255, 0.95);
}

.light-mode .lightbox-close {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.light-mode .lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Accessibility Improvements */
.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;
}

/* Focus States */
a:focus,
button:focus {
    outline: none;
}

input:focus,
textarea:focus {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #4a9eff;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .post-card,
    .sidebar-widget,
    .article-content {
        border: 2px solid #ffffff;
    }
    
    .main-navigation a:hover,
    .sidebar-title,
    .article-category {
        background: #ffffff;
        color: #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 480px) {
    .featured-post-content {
        padding: 1rem;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .single-post-title {
        font-size: 1.5rem;
    }
    
    .single-post-content {
        padding: 1rem;
    }
    
    .single-sidebar {
        padding: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .site-main {
        max-width: 100%;
        width: 100%;
        padding: 1rem;
    }
    
    .header-container {
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
    }
}


/* Article Left Column */
.article-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

/* Desktop Responsive */
@media (min-width: 1024px) {
    .container {
        width: 1200px;
        margin: 0 auto;
    }
    
    .main-content {
        width: 1200px;
        margin: 0 auto;
    }
    
    .single-post-content-wrapper {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 2rem;
    }
    
    .single-post-sidebar {
        width: auto;
    }
}



/* Horizontal Post Tags */
.post-tags-horizontal {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 1rem;
    padding: 0.6rem 1.5rem;
    background: #2d2d2d;
    border-radius: 8px;
}

.tags-label {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.tags-list-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link-horizontal {
    padding: 0.3rem 0.6rem;
    background: #404040;
    color: #cccccc;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid #555;
}

.tag-link-horizontal:hover {
    background: #4a9eff;
    color: #ffffff;
    border-color: #4a9eff;
}

/* Light Mode Tag Styles */
.light-mode .post-tags-horizontal {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
}

.light-mode .tags-label {
    color: #333333;
}

.light-mode .tag-link-horizontal {
    background: #ffffff;
    color: #666666;
    border-color: #e1e4e8;
}

.light-mode .tag-link-horizontal:hover {
    background: #4a9eff;
    color: #ffffff;
    border-color: #4a9eff;
}


/* Related Posts New Design */
.related-posts-new {
    margin: 2rem 1rem;
    padding: 1.5rem;
    background: #2d2d2d;
    border-radius: 8px;
}

.related-posts-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: left;
}

.related-posts-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-post-card-new {
    background: #404040;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.related-post-image-new {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.related-post-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card-new:hover .related-post-image-new img {
    transform: scale(1.05);
}

.related-post-content-new {
    padding: 1rem;
}

.related-post-title-new {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-post-title-new a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.related-post-title-new a:hover {
    color: #4a9eff;
}

/* Light Mode Related Posts */
.light-mode .related-posts-new {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
}

.light-mode .related-posts-title {
    color: #333333;
}

.light-mode .related-post-card-new {
    background: #ffffff;
    border: 1px solid #e1e4e8;
}

.light-mode .related-post-title-new a {
    color: #333333;
}

.light-mode .related-post-title-new a:hover {
    color: #4a9eff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .related-posts-grid-new {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-posts-new {
        margin: 2rem 0.5rem;
        padding: 1rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .related-posts-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Comments Section New Design */
.comments-section-new {
    margin: 2rem 1rem;
    padding: 1.5rem;
    background: #2d2d2d;
    border-radius: 8px;
}

.comments-title-new {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comments-description {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.comment-form-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.required {
    color: #ff6b6b;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    background: #404040;
    border: 1px solid #555;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a9eff;
    background: #4a4a4a;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-comment-btn {
    align-self: flex-start;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Light Mode Comments */
.light-mode .comments-section-new {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
}

.light-mode .comments-title-new {
    color: #333333;
}

.light-mode .comments-description {
    color: #666666;
}

.light-mode .form-group label {
    color: #333333;
}

.light-mode .form-group input,
.light-mode .form-group textarea {
    background: #ffffff;
    border-color: #e1e4e8;
    color: #333333;
}

.light-mode .form-group input:focus,
.light-mode .form-group textarea:focus {
    border-color: #4a9eff;
    background: #ffffff;
}

.light-mode .submit-comment-btn {
    background: #4a9eff;
}

.light-mode .submit-comment-btn:hover {
    background: #357abd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .comments-section-new {
        margin: 2rem 0.5rem;
        padding: 1rem;
    }
}


/* Category Header New Design */
.category-header-new {
    margin: 0 0 2rem 0;
    padding: 1.5rem;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.category-header-new::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 8px solid #2d2d2d;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.category-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.category-post-count {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 500;
    background: #404040;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #555;
}

/* Light Mode Category Header */
.light-mode .category-header-new {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.light-mode .category-header-new::after {
    border-top-color: #f8f9fa;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.light-mode .category-title {
    color: #333333;
}

.light-mode .category-post-count {
    color: #666666;
    background: #ffffff;
    border-color: #e1e4e8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .category-header-new {
        margin: 2rem 0.5rem;
        padding: 1rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}


/* Contact Page Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Content Wrapper */
.contact-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Form Section */
.contact-form-container {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.form-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .required {
    color: #ff6b6b;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: #404040;
    border: 1px solid #555;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4a9eff;
    background: #4a4a4a;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: center;
}

.submit-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.contact-card-content h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card-content p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* Contact Social */
.contact-social {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-social h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.social-links-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
}

.social-icon.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-icon.github {
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.social-icon svg {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Light Mode Contact Styles */
.light-mode .contact-header,
.light-mode .contact-form-container,
.light-mode .contact-card,
.light-mode .contact-social {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .contact-title,
.light-mode .form-title,
.light-mode .contact-card-content h3,
.light-mode .contact-social h3 {
    color: #333333;
}

.light-mode .contact-subtitle,
.light-mode .contact-card-content p {
    color: #666666;
}

.light-mode .contact-form .form-group label {
    color: #333333;
}

.light-mode .contact-form input,
.light-mode .contact-form textarea {
    background: #ffffff;
    border-color: #e1e4e8;
    color: #333333;
}

.light-mode .contact-form input:focus,
.light-mode .contact-form textarea:focus {
    border-color: #4a9eff;
    background: #ffffff;
}

.light-mode .submit-contact-btn {
    background: #4a9eff;
}

.light-mode .submit-contact-btn:hover {
    background: #357abd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        padding: 0.75rem !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    .contact-header {
        padding: 1rem !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 1rem !important;
        margin: 2rem 0 0 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-form input,
    .contact-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-info-section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .contact-card {
        margin: 0 !important;
        width: 100% !important;
        max-width: 320px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    .social-links-modern {
        max-width: 100% !important;
        width: 100% !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.8rem !important;
    }
    
    /* Fix reCAPTCHA overlapping submit button issue in mobile */
    .contact-form .form-group.recaptcha-group {
        margin: 2rem 0 !important;
        padding: 1rem 0 !important;
    }
    
    .contact-form .g-recaptcha {
        margin: 1.5rem auto !important;
        display: block !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .submit-contact-btn {
        margin-top: 2rem !important;
        position: relative !important;
        z-index: 2 !important;
        clear: both !important;
    }
    
    .form-submit-wrapper {
        margin-top: 2rem !important;
        padding-top: 1rem !important;
    }
}

@media (max-width: 480px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
    }

/* reCAPTCHA Styling - Ultra Force Override with JavaScript Protection */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

/* Ultra Force reCAPTCHA container styling */
.contact-form .form-group.recaptcha-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 1.5rem 0 !important;
    text-align: center !important;
    position: relative !important;
}

.contact-form .recaptcha-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Ultra Force reCAPTCHA widget centering - Override all Google styles */
.contact-form .g-recaptcha {
    margin: 0 auto !important;
    display: block !important;
    width: 304px !important;
    height: 78px !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
}

/* Force override Google's dynamically added inline styles */
.contact-form .g-recaptcha > div {
    margin: 0 auto !important;
    width: 304px !important;
    height: 78px !important;
    position: relative !important;
    left: 0 !important;
    transform: none !important;
}

.contact-form .g-recaptcha iframe {
    margin: 0 auto !important;
    display: block !important;
    width: 304px !important;
    height: 78px !important;
    position: relative !important;
    left: 0 !important;
    transform: none !important;
}

/* Override any Google inline styles with highest specificity */
.contact-form .g-recaptcha[style] {
    margin: 0 auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    position: relative !important;
}

.contact-form .g-recaptcha > div[style] {
    margin: 0 auto !important;
    left: 0 !important;
    transform: none !important;
    position: relative !important;
}

.contact-form .g-recaptcha iframe[style] {
    margin: 0 auto !important;
    left: 0 !important;
    transform: none !important;
    position: relative !important;
}

/* Ensure submit button stays centered */
.contact-form .submit-contact-btn {
    align-self: center !important;
    margin-top: 1rem !important;
}

/* Global reCAPTCHA centering fallbacks */
.recaptcha-group {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
}

.recaptcha-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
}

/* Ultra force override any conflicting styles */
.g-recaptcha {
    margin: 0 auto !important;
    text-align: center !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Override Google's dynamically injected styles */
.g-recaptcha[style*="margin"],
.g-recaptcha[style*="left"],
.g-recaptcha[style*="position"] {
    margin: 0 auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    position: relative !important;
}

/* Comment form reCAPTCHA styling */
.comment-form-custom .form-group.recaptcha-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 1.5rem 0 !important;
    text-align: center !important;
    position: relative !important;
}

.comment-form-custom .recaptcha-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.comment-form-custom .g-recaptcha {
    margin: 0 auto !important;
    display: block !important;
    width: 304px !important;
    height: 78px !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.form-submit-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-submit-wrapper .recaptcha-wrapper {
    margin: 0;
}

.form-submit-wrapper .submit-comment-btn,
.form-submit-wrapper .submit-contact-btn {
    align-self: flex-end;
}

/* Comment Form Styling */
.comment-form-custom {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.comment-form-custom h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-form-custom .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.comment-form-custom .form-group label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.comment-form-custom .required {
    color: #ff6b6b;
}

.comment-form-custom input,
.comment-form-custom textarea {
    padding: 0.8rem;
    background: #404040;
    border: 1px solid #555;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.comment-form-custom input:focus,
.comment-form-custom textarea:focus {
    outline: none;
    border-color: #4a9eff;
    background: #4a4a4a;
}

.comment-form-custom textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-comment-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Light Mode Comment Form */
.light-mode .comment-form-custom {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .comment-form-custom h3 {
    color: #333333;
}

.light-mode .comment-form-custom .form-group label {
    color: #333333;
}

.light-mode .comment-form-custom input,
.light-mode .comment-form-custom textarea {
    background: #ffffff;
    border-color: #e1e4e8;
    color: #333333;
}

.light-mode .comment-form-custom input:focus,
.light-mode .comment-form-custom textarea:focus {
    border-color: #4a9eff;
    background: #ffffff;
}

.light-mode .submit-comment-btn {
    background: #4a9eff;
}

.light-mode .submit-comment-btn:hover {
    background: #357abd;
}

/* Mobile reCAPTCHA Responsive */
@media (max-width: 768px) {
    .recaptcha-wrapper {
        justify-content: center;
    }
    
    .form-submit-wrapper {
        align-items: center;
    }
    
    .comment-form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-form-custom {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .comment-form-custom {
        padding: 1rem;
    }
    
    .recaptcha-wrapper .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
}

/* Contact Form Messages */
.contact-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.contact-message i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    color: #4caf50;
}

.contact-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
}

.contact-error div p {
    margin: 0;
    line-height: 1.4;
}

.contact-error div p:not(:last-child) {
    margin-bottom: 0.5rem;
}

/* Light Mode Message Styles */
.light-mode .contact-success {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4caf50;
    color: #2e7d32;
}

.light-mode .contact-error {
    background: rgba(244, 67, 54, 0.15);
    border-color: #f44336;
    color: #c62828;
}
    
    .contact-card-icon {
        align-self: center;
    }
}

/* Contact Page Full Width Override */
.page-template-page-contact .site-main {
    display: block;
    grid-template-columns: none;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.page-template-page-contact .contact-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Pages Page Styles */
.pages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Pages Header */
.pages-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pages-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pages-subtitle {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Pages Content Wrapper */
.pages-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

/* Pages Main Content */
.pages-main-content {
    width: 100%;
}

/* Pages Grid */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Page Card */
.page-card {
    background: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Page Card Image */
.page-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.page-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-card:hover .page-card-image img {
    transform: scale(1.05);
}

.page-card-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    flex-direction: column;
    gap: 0.5rem;
}

.placeholder-content {
    text-align: center;
    opacity: 0.8;
}

.placeholder-content span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Page Child Count Badge */
.page-child-count {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
}

/* Page Card Content */
.page-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Page Card Meta */
.page-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #cccccc;
    flex-wrap: wrap;
}

.page-date,
.page-children {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Page Card Title */
.page-card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.page-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-card-title a:hover {
    color: #4a9eff;
}

/* Page Card Excerpt */
.page-card-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Page Card Actions */
.page-card-actions {
    margin-bottom: 1rem;
}

.page-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid #4a9eff;
    border-radius: 6px;
    background: rgba(74, 158, 255, 0.1);
}

.page-read-more:hover {
    background: #4a9eff;
    color: #ffffff;
    transform: translateX(3px);
}

.page-read-more svg {
    transition: transform 0.3s ease;
}

.page-read-more:hover svg {
    transform: translateX(3px);
}

/* Page Children List */
.page-children-list {
    border-top: 1px solid #404040;
    padding-top: 1rem;
    margin-top: auto;
}

.children-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.children-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.children-links li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    padding: 0.3rem 0;
}

.children-links li a:hover {
    color: #4a9eff;
}

/* Pages Sidebar */
.pages-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.pages-sidebar .sidebar-widget {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.pages-sidebar .sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a9eff;
    color: #4a9eff;
    font-weight: 600;
}

/* Page Statistics */
.page-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #404040;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4a9eff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Recent Pages */
.recent-pages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-page-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #404040;
    transition: all 0.3s ease;
}

.recent-page-item:hover {
    background: rgba(74, 158, 255, 0.05);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.recent-page-item:last-child {
    border-bottom: none;
}

.recent-page-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-page-placeholder {
    width: 100%;
    height: 100%;
    background: #404040;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
}

.recent-page-content {
    flex: 1;
    min-width: 0;
}

.recent-page-title {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.recent-page-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-page-title a:hover {
    color: #4a9eff;
}

.recent-page-date {
    font-size: 0.8rem;
    color: #cccccc;
}

.no-recent-pages {
    color: #cccccc;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #404040;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-link:hover {
    background: #4a9eff;
    transform: translateX(3px);
}

/* No Pages Found */
.no-pages-found {
    text-align: center;
    padding: 4rem 2rem;
    background: #2d2d2d;
    border-radius: 15px;
    margin: 2rem 0;
}

.no-pages-content svg {
    color: #4a9eff;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-pages-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.no-pages-content p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Light Mode Pages Styles */
.light-mode .pages-header,
.light-mode .page-card,
.light-mode .pages-sidebar .sidebar-widget,
.light-mode .no-pages-found {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .pages-title,
.light-mode .page-card-title a,
.light-mode .children-title,
.light-mode .recent-page-title a,
.light-mode .no-pages-content h2 {
    color: #333333;
}

.light-mode .pages-subtitle,
.light-mode .page-card-meta,
.light-mode .page-card-excerpt,
.light-mode .children-links li a,
.light-mode .recent-page-date,
.light-mode .no-pages-content p,
.light-mode .no-recent-pages {
    color: #666666;
}

.light-mode .page-card-title a:hover,
.light-mode .children-links li a:hover,
.light-mode .recent-page-title a:hover {
    color: #4a9eff;
}

.light-mode .page-children-list {
    border-top-color: #e1e4e8;
}

.light-mode .recent-page-item {
    border-bottom-color: #e1e4e8;
}

.light-mode .recent-page-placeholder {
    background: #f8f9fa;
    color: #666666;
}

.light-mode .stat-item,
.light-mode .quick-link {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
}

.light-mode .quick-link {
    color: #333333;
}

.light-mode .quick-link:hover {
    background: #4a9eff;
    color: #ffffff;
    border-color: #4a9eff;
}

.light-mode .stat-label {
    color: #666666;
}

/* Pages Page Full Width Override */
.page-template-page-pages .site-main {
    display: block;
    grid-template-columns: none;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.page-template-page-pages .pages-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .pages-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pages-sidebar {
        position: static;
        order: 2;
    }
    
    .pages-main-content {
        order: 1;
    }
    
    .pages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-card {
        max-width: 100%;
        margin: 0;
    }
    
    .page-card-image {
        height: 180px;
    }
    
    .page-card-content {
        padding: 1rem;
    }
    
    .page-card-title {
        font-size: 1.2rem;
    }
    
    .page-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .pages-container {
        padding: 1rem;
    }
    
    .pages-header {
        padding: 1.5rem;
    }
    
    .pages-title {
        font-size: 2rem;
    }
    
    .page-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .pages-header {
        padding: 1rem;
    }
    
    .pages-title {
        font-size: 1.8rem;
    }
    
    .page-card-content {
        padding: 0.8rem;
    }
    
    .page-card-image {
        height: 150px;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .pages-content-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .pages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Page Template Styles */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Page Header Section */
.page-header-section {
    text-align: center;
    margin: 2rem auto 3rem auto;
    padding: 2rem;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
}

.page-main-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.page-subtitle {
    display: none;
}

.page-meta-info {
    display: none;
}

.page-date,
.page-modified {
    display: none;
}

/* Page Content Wrapper */
.page-content-wrapper {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Main Content */
.page-main-content {
    width: 100%;
}

/* Page Featured Image */
.page-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Page Content */
.page-content {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #ffffff;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-content h1 { font-size: 2rem; }
.page-content h2 { font-size: 1.7rem; }
.page-content h3 { font-size: 1.4rem; }
.page-content h4 { font-size: 1.2rem; }
.page-content h5 { font-size: 1.1rem; }
.page-content h6 { font-size: 1rem; }

.page-content p {
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #cccccc;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content blockquote {
    background: #404040;
    border-left: 4px solid #4a9eff;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #ffffff;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.page-content a {
    color: #4a9eff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Page Links */
.page-links {
    margin: 2rem 0;
    text-align: center;
}

.page-links-title {
    font-weight: 600;
    margin-right: 1rem;
    color: #ffffff;
}

.page-links span {
    display: inline-block;
    margin: 0 0.3rem;
    padding: 0.5rem 1rem;
    background: #4a9eff;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.page-links span:hover {
    background: #357abd;
}

/* Child Pages Section */
.child-pages-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.child-pages-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.child-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.child-page-card {
    background: #404040;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.child-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.child-page-image {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.child-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.child-page-card:hover .child-page-image img {
    transform: scale(1.05);
}

.child-page-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.child-no-image-placeholder {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.child-page-content {
    padding: 1.5rem;
}

.child-page-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.child-page-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.child-page-title a:hover {
    color: #4a9eff;
}

.child-page-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.child-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.child-page-link:hover {
    color: #357abd;
    transform: translateX(3px);
}

/* Page Navigation */
.page-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.nav-previous,
.nav-next {
    display: flex;
}

.nav-next {
    justify-content: flex-end;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #2d2d2d;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 300px;
}

.nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.nav-direction {
    font-size: 0.8rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    color: #ffffff;
    font-weight: 500;
    line-height: 1.3;
}

.nav-link:hover .nav-title {
    color: #4a9eff;
}

/* Page Sidebar */
.page-sidebar {
    display: none;
}

.page-sidebar .sidebar-widget {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-sidebar .sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a9eff;
    color: #4a9eff;
    font-weight: 600;
}

/* Page Info */
.page-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #404040;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #cccccc;
    font-size: 0.9rem;
}

.info-value {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Parent Page */
.parent-page-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #404040;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.parent-page-link:hover {
    background: #4a9eff;
    transform: translateX(-3px);
}

/* Related Pages */
.related-pages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-page-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #404040;
    transition: all 0.3s ease;
}

.related-page-item:hover {
    background: rgba(74, 158, 255, 0.05);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.related-page-item:last-child {
    border-bottom: none;
}

.related-page-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-page-placeholder {
    width: 100%;
    height: 100%;
    background: #404040;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
}

.related-page-content {
    flex: 1;
    min-width: 0;
}

.related-page-title {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.related-page-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-page-title a:hover {
    color: #4a9eff;
}

.related-page-date {
    font-size: 0.8rem;
    color: #cccccc;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #404040;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-action:hover {
    background: #4a9eff;
    transform: translateX(3px);
}

/* Light Mode Page Styles */
.light-mode .page-header-section,
.light-mode .page-content,
.light-mode .child-pages-section,
.light-mode .page-sidebar .sidebar-widget,
.light-mode .nav-link {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .page-main-title,
.light-mode .child-pages-title,
.light-mode .page-content h1,
.light-mode .page-content h2,
.light-mode .page-content h3,
.light-mode .page-content h4,
.light-mode .page-content h5,
.light-mode .page-content h6,
.light-mode .child-page-title a,
.light-mode .nav-title,
.light-mode .related-page-title a,
.light-mode .info-value {
    color: #333333;
}

.light-mode .page-subtitle,
.light-mode .page-meta-info,
.light-mode .page-content p,
.light-mode .page-content ul,
.light-mode .page-content ol,
.light-mode .child-page-excerpt,
.light-mode .nav-direction,
.light-mode .info-label,
.light-mode .related-page-date {
    color: #666666;
}

.light-mode .page-content blockquote {
    background: #f8f9fa;
    border-left-color: #4a9eff;
    color: #555555;
}

.light-mode .child-page-card {
    background: #ffffff;
    border: 1px solid #e1e4e8;
}

.light-mode .child-page-title a:hover,
.light-mode .child-page-link:hover,
.light-mode .nav-link:hover .nav-title,
.light-mode .related-page-title a:hover {
    color: #4a9eff;
}

.light-mode .info-item,
.light-mode .related-page-item {
    border-bottom-color: #e1e4e8;
}

.light-mode .related-page-placeholder {
    background: #f8f9fa;
    color: #666666;
}

.light-mode .parent-page-link,
.light-mode .quick-action {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    color: #333333;
}

.light-mode .parent-page-link:hover,
.light-mode .quick-action:hover {
    background: #4a9eff;
    color: #ffffff;
    border-color: #4a9eff;
}

/* Page Template Full Width Override */
.page .site-main {
    display: block;
    grid-template-columns: none;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
}

.page .page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Page Header Section - Header ile aynı genişlik */
.page-header-section {
    text-align: center;
    margin: 0 0 3rem 0;
    padding: 2rem;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Page Content - Header ile aynı genişlik */
.page-content {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #ffffff;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Child Pages Section - Header ile aynı genişlik */
.child-pages-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Responsive Design for Page Template */
@media (max-width: 768px) {
    .page-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-sidebar {
        position: static;
        order: 2;
    }
    
    .page-main-content {
        order: 1;
    }
    
    .page .site-main {
        padding: 0.75rem;
    }
    
    .page-container {
        padding: 1rem;
    }
    
    .page-header-section {
        padding: 1.5rem;
    }
    
    .page-main-title {
        font-size: 2rem;
    }
    
    .page-meta-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-content {
        padding: 1.5rem;
    }
    
    .child-pages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .child-page-content {
        padding: 1rem;
    }
    
    .page-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-next {
        justify-content: flex-start;
    }
    
    .nav-link {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .page .site-main {
        padding: 0.5rem;
    }
    
    .page-header-section {
        padding: 1rem;
    }
    
    .page-main-title {
        font-size: 1.8rem;
    }
    
    .page-content {
        padding: 1rem;
    }
    
    .child-pages-section {
        padding: 1rem;
    }
    
    .child-page-image {
        height: 120px;
    }
    
    .nav-link {
        padding: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .page-content-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .child-pages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Custom Logo Styles */
.custom-logo {
    max-height: 35px;
    width: auto;
    display: block;
    max-width: 150px;
}

.footer-logo-section {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo {
    max-height: 30px;
    width: auto;
    display: block;
    max-width: 120px;
}

/* Light Mode Custom Logo Styles */
.light-mode .custom-logo,
.light-mode .footer-logo {
    filter: none;
}

/* Mobile Custom Logo Styles */
@media (max-width: 768px) {
    .custom-logo {
        max-height: 30px;
        max-width: 120px;
    }
    
    .footer-logo {
        max-height: 25px;
        max-width: 100px;
    }
    
    .footer-logo-section {
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .custom-logo {
        max-height: 25px;
        max-width: 100px;
    }
    
    .footer-logo {
        max-height: 20px;
        max-width: 80px;
    }
}

/* ===== SEARCH PAGE STYLES ===== */

/* Search Page Container */
.search-page-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Search Page Header */
.search-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #2d2d2d;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.search-page-header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 8px solid #2d2d2d;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.search-header-content {
    margin-bottom: 2rem;
}

.search-page-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.search-page-title svg {
    color: #4a9eff;
}

.search-results-info {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

.search-query {
    color: #4a9eff;
    font-weight: 600;
    background: rgba(74, 158, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.search-count {
    color: #ffffff;
    font-weight: 600;
}

/* Search Page Form */
.search-page-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-page-form .search-form {
    width: 100%;
}

.search-page-form .search-form-inner {
    background: #404040;
    border: 1px solid #555;
    border-radius: 25px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-page-form .search-form-inner:focus-within {
    border-color: #4a9eff;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.2);
}

.search-page-form .search-field {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    outline: none;
}

.search-page-form .search-field::placeholder {
    color: #cccccc;
    opacity: 0.8;
}

.search-page-form .search-submit {
    background: #4a9eff;
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
}

.search-page-form .search-submit:hover {
    background: #357abd;
    transform: scale(1.05);
}

/* Search Content Wrapper */
.search-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

/* Search Results Section */
.search-results-section {
    width: 100%;
}

/* Search Posts Grid - Kategori Sayfası Stilini Kopyala */
.search-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Search Post Card - Category Post Card Stilini Kopyala */
.search-post-card {
    background: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.search-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Search Post Image */
.search-post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.search-post-image .search-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-post-card:hover .search-img {
    transform: scale(1.05);
}

.search-post-image .no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    flex-direction: column;
    gap: 0.5rem;
}

.search-post-image .placeholder-content {
    text-align: center;
    opacity: 0.7;
}

.search-post-image .placeholder-content span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Search Post Content */
.search-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Search Post Meta - Category Post Meta Stilini Kopyala */
.search-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #cccccc;
}

.search-post-date,
.search-post-comments {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Search Post Title - Category Post Title Stilini Kopyala */
.search-post-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.search-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-post-title a:hover {
    color: #4a9eff;
}

/* Search Post Excerpt - Category Post Excerpt Stilini Kopyala */
.search-post-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    height: 4.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Search Post Actions - Category Read More Stilini Kopyala */
.search-post-actions {
    margin-top: auto;
}

.search-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.search-read-more:hover {
    color: #357abd;
    transform: translateX(3px);
}

.search-read-more svg {
    transition: transform 0.3s ease;
}

.search-read-more:hover svg {
    transform: translateX(3px);
}

/* Search Pagination */
.search-pagination {
    text-align: center;
    margin: 3rem 0;
}

.search-pagination .page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.search-pagination .page-numbers a,
.search-pagination .page-numbers span {
    padding: 0.8rem 1rem;
    background: transparent;
    color: #cccccc;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 0.95rem;
}

.search-pagination .page-numbers a:hover {
    background: #404040;
    color: #ffffff;
}

.search-pagination .page-numbers .current {
    background: #667eea;
    color: #ffffff;
    cursor: default;
    font-weight: 600;
}

/* No Search Results */
.no-search-results {
    text-align: center;
    padding: 4rem 2rem;
    background: #2d2d2d;
    border-radius: 15px;
    margin: 2rem 0;
}

.no-results-content svg {
    color: #4a9eff;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-results-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.no-results-content p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Suggestions */
.search-suggestions {
    background: #404040;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.search-suggestions h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.search-suggestions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-suggestions li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.search-suggestions li::before {
    content: "•";
    color: #4a9eff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Popular Posts Suggestion */
.popular-posts-suggestion {
    margin: 2rem 0;
}

.popular-posts-suggestion h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.popular-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.popular-post-item {
    background: #404040;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.popular-post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.popular-post-image {
    height: 120px;
    overflow: hidden;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-placeholder {
    width: 100%;
    height: 100%;
    background: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
}

.popular-post-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popular-post-title {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.popular-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-post-title a:hover {
    color: #4a9eff;
}

.popular-post-date {
    font-size: 0.8rem;
    color: #cccccc;
}

/* Back Home Button */
.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
    margin-top: 2rem;
}

.back-home-btn:hover {
    transform: translateY(-2px);
}

/* Search Sidebar */
.search-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.search-sidebar .sidebar-widget {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.search-sidebar .sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a9eff;
    color: #4a9eff;
    font-weight: 600;
}

/* Search Tips */
.search-tips-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-tips-content li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #cccccc;
    font-size: 0.9rem;
}

.search-tips-content li svg {
    color: #4a9eff;
    flex-shrink: 0;
}

/* Recent Posts in Sidebar */
.search-sidebar .recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-sidebar .recent-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #404040;
    transition: all 0.3s ease;
}

.search-sidebar .recent-post-item:hover {
    background: rgba(74, 158, 255, 0.05);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.search-sidebar .recent-post-item:last-child {
    border-bottom: none;
}

.search-sidebar .recent-post-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.search-sidebar .recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-sidebar .recent-post-placeholder {
    width: 100%;
    height: 100%;
    background: #404040;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
}

.search-sidebar .recent-post-content {
    flex: 1;
    min-width: 0;
}

.search-sidebar .recent-post-title {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.search-sidebar .recent-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-sidebar .recent-post-title a:hover {
    color: #4a9eff;
}

.search-sidebar .recent-post-date {
    font-size: 0.8rem;
    color: #cccccc;
}

/* Adsense Widget */
.adsense-widget .adsense-container {
    text-align: center;
    padding: 1rem 0;
}

/* Light Mode Search Page Styles - Category Page Light Mode Stilini Kopyala */
.light-mode .search-page-header,
.light-mode .search-post-card,
.light-mode .no-search-results,
.light-mode .search-suggestions,
.light-mode .popular-post-item,
.light-mode .search-sidebar .sidebar-widget {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .search-post-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.light-mode .search-page-header::after {
    border-top-color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.light-mode .search-page-title,
.light-mode .search-count,
.light-mode .search-post-title a,
.light-mode .no-results-content h2,
.light-mode .search-suggestions h3,
.light-mode .popular-posts-suggestion h3,
.light-mode .popular-post-title a,
.light-mode .search-sidebar .recent-post-title a {
    color: #333333;
}

.light-mode .search-results-info,
.light-mode .search-post-meta,
.light-mode .search-post-excerpt,
.light-mode .no-results-content p,
.light-mode .search-suggestions li,
.light-mode .popular-post-date,
.light-mode .search-tips-content li,
.light-mode .search-sidebar .recent-post-date {
    color: #666666;
}

.light-mode .search-page-form .search-form-inner {
    background: #ffffff;
    border-color: #e1e4e8;
}

.light-mode .search-page-form .search-field {
    color: #333333;
}

.light-mode .search-page-form .search-field::placeholder {
    color: #666666;
}

.light-mode .search-post-title a:hover,
.light-mode .popular-post-title a:hover,
.light-mode .search-sidebar .recent-post-title a:hover {
    color: #4a9eff;
}

.light-mode .search-read-more:hover {
    color: #357abd;
}

.light-mode .search-pagination .page-numbers {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.light-mode .search-pagination .page-numbers a,
.light-mode .search-pagination .page-numbers span {
    color: #666666;
}

.light-mode .search-pagination .page-numbers a:hover {
    background: #f0f0f0;
    color: #333333;
}

.light-mode .search-pagination .page-numbers .current {
    background: #4a9eff;
    color: #ffffff;
}

.light-mode .search-sidebar .recent-post-item {
    border-bottom-color: #e1e4e8;
}

.light-mode .search-sidebar .recent-post-placeholder {
    background: #f8f9fa;
    color: #666666;
}

/* Search Page Responsive Design - Category Page Stilini Kopyala */
@media (max-width: 768px) {
    .search-page-container {
        padding: 0 1rem;
    }
    
    .search-page-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .search-page-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-results-info {
        font-size: 1rem;
    }
    
    .search-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .search-sidebar {
        position: static;
        order: 2;
    }
    
    .search-results-section {
        order: 1;
    }
    
    .search-posts {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-post-card {
        max-width: 100%;
        margin: 0;
    }
    
    .search-post-image {
        height: 180px;
    }
    
    .search-post-content {
        padding: 1rem;
    }
    
    .search-post-title {
        font-size: 1.2rem;
    }
    
    .popular-posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .popular-post-item {
        height: auto;
        min-height: 180px;
        display: flex;
        flex-direction: column;
    }
    
    .popular-post-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .search-suggestions {
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .no-search-results {
        padding: 2rem 1rem;
    }
    
    .search-pagination .page-numbers {
        padding: 0.8rem 1rem;
        gap: 0.3rem;
        flex-wrap: wrap;
    }
    
    .search-pagination .page-numbers a,
    .search-pagination .page-numbers span {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        min-width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .search-page-header {
        padding: 1rem;
    }
    
    .search-page-title {
        font-size: 1.4rem;
    }
    
    .search-post-image {
        height: 150px;
    }
    
    .search-post-content {
        padding: 0.8rem;
    }
    
    .search-post-title {
        font-size: 1.1rem;
    }
    
    .popular-post-image {
        height: 120px;
    }
    
    .search-suggestions {
        padding: 0.8rem;
    }
    
    .no-search-results {
        padding: 1.5rem 0.8rem;
    }
    
    .no-results-content h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .search-content-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .search-posts {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Search Page Site Main Override */
.search .site-main {
    display: block;
    grid-template-columns: none;
    gap: 0;
    padding: 2rem 0;
}



/* ===== ADDITIONAL SEARCH PAGE STYLES ===== */

/* Search Clear Button */
.search-clear-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #cccccc;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
}

.search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.search-clear-btn svg {
    width: 16px;
    height: 16px;
}

/* Search Highlight */
.search-highlight {
    background: rgba(74, 158, 255, 0.3);
    color: #ffffff;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 600;
}

/* Light Mode Search Highlight */
.light-mode .search-highlight {
    background: rgba(74, 158, 255, 0.2);
    color: #333333;
}

/* Search Notifications */
.search-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2d2d2d;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    max-width: 350px;
    border-left: 4px solid #4a9eff;
}

.search-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.search-notification.search-notification-error {
    border-left-color: #ff4757;
    background: #2d1b1b;
}

.search-notification.search-notification-success {
    border-left-color: #2ed573;
    background: #1b2d1b;
}

.search-notification.search-notification-info {
    border-left-color: #4a9eff;
    background: #1b1b2d;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #cccccc;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.2rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Light Mode Search Notifications */
.light-mode .search-notification {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e1e4e8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.light-mode .search-notification.search-notification-error {
    background: #fff5f5;
    border-left-color: #e53e3e;
}

.light-mode .search-notification.search-notification-success {
    background: #f0fff4;
    border-left-color: #38a169;
}

.light-mode .search-notification.search-notification-info {
    background: #ebf8ff;
    border-left-color: #3182ce;
}

.light-mode .notification-close {
    color: #666666;
}

.light-mode .notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333333;
}

/* Search Loading Animation */
.search-loading {
    animation: search-spin 0.75s linear infinite;
}

@keyframes search-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Search Suggestions Dropdown (for future implementation) */
.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.search-suggestion-item {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #404040;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.search-suggestion-item:hover {
    background: #404040;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-icon {
    color: #4a9eff;
    flex-shrink: 0;
}

.search-suggestion-text {
    flex: 1;
    color: #ffffff;
}

.search-suggestion-count {
    color: #cccccc;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Light Mode Search Suggestions */
.light-mode .search-suggestions-dropdown {
    background: #ffffff;
    border-color: #e1e4e8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.light-mode .search-suggestion-item {
    border-bottom-color: #e1e4e8;
}

.light-mode .search-suggestion-item:hover {
    background: #f8f9fa;
}

.light-mode .search-suggestion-text {
    color: #333333;
}

.light-mode .search-suggestion-count {
    color: #666666;
}

/* Search Page Body Class */
.search-page-active {
    /* Additional styles for search page */
}

/* Search Form Focus States */
.search-page-form .search-form-inner:focus-within .search-field {
    background: rgba(255, 255, 255, 0.05);
}

.light-mode .search-page-form .search-form-inner:focus-within .search-field {
    background: #ffffff;
}

/* Search Results Animation */
@keyframes searchResultFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-card {
    animation: searchResultFadeIn 0.6s ease forwards;
}

/* Search Tips Hover Effects */
.search-tips-content li:hover {
    background: rgba(74, 158, 255, 0.1);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.light-mode .search-tips-content li:hover {
    background: rgba(74, 158, 255, 0.05);
}

/* Search Page Accessibility */
.search-page-container [role="button"] {
    cursor: pointer;
}

.search-page-container [aria-hidden="true"] {
    display: none;
}

/* Search Page Print Styles */
@media print {
    .search-sidebar,
    .search-page-form,
    .search-pagination,
    .search-notification {
        display: none !important;
    }
    
    .search-content-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .search-result-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* Search Page High Contrast Mode */
@media (prefers-contrast: high) {
    .search-result-card,
    .search-sidebar .sidebar-widget {
        border: 2px solid #ffffff;
    }
    
    .search-page-header {
        border: 2px solid #ffffff;
    }
    
    .search-highlight {
        background: #ffff00;
        color: #000000;
    }
}

/* Search Page Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .search-result-card,
    .search-notification,
    .search-clear-btn,
    .search-submit {
        animation: none !important;
        transition: none !important;
    }
    
    .search-result-card:hover {
        transform: none !important;
    }
}

/* ===== MODERN COMMENTS DISPLAY STYLES - TEMA UYUMLU TASARIM ===== */

/* Existing Comments Section - Modern Card Design */
.existing-comments {
    margin: 2rem 1rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.existing-comments h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.existing-comments h3::before {
    content: "💬";
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.existing-comments h3::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Comments List - Modern Grid Layout */
.comments-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Individual Comment Item - Gaming/Anime Inspired Card */
.comment-item {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 0;
    border: 1px solid #404040;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.comment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #4a9eff 100%);
    z-index: 2;
}

.comment-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.comment-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    border-color: #4a9eff;
}

.comment-item:hover::after {
    left: 100%;
}

/* Comment Header with Avatar Area */
.comment-header {
    background: linear-gradient(135deg, #404040 0%, #4a4a4a 100%);
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    border-radius: 15px 15px 0 0;
    position: relative;
    z-index: 3;
}

/* Comment Meta Information - Enhanced Design */
.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0 0.5rem 0;
}

.comment-author {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
}

.comment-author::before {
    content: '';
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.comment-author::after {
    content: "👤";
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 2;
}

.comment-date {
    color: #cccccc;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-top: 0.3rem;
}

.comment-date::before {
    content: "🕒";
    font-size: 0.9rem;
}

/* Comment Content - Enhanced Typography */
.comment-content {
    color: #ffffff;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    padding: 1.5rem;
    background: #2d2d2d;
    border-radius: 0 0 15px 15px;
    position: relative;
    z-index: 3;
}

.comment-content p {
    margin: 0 0 1rem 0;
    text-align: justify;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* Comment Actions Area */
.comment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    background: #2d2d2d;
    border-radius: 0 0 15px 15px;
    margin-top: -1.5rem;
    position: relative;
    z-index: 3;
}

.comment-reply-btn {
    background: linear-gradient(135deg, #4a9eff 0%, #357abd 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.comment-reply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.comment-reply-btn::before {
    content: "↩️";
    font-size: 0.8rem;
}

/* No Comments Message - Enhanced Design */
.no-comments {
    text-align: center;
    padding: 4rem 2rem;
    color: #cccccc;
    font-style: normal;
    background: #2d2d2d;
    border-radius: 20px;
    border: 2px dashed #404040;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.no-comments::before {
    content: "💭";
    display: block;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.no-comments::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: shimmer 4s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.no-comments h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.no-comments p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

/* Comment Count Badge */
.comments-count-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    z-index: 10;
}

/* Light Mode Comments - Modern Light Design */
.light-mode .existing-comments h3 {
    background: linear-gradient(135deg, #4a9eff 0%, #357abd 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.3);
}

.light-mode .comment-item {
    background: #ffffff;
    border-color: #e1e4e8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.light-mode .comment-item:hover {
    box-shadow: 0 15px 35px rgba(74, 158, 255, 0.2);
    border-color: #4a9eff;
}

.light-mode .comment-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.light-mode .comment-author {
    color: #333333;
}

.light-mode .comment-date {
    color: #666666;
    background: rgba(0, 0, 0, 0.05);
}

.light-mode .comment-content {
    color: #333333;
    background: #ffffff;
}

.light-mode .comment-actions {
    background: #ffffff;
}

.light-mode .no-comments {
    color: #666666;
    background: #ffffff;
    border-color: #e1e4e8;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.light-mode .no-comments h4 {
    color: #333333;
}

/* Responsive Design for Modern Comments */
@media (max-width: 768px) {
    .existing-comments {
        margin: 2rem 0.5rem;
    }
    
    .existing-comments h3 {
        font-size: 1.5rem;
        padding: 1.2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .comments-list {
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .comment-item:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .comment-header {
        padding: 1.2rem;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-bottom: 0.8rem;
    }
    
    .comment-author {
        font-size: 1rem;
    }
    
    .comment-author::before,
    .comment-author::after {
        width: 35px;
        height: 35px;
    }
    
    .comment-date {
        font-size: 0.8rem;
        align-self: flex-start;
        margin-top: 0.5rem;
        padding: 0.25rem 0.5rem;
    }
    
    .comment-content {
        font-size: 0.95rem;
        padding: 1.2rem;
    }
    
    .comment-actions {
        padding: 0 1.2rem 1.2rem 1.2rem;
    }
    
    .no-comments {
        padding: 3rem 1.5rem;
    }
    
    .no-comments::before {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .no-comments h4 {
        font-size: 1.2rem;
    }
    
    .no-comments p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .existing-comments {
        margin: 1.5rem 0.3rem;
    }
    
    .existing-comments h3 {
        font-size: 1.3rem;
        padding: 1rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .comment-item:hover {
        transform: translateY(-3px);
    }
    
    .comment-header {
        padding: 1rem;
    }
    
    .comment-author {
        font-size: 0.95rem;
    }
    
    .comment-author::before,
    .comment-author::after {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .comment-date {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
        margin-top: 0.4rem;
    }
    
    .comment-content {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 1rem;
    }
    
    .comment-actions {
        padding: 0 1rem 1rem 1rem;
    }
    
    .comment-reply-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .no-comments {
        padding: 2.5rem 1rem;
    }
    
    .no-comments::before {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .no-comments h4 {
        font-size: 1.1rem;
    }
    
    .no-comments p {
        font-size: 0.9rem;
    }
    
    .comments-count-badge {
        top: -8px;
        right: 15px;
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Advanced Comment Animations */
.comment-item {
    animation: commentSlideIn 0.6s ease-out forwards;
}

@keyframes commentSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Animation for Multiple Comments */
.comment-item:nth-child(1) { animation-delay: 0.1s; }
.comment-item:nth-child(2) { animation-delay: 0.2s; }
.comment-item:nth-child(3) { animation-delay: 0.3s; }
.comment-item:nth-child(4) { animation-delay: 0.4s; }
.comment-item:nth-child(5) { animation-delay: 0.5s; }

/* Hover Effects for Interactive Elements */
.comment-author:hover::before {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.comment-date:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Accessibility Improvements */
.comment-item:focus-within {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
}

.comment-reply-btn:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .comment-item {
        border: 2px solid #ffffff;
    }
    
    .comment-author,
    .comment-content {
        color: #ffffff;
    }
    
    .light-mode .comment-author,
    .light-mode .comment-content {
        color: #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .comment-item,
    .comment-item::after,
    .existing-comments h3::after,
    .no-comments::after,
    .no-comments::before {
        animation: none !important;
        transition: none !important;
    }
    
    .comment-item:hover {
        transform: none !important;
    }
}

/* ===== TAG PAGE STYLES ===== */

/* Tag Content Wrapper */
.tag-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Tag Posts Section */
.tag-posts-section {
    width: 100%;
}

/* Tag Header New Design */
.tag-header-new {
    margin: 0 0 2rem 0;
    padding: 1.5rem;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.tag-header-new::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 8px solid #2d2d2d;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.tag-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.tag-title svg {
    color: #4a9eff;
}

.tag-post-count {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 500;
    background: #404040;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #555;
}

/* Tag Posts Grid */
.tag-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Tag Post Card */
.tag-post-card {
    background: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tag-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Tag Post Image */
.tag-post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tag-post-image .tag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tag-post-card:hover .tag-img {
    transform: scale(1.05);
}

.tag-post-image .no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    flex-direction: column;
    gap: 0.5rem;
}

.tag-post-image .placeholder-content {
    text-align: center;
    opacity: 0.7;
}

.tag-post-image .placeholder-content span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tag Post Content */
.tag-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Tag Post Meta */
.tag-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #cccccc;
}

.tag-post-date,
.tag-post-comments {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Tag Post Title */
.tag-post-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.tag-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tag-post-title a:hover {
    color: #4a9eff;
}

/* Tag Post Excerpt */
.tag-post-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    height: 3.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Tag Post Actions */
.tag-post-actions {
    margin-top: auto;
}

.tag-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.tag-read-more:hover {
    color: #357abd;
    transform: translateX(3px);
}

.tag-read-more svg {
    transition: transform 0.3s ease;
}

.tag-read-more:hover svg {
    transform: translateX(3px);
}

/* Tag Pagination */
.tag-pagination {
    text-align: center;
    margin: 3rem 0;
}

.tag-pagination .page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.tag-pagination .page-numbers a,
.tag-pagination .page-numbers span {
    padding: 0.8rem 1rem;
    background: transparent;
    color: #cccccc;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 0.95rem;
}

.tag-pagination .page-numbers a:hover {
    background: #404040;
    color: #ffffff;
}

.tag-pagination .page-numbers .current {
    background: #667eea;
    color: #ffffff;
    cursor: default;
    font-weight: 600;
}

/* No Tag Results */
.no-tag-results {
    text-align: center;
    padding: 4rem 2rem;
    background: #2d2d2d;
    border-radius: 15px;
    margin: 2rem 0;
}

.no-tag-results .no-results-content svg {
    color: #4a9eff;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-tag-results .no-results-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.no-tag-results .no-results-content p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Tag Sidebar */
.tag-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.tag-sidebar .sidebar-widget {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tag-sidebar .sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a9eff;
    color: #4a9eff;
    font-weight: 600;
}

/* Popular Tags Cloud */
.popular-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.tag-cloud-item {
    display: inline-block;
    padding: 0.15rem 0.35rem;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.6rem;
    transition: all 0.3s ease;
    line-height: 1.1;
    border: 1px solid transparent;
}

/* Colorful tag backgrounds */
.tag-cloud-item:nth-child(6n+1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.tag-cloud-item:nth-child(6n+2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: #f093fb;
}

.tag-cloud-item:nth-child(6n+3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-color: #4facfe;
}

.tag-cloud-item:nth-child(6n+4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-color: #43e97b;
}

.tag-cloud-item:nth-child(6n+5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-color: #fa709a;
}

.tag-cloud-item:nth-child(6n+6) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-color: #a8edea;
    color: #333333;
}

.tag-cloud-item:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

/* Light Mode Tag Page Styles */
.light-mode .tag-header-new,
.light-mode .tag-post-card,
.light-mode .no-tag-results,
.light-mode .tag-sidebar .sidebar-widget {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .tag-post-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.light-mode .tag-header-new::after {
    border-top-color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.light-mode .tag-title,
.light-mode .tag-post-title a,
.light-mode .no-tag-results .no-results-content h2 {
    color: #333333;
}

.light-mode .tag-post-count {
    color: #666666;
    background: #ffffff;
    border-color: #e1e4e8;
}

.light-mode .tag-post-meta,
.light-mode .tag-post-excerpt,
.light-mode .no-tag-results .no-results-content p {
    color: #666666;
}

.light-mode .tag-post-title a:hover {
    color: #4a9eff;
}

.light-mode .tag-read-more:hover {
    color: #357abd;
}

.light-mode .tag-pagination .page-numbers {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.light-mode .tag-pagination .page-numbers a,
.light-mode .tag-pagination .page-numbers span {
    color: #666666;
}

.light-mode .tag-pagination .page-numbers a:hover {
    background: #f0f0f0;
    color: #333333;
}

.light-mode .tag-pagination .page-numbers .current {
    background: #4a9eff;
    color: #ffffff;
}

/* Light mode colorful tag backgrounds */
.light-mode .tag-cloud-item {
    color: #ffffff;
    border: 1px solid transparent;
}

.light-mode .tag-cloud-item:nth-child(6n+1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.light-mode .tag-cloud-item:nth-child(6n+2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: #f093fb;
}

.light-mode .tag-cloud-item:nth-child(6n+3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-color: #4facfe;
}

.light-mode .tag-cloud-item:nth-child(6n+4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-color: #43e97b;
}

.light-mode .tag-cloud-item:nth-child(6n+5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-color: #fa709a;
}

.light-mode .tag-cloud-item:nth-child(6n+6) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-color: #a8edea;
    color: #333333;
}

.light-mode .tag-cloud-item:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Tag Page Responsive Design */
@media (max-width: 768px) {
    .tag-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .tag-sidebar {
        position: static;
        order: 2;
    }
    
    .tag-posts-section {
        order: 1;
    }
    
    .tag-posts {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tag-post-card {
        max-width: 100%;
        margin: 0;
    }
    
    .tag-post-image {
        height: 180px;
    }
    
    .tag-post-content {
        padding: 1rem;
    }
    
    .tag-post-title {
        font-size: 1.2rem;
    }
    
    .tag-header-new {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .tag-header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .tag-title {
        font-size: 1.5rem;
        justify-content: center;
    }
    
    .popular-tags-cloud {
        justify-content: center;
    }
    
    .tag-pagination .page-numbers {
        padding: 0.8rem 1rem;
        gap: 0.3rem;
        flex-wrap: wrap;
    }
    
    .tag-pagination .page-numbers a,
    .tag-pagination .page-numbers span {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        min-width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .tag-header-new {
        padding: 1rem;
    }
    
    .tag-title {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tag-post-image {
        height: 150px;
    }
    
    .tag-post-content {
        padding: 0.8rem;
    }
    
    .tag-post-title {
        font-size: 1.1rem;
    }
    
    .tag-cloud-item {
        font-size: 0.55rem;
        padding: 0.1rem 0.25rem;
        border-radius: 6px;
    }
    
    .no-tag-results {
        padding: 2rem 1rem;
    }
    
    .no-tag-results .no-results-content h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .tag-content-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .tag-posts {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tag Page Site Main Override */
.tag .site-main {
    display: block;
    grid-template-columns: none;
    gap: 0;
    padding: 0;
}


/* Gündüz Modu Makale Yazı Rengi Düzeltmesi (Daha Güçlü Kural) */
body.light-mode .post-content-body p {
    color: #333333 !important;
}
