.transport-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.transport-article {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    width: 100%;
}

.transport-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.transport-category {
    position: absolute;
    font-family: 'effra regular';
    top: 15px;
    left: 15px;
    background-color: #c90005;
    color: white;
    padding: 3px 15px;
    font-size: 12px;
    text-transform: uppercase;
    z-index: 2;
}

.transport-title {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #c90005;
    font-size: 18px;
    font-family: 'urbane rounded bold';
    z-index: 2;
    transition: all 0.3s ease;
}

.transport-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 0, 4, 0);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
    opacity: 0;
    z-index: 1;
}

.transport-article:hover .transport-overlay {
    background-color: rgba(128, 0, 4, 0.8);
    opacity: 1;
}

.transport-article:hover .transport-title {
    opacity: 0;
}

.transport-article:hover img {
    transform: scale(1.05);
}

.transport-overlay-title {
    color: white;
    font-family: 'urbane rounded bold';
    font-size: 22px;
    text-align: left;
    padding: 0;
    margin-bottom: 10px;
    width: 100%;
}

.transport-excerpt {
    color: white;
    font-family: 'effra regular';
    font-size: 14px;
    text-align: left;
    padding: 0;
    width: 100%;
}

.transport-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

@media (max-width: 1024px) {
    .transport-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .transport-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .transport-grid {
        grid-template-columns: 1fr;
    }
}