/**
 * Frontend Stil Dosyası
 * Modern ve Profesyonel Blog Tasarımı
 */

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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: translateY(-1px);
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.nav-link:hover {
    color: white;
    transform: translateY(-1px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-link.active::before {
    opacity: 1;
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.blog-main {
    width: 100%;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.category-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.category-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.category-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.post-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
}

.post-count-badge i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.875rem;
}

.post-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.post-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: var(--bg-light);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.post-content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 0.375rem;
    flex-wrap: wrap;
}

.post-category a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.7rem;
}

.post-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Single Post Layout */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Single Post */
.single-post {
    max-width: 100%;
}

.post-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-category-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.post-date,
.post-read-time,
.post-views-count {
    color: var(--text-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.post-date::before {
    content: '📅';
    font-size: 0.875rem;
}

.post-read-time::before {
    content: '⏱️';
    font-size: 0.875rem;
}

.post-views-count {
    margin-left: auto;
}

.views-icon {
    font-size: 0.875rem;
}

.views-number {
    font-weight: 600;
    color: var(--text-color);
}

.views-label {
    color: var(--text-light);
}

.post-header .post-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
    text-transform: capitalize;
}

.post-excerpt-large {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 2.5rem;
}

.author-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

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

.post-featured-image {
    margin: 2.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.post-featured-image:hover img {
    transform: scale(1.02);
}

.post-content-wrapper {
    margin-bottom: 3rem;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-color);
    max-width: 100%;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.4;
}

.post-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.post-content code {
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.post-content pre {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.post-content a:hover {
    border-bottom-color: var(--primary-color);
}

.post-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.875rem;
}

.tags-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-tags .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.post-tags .tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    background: var(--bg-light);
    border-radius: 12px;
}

.post-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    font-size: 1.25rem;
}

.stat-value {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Post Sidebar */
.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    color: var(--text-color);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

/* Related Posts */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post-item {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.related-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-item:hover {
    transform: translateX(4px);
}

.related-post-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.related-post-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.related-post-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    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 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.related-post-date {
    display: flex;
    align-items: center;
}

/* Sidebar Category List */
.sidebar-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-category-list li {
    margin: 0;
}

.sidebar-category-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.sidebar-category-list a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.sidebar-category-list a.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    color: white;
    font-weight: 600;
}

.sidebar-category-list a.active:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #4f46e5 100%);
    padding-left: 1rem;
}

/* Comments Section */
.comments-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.comments-header {
    margin-bottom: 2rem;
}

.comments-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
}

.comments-count {
    color: var(--text-light);
    font-weight: 400;
    font-size: 1rem;
}

.comment-alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.comment-alert.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.comment-alert.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Comment Form Toggle */
.comment-form-toggle-wrapper {
    margin-bottom: 1.5rem;
}

.btn-toggle-comment-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    width: 100%;
    justify-content: center;
}

.btn-toggle-comment-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-toggle-comment-form .toggle-icon {
    transition: transform 0.3s ease;
    margin-left: auto;
}

.btn-toggle-comment-form.active .toggle-icon {
    transform: rotate(180deg);
}

/* Comment Form */
.comment-form-wrapper {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-form-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--text-color);
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--bg-color);
    color: var(--text-color);
}

.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.1);
}

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

.btn-submit-comment {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-submit-comment:active {
    transform: translateY(0);
}

.comment-form .form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-cancel-comment {
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel-comment:hover {
    background: var(--bg-color);
    border-color: var(--text-light);
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.comment-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.comment-text {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

.no-comments {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px dashed var(--border-color);
}

.no-comments p {
    margin: 0;
    font-size: 1rem;
}

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

.comment-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn-submit-comment {
    position: relative;
}

.btn-submit-comment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Turnstile Widget */
.cf-turnstile {
    margin: 1rem 0;
}

.comment-form .cf-turnstile,
.contact-form .cf-turnstile {
    display: flex;
    justify-content: flex-start;
}

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

.sidebar-widget {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 0.5rem 0;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-link {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s;
}

.pagination-link:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.pagination-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Homepage SEO Text */
.homepage-seo-text {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.homepage-seo-text .seo-text-content {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.homepage-seo-text .seo-text-content p {
    margin-bottom: 1rem;
}

.homepage-seo-text .seo-text-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
    color: var(--text-light);
}

/* Single Page */
.single-page {
    max-width: 800px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.page-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.page-content p {
    margin-bottom: 1.5rem;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px dashed var(--border-color);
}

.empty-icon-large {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    opacity: 0.5;
}

.no-posts h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.no-posts p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .header-content {
        padding: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        gap: 0.5rem;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        justify-content: flex-start;
    }
    
    .nav-link:hover {
        transform: translateX(5px);
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 38px;
    }
    
    .post-header .post-title {
        font-size: 1.75rem;
    }
    
    .single-post-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .post-sidebar {
        position: static;
        order: -1;
    }
    
    .single-post {
        padding: 0;
    }
    
    .post-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .post-header .post-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .post-excerpt-large {
        font-size: 1.1rem;
    }
    
    .post-author-info {
        padding: 1rem;
    }
    
    .post-content {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.25rem;
    }
    
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-form-wrapper {
        padding: 1.5rem;
    }
    
    .comments-title {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
    
    /* Mobile menu overlay */
    .main-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: -1;
    }
    
    .main-nav.active::before {
        opacity: 1;
        pointer-events: all;
    }
}

/* Download Card */
.download-section-top,
.download-section-bottom {
    margin: 2rem 0;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -2px rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.download-card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.download-card-icon svg {
    width: 28px;
    height: 28px;
}

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

.download-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
}

.download-card-filename {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    word-break: break-word;
}

.download-card-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}

.download-card-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #4f46e5 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.download-card-button svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .download-card-content {
        width: 100%;
    }
    
    .download-card-button {
        width: 100%;
        justify-content: center;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    margin: 1.5rem 0;
    padding: 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.breadcrumb-current {
    color: var(--text-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumbs {
        margin: 1rem 0;
    }
    
    .breadcrumb-item {
        font-size: 0.8125rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.25rem;
    }
}

