/* Professional Sustainable Living Blog CSS */
:root {
    /* Light theme */
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary: #8bc34a;
    --accent: #c8e6c9;
    
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #888888;
    
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #f1f8e9;
    
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    
    --transition: all 0.3s ease;
    
    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Merriweather', Georgia, serif;
}

[data-theme="dark"] {
    --primary: #4caf50;
    --primary-dark: #388e3c;
    --primary-light: #81c784;
    --secondary: #aed581;
    --accent: #1b5e20;
    
    --text: #f0f0f0;
    --text-light: #cccccc;
    --text-lighter: #aaaaaa;
    
    --bg: #121212;
    --bg-light: #1e1e1e;
    --bg-lighter: #2d2d2d;
    
    --border: #333333;
    --border-light: #444444;
    
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    transition: var(--transition);
}

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

/* Header */
.header {
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(var(--bg-rgb), 0.95);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-btn {
    background-color: var(--primary);
    color: white !important;
    padding: 10px 24px !important;
    font-weight: 600;
}

.nav-btn:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: var(--transition);
    background-color: var(--bg-light);
}

.theme-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: rotate(15deg);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    min-height: 80vh;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text);
    font-weight: 700;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.hero-btn:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

/* Section Titles */
.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 16px auto;
    border-radius: 2px;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.post-card {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.post-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.post-category {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-date {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.post-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
}

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

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

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.7;
}

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

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.post-tags {
    display: flex;
    gap: 8px;
}

.tag {
    color: var(--text-lighter);
    font-size: 0.85rem;
}

/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.view-all-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Categories */
.categories {
    padding: 80px 0;
    background-color: var(--bg-lighter);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--bg);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

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

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto 20px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-btn {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: var(--bg-lighter);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.newsletter-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.post-header {
    margin-bottom: 50px;
}

.post-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.post-category {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.post-category:hover {
    background-color: var(--primary);
    color: white;
}

.post-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text);
}

.post-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

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

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.post-content h2 {
    font-size: 2rem;
    margin: 60px 0 24px;
    color: var(--text);
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--text);
}

.post-content p {
    margin-bottom: 24px;
}

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 24px;
    margin: 40px 0;
    font-style: italic;
    color: var(--text-light);
}

.post-content ul, .post-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 12px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 30px 0;
}

.post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 40px;
}

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

.share-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.share-label {
    font-weight: 600;
    color: var(--text-light);
}

.share-btn {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-light);
    transition: var(--transition);
}

.share-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.related-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.related-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.related-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

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

.related-card-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.related-card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.related-card-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* List Pages */
.list-header {
    text-align: center;
    padding: 80px 0 60px;
    background-color: var(--bg-lighter);
    margin-bottom: 60px;
}

.list-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text);
}

.list-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.list-stats {
    color: var(--text-lighter);
    font-size: 0.95rem;
}

/* Posts List */
.posts-list {
    max-width: 800px;
    margin: 0 auto 80px;
}

.list-post {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.list-post:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.list-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.list-post-categories {
    display: flex;
    gap: 10px;
}

.list-post-category {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.list-post-category:hover {
    background-color: var(--primary);
    color: white;
}

.list-post-date {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.list-post-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.list-post-title a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

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

.list-post-excerpt {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.list-read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.list-read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.list-post-tags {
    display: flex;
    gap: 8px;
}

.list-tag {
    color: var(--text-lighter);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.list-tag:hover {
    color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.pagination-btn {
    background-color: var(--bg-light);
    color: var(--text);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.pagination-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.pagination-info {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: var(--bg-lighter);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.footer-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.footer-copyright {
    color: var(--text-lighter);
    font-size: 0.9rem;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .single-post {
        margin: 40px auto;
    }
    
    .post-title {
        font-size: 2.2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .pagination {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-card, .list-post {
        padding: 25px;
    }
    
    .post-footer, .list-post-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .back-to-top, .theme-toggle, .nav-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .hero, .categories, .newsletter {
        display: none;
    }
    
    .post-card, .list-post {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        color: #666;
    }
}/* Custom CSS for Sustainable Living Blog */

/* Green theme colors */
:root {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --accent: #8bc34a;
    --text-light: #f1f8e9;
    --shadow: rgba(46, 125, 50, 0.1);
}

/* Logo with icon */


/* Navigation menu */
#menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

#menu li a {
    color: var(--primary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

#menu li a:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

#menu li a span.active {
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
}

/* Write button */
.write-btn {
    background-color: var(--primary);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.write-btn:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Article cards */
.post-entry {
    border-left: 5px solid var(--primary-light);
    padding-left: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(to right, transparent, var(--text-light));
}

.post-entry:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px var(--shadow);
    background: linear-gradient(to right, transparent, white);
}

.entry-header h2 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.entry-footer {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Green accents */
.top-link {
    background-color: var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-link:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* Footer */
.footer {
    border-top: 3px solid var(--primary-light);
    background-color: var(--text-light);
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}

.footer a {
    color: var(--primary);
    font-weight: 500;
}

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

/* Responsive improvements */
@media (max-width: 768px) {

[data-theme="dark"] .post-entry:hover {
    background: linear-gradient(to right, transparent, rgba(46, 125, 50, 0.2));
}

[data-theme="dark"] .footer {
    background-color: rgba(46, 125, 50, 0.05);
}
/* Logo Fix CSS */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2e7d32;
    font-weight: 700;
    font-size: 1.6rem;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.1);
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.footer-logo-img {
    width: 45px;
    height: 45px;
    border-radius: 6px;
}

.footer-logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2e7d32;
}

@media (max-width: 768px) {
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .logo {
        font-size: 1.3rem;
        gap: 8px;
    }
    
    .footer-logo-img {
        width: 30px;
        height: 30px;
    }
    
    .footer-logo-text {
        font-size: 1rem;
    }
}
