/* Blog Page Specific Styles */
.blog-hero {
    background: linear-gradient(rgba(66, 153, 225, 0.1), rgba(66, 153, 225, 0.1));
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}
@media (max-width:991px){
    .blog-hero{
        padding: 50px 15px;
    }
}
@media (max-width:543px){
    .blog-hero{
        padding: 30px 15px;
    }
}
.blog-hero h1 {
    color: #2d3748;
    font-size: 48px;
    margin-bottom: 20px;
}

.blog-hero p {
    color: #4a5568;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    color: #4299e1;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    color: #2d3748;
    font-size: 14px;
    font-weight: 600;
}

.blog-date {
    color: #718096;
    font-size: 14px;
}

.blog-search {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 16px;
    color: #4a5568;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #4299e1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #2b6cb0;
}

.blog-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tag {
    padding: 8px 20px;
    border-radius: 20px;
    background: #e2e8f0;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tag:hover, .category-tag.active {
    background: #4299e1;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e2e8f0;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-number:hover, .page-number.active {
    background: #4299e1;
    color: white;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero h1 {
        font-size: 36px;
    }
}
@media (max-width:991px){
    .blog-hero h1{
        font-size: 30px 15px;
    }
}
@media (max-width:543px){
    .blog-hero h1{
        font-size: 25px;
    }
}