.elementor-3498 .elementor-element.elementor-element-9861dae{--display:flex;}.elementor-3498 .elementor-element.elementor-element-def4e51{--display:flex;}/* Start custom CSS for container, class: .elementor-element-def4e51 *//* =========================
   GRID WRAPPER
========================= */
.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    padding: 10px 0;
}

/* =========================
   CARD BASE
========================= */
.legacy-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* =========================
   PREMIUM HOVER STATE
========================= */
.legacy-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    border-color: #cfcfcf;
    cursor: pointer;
    z-index: 2;
}

/* Soft glow outline */
.legacy-card:hover::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.18);
    pointer-events: none;
}

/* =========================
   IMAGE
========================= */
.legacy-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.legacy-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* =========================
   CONTENT WRAPPER
========================= */
.legacy-content {
    padding: 14px 14px 16px 14px;
}

/* =========================
   NICKNAME (TOP LINE)
========================= */
.legacy-nickname {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

.legacy-card:hover .legacy-nickname {
    color: #000;
}

/* =========================
   MAIN DISPLAY NAME
========================= */
.legacy-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.legacy-card:hover .legacy-title {
    color: #111;
}

/* =========================
   UNIT TYPE
========================= */
.legacy-type {
    font-size: 12px;
    color: #777;
    background: #f6f6f6;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.legacy-card:hover .legacy-type {
    background: #efefef;
    color: #555;
}

/* =========================
   CLICK BEHAVIOR
========================= */
.legacy-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 768px) {
    .legacy-grid {
        gap: 14px;
    }

    .legacy-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
}/* End custom CSS */