/* Blog Styles - Minimal & Clean Design */
.blog-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,0,0,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(0,0,0,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(0,0,0,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(0,0,0,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2d3436;
    position: relative;
    z-index: 1;
}

.blog-hero p {
    font-size: 1.2rem;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.blog-posts {
    padding: 60px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1r;
    gap: 40px;
}

.blog-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 576px) {
    .blog-main {
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
        gap: 32px;
        align-items: stretch;
    }
}

@media (min-width: 768px) {
    .blog-main {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 32px;
        align-items: stretch;
    }
}

@media (min-width: 992px) {
    .blog-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        align-items: stretch;
    }
}

.blog-post-card {
    background: white;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
}

.blog-post-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.blog-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-post-card:hover::before {
    transform: scaleX(1);
}

.blog-post-image {
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-post-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post-card:hover .blog-post-image::after {
    opacity: 1;
}

.blog-post-content {
    padding: 24px;
    height: 40%;
    display: flex;
    flex-direction: column;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #95a5a6;
    margin-bottom: 16px;
    font-weight: 500;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-post-meta i {
    color: var(--accent-red);
    font-size: 0.75rem;
}

.blog-post-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d3436;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-post-content h3:hover {
    color: var(--accent-red);
}

.blog-post-content p {
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 8px 0;
}

.read-more:hover {
    color: #8B0000;
    transform: translateX(4px);
}

.read-more i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* Mobile Optimizations */
@media (max-width: 575px) {
    .blog-hero {
        padding: 60px 0 40px;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .blog-posts {
        padding: 40px 0;
    }

    .blog-main {
        gap: 24px;
    }

    .blog-post-content {
        padding: 20px;
    }

    .blog-post-content h3 {
        font-size: 1.1rem;
    }

    .blog-post-meta {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
}

.sidebar-widget {
    padding: 24px;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-widget:last-child {
    border-bottom: none;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2d3436;
}

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

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #636e72;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.category-list a:hover {
    color: var(--accent-red);
}

.category-list i {
    font-size: 0.9rem;
    color: var(--accent-red);
    opacity: 0.7;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.recent-post-image {
    width: 40px;
    height: 40px;
    background: var(--accent-red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.recent-post-content h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
}

.recent-post-content h4 a {
    color: #2d3436;
    text-decoration: none;
    transition: color 0.2s ease;
}

.recent-post-content h4 a:hover {
    color: var(--accent-red);
}

.recent-post-content span {
    font-size: 0.8rem;
    color: #b2bec3;
    display: flex;
    align-items: center;
    gap: 4px;
}

.recent-post-content i {
    font-size: 0.75rem;
}

/* Contact Info */
.contact-info p {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #636e72;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: #2d3436;
    font-weight: 500;
}

.contact-info i {
    color: var(--accent-red);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .blog-hero {
        padding: 40px 0 30px;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-posts {
        padding: 40px 0;
    }

    .blog-grid {
        gap: 40px;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .blog-post-content {
        padding: 16px;
    }
}