/*
Theme Name: Blogio
Theme URI: https://example.com/blogio
Author: Your Name
Author URI: https://example.com
Description: Modern, profesyonel ve tam responsive bir WordPress blog teması. Güçlü özelleştirme seçenekleri ve modüler yapı ile geliştirilmiştir.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blogio
Tags: blog, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout

Blogio WordPress Theme, Copyright 2025
Blogio is distributed under the terms of the GNU GPL
*/

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Default Color Scheme */
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --text-light: #4b5563; /* Changed from #6b7280 for better contrast */
    --bg-color: #ffffff;
    --bg-gray: #f9fafb;
    --border-color: #e5e7eb;
    --accent-color: #f59e0b;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: -0.011em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Screen Reader Only Text - Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Dark Mode Styles */
body.dark-mode {
    --text-color: #e5e7eb;
    --text-light: #9ca3af;
    --bg-color: #1f2937;
    --bg-gray: #111827;
    --border-color: #374151;
    background-color: #111827;
    color: #e5e7eb;
}

body.dark-mode .site-header {
    background-color: #1f2937;
    border-bottom-color: #374151;
}

body.dark-mode .header-main {
    background: #1f2937;
    border-bottom-color: #374151;
}

body.dark-mode .post-card {
    background-color: #1f2937;
    border-color: #374151;
}

body.dark-mode .widget {
    background-color: #1f2937;
    border-color: #374151;
}

body.dark-mode .single .entry-header,
body.dark-mode .single .entry-content,
body.dark-mode .single .entry-footer,
body.dark-mode .comments-area {
    background-color: #1f2937;
    border-color: #374151;
}

body.dark-mode .widget-title {
    background-color: var(--primary-color);
    color: #ffffff;
}

body.dark-mode .widget-title::before {
    background-color: transparent;
}

body.dark-mode .pagination .page-numbers {
    background-color: #374151;
    border-color: #4b5563;
    color: #e5e7eb;
}

body.dark-mode .pagination .page-numbers:hover {
    background-color: #4b5563;
    border-color: var(--primary-color);
    color: #ffffff;
}

body.dark-mode .pagination .page-numbers.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

body.dark-mode .entry-meta-top,
body.dark-mode .entry-summary {
    color: #9ca3af;
}

body.dark-mode .entry-title a {
    color: #f3f4f6;
}

