/* Corporate Members Grid - 23e5b3a2 | v3 Modern Interactive */

.cmg-23e5b3a2-wrapper {
    width: 100%;
}

.cmg-23e5b3a2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ── Card ── */
.cmg-23e5b3a2-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.08);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
    will-change: transform;
    transform-style: preserve-3d;
    perspective: 800px;
}

.cmg-23e5b3a2-card:hover {
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.2), 0 12px 24px -8px rgba(0, 0, 0, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
}

/* Accent bar */
.cmg-23e5b3a2-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
    border-radius: 20px 20px 0 0;
}

.cmg-23e5b3a2-card:hover .cmg-23e5b3a2-accent-bar {
    transform: scaleX(1);
}

/* Glow effect */
.cmg-23e5b3a2-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.cmg-23e5b3a2-card:hover .cmg-23e5b3a2-glow {
    opacity: 1;
    transform: scale(1.5);
}

/* Staggered entrance */
.cmg-23e5b3a2-card.cmg-23e5b3a2-animate-in {
    animation: cmg-23e5b3a2-slideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cmg-23e5b3a2-slideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── Logo ── */
.cmg-23e5b3a2-logo-wrap {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.cmg-23e5b3a2-logo-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0 30%, #e2e8f0 70%, transparent);
}

.cmg-23e5b3a2-logo-wrap img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
    filter: grayscale(20%) brightness(0.98);
}

.cmg-23e5b3a2-card:hover .cmg-23e5b3a2-logo-wrap img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1);
}

/* ── Info ── */
.cmg-23e5b3a2-info {
    padding: 22px 24px 24px;
    position: relative;
    z-index: 2;
}

.cmg-23e5b3a2-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 14px 0;
    color: #0f172a;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

.cmg-23e5b3a2-name::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmg-23e5b3a2-card:hover .cmg-23e5b3a2-name::after {
    width: 100%;
}

.cmg-23e5b3a2-meta {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    transition: background-color 0.3s ease;
}

.cmg-23e5b3a2-meta:last-child {
    margin-bottom: 0;
}

.cmg-23e5b3a2-card:hover .cmg-23e5b3a2-meta {
    background: #f1f5f9;
}

.cmg-23e5b3a2-meta-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: #cbd5e1;
    transition: color 0.35s ease, transform 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmg-23e5b3a2-meta-icon svg {
    width: 16px;
    height: 16px;
}

.cmg-23e5b3a2-card:hover .cmg-23e5b3a2-meta-icon {
    color: #6366f1;
    transform: scale(1.15);
}

.cmg-23e5b3a2-meta-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.cmg-23e5b3a2-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    line-height: 1.3;
}

.cmg-23e5b3a2-link {
    font-size: 13px;
    color: #6366f1;
    text-decoration: none;
    transition: color 0.25s ease;
    word-break: break-all;
    line-height: 1.5;
    font-weight: 500;
}

.cmg-23e5b3a2-link:hover {
    color: #4338ca;
}

/* ── Pagination Wrap ── */
.cmg-23e5b3a2-pagination-wrap {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Progress bar */
.cmg-23e5b3a2-progress-track {
    width: 100%;
    max-width: 280px;
    height: 3px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.cmg-23e5b3a2-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Pagination buttons */
.cmg-23e5b3a2-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cmg-23e5b3a2-page-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    color: #64748b;
    font-family: inherit;
    line-height: 1;
    min-width: 44px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cmg-23e5b3a2-page-btn:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    transform: translateY(-1px);
}

.cmg-23e5b3a2-page-btn.cmg-active {
    background-color: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 6px 16px -3px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

.cmg-23e5b3a2-page-btn.cmg-active:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.cmg-23e5b3a2-prev,
.cmg-23e5b3a2-next {
    padding: 10px 12px;
    min-width: 40px;
}

.cmg-23e5b3a2-prev svg,
.cmg-23e5b3a2-next svg {
    width: 16px;
    height: 16px;
    display: block;
}

.cmg-23e5b3a2-prev[disabled],
.cmg-23e5b3a2-next[disabled] {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
    transform: none;
}

/* Page info */
.cmg-23e5b3a2-page-info {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.cmg-23e5b3a2-page-current {
    color: #6366f1;
    font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .cmg-23e5b3a2-logo-wrap {
        height: 150px;
        padding: 22px;
    }
    .cmg-23e5b3a2-info {
        padding: 18px 20px 20px;
    }
    .cmg-23e5b3a2-name {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .cmg-23e5b3a2-grid {
        gap: 20px;
    }
    .cmg-23e5b3a2-card {
        border-radius: 16px;
    }
    .cmg-23e5b3a2-logo-wrap {
        height: 140px;
        padding: 20px;
    }
    .cmg-23e5b3a2-name {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .cmg-23e5b3a2-meta {
        padding: 7px 9px;
        border-radius: 8px;
    }
    .cmg-23e5b3a2-link {
        font-size: 13px;
    }
    .cmg-23e5b3a2-page-btn {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 10px;
        min-width: 38px;
    }
    .cmg-23e5b3a2-progress-track {
        max-width: 200px;
    }
}
