/*
Theme Name: Wikilio Knowledge Base
Description: Profesyonel bilgi tabanı teması - SEO optimized, responsive
Version: 2.1
Author: Wikilio Team
*/

:root {
    /* Açık Tema - Beyaz Arka Plan + Cyberpunk Renkler */
    --neon-cyan: #0099cc;
    --neon-pink: #cc0066;
    --neon-green: #00994d;
    --neon-purple: #7b2cbf;
    --neon-orange: #ff6b35;
    
    /* Arka Plan Renkleri */
    --dark-bg: #ffffff;
    --darker-bg: #f8f9fa;
    --bg-color: #ffffff;
    --bg-light: #f5f7fa;
    --bg-card: #ffffff;
    
    /* Metin Renkleri */
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #8e8ea9;
    --text-color: #2d3748;
    --text-light: #718096;
    
    /* Border & Shadow */
    --border-color: #e2e8f0;
    --border-accent: rgba(0, 153, 204, 0.3);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    /* Cyberpunk Efektler - Daha Yumuşak */
    --glow-cyan: 0 0 15px rgba(0, 153, 204, 0.2);
    --glow-pink: 0 0 15px rgba(204, 0, 102, 0.2);
    --glow-green: 0 0 15px rgba(0, 153, 77, 0.2);
    
    /* Gradient Renkler */
    --gradient-primary: linear-gradient(135deg, #0099cc 0%, #cc0066 100%);
    --gradient-secondary: linear-gradient(135deg, #00994d 0%, #7b2cbf 100%);
}

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

body {
    font-family: "Source Code Pro", "Courier New", monospace;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
    transition: none;
}

/* Arka Plan Efekti - Hafif Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 153, 204, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(204, 0, 102, 0.03) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Header - TAMAMEN BEYAZ, SCROLL'DA DEĞİŞMEZ */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-accent);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: none;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-weight: 900;
    font-size: 18px;
    box-shadow: var(--glow-cyan);
    flex-shrink: 0;
}

.site-title {
    font-family: "Orbitron", monospace;
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 900;
    margin: 0;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.site-tagline {
    font-size: clamp(11px, 2vw, 14px);
    color: var(--text-secondary);
    margin: 0;
    font-weight: 300;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 14px;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
}

/* Search Section - Responsive */
.search-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: clamp(30px, 8vw, 60px) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.search-container form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: clamp(12px, 3vw, 20px) clamp(15px, 4vw, 30px);
    border: 2px solid var(--neon-cyan);
    border-radius: 50px;
    font-size: clamp(14px, 3vw, 18px);
    background: white;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 153, 204, 0.15);
}

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

.search-input:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 4px 20px rgba(204, 0, 102, 0.25);
}

.search-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: clamp(10px, 3vw, 15px) clamp(15px, 4vw, 25px);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 153, 204, 0.3);
    font-size: clamp(12px, 2.5vw, 14px);
    white-space: nowrap;
}

.search-button:hover {
    background: var(--gradient-secondary);
    box-shadow: 0 6px 25px rgba(204, 0, 102, 0.4);
    transform: translateY(-2px);
}

/* WIKIHOW ANA SAYFA - 12 KONU GRID (2 SIRA x 6 SÜTUN) */
.hp-main-section {
    padding: clamp(30px, 6vw, 50px) 0;
    background: white;
}

.hp-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
}

/* Ana Grid - 6 sütun desktop */
.hp_main_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 1280px) {
    .hp_main_grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .hp_main_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hp_main_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hp_main_grid {
        grid-template-columns: 1fr;
    }
}

/* Ana Sayfa Thumbnail Link */
.hp_thumb_link {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.hp_thumb_link:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--neon-cyan);
}

