/* Pastel Blog CSS - Medium tarzı tasarım */

/* CSS Değişkenleri - Pastel Sonbahar Renkleri */
:root {
    /* Ana renkler - Sonbahar tonları */
    --primary-color: #d97706; /* Turuncu */
    --primary-light: #fbbf24; /* Açık turuncu */
    --primary-dark: #b45309; /* Koyu turuncu */
    
    /* Pastel sonbahar renkleri */
    --pastel-orange: #fed7aa; /* Pastel turuncu */
    --pastel-red: #fecaca; /* Pastel kırmızı */
    --pastel-yellow: #fef3c7; /* Pastel sarı */
    --pastel-brown: #f3e8ff; /* Pastel mor-kahve */
    --pastel-green: #dcfce7; /* Pastel yeşil */
    --pastel-blue: #dbeafe; /* Pastel mavi */
    
    /* Sonbahar vurgu renkleri */
    --autumn-red: #dc2626;
    --autumn-orange: #ea580c;
    --autumn-yellow: #ca8a04;
    --autumn-brown: #92400e;
    --autumn-purple: #7c3aed;
    
    /* Nötr renkler */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Durum renkleri */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Tipografi */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    
    /* Boyutlar */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    --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);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
}

/* Reset ve Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--gray-800);
    background: #ffffff;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem var(--spacing-md);
}

.navbar-brand .brand-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Arama */
.search-form {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    padding: var(--spacing-xs) var(--spacing-sm);
}

.search-input {
    border: none;
    background: transparent;
    padding: var(--spacing-xs);
    font-size: 0.9rem;
    outline: none;
    width: 200px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    color: var(--gray-500);
}

/* Mobil menü */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: var(--spacing-md);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: var(--spacing-sm) 0;
    color: var(--gray-600);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-search-form {
    margin-top: var(--spacing-md);
}

.mobile-search-input {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
}

.mobile-search-btn {
    width: 100%;
    padding: var(--spacing-sm);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 1rem auto;
    padding: 0 1rem;
}

/* Single Column Layout */
.main-content-single {
    max-width: 700px;
    margin: 1rem auto;
    padding: 0 1rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.author-card {
    text-align: center;
    padding: 1rem 0.75rem;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.author-avatar {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.author-bio {
    color: #6b7280;
    line-height: 1.3;
    margin: 0;
    font-size: 0.75rem;
}

/* Main Content */
.main-content {
    min-width: 0; /* Grid overflow fix */
}

/* Posts Grid */
.posts-section {
    padding: 0;
}

/* Post Items */
.post-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

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

.post-header {
    margin-bottom: 0.5rem;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.post-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #d97706;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.post-date {
    font-weight: 400;
}

.post-category {
    color: #d97706;
    font-weight: 400;
}

.post-excerpt {
    color: #374151;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.post-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e5e7eb;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

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

.post-content {
    padding: var(--spacing-lg);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--gray-500);
}

.post-date {
    color: var(--gray-500);
}

.post-read-time {
    background: var(--pastel-blue);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.post-title a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.2s;
}

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

.post-excerpt {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.category-chip {
    background: #f3f4f6;
    color: #6b7280;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #d1d5db;
}

.category-chip:hover {
    background: #d97706;
    color: var(--white);
    border-color: #d97706;
}

/* Keywords */
.post-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.keyword-tag {
    background: #f8fafc;
    color: #64748b;
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 400;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    display: inline-block;
    margin-right: 0.4rem;
    margin-bottom: 0.2rem;
}

.keyword-tag:hover {
    background: #e2e8f0;
    color: #475569;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.read-more-btn:hover {
    background: var(--primary-dark);
}

/* Post Detail */
.post-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl) 0;
}

.post-header {
    margin-bottom: var(--spacing-2xl);
}

.post-cover {
    margin-bottom: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cover-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.post-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.author-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-name {
    font-weight: 600;
    color: var(--gray-700);
}

.post-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.read-time {
    background: var(--pastel-blue);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Post Detail */
.post-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

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

.post-meta-top {
    margin-bottom: 1rem;
}

.post-detail .post-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.post-meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-detail .author-name {
    font-weight: 500;
    color: #374151;
    font-size: 0.75rem;
}

.post-detail .post-date {
    font-weight: 400;
    font-size: 0.75rem;
}

.post-detail .read-time {
    background: #d97706;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 0.6rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.post-detail .category-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.2rem 0.5rem;
    border-radius: 0.6rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.post-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    max-width: none;
    margin: 0;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
    color: #1f2937;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    line-height: 1.3;
}

.post-body h1 { font-size: 1.75rem; }
.post-body h2 { font-size: 1.5rem; }
.post-body h3 { font-size: 1.25rem; }
.post-body h4 { font-size: 1.1rem; }

.post-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: var(--spacing-lg) 0;
}

.post-body pre {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 2rem 0;
    border-left: 4px solid #d97706;
    border: 1px solid #e5e7eb;
}

.post-body code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #dc2626;
    border: 1px solid #e2e8f0;
}

/* Keywords Section */
.post-keywords-section {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
}

.keywords-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 1rem 0;
}

.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keywords-cloud .keyword-tag {
    background: #f8fafc;
    color: #475569;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.keywords-cloud .keyword-tag:hover {
    background: #d97706;
    color: white;
    border-color: #d97706;
    transform: translateY(-1px);
}

.post-body pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.post-body blockquote {
    border-left: 4px solid #d97706;
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: #6b7280;
    font-style: italic;
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-lg) 0;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-body th,
.post-body td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.post-body th {
    background: var(--pastel-blue);
    font-weight: 600;
    color: var(--gray-800);
}

.post-body tr:nth-child(even) {
    background: var(--gray-50);
}

/* Comments */
.comments-section {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--gray-200);
}

