/* WRAPPER & BREADCRUMB */
.mmd-profile-wrapper {
    width: 90%;
  max-width: 1140px;
  margin: 1rem auto;
  color: #222;
}

.mmd-breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 18px;
}

.mmd-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.mmd-breadcrumb span {
    margin: 0 4px;
}

/* LAYOUT: MAIN + SIDEBAR */
.mmd-layout-main {
    display: grid;
    grid-template-columns: minmax(0, 3.2fr) minmax(260px, 1.3fr);
    gap: 24px;
}

/* MAIN PROFILE CARD */
.mmd-profile-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    padding: 24px 26px 30px;
}

/* HERO ROW */
.mmd-hero-row {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

/* PHOTO COLUMN */
.mmd-hero-photo-wrap {
    position: relative;
    border-radius: 0.8rem;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
    aspect-ratio: 4 / 5;
}

.mmd-main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ARROWS + COUNTER */
.mmd-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.92);
    color: #111827;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
    padding: 0;
}

.mmd-hero-prev { left: 10px; }
.mmd-hero-next { right: 10px; }

.mmd-photo-counter {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 11px;
}

/* ZOOM BUTTON */
.mmd-zoom-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    border-radius: 100%;
    border: none;
    background: rgba(17,24,39,0.9);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    aspect-ratio: 1;
    padding: 2px;

    /* ✨ glow + blur */
    box-shadow:
        0 4px 10px rgba(0,0,0,0.45),
        0 0 10px rgba(236,72,153,0.6),
        0 0 20px rgba(236,72,153,0.4);
    backdrop-filter: blur(4px);
    transition: box-shadow 0.25s ease, transform 0.15s ease;
}

.mmd-zoom-btn:hover {
    box-shadow:
        0 6px 14px rgba(0,0,0,0.5),
        0 0 16px rgba(236,72,153,0.9),
        0 0 26px rgba(236,72,153,0.6);
    transform: scale(1.07);
}

/* THUMBS */
.mmd-thumb-strip {
    display: flex;
    gap: 6px;              /* a bit more breathing room */
	margin-top:1rem;
}

/* THUMB CONTAINER */
.mmd-thumb-btn {
    position: relative;
    flex: 1 1 0;           /* all thumbs share available width */
    max-width: 80px;       /* optional cap so they don’t get huge on desktop */
    border-radius: 0.4rem;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease;
    aspect-ratio: 3 / 4;
}

/* IMAGE INSIDE THUMB */
.mmd-thumb-btn img {
    display: block;
    width: 100%;           /* ✅ make image fill container */
    height: 100%;          /* ✅ respect the 3/4 aspect ratio */
    aspect-ratio: 3 / 4;   /* optional here, height+width already enforce it */
    object-fit: cover;
    object-position: center;
}

.mmd-thumb-btn.is-active {
    border-color: #6366f1;
    transform: translateY(-2px);
}

/* HERO TEXT COLUMN */
.mmd-hero-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mmd-hero-name {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 2px;
    color: #111827;
}

.mmd-hero-sub {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.mmd-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mmd-pill {
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
}

.mmd-hero-intro {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.mmd-hero-actions {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* CTAS */
.mmd-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    background: #4f46e5;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.mmd-cta-ghost {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
}

/* SECTIONS */
.mmd-info-section {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.mmd-info-section h2 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #111827;
}

.mmd-info-section p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.mmd-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px 18px;
    font-size: 13px;
}

.mmd-info-grid span {
    display: block;
    color: #9ca3af;
    margin-bottom: 2px;
    font-size: 12px;
}

.mmd-info-grid strong {
    color: #111827;
    font-weight: 600;
}

/* SIDEBAR */
.mmd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mmd-sidebar-card,
.mmd-sidebar-promo {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(15,23,42,0.06);
    padding: 18px 18px 20px;
}

.mmd-sidebar-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.mmd-sidebar-promo h4{
	margin:1rem auto 0.25rem;
}
.mmd-sidebar-person {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    text-decoration: none;
}


.mmd-sidebar-person img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
}

.mmd-side-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.mmd-side-meta {
    font-size: 12px;
    color: #6b7280;
}

.mmd-sidebar-empty {
    font-size: 13px;
    color: #6b7280;
}

/* PROMO CARD */
.mmd-sidebar-promo {
    text-align: center;
    background: linear-gradient(145deg, #4f46e5, #ec4899);
    color: #fff;
}

.mmd-promo-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
}

.mmd-promo-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}

/* LIGHTBOX */
.mmd-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
	backdrop-filter:blur(10px);
}

.mmd-lightbox-overlay.is-open {
    display: flex;
}

.mmd-lightbox-backdrop {
    position: absolute;
    inset: 0;
}

.mmd-lightbox-dialog {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
}

.mmd-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.96);
    color: #111827;
    cursor: pointer;
	padding:0;
	line-height:10px;
}

.mmd-lightbox-close i{
    display:block;
	font-size: 20px;

}

/* RESPONSIVE */
@media (max-width: 980px) {
    .mmd-layout-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mmd-hero-row {
        grid-template-columns: 1fr;
    }

    .mmd-profile-card {
        padding: 18px 16px 24px;
    }

    .mmd-hero-name {
        font-size: 26px;
    }

    .mmd-thumb-strip {
        justify-content: start;
    }
}

/* Member Phone Number */
.mmd-phone-beauty {
    display: block;
	text-align:center;
    align-items: center;
    gap: 8px;
	width:100%;
    padding: 12px 20px;
    border-radius: 999px;

    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff !important;

    font-size: 1.75rem;
	letter-spacing:0.1rem;
    font-weight: 600;
    text-decoration: none;

    box-shadow:
        0 6px 16px rgba(99, 102, 241, 0.4),
        0 0 10px rgba(139, 92, 246, 0.4);

    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.3s ease;
}

.mmd-phone-beauty i {
    font-size: 20px;
}

/* Hover effect */
.mmd-phone-beauty:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);

    box-shadow:
        0 10px 22px rgba(79, 70, 229, 0.45),
        0 0 18px rgba(124, 58, 237, 0.55);
}

.addtoany_shortcode{
	padding:8px 0;
}


@media (min-width: 768px) {
  .mmd-hero-actions-left .mmd-phone-beauty{
	display:inline !important;
	  width:inherit !important;
	  font-size:1.25rem;
}
}


.mmd-hero-actions-left .mmd-phone-beauty{
	display:inline !important;
	  width:inherit !important;
	  font-size:1.25rem;
}


.mmd-hero-actions-left{
	display:inherit !important;
}

.mmd-hero-actions-left{
	margin: 0.5rem 0 1rem;
}