/* Ana Thumbnail */
.hp_thumb {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.hp_thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hp_thumb_link:hover .hp_thumb img {
    transform: scale(1.05);
}

/* Ana Thumbnail Title */
.hp_thumb_title {
    padding: 12px 12px 8px;
    min-height: 56px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-primary);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp_thumb_link:hover .hp_thumb_title {
    color: var(--neon-cyan);
}

/* Ana Thumbnail Category - Sol Alt */
.hp_thumb_category {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hp_thumb_link:hover .hp_thumb_category {
    background: var(--neon-cyan);
    color: white;
    border-color: var(--neon-cyan);
}

/* Sidebar ile İçerik Düzeni */
.main-content-with-sidebar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .main-content-with-sidebar {
        grid-template-columns: 1fr 320px;
    }
}

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

.sidebar-area {
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* WIKIHOW STİLİ - HOMEPAGE SECTIONS */
.hp-section {
    padding: clamp(30px, 6vw, 60px) 0;
    background: white;
}

.hp-section-alt {
    background: #f8f9fa;
}

.hp-section-title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 clamp(20px, 4vw, 40px) 0;
    text-align: center;
    font-family: "Orbitron", monospace;
}/* WikiHow Grid System - Alt Bölümler İçin */
.hp_standard_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hp_standard_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .hp_standard_grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1280px) {
    .hp_standard_grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* WikiHow Thumbnail Link - Alt Bölümler */
.responsive_thumb_link {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.responsive_thumb_link:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--neon-cyan);
}

/* Thumbnail Image Container */
.responsive_thumb {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.responsive_thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.responsive_thumb_link:hover .responsive_thumb img {
    transform: scale(1.05);
}

/* Thumbnail Title */
.responsive_thumb_title {
    padding: 12px 15px 8px;
    min-height: 60px;
}

.responsive_thumb_title span {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-primary);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.responsive_thumb_link:hover .responsive_thumb_title span {
    color: var(--neon-cyan);
}

/* Thumbnail Category */
.responsive_thumb_category {
    padding: 0 15px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.responsive_thumb_link:hover .responsive_thumb_category {
    color: var(--neon-pink);
}
.sidebar {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0;
    height: fit-content;
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 320px;
}

.sidebar-section {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--neon-cyan);
    font-family: "Orbitron", monospace;
}

/* Browse By Category - WikiHow Stili */
#hp_categories_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

#hp_categories_list li {
    margin: 0;
}

#hp_categories_list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 12px 8px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-height: 85px;
    justify-content: center;
}

#hp_categories_list a:hover {
    background: white;
    border-color: var(--neon-cyan);
    box-shadow: 0 4px 12px rgba(0, 153, 204, 0.15);
    transform: translateY(-2px);
}

.category-icon-wrapper {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon-wrapper svg {
    width: 100%;
    height: 100%;
    fill: var(--neon-cyan);
    transition: all 0.3s ease;
}

#hp_categories_list a:hover .category-icon-wrapper svg {
    fill: var(--neon-pink);
    transform: scale(1.1);
}

.category-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    display: block;
}

/* Sidebar Lists */
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.sidebar-list a:hover {
    color: var(--neon-cyan);
}

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

.tag-item {
    display: inline-block;
    padding: 5px 10px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 11px;
    transition: all 0.3s ease;
}

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

/* WIKIHOW STİLİ - HOMEPAGE SECTIONS */
.hp-section {
    padding: clamp(30px, 6vw, 60px) 0;
    background: white;
}

.hp-section-alt {
    background: #f8f9fa;
}

.hp-section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
}

.hp-section-title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 clamp(20px, 4vw, 40px) 0;
    text-align: center;
    font-family: "Orbitron", monospace;
}

/* WikiHow Grid System */
.hp_standard_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hp_standard_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .hp_standard_grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1280px) {
    .hp_standard_grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* WikiHow Thumbnail Link */
.responsive_thumb_link {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.responsive_thumb_link:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--neon-cyan);
}

/* Thumbnail Image Container */
.responsive_thumb {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.responsive_thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.responsive_thumb_link:hover .responsive_thumb img {
    transform: scale(1.05);
}

/* Thumbnail Title */
.responsive_thumb_title {
    padding: 12px 15px 8px;
    min-height: 60px;
}

.responsive_thumb_title span {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-primary);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.responsive_thumb_link:hover .responsive_thumb_title span {
    color: var(--neon-cyan);
}

/* Thumbnail Category */
.responsive_thumb_category {
    padding: 0 15px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.responsive_thumb_link:hover .responsive_thumb_category {
    color: var(--neon-pink);
}

/* Content Pages - Responsive */
.content-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--dark-bg) 100%);
    padding: clamp(20px, 5vw, 40px) clamp(15px, 3vw, 20px);
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 40px);
    padding: clamp(20px, 5vw, 40px) clamp(15px, 3vw, 20px);
}