body.dark-mode .cat-links a,
body.dark-mode .tags-links a {
    background-color: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

body.dark-mode .cat-links a:hover,
body.dark-mode .tags-links a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

body.dark-mode .comment-body {
    background-color: #374151;
    border-color: #4b5563;
}

body.dark-mode .comment-form input[type="text"],
body.dark-mode .comment-form input[type="email"],
body.dark-mode .comment-form input[type="url"],
body.dark-mode .comment-form textarea {
    background-color: #374151;
    border-color: #4b5563;
    color: #e5e7eb;
}

body.dark-mode .breadcrumb-item a {
    color: #9ca3af;
}

body.dark-mode .breadcrumb-item.active {
    color: #e5e7eb;
}

body.dark-mode .featured-slider-container {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .read-more-btn {
    color: #a5b4fc;
    border-color: #a5b4fc;
}

body.dark-mode .read-more-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

body.dark-mode .social-share-wrapper {
    background-color: #1f2937;
}

body.dark-mode .social-share-author {
    background-color: #374151;
    border-color: #4b5563;
}

body.dark-mode .author-avatar .avatar-img {
    border-color: #4b5563;
}

body.dark-mode .social-share-author:hover .avatar-img {
    border-color: var(--primary-color);
}

body.dark-mode .social-share-wrapper {
    background-color: #1f2937;
}

body.dark-mode .share-button {
    background-color: #374151;
    border-color: #4b5563;
    color: #e5e7eb;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #f3f4f6;
}

body.dark-mode p {
    color: #d1d5db;
}

/* Dark Mode - Single Post Page Specific */
body.dark-mode .single .entry-title {
    color: #f9fafb !important;
}

body.dark-mode .single .entry-meta {
    color: #9ca3af !important;
}

body.dark-mode .single .entry-meta i {
    color: #a5b4fc !important;
}

body.dark-mode .single .entry-content {
    color: #d1d5db !important;
}

body.dark-mode .single .entry-content h2,
body.dark-mode .single .entry-content h3,
body.dark-mode .single .entry-content h4 {
    color: #f3f4f6 !important;
}

body.dark-mode .single .entry-content a {
    color: #a5b4fc !important;
}

body.dark-mode .single .entry-content a:hover {
    color: #c7d2fe !important;
}

body.dark-mode .single .entry-content code {
    background-color: #374151 !important;
    color: #fbbf24 !important;
}

body.dark-mode .single .entry-content pre {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
}

body.dark-mode .single .entry-content blockquote {
    background-color: #374151 !important;
    border-left-color: var(--primary-color) !important;
    color: #d1d5db !important;
}

body.dark-mode .related-posts {
    background-color: #1f2937 !important;
}

body.dark-mode .related-posts-title {
    color: #f3f4f6 !important;
}

body.dark-mode .related-post-item {
    background-color: #374151 !important;
}

body.dark-mode .related-post-item:hover {
    background-color: #4b5563 !important;
}

body.dark-mode .related-post-title a {
    color: #e5e7eb !important;
}

body.dark-mode .related-post-meta {
    color: #9ca3af !important;
}

body.dark-mode .comments-title {
    color: #f3f4f6 !important;
}

body.dark-mode .comment-author {
    color: #f3f4f6 !important;
}

body.dark-mode .comment-metadata {
    color: #9ca3af !important;
}

body.dark-mode .comment-metadata a {
    color: #9ca3af !important;
}

body.dark-mode .comment-content {
    color: #d1d5db !important;
}

body.dark-mode .reply a {
    color: #a5b4fc !important;
}

body.dark-mode .comment-form label {
    color: #e5e7eb !important;
}

body.dark-mode .share-label {
    color: #f3f4f6 !important;
}

/* Dark Mode - Social share wrapper stronger contrast */
body.dark-mode .social-share-wrapper {
    background-color: #1f2937 !important;
    border: 1px solid #374151 !important;
    box-shadow: none !important;
}

body.dark-mode .share-button {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #e5e7eb !important;
    box-shadow: none !important;
}

/* Ensure footer container behind share area is dark */
body.dark-mode .single .entry-footer,
body.dark-mode.single-post .entry-footer {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
    box-shadow: none !important;
}

/* Sharper label color */
body.dark-mode .share-label {
    color: #ffffff !important;
    font-weight: 600;
}

body.dark-mode .share-button:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25) !important;
}

/* Dark Mode - Comments area stronger contrast */
body.dark-mode .comments-area {
    background-color: #1f2937 !important;
    border: 1px solid #374151 !important;
    box-shadow: none !important;
}

body.dark-mode .comment-form input[type="text"],
body.dark-mode .comment-form input[type="email"],
body.dark-mode .comment-form input[type="url"],
body.dark-mode .comment-form textarea {
    background-color: #111827 !important;
    border-color: #374151 !important;
    color: #e5e7eb !important;
}

body.dark-mode .comment-form input::placeholder,
body.dark-mode .comment-form textarea::placeholder {
    color: #9ca3af !important;
}

/* Dark Mode - Force visibility and high contrast on single pages (last override) */
body.dark-mode.single article,
body.dark-mode.single .entry-header,
body.dark-mode.single .entry-content,
body.dark-mode.single-post article,
body.dark-mode.single-post .entry-header,
body.dark-mode.single-post .entry-content {
    opacity: 1 !important;
    background-color: #111827 !important;
    border-color: #374151 !important;
    color: #e5e7eb !important;
}

