/* MK Designers Grid */

.mk-dg-section {
    padding: 80px 30px;
    background-color: #fff;
    text-align: center;
}

.mk-dg-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mk-dark);
    margin-bottom: 10px;
    text-align: center;
}

.mk-dg-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    text-align: center;
}

/* Grid */
.mk-dg-grid {
    display: grid;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.mk-dg-cols-3 { grid-template-columns: repeat(3, 1fr); }
.mk-dg-cols-4 { grid-template-columns: repeat(4, 1fr); }
.mk-dg-cols-5 { grid-template-columns: repeat(5, 1fr); }
.mk-dg-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Card */
.mk-dg-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.mk-dg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Logo */
.mk-dg-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.mk-dg-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-dg-logo img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.mk-dg-card:hover .mk-dg-logo img {
    opacity: 0.85;
}

/* Name */
.mk-dg-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mk-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Description */
.mk-dg-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--mk-light-gray);
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .mk-dg-cols-5,
    .mk-dg-cols-6 { grid-template-columns: repeat(4, 1fr); }
    .mk-dg-section h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .mk-dg-section { padding: 50px 20px; }
    .mk-dg-cols-3,
    .mk-dg-cols-4,
    .mk-dg-cols-5,
    .mk-dg-cols-6 { grid-template-columns: repeat(3, 1fr); }
    .mk-dg-section h2 { font-size: 1.8rem; }
    .mk-dg-subtitle { font-size: 1rem; margin-bottom: 30px; }
}

@media (max-width: 480px) {
    .mk-dg-cols-3,
    .mk-dg-cols-4,
    .mk-dg-cols-5,
    .mk-dg-cols-6 { grid-template-columns: repeat(2, 1fr); }
    .mk-dg-card { padding: 14px; }
    .mk-dg-logo img { max-height: 60px; }
}
