.dms-grid {
    display: grid;
    gap: 24px;
    width: 100%;
}

.dms-card {
    display: grid;
    grid-template-columns: minmax(220px, 38%) 1fr;
    gap: 28px;
    align-items: center;
    padding: 24px;
    border: 1px solid #e2e2e2;
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 6px 22px rgba(0,0,0,.06);
}

.dms-image-col {
    min-width: 0;
}

.dms-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.dms-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #777;
}

.dms-content-col {
    min-width: 0;
}

.dms-title {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
}

.dms-description {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.65;
}

.dms-description p:last-child {
    margin-bottom: 0;
}

.dms-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    transition: .2s ease;
}

.dms-btn-view {
    background: #2f5596;
    color: #fff !important;
}

.dms-btn-download {
    background: #222;
    color: #fff !important;
}

.dms-btn:hover {
    transform: translateY(-1px);
    opacity: .9;
}

.dms-empty {
    padding: 30px;
    border: 1px dashed #ccc;
    text-align: center;
}

@media (max-width: 767px) {
    .dms-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    .dms-title {
        font-size: 23px;
    }
}
