.download-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.download-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fff;
}

.download-item-image {
    flex: 0 0 35%;
    max-width: 35%;
}

.download-item-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

/* Placeholder when no image is uploaded */
.download-item-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
    background: #f5f5f5;
    color: #B32143;
    font-weight: 700;
    font-size: 0.9rem;
    gap: 0.5rem;
}

.download-item-content {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
}

.download-item-content > * {
    text-align: left;
}

.download-item-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: #B32143;
}

.download-item-text {
    margin-bottom: 1rem;
}

.download-item-btn {
    align-self: flex-start;
    text-align: left;
}

@media (max-width: 767px) {
    .download-items {
        grid-template-columns: 1fr;
    }

    .download-item {
        flex-direction: column;
        align-items: stretch;
    }

    .download-item-image {
        flex: none;
        max-width: 100%;
    }

    .download-item-content {
        padding: 1.25rem 0 0 0;
    }
}
