/* Design Layout - New structure for How We Built It */
.design-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Large Mechanical Card */
.mechanical-card-large {
    background: white;
    border: 3px solid #2C3E50;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 6px 6px 0 rgba(44, 62, 80, 0.2);
    transform: rotate(-0.5deg);
}

.mechanical-card-large header h3 {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    color: #2C3E50;
    margin-bottom: 1.5rem;
}

.mechanical-text p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.6rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mechanical-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.photo-placeholder {
    height: 250px;
    background: #f8f9fa;
    border: 3px solid #2C3E50;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 3px 3px 0 rgba(44, 62, 80, 0.15);
}

/* Bottom Grid for Electrical and Software */
.posts-grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.post-card {
    background: white;
    border: 3px solid #2C3E50;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 4px 4px 0 rgba(44, 62, 80, 0.2);
    transition: transform 0.2s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card header h3 {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.8rem;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.post-card .card-image {
    margin-bottom: 1rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.post-card p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.4rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .posts-grid-bottom {
        grid-template-columns: 1fr;
    }
}