﻿<style >
/* Blog Specific Styles - Hero section styles removed */
/* Blog Content */
.blog-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Blog Posts */
.posts-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.blog-post {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
}

    .blog-post:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .blog-post:hover {
        transform: translateY(-5px);
    }

.post-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #223964, #ff5f00);
    border-radius: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

    .post-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 15px;
    }

    .post-image i {
        position: relative;
        z-index: 2;
    }

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.post-category {
    background: linear-gradient(45deg, #223964, #ff5f00);
    color: white;
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-date, .post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

    .post-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .post-title a:hover {
            color: #223964;
        }

.post-excerpt {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 25px;
    background: linear-gradient(45deg, #223964, #ff5f00);
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(34, 57, 100, 0.3);
}

    .read-more:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(34, 57, 100, 0.4);
    }

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #223964;
    position: relative;
}

    .widget-title::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 30px;
        height: 3px;
        background: #ff5f00;
    }

/* Search Widget */
.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .search-input:focus {
        outline: none;
        border-color: #223964;
        box-shadow: 0 0 0 3px rgba(34, 57, 100, 0.1);
    }

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #223964, #ff5f00);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .search-btn:hover {
        transform: translateY(-50%) scale(1.1);
    }

/* Category and Recent Posts Lists */
.category-list, .recent-posts-list {
    list-style: none;
}

    .category-list li, .recent-posts-list li {
        margin-bottom: 15px;
    }

    .category-list a, .recent-posts-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #333;
        text-decoration: none;
        padding: 12px 20px;
        border-radius: 12px;
        transition: all 0.3s ease;
        background: #f8f9fa;
    }

        .category-list a:hover, .recent-posts-list a:hover {
            background: linear-gradient(45deg, #223964, #ff5f00);
            color: white;
            transform: translateX(10px);
        }

.post-count {
    background: #223964;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    min-width: 30px;
    text-align: center;
    font-weight: 500;
}

.category-list a:hover .post-count {
    background: #ff5f00;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #999;
    margin-top: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

    .pagination a, .pagination span {
        padding: 15px 20px;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
        min-width: 50px;
        text-align: center;
    }

        .pagination a:hover {
            border-color: #223964;
            color: white;
            background: linear-gradient(45deg, #223964, #ff5f00);
            transform: translateY(-2px);
        }

    .pagination .current {
        background: linear-gradient(45deg, #223964, #ff5f00);
        color: white;
        border-color: transparent;
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-post {
    animation: fadeInUp 0.6s ease-out;
}

    .blog-post:nth-child(2) {
        animation-delay: 0.1s;
    }

    .blog-post:nth-child(3) {
        animation-delay: 0.2s;
    }

.widget {
    animation: fadeInUp 0.6s ease-out;
}

    .widget:nth-child(2) {
        animation-delay: 0.1s;
    }

    .widget:nth-child(3) {
        animation-delay: 0.2s;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .posts-section {
        padding: 30px 25px;
    }

    .widget {
        padding: 25px 20px;
    }

    .post-title {
        font-size: 1.6rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }

        .pagination a, .pagination span {
            padding: 12px 15px;
            min-width: 45px;
        }
}

@media (max-width: 480px) {
    .posts-section {
        padding: 25px 20px;
    }

    .post-image {
        height: 200px;
        font-size: 2rem;
    }

    .post-title {
        font-size: 1.4rem;
    }
}
