/* Projects Archive Widget Styles */
.projects-archive-container {
    width: 100%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.project-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: #007cba;
}

.project-excerpt {
    color: #666666;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: auto;
}

.project-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.project-read-more {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #007cba;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.project-read-more:hover {
    color: #005a87;
    background-color: rgba(0, 124, 186, 0.1);
}

.project-read-more::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 16px;
    }
    
    .project-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
}