body.dark-mode.single .entry-content p,
body.dark-mode.single-post .entry-content p {
    color: #e5e7eb !important;
}

body.dark-mode.single .entry-header .entry-title,
body.dark-mode.single-post .entry-header .entry-title {
    color: #f9fafb !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
    letter-spacing: -0.025em;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.75;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    padding: 0.5rem 0;
}

/* Anasayfa için üst boşluk */
.home .site-content,
.blog .site-content {
    padding-top: var(--spacing-lg);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.content-area {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.posts-sidebar-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .posts-sidebar-wrapper {
        grid-template-columns: 2fr 1fr;
    }
}

.posts-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.featured-posts-section {
    margin-bottom: var(--spacing-xl);
}

/* ==========================================================================
   Header - Modern Professional Design
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.header-top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.625rem 0;
    font-size: 0.813rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-tagline {
    font-weight: 500;
    opacity: 0.95;
}

.header-social {
    display: flex;
    gap: 1rem;
}

.header-social a {
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.header-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.header-main {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.125rem 0;
    max-width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo img {
    max-height: 42px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo img:hover {
    transform: scale(1.05);
}

.site-logo-text {
    margin-right: var(--spacing-sm);
}

.logo-text-link {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    font-family: 'Archivo Narrow', var(--font-heading);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: -0.03em;
    position: relative;
    white-space: nowrap;
}

.logo-text-link:hover {
    color: var(--primary-color);
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--primary-color);
}

.site-description {
    font-size: 0.813rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 400;
    opacity: 0.9;
}

/* ==========================================================================
   Dark Mode Toggle
   ========================================================================== */

.dark-mode-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0;
    transition: all 0.25s ease;
    margin-left: 0.5rem;
    position: relative;
    z-index: 100;
    line-height: 1;
}

.dark-mode-toggle .svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.dark-mode-toggle svg {
    display: block;
}

.dark-mode-toggle:hover {
    background-color: var(--bg-gray);
    transform: scale(1.05);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

.dark-mode .dark-mode-toggle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.dark-mode .dark-mode-toggle i::before {
    content: "\f185"; /* fa-sun */
}

/* ==========================================================================
   Search Toggle
   ========================================================================== */

.search-toggle-wrapper {
    position: relative;
}

.search-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1001;
    line-height: 1;
}

.search-toggle .svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.search-toggle svg {
    display: block;
}

.search-toggle:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.search-toggle:active {
    transform: scale(0.95);
}

.search-form-wrapper {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}

.search-toggle-wrapper.active .search-form-wrapper {
    width: 240px;
    opacity: 1;
    padding-right: 46px;
}