.comments-section h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    color: var(--gray-800);
}

.comment-form-container {
    background: var(--gray-50);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-xl);
}

.comment-form-container h4 {
    margin-bottom: var(--spacing-lg);
    color: var(--gray-800);
}

.comments-list {
    space-y: var(--spacing-lg);
}

.comment {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    margin-bottom: var(--spacing-lg);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--gray-100);
}

.comment-author {
    color: var(--gray-800);
}

.comment-date {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.comment-content {
    color: var(--gray-700);
    line-height: 1.6;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.form-errors {
    margin-top: var(--spacing-xs);
}

.error {
    color: var(--error);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: #d97706;
    color: var(--white);
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #b45309;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--error);
    color: var(--white);
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Flash Messages */
.flash-container {
    position: fixed;
    top: 80px;
    right: var(--spacing-md);
    z-index: 1000;
    max-width: 400px;
}

.flash-message {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-sm);
    border-left: 4px solid var(--info);
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.flash-success {
    border-left-color: var(--success);
}

.flash-error {
    border-left-color: var(--error);
}

.flash-warning {
    border-left-color: var(--warning);
}

.flash-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray-500);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.pagination-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: var(--gray-50);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-info {
    color: var(--gray-600);
    font-weight: 500;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.category-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-name a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.2s;
}

.category-name a:hover {
    color: var(--primary-color);
}

.category-description {
    color: var(--gray-600);
    margin: var(--spacing-sm) 0;
}

.category-meta {
    margin-top: var(--spacing-md);
}

.post-count {
    background: var(--pastel-green);
    color: var(--success);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

/* About Page */
.about-page {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl) 0;
}

.about-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.author-avatar {
    margin-bottom: var(--spacing-lg);
}

.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.author-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: var(--spacing-md);
}

.author-bio {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    space-y: var(--spacing-2xl);
}

.about-section {
    margin-bottom: var(--spacing-2xl);
}

.about-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--spacing-lg);
}

.about-section p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-link {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--pastel-blue);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background-color 0.2s;
}

.social-link:hover {
    background: var(--primary-light);
}

/* Search */
.search-form-large {
    margin: var(--spacing-xl) 0;
}

.search-input-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.search-input-large {
    flex: 1;
    padding: var(--spacing-md);
    border: none;
    font-size: 1.1rem;
    outline: none;
}

.search-btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-btn-large:hover {
    background: var(--primary-dark);
}

.search-results h2 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: var(--spacing-xl);
}

.no-results,
.empty-state {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--gray-600);
}

.no-results h2,
.empty-state h3 {
    color: var(--gray-800);
    margin-bottom: var(--spacing-md);
}

.search-suggestions,
.search-tips {
    background: var(--gray-50);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-lg);
    text-align: left;
}

.search-suggestions h3,
.search-tips h3 {
    margin-bottom: var(--spacing-md);
    color: var(--gray-800);
}

.search-suggestions ul,
.search-tips ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li,
.search-tips li {
    padding: var(--spacing-xs) 0;
    color: var(--gray-600);
}

/* Footer */
.footer {
    background: #f8fafc;
    color: #6b7280;
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.footer-section h3 {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-section h4 {
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

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

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #d97706;
}

.social-links a {
    display: inline-block;
    margin-right: 0.75rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #d97706;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: #9ca3af;
    font-size: 0.75rem;
}

/* Page Headers */
.page-header {
    text-align: center;
    padding: var(--spacing-2xl) 0;
    background: var(--pastel-blue);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: var(--spacing-md);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--gray-600);
    text-decoration: none;
}

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

.breadcrumb-separator {
    color: var(--gray-400);
}

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

/* Responsive */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
    
    .author-card {
        padding: 1rem 0.75rem;
    }
    
    .author-avatar {
        width: 35px;
        height: 35px;
    }
    
    .author-name {
        font-size: 0.8rem;
    }
    
    .author-bio {
        font-size: 0.7rem;
    }
    
    .post-item {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .post-title {
        font-size: 1rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .post-detail {
        padding: 1rem 0.5rem;
    }
    
    .post-detail .post-title {
        font-size: 1.3rem;
    }
    
    .post-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .keywords-cloud {
        gap: 0.3rem;
    }
    
    .keywords-cloud .keyword-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .post-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-input-large {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .search-btn-large {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }
    
    .footer-section h3 {
        font-size: 0.9rem;
    }
    
    .footer-section h4 {
        font-size: 0.8rem;
    }
    
    .footer-section p {
        font-size: 0.8rem;
    }
    
    .footer-links a,
    .social-links a {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        font-size: 0.7rem;
    }
    
    .flash-container {
        left: var(--spacing-md);
        right: var(--spacing-md);
        max-width: none;
    }
}