@media (min-width: 992px) {
    .content-container {
        grid-template-columns: 2fr 1fr;
    }
}

.article-content {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: clamp(15px, 4vw, 30px);
    box-shadow: var(--shadow);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-title {
    font-size: clamp(20px, 5vw, 32px);
    margin-bottom: 20px;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 10px;
    word-break: break-word;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: clamp(10px, 3vw, 20px);
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: clamp(12px, 2.5vw, 14px);
    flex-wrap: wrap;
}

.breadcrumbs {
    color: var(--text-secondary);
    font-size: clamp(12px, 2.5vw, 14px);
    margin-bottom: 20px;
    word-break: break-word;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--neon-cyan);
}

/* Article Body */
.article-body {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: clamp(14px, 3vw, 16px);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--neon-pink);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body p {
    margin-bottom: 15px;
}

.article-body ul,
.article-body ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Social Share - Responsive */
.social-share {
    margin: clamp(20px, 4vw, 30px) 0;
    padding: clamp(15px, 3vw, 20px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
}

.social-share h4 {
    color: var(--neon-cyan);
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
    font-size: clamp(16px, 3vw, 18px);
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-buttons a {
    display: flex;
    align-items: center;
    padding: clamp(8px, 2vw, 10px) clamp(12px, 3vw, 15px);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: clamp(12px, 2.5vw, 14px);
}

.share-buttons a:hover {
    transform: scale(1.05);
}

/* Footer - Responsive */
.seo-footer {
    background: var(--bg-light);
    color: var(--text-color);
    padding: clamp(30px, 8vw, 60px) clamp(15px, 3vw, 20px);
    margin-top: clamp(30px, 8vw, 60px);
    border-top: 2px solid var(--border-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 40px);
}

@media (min-width: 576px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3 {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 20px;
    color: var(--neon-cyan);
}

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

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(13px, 2.5vw, 15px);
}

.footer-section a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: clamp(12px, 2.5vw, 14px);
}

/* Mobile Optimization - WikiHow Grid */
@media (max-width: 991px) {
    .header-container {
        padding: 12px 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        border-left: 2px solid var(--neon-cyan);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation ul li {
        width: 100%;
        margin: 0;
    }
    
    .main-navigation ul a {
        display: block;
        padding: 15px 20px;
        border-radius: 8px;
        border: 1px solid transparent;
        width: 100%;
    }
    
    .main-navigation ul a:hover {
        background: rgba(0, 255, 255, 0.1);
        border-color: var(--neon-cyan);
    }
    
    .sidebar {
        max-width: 100%;
    }
    
    #hp_categories_list {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .category-icon-wrapper {
        width: 28px;
        height: 28px;
    }
    
    .category-name {
        font-size: 10px;
    }
    
    .hp_standard_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
}

@media (max-width: 575px) {
    .search-container form {
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-button {
        width: 100%;
        justify-content: center;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    #hp_categories_list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #hp_categories_list a {
        min-height: 75px;
        padding: 10px 5px;
    }
    
    .categories-grid.grid-2,
    .categories-grid.grid-3,
    .categories-grid.grid-4 {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        max-width: 100%;
    }
    
    .hp_standard_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .responsive_thumb_title {
        min-height: 50px;
        padding: 10px 12px 6px;
    }
    
    .responsive_thumb_title span {
        font-size: 13px;
    }
}
}

/* Prefetch Link Styling */
a[data-prefetch] {
    position: relative;
}

a[data-prefetch]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

a[data-prefetch]:hover::after {
    width: 100%;
}

/* Loading Indicator */
.prefetch-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-green));
    z-index: 9999;
    transform: translateX(-100%);
    animation: prefetch-slide 1s ease-in-out infinite;
    display: none;
}

.prefetch-loading.active {
    display: block;
}

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

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* Accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--neon-cyan);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Print Styles */
@media print {
    .site-header,
    .search-section,
    .sidebar,
    .social-share,
    .seo-footer,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .main-content,
    .content-container {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}