.search-form-wrapper .search-form {
    display: flex;
    margin: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-form-wrapper .search-form label {
    flex: 1;
    margin: 0;
}

.search-form-wrapper .search-form .search-field {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: none;
    background: white;
    font-size: 0.813rem;
    color: var(--text-color);
    outline: none;
    height: 44px;
}

.search-form-wrapper .search-form .search-field::placeholder {
    color: var(--text-light);
}

.search-form-wrapper .search-form .search-submit {
    padding: 0 1.25rem;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    white-space: nowrap;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form-wrapper .search-form .search-submit:hover {
    background: var(--secondary-color);
}

@media (max-width: 767px) {
    .search-toggle-wrapper.active .search-form-wrapper {
        width: 200px;
    }
    
    .search-toggle {
        width: 40px;
        height: 40px;
        font-size: 0.813rem;
    }
    
    .search-form-wrapper .search-form .search-field {
        height: 40px;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .search-form-wrapper .search-form .search-submit {
        height: 40px;
        padding: 0 1rem;
        font-size: 0.813rem;
    }
    
    .dark-mode-toggle {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
        margin-right: 0.375rem;
    }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-navigation {
    position: relative;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.938rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    letter-spacing: -0.01em;
    position: relative;
    line-height: 1.4;
    min-height: 44px;
}

.main-navigation a i {
    margin-right: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0.375rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.main-navigation a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--primary-color);
    font-weight: 600;
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu */
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    z-index: 1000;
    margin-top: 0.5rem;
}

.main-navigation li:hover > .sub-menu {
    display: block;
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    padding: 0.75rem 1.25rem;
    border-radius: 0;
}

.main-navigation .sub-menu a::after {
    display: none;
}

.main-navigation .sub-menu a:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* Nested Dropdown */
.main-navigation .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0.5rem;
}

/* Dropdown Arrow Indicator */
.main-navigation .menu-item-has-children > a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f107"; /* fa-angle-down */
    margin-right: 0.375rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

.main-navigation .sub-menu .menu-item-has-children > a::before {
    content: "\f105"; /* fa-angle-right */
}

/* Dark Mode Dropdown */
body.dark-mode .main-navigation .sub-menu {
    background: #1f2937;
    border-color: #374151;
}

body.dark-mode .main-navigation .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Toggle - Hamburger Icon */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
}

.menu-toggle:hover {
    opacity: 0.7;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle:hover .hamburger-icon span {
    background-color: var(--primary-color);
}

/* Hamburger Animation - X Shape When Active */
.main-navigation.toggled .menu-toggle .hamburger-icon span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.main-navigation.toggled .menu-toggle .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.main-navigation.toggled .menu-toggle .hamburger-icon span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: 0;
    }
    
    .hamburger-icon {
        width: 24px;
        height: 18px;
    }
    
    .hamburger-icon span {
        height: 3px;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--bg-color);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: var(--spacing-sm);
        min-width: 200px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .main-navigation.toggled ul {
        display: flex;
    }
    
    /* Mobile Dropdown */
    .main-navigation .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--primary-color);
        margin: 0.5rem 0 0 1rem;
        padding: 0;
        background: transparent;
    }
    
    .main-navigation .submenu-open > .sub-menu {
        display: flex;
    }
    
    .main-navigation .sub-menu a {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .main-navigation .sub-menu .sub-menu {
        margin-left: 1rem;
    }
    
    .main-navigation .menu-item-has-children > a::before {
        content: "\f107"; /* fa-angle-down */
        float: right;
    }
    
    .main-navigation .submenu-open > a::before {
        content: "\f106"; /* fa-angle-up */
    }
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */

.breadcrumb-navigation {
    margin-bottom: 0.25rem;
    padding: 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-color);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--text-light);
    margin: 0 0.25rem;
    user-select: none;
}

/* ==========================================================================
   Posts & Content
   ========================================================================== */

.posts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Modern Card Design */
.post-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: none;
}

.post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.post-card-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .post-card-inner {
        grid-template-columns: 340px 1fr;
        gap: 0;
        height: 220px;
    }
}

.post-card .post-thumbnail {
    position: relative;
    height: 200px;
    background: var(--bg-color);
    padding: 0.75rem;
}

@media (min-width: 768px) {
    .post-card .post-thumbnail {
        height: 220px;
        width: 340px;
        padding: 0.75rem;
    }
}

.post-card .post-thumbnail-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    background: #2c3e50;
}

.post-card .post-thumbnail-inner a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-card .post-thumbnail-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 1;
    z-index: 1;
    border-radius: 10px;
}

.post-card .post-thumbnail-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 0;
}

.post-card:hover .post-thumbnail-inner img {
    transform: scale(1.05);
}

.post-content-wrapper {
    padding: 0.75rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow: hidden;
}

.entry-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.813rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.entry-meta-top .posted-on,
.entry-meta-top .comments-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    line-height: 1;
}

.entry-meta-top i {
    font-size: 0.813rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
}

.post-card .entry-header {
    padding: 0;
}

.post-card .entry-title {
    margin-bottom: 0.375rem;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .post-card .entry-title {
        font-size: 1.25rem;
    }
}

