/* =====================================================
   MSU Digital Card – Default Design
   (Elementor-controlled layout, minimal spacing)
===================================================== */

.msu-digital-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f1f1;
    transition: all 0.35s ease;
    width: 100%;
}

/* Hover effect */
.msu-digital-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

/* ================= COVER ================= */

.msu-card-cover {
    position: relative;
    height: 250px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.msu-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* ================= BADGE ================= */

.msu-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #046BD2;
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* ================= AVATAR ================= */

.msu-card-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    background: #ffffff;
    padding: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.msu-card-avatar img,
.msu-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.msu-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    background: #046BD2;
    color: #ffffff;
}

/* ================= CONTENT ================= */

.msu-card-content {
    text-align: center;
    padding: 20px 20px 20px 20px;
}

/* ================= NAME & BLOG ================= */

.msu-avatar-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.msu-blog-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #046BD2;
}

/* ================= TAGLINE ================= */

.msu-card-tagline {
    font-size: 0.95rem;
    font-style: italic;
    color: #f59e0b;
}

/* ================= PROFILE ================= */

.msu-card-profile {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.7;
}

/* ================= TAGS ================= */

.msu-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.msu-card-tags span {
    background: #f3f4f6;
    color: #046BD2;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ================= SOCIAL ICONS ================= */

.msu-card-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    border-top: 1px solid #f1f1f1;
}

/* ================= MOBILE FULL WIDTH ================= */

@media (max-width: 767px) {
    .msu-digital-card {
        width: 100%;
        border-radius: 18px; /* slightly softer on mobile */
    }
}
