.blog-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.blog-hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.blog-hero p {
    font-size: 20px;
    color: rgba(26, 26, 26, 0.7);
}

.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.blog-image {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--graphite);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 32px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 13px;
    color: rgba(26, 26, 26, 0.6);
}

.blog-meta i {
    margin-right: 6px;
}

.blog-content h2 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-content p {
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.read-more {
    font-size: 14px;
    padding: 10px 20px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--graphite);
    color: var(--white);
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    z-index: 1;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 60px;
}

.modal-header {
    margin-bottom: 32px;
}

.modal-category {
    display: inline-block;
    background: var(--graphite);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.modal-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: rgba(26, 26, 26, 0.6);
    margin-bottom: 32px;
}

.modal-meta i {
    margin-right: 8px;
}

.modal-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(26, 26, 26, 0.8);
}

.modal-text h3 {
    font-size: 28px;
    margin: 32px 0 16px;
    font-weight: 600;
}

.modal-text p {
    margin-bottom: 20px;
}

.modal-text ul {
    margin: 20px 0;
    padding-left: 24px;
}

.modal-text li {
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 36px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        padding: 40px 24px;
    }
    
    .modal-title {
        font-size: 28px;
    }
    
    .modal-image {
        height: 250px;
    }
}