.post-card .entry-title a {
    color: var(--text-color);
    transition: var(--transition);
}

.post-card .entry-title a:hover {
    color: var(--primary-color);
}

.post-card .entry-summary {
    padding: 0;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card .entry-footer {
    padding: 0;
    padding-top: 0;
    border-top: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.813rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.read-more-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Old read-more style (for compatibility) */
.read-more {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    background-color: var(--secondary-color);
    color: white;
}

.cat-links,
.tags-links {
    font-size: 0.875rem;
}

.cat-links a,
.tags-links a {
    display: inline-block;
    padding: 0.5rem 1.125rem;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    margin-right: 0.625rem;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    min-height: 36px;
    line-height: 1.4;
}

.cat-links a:hover,
.tags-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Single Post */
.single .entry-header {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: white;
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.single .entry-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .single .entry-title {
        font-size: 2.75rem;
    }
}

.single .entry-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.938rem;
    color: var(--text-light);
    font-weight: 500;
}

.single .entry-meta > * {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}

.single .entry-meta i {
    color: var(--primary-color);
    font-size: 0.938rem;
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
}

.single .entry-content {
    padding: 2.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
    background-color: white;
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.single .entry-content p {
    margin-bottom: 1.5rem;
}

.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single .entry-footer {
    display: none;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.widget-area {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.widget {
    background-color: var(--bg-color);
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

/* Tabbed Widget */
.widget.blogio-tabs-widget {
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.blogio-tabs-widget {
    margin: 0;
}

.blogio-tabs-widget .tabs-nav {
    display: flex;
    padding: 0 1.5rem;
    background-color: var(--primary-color);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blogio-tabs-widget .tab-link {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.blogio-tabs-widget .tab-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.blogio-tabs-widget .tab-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.blogio-tabs-widget .tabs-content {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    background: var(--bg-color);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.blogio-tabs-widget .tab-pane {
    display: none;
}

.blogio-tabs-widget .tab-pane.active {
    display: block;
}

.blogio-tabs-widget .tab-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blogio-tabs-widget .tab-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
}

.blogio-tabs-widget .tab-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.blogio-tabs-widget .tab-item:last-child {
    border-bottom: none;
}

.blogio-tabs-widget .tab-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.blogio-tabs-widget .tab-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blogio-tabs-widget .tab-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    justify-content: center;
}

.blogio-tabs-widget .tab-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blogio-tabs-widget .tab-title:hover {
    color: var(--primary-color);
}

.blogio-tabs-widget .tab-meta {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
}

/* Dark mode */
body.dark-mode .blogio-tabs-widget .tabs-content {
    background: #1f2937;
}

body.dark-mode .blogio-tabs-widget .tab-item {
    border-bottom-color: #374151;
}

body.dark-mode .blogio-tabs-widget .tab-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

body.dark-mode .blogio-tabs-widget .tab-title {
    color: #e5e7eb;
}

body.dark-mode .blogio-tabs-widget .tab-meta {
    color: #9ca3af;
}

.widget:hover {
    box-shadow: var(--shadow-md);
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: 0;
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    letter-spacing: -0.02em;
}

.widget ul {
    list-style: none;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.widget ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    display: block;
    transition: var(--transition);
    color: var(--text-color);
    font-size: 0.938rem;
    padding: 0.25rem 0;
    line-height: 1.5;
}

.widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* ==========================================================================
   Footer - Clean Centered Beautiful Design
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    margin-top: 5rem;
    position: relative;
    text-align: center;
}

.footer-main {
    padding: 4rem 0 2.5rem;
    position: relative;
}

.footer-bottom {
    background: #1a1a1a;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets {
    display: none;
}

.footer-widget-area {
    padding: 0;
}

.footer-main .container {
    max-width: 800px;
}

.footer-branding {
    margin-bottom: 2rem;
}

.footer-branding h2 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.footer-branding p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.footer-widget .widget-title {
    display: none;
}

.footer-widget .widget-title::before {
    display: none;
}

.footer-widget .widget-title::after {
    display: none;
}

.footer-widget .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget .widget ul li {
    padding: 0.625rem 0;
    border-bottom: none;
}

.footer-widget .widget ul li:last-child {
    border-bottom: none;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.938rem;
    font-weight: 400;
}

.footer-widget a:hover {
    color: #ffffff;
    padding-left: 0.5rem;
}

.site-info {
    text-align: center;
    padding-top: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

.site-info a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 400;
}

.site-info a:hover {
    color: #ffffff;
}

.site-info .sep {
    margin: 0 0.375rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Social Links */
.social-links,
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0;
}

.social-links a,
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.social-links a:hover,
.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

/* Footer Navigation Menu */
.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.938rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.5;
    padding: 0.5rem;
    min-height: 44px;
}

.footer-nav a i {
    font-size: 0.938rem;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
}

.footer-nav a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-nav a:hover i {
    opacity: 1;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: var(--spacing-xl);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.125rem;
    background-color: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-color);
    min-width: 44px;
    min-height: 44px;
    text-align: center;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.938rem;
}

.pagination .page-numbers:hover {
    background-color: var(--bg-gray);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .page-numbers.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
    margin-top: 1.5rem !important;
    padding: 2rem !important;
    background-color: white !important;
    border-radius: var(--radius-xl) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: var(--shadow-sm) !important;
}

.comments-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.comment-list {
    list-style: none;
}

.comment-body {
    padding: 1.5rem;
    background-color: var(--bg-gray);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.comment-body:hover {
    box-shadow: var(--shadow-sm);
}

.comment-author {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.comment-content {
    margin-top: var(--spacing-sm);
}

.reply {
    margin-top: var(--spacing-sm);
}

.reply a {
    font-size: 0.875rem;
    color: var(--primary-color);
}

.comment-respond {
    margin-top: var(--spacing-md);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.938rem;
    transition: var(--transition);
    background-color: white;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    align-self: flex-start;
    padding: 0.75rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
}

.comment-form input[type="submit"]:hover {
    background-color: var(--secondary-color);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --container-width: 960px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 100%;
        --spacing-xl: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .single .entry-title {
        font-size: 2rem;
    }
    
    .header-inner {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .site-branding {
        gap: 0.5rem;
        min-width: 0;
        flex-shrink: 1;
    }
    
    .logo-text-link {
        font-size: 1.125rem;
        letter-spacing: -0.04em;
    }
    
    .site-branding-text {
        display: none;
    }
    
    .header-right {
        gap: 0.375rem;
        flex-shrink: 0;
    }
    
    .main-navigation {
        margin-right: -0.5rem;
    }
    
    .dark-mode-toggle,
    .search-toggle {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
    }
    
    h1 { font-size: 1.75rem; }
    
    .single .entry-title {
        font-size: 1.75rem;
    }
    
    .logo-text-link {
        font-size: 1rem;
        letter-spacing: -0.05em;
    }
    
    .header-inner {
        padding: 0.875rem 0;
    }
    
    .dark-mode-toggle,
    .search-toggle {
        width: 36px;
        height: 36px;
    }
    
    .search-form-wrapper .search-form .search-field {
        height: 36px;
        padding: 0.375rem 0.625rem;
        font-size: 0.688rem;
    }
    
    .search-form-wrapper .search-form .search-submit {
        height: 36px;
        padding: 0 0.875rem;
        font-size: 0.75rem;
    }
    
    .main-navigation {
        margin-right: -0.625rem;
    }
}

/* ==========================================================================
   Featured Slider - Modern & Professional Style
   ========================================================================== */

.featured-slider-wrapper {
    margin-bottom: 3rem;
}

.featured-slider-container {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    background: #2c3e50;
}

/* Slider Placeholder */
/* Placeholder varsa orijinal başlığı gizle */
.featured-slide.has-placeholder .featured-slide-content {
    display: none;
}

.slider-placeholder-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.slider-placeholder-thumbnail:hover {
    transform: scale(1.02);
}

.slider-placeholder-thumbnail:hover .slider-placeholder-title {
    text-decoration: none;
}

.slider-placeholder-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.slider-placeholder-icon {
    opacity: 0.95;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: iconFloat 4s ease-in-out infinite;
}

.slider-placeholder-icon svg {
    width: 80px;
    height: 80px;
    stroke: white;
}

.slider-placeholder-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    color: white;
    margin: 0;
    letter-spacing: -0.02em;
}

.slider-placeholder-category {
    font-size: 0.938rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-placeholder-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.08;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.1) 20px,
            rgba(255, 255, 255, 0.1) 40px
        );
    animation: patternMove 30s linear infinite;
}

/* Responsive slider placeholder */
@media (max-width: 1024px) {
    .slider-placeholder-icon svg {
        width: 64px;
        height: 64px;
    }
    
    .slider-placeholder-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 768px) {
    .slider-placeholder-content {
        padding: 2rem 1.5rem;
    }
    
    .slider-placeholder-icon svg {
        width: 52px;
        height: 52px;
    }
    
    .slider-placeholder-title {
        font-size: 1.5rem;
    }
    
    .slider-placeholder-category {
        font-size: 0.813rem;
        padding: 0.375rem 1.125rem;
    }
}

.featured-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.featured-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.featured-slide-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-slide.active .featured-slide-image img {
    transform: scale(1.08);
}

.featured-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.85) 0%, 
        rgba(0,0,0,0.4) 60%, 
        transparent 100%);
    z-index: 1;
}

.featured-slide-content {
    position: absolute;
    bottom: 4rem;
    left: 0;
    right: 0;
    padding: 0 2.5rem;
    color: white;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.featured-slide.active .featured-slide-content {
    opacity: 1;
    transform: translateY(0);
}


.featured-slide-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: white;
    letter-spacing: -0.01em;
    max-width: 800px;
}

.featured-slide-title a {
    color: white;
    transition: var(--transition);
}

.featured-slide-title a:hover {
    opacity: 0.9;
}

/* Navigation Buttons */
.featured-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    opacity: 0;
}

