/* --- CSS Reset & Base Styles --- */
/* Scoped Container Styles */
#mealeader-gallery-wrapper {
    width: 100%;
    background-color: #000000;
    margin: 0;
    padding: 0;
}

#mealeader-app-container {
    font-family: 'Poppins', sans-serif;
    /* min-height: 100vh; Removed to avoid taking full viewport in widget context if not desired, or keep if intended section */
    background-color: #000000;
    width: 100%;
    color: #111827;
}

/* --- Tabs Section --- */
.mealeader-tabs-header {
    width: 100%;
    background-color: #000000;
    /* position: sticky; top: 0; z-index: 10; Removed sticky for better integration in page flow usually */
    border-bottom: 1px solid #1f2937;
    /* Gray-800 */
}

.mealeader-tabs-container-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 0;
    /* py-3 */
}

.mealeader-tab-btn {
    position: relative;
    padding: 0.75rem 2rem;
    /* px-8 py-3 */
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #000000;
    border: 1px solid #1f2937;
    /* Gray-800 */
    color: #9ca3af;
    /* Gray-400 */
    font-family: 'Poppins', sans-serif;
}

.mealeader-tab-btn.mealeader-active {
    background-color: #CD8E04;
    border-color: #CD8E04;
    color: #ffffff;
}

/* Hover effect for inactive tabs */
.mealeader-tab-btn:hover:not(.mealeader-active) {
    border-color: #CD8E04;
    color: #ffffff;
}

/* --- Grid & Layout --- */
.mealeader-content-container {
    width: 100%;
    /* max-width: 1920px; handled by elementor container/section usually */
    margin: 0 auto;
    padding: 0.5rem 1rem 1.5rem 1rem;
    /* pt-2 px-4 pb-6 */
}

.mealeader-grid-layout {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    /* gap-6 */
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
    .mealeader-grid-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .mealeader-grid-layout {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .mealeader-grid-layout {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .mealeader-grid-layout {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* --- Profile Card Styles --- */
.mealeader-profile-card {
    display: flex;
    flex-direction: column;
    background-color: #000000;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #CD8E04;
}

.mealeader-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #1f2937;
}

.mealeader-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mealeader-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mealeader-card-name {
    font-size: 1.125rem;
    /* text-lg */
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.25;
}

.mealeader-card-job {
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    /* tracking-wide */
    margin: 0;
}

.mealeader-card-divider {
    height: 1px;
    width: 3rem;
    /* w-12 */
    background-color: #ffffff;
    margin: 0.25rem 0;
    /* my-1 */
}

.mealeader-card-company {
    font-size: 0.75rem;
    /* text-xs */
    font-weight: 600;
    color: #ffffff;
    margin: 0.5rem 0 0 0;
}