.featured-slider-container:hover .featured-slider-btn {
    opacity: 1;
}

.featured-slider-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.05);
}

.featured-slider-btn svg {
    color: white;
    width: 20px;
    height: 20px;
}

.featured-slider-prev {
    left: 1.5rem;
}

.featured-slider-next {
    right: 1.5rem;
}

/* Dots Navigation */
.featured-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    padding: 0.5rem 0.75rem;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
}

.slider-dot:hover {
    background-color: rgba(255,255,255,0.7);
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: white;
    width: 24px;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-slider-container {
        height: 380px;
    }
    
    .featured-slide-title {
        font-size: 1.75rem;
    }
    
    .featured-slide-content {
        padding: 1.75rem 2rem;
    }
}

@media (max-width: 768px) {
    .featured-slider-container {
        height: 320px;
        border-radius: 10px;
    }
    
    .featured-slide-title {
        font-size: 1.5rem;
    }
    
    .featured-slide-content {
        padding: 1.5rem 1.5rem;
    }
    
    .featured-slider-btn {
        width: 48px;
        height: 48px;
    }
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    backdrop-filter: blur(10px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 15px;
    }
    
    .back-to-top svg {
        width: 22px;
        height: 22px;
    }
}

/* ==========================================================================
   Table Wrapper
   ========================================================================== */

.table-wrapper {
    overflow-x: auto;
    margin: var(--spacing-lg) 0;
}

/* ==========================================================================
   Reveal Animation (only on listing pages)
   ========================================================================== */

.home article, 
.blog article, 
.archive article, 
.search article {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.home article.visible, 
.blog article.visible,
.archive article.visible,
.search article.visible {
    opacity: 1;
    transform: translateY(0);
}

/* SVG Icon Styling */
.svg-icon svg {
    display: inline-block;
    vertical-align: middle;
}

/* Social Share Buttons */
.social-share-wrapper {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background-color: var(--bg-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.social-share-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-left: auto;
}

.share-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.875rem;
}

.social-share-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-button.share-facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    color: white;
}

.share-button.share-twitter:hover {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.share-button.share-linkedin:hover {
    background-color: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.share-button.copied {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
}

/* Social Share Author Info */
.social-share-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: var(--bg-color);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.social-share-author:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.author-avatar {
    flex-shrink: 0;
    line-height: 0;
}

.author-avatar .avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    display: block;
}

.social-share-author:hover .avatar-img {
    border-color: var(--primary-color);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.author-label {
    font-size: 0.625rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.author-name {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.author-name:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .social-share-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    .social-share-right {
        margin-left: 0;
        width: 100%;
    }
}

/* Breadcrumb SVG Icons */
.breadcrumb-item .svg-icon {
    display: inline-flex;
    align-items: center;
}
    }
    
    .featured-slider-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .featured-slider-prev {
        left: 1rem;
    }
    
    .featured-slider-next {
        right: 1rem;
    }
    
    .featured-slider-dots {
        bottom: 1.25rem;
        padding: 0.625rem 1rem;
    }
}

@media (max-width: 480px) {
    .featured-slider-container {
        height: 280px;
        border-radius: 8px;
    }
    
    .featured-slide-title {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .featured-slide-content {
        padding: 1.25rem 1.25rem;
    }
    
    .featured-slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .featured-slider-prev {
        left: 0.75rem;
    }
    
    .featured-slider-next {
        right: 0.75rem;
    }
    
    .featured-slider-dots {
        bottom: 1rem;
        padding: 0.5rem 0.875rem;
        gap: 6px;
    }
    
    .slider-dot {
        width: 6px;
        height: 6px;
    }
    
    .slider-dot.active {
        width: 24px;
    }
}

/* ==========================================================================
   Related Posts
   ========================================================================== */

.related-posts {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: var(--spacing-md);
    border-top: none;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.related-posts-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.related-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.related-post-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: var(--bg-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.related-post-item:hover {
    background-color: rgba(79, 70, 229, 0.05);
}

.related-post-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--bg-color);
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-post-item:hover .related-post-thumbnail img {
    opacity: 0.9;
}

.related-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    border: 1px dashed var(--border-color);
    color: var(--text-light);
    opacity: 0.5;
}

.related-post-content {
    flex: 1;
    min-width: 0;
}

.related-post-title {
    font-size: 0.938rem;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.4;
}

.related-post-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-title a:hover {
    color: var(--primary-color);
}

.related-post-meta {
    font-size: 0.813rem;
    color: var(--text-light);
}

/* ==========================================================================
   Social Share Buttons
   ========================================================================== */

.social-share-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    margin-top: 0;
    margin-bottom: 0;
    background-color: white;
    border-radius: 8px;
    border-top: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.share-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.938rem;
}

.social-share-buttons {
    display: flex;
    gap: 0.625rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-gray);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    text-decoration: none;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.share-facebook:hover {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-twitter:hover {
    background-color: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.share-whatsapp:hover {
    background-color: #25d366;
    color: white;
    border-color: #25d366;
}

.share-linkedin:hover {
    background-color: #0077b5;
    color: white;
    border-color: #0077b5;
}

.share-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.share-link.copied {
    background-color: #10b981;
    color: white;
    border-color: #10b981;
}

@media (max-width: 480px) {
    .social-share-wrapper {
        flex-wrap: wrap;
    }
    
    .share-button {
        width: 34px;
        height: 34px;
        font-size: 0.813rem;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
