/**
 * IOX Stage Profiles - Single Profile Page Styles
 * Standalone stylesheet with high specificity to override theme styles
 * Version: 3.0.0
 */

/* Reset and isolate the profile page */
body.single-iox-profile {
    background-color: #f3f4f6 !important;
}

body.single-iox-profile #wrap,
body.single-iox-profile .content,
body.single-iox-profile #lqd-site-content {
    background-color: #f3f4f6 !important;
}

body.single-iox-profile .titlebar,
body.single-iox-profile .titlebar-inner {
    display: none !important;
}

/* ========================================
   CSS VARIABLES
   ======================================== */
.maw-profile-page {
    /* Teal Palette */
    --maw-teal-primary: #00A39E;
    --maw-teal-dark: #00625F;
    --maw-teal-darker: #033849;
    --maw-teal-light: #56B2CB;
    --maw-teal-bg: #E6F6F5;
    --maw-teal-bg-light: #F0FAF9;

    /* Gold/Orange Palette */
    --maw-gold-primary: #F0991B;
    --maw-gold-dark: #D4860F;
    --maw-gold-light: #F8CC8D;
    --maw-gold-bg: #FEF5E8;
    --maw-gold-bg-light: #FFFBF5;

    /* Navy Palette */
    --maw-navy-primary: #033849;
    --maw-navy-light: #0a4a5e;
    --maw-navy-bg: #E8EEF1;

    /* Neutrals */
    --maw-white: #ffffff;
    --maw-gray-50: #f9fafb;
    --maw-gray-100: #f3f4f6;
    --maw-gray-200: #e5e7eb;
    --maw-gray-300: #d1d5db;
    --maw-gray-400: #9ca3af;
    --maw-gray-500: #6b7280;
    --maw-gray-600: #4b5563;
    --maw-gray-700: #374151;
    --maw-gray-800: #1f2937;
    --maw-gray-900: #111827;

    /* Shadows */
    --maw-shadow-sm: 0 1px 2px rgba(3, 56, 73, 0.05);
    --maw-shadow-md: 0 4px 12px rgba(3, 56, 73, 0.08);
    --maw-shadow-lg: 0 12px 40px rgba(3, 56, 73, 0.1);
    --maw-shadow-xl: 0 24px 80px rgba(3, 56, 73, 0.12);
}

/* ========================================
   BASE STYLES
   ======================================== */
.maw-profile-page {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background-color: var(--maw-gray-100) !important;
    color: var(--maw-gray-800) !important;
    line-height: 1.6 !important;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.maw-profile-page *,
.maw-profile-page *::before,
.maw-profile-page *::after {
    box-sizing: border-box !important;
}

.maw-profile-page a {
    text-decoration: none;
}

.maw-profile-page img {
    max-width: 100%;
    height: auto;
}

.maw-profile-page h1,
.maw-profile-page h2,
.maw-profile-page h3,
.maw-profile-page h4,
.maw-profile-page h5,
.maw-profile-page h6,
.maw-profile-page p {
    margin: 0;
    padding: 0;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.maw-profile-page .maw-nav-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: var(--maw-navy-primary) !important;
    padding: 0 2rem !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.maw-profile-page .maw-nav-back {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    transition: color 0.15s ease !important;
}

.maw-profile-page .maw-nav-back:hover {
    color: var(--maw-teal-light) !important;
}

.maw-profile-page .maw-nav-back i {
    font-size: 0.75rem !important;
}

.maw-profile-page .maw-nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.maw-profile-page .maw-nav-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    background: transparent !important;
    color: rgba(255,255,255,0.85) !important;
    font-family: 'Gilroy', sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.maw-profile-page .maw-nav-btn:hover {
    border-color: var(--maw-teal-light) !important;
    background: rgba(0, 163, 158, 0.15) !important;
    color: #fff !important;
}

/* ========================================
   MAIN CONTAINER
   ======================================== */
.maw-profile-page .maw-profile-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 104px 2rem 4rem !important;
}

/* ========================================
   TOP HEADER - NAME, TITLE, TAGS
   ======================================== */
.maw-profile-page .maw-profile-top-header {
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid var(--maw-gray-200) !important;
}

.maw-profile-page .maw-profile-identity {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
}

.maw-profile-page .maw-profile-mobile-avatar {
    display: none !important;
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    box-shadow: var(--maw-shadow-md) !important;
}

.maw-profile-page .maw-profile-mobile-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
}

.maw-profile-page .maw-profile-identity-text {
    flex: 1 !important;
    min-width: 0 !important;
}

.maw-profile-page .maw-profile-name {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: var(--maw-navy-primary) !important;
    margin: 0 0 0.25rem 0 !important;
}

.maw-profile-page .maw-profile-title {
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: var(--maw-teal-primary) !important;
    letter-spacing: 0.01em !important;
    margin: 0 !important;
}

/* Attribute Tags */
.maw-profile-page .maw-profile-attributes {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-top: 1.25rem !important;
}

.maw-profile-page .maw-attribute-tag {
    display: flex !important;
    flex-direction: column !important;
    padding: 0.625rem 1rem !important;
    background: var(--maw-white) !important;
    border: 1px solid var(--maw-gray-200) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
}

.maw-profile-page .maw-attribute-tag:hover {
    border-color: var(--maw-gray-300) !important;
    background: var(--maw-gray-50) !important;
    box-shadow: var(--maw-shadow-sm) !important;
}

.maw-profile-page .maw-attribute-label {
    font-size: 0.5625rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--maw-teal-primary) !important;
    margin-bottom: 0.125rem !important;
}

.maw-profile-page .maw-attribute-value {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: var(--maw-gray-800) !important;
    transition: color 0.15s ease !important;
}

.maw-profile-page .maw-attribute-tag:hover .maw-attribute-value {
    color: var(--maw-teal-primary) !important;
}

.maw-profile-page .maw-link-indicator {
    font-size: 0.625rem !important;
    color: var(--maw-gray-400) !important;
    margin-left: 0.25rem !important;
}

/* ========================================
   TWO-COLUMN LAYOUT
   ======================================== */
.maw-profile-page .maw-profile-layout {
    display: grid !important;
    grid-template-columns: minmax(300px, 420px) 1fr !important;
    gap: 3rem !important;
    align-items: start !important;
}

/* ========================================
   LEFT COLUMN - MEDIA
   ======================================== */
.maw-profile-page .maw-profile-media {
    position: sticky !important;
    top: 104px !important;
}

/* Hide media column when only 1 photo and no other content */
.maw-profile-page .maw-profile-media.maw-media-hidden {
    display: none !important;
}

/* When media is hidden, content goes full width */
.maw-profile-page .maw-profile-layout:has(.maw-media-hidden) {
    grid-template-columns: 1fr !important;
}

.maw-profile-page .maw-media-section-label {
    display: none !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--maw-navy-primary) !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid var(--maw-gray-200) !important;
}

/* Profile Image Container */
.maw-profile-page .maw-profile-image-container {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: var(--maw-navy-primary) !important;
    box-shadow: var(--maw-shadow-lg) !important;
}

.maw-profile-page .maw-profile-image-wrapper {
    position: relative !important;
    width: 100% !important;
    min-height: 300px !important;
    max-height: 600px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(145deg, var(--maw-navy-primary) 0%, var(--maw-teal-dark) 100%) !important;
}

.maw-profile-page .maw-profile-image {
    width: 100% !important;
    height: auto !important;
    max-height: 600px !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.25s ease !important;
}

.maw-profile-page .maw-profile-image-container:hover .maw-profile-image {
    transform: scale(1.02) !important;
}

.maw-profile-page .maw-profile-image-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 3rem 1.5rem 1.25rem !important;
    background: linear-gradient(to top, rgba(3, 56, 73, 0.9) 0%, rgba(3, 56, 73, 0) 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.maw-profile-page .maw-profile-image-container:hover .maw-profile-image-overlay {
    opacity: 1 !important;
}

.maw-profile-page .maw-image-caption {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

/* Gallery Thumbnails */
.maw-profile-page .maw-profile-gallery {
    display: flex !important;
    gap: 0.5rem !important;
    margin-top: 0.75rem !important;
    overflow-x: auto !important;
    padding: 0.25rem !important;
    scrollbar-width: none !important;
}

.maw-profile-page .maw-profile-gallery::-webkit-scrollbar {
    display: none !important;
}

.maw-profile-page .maw-gallery-thumb {
    flex-shrink: 0 !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    opacity: 0.5 !important;
    background: var(--maw-gray-200) !important;
    box-shadow: var(--maw-shadow-sm) !important;
}

.maw-profile-page .maw-gallery-thumb:hover,
.maw-profile-page .maw-gallery-thumb.active {
    opacity: 1 !important;
    box-shadow: var(--maw-shadow-md) !important;
}

.maw-profile-page .maw-gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Social Links */
.maw-profile-page .maw-profile-social {
    display: flex !important;
    justify-content: center !important;
    gap: 0.625rem !important;
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid var(--maw-gray-200) !important;
}

.maw-profile-page .maw-social-link {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    color: var(--maw-gray-500) !important;
    background: var(--maw-white) !important;
    border: 1px solid var(--maw-gray-200) !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}

.maw-profile-page .maw-social-link:hover {
    color: var(--maw-white) !important;
    background: var(--maw-teal-primary) !important;
    border-color: var(--maw-teal-primary) !important;
    transform: translateY(-2px) !important;
}

.maw-profile-page .maw-social-link i {
    font-size: 0.9375rem !important;
}

/* Quick Stats */
.maw-profile-page .maw-quick-stats {
    margin-top: 1.25rem !important;
    padding: 1.25rem !important;
    background: var(--maw-teal-bg) !important;
    border-radius: 16px !important;
}

.maw-profile-page .maw-quick-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
}

.maw-profile-page .maw-quick-stat {
    text-align: center !important;
    padding: 0.5rem 0.25rem !important;
}

.maw-profile-page .maw-quick-stat-value {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--maw-teal-dark) !important;
    line-height: 1 !important;
}

.maw-profile-page .maw-quick-stat-label {
    font-size: 0.625rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--maw-teal-primary) !important;
    margin-top: 0.25rem !important;
}

/* ========================================
   RIGHT COLUMN - CONTENT
   ======================================== */
.maw-profile-page .maw-profile-content {
    padding-top: 0 !important;
}

/* Section Styling */
.maw-profile-page .maw-profile-section {
    margin-bottom: 2rem !important;
}

.maw-profile-page .maw-section-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 1rem !important;
}

.maw-profile-page .maw-section-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--maw-navy-primary) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 0 !important;
}

.maw-profile-page .maw-section-title::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: var(--maw-gray-200) !important;
    min-width: 30px !important;
}

/* Biography */
.maw-profile-page .maw-profile-bio {
    font-size: 0.9375rem !important;
    line-height: 1.75 !important;
    color: var(--maw-gray-600) !important;
}

.maw-profile-page .maw-profile-bio p {
    margin-bottom: 1rem !important;
}

.maw-profile-page .maw-profile-bio p:last-child {
    margin-bottom: 0 !important;
}

/* ========================================
   ACCOLADES/AWARDS - GOLD THEME
   ======================================== */
.maw-profile-page .maw-accolades-section {
    background: var(--maw-gold-bg) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    border: 1px solid var(--maw-gold-light) !important;
}

.maw-profile-page .maw-accolades-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    margin-bottom: 1.25rem !important;
}

.maw-profile-page .maw-accolades-icon {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--maw-gold-primary) !important;
    border-radius: 50% !important;
    color: var(--maw-white) !important;
    font-size: 0.875rem !important;
}

.maw-profile-page .maw-accolades-title {
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    color: var(--maw-gold-dark) !important;
    margin: 0 !important;
}

.maw-profile-page .maw-accolades-grid {
    display: grid !important;
    gap: 1rem !important;
}

.maw-profile-page .maw-accolade-item {
    display: flex !important;
    gap: 0.875rem !important;
    align-items: flex-start !important;
    padding: 1rem !important;
    background: var(--maw-gold-bg-light) !important;
    border-radius: 8px !important;
    border: 1px solid var(--maw-gold-light) !important;
}

.maw-profile-page .maw-accolade-badge {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--maw-white) !important;
    border-radius: 50% !important;
    color: var(--maw-gold-primary) !important;
    font-size: 1rem !important;
    border: 2px solid var(--maw-gold-light) !important;
}

.maw-profile-page .maw-accolade-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.maw-profile-page .maw-accolade-name {
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    color: var(--maw-gray-800) !important;
    margin-bottom: 0.125rem !important;
}

.maw-profile-page .maw-accolade-detail {
    font-size: 0.8125rem !important;
    color: var(--maw-gray-600) !important;
    line-height: 1.4 !important;
}

.maw-profile-page .maw-accolade-year {
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    color: var(--maw-gold-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin-top: 0.375rem !important;
}

/* ========================================
   PRESS QUOTES - NAVY THEME
   ======================================== */
.maw-profile-page .maw-press-quotes {
    background: var(--maw-navy-primary) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    color: var(--maw-white) !important;
}

.maw-profile-page .maw-press-quotes-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    margin-bottom: 1.25rem !important;
}

.maw-profile-page .maw-press-quotes-icon {
    color: var(--maw-teal-light) !important;
    font-size: 1.25rem !important;
}

.maw-profile-page .maw-press-quotes-title {
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    color: var(--maw-white) !important;
    margin: 0 !important;
}

.maw-profile-page .maw-quote-item {
    position: relative !important;
    padding: 1rem !important;
    margin-bottom: 0.875rem !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 8px !important;
    border-left: 3px solid var(--maw-teal-primary) !important;
}

.maw-profile-page .maw-quote-item:last-child {
    margin-bottom: 0 !important;
}

.maw-profile-page .maw-quote-text {
    font-size: 0.9375rem !important;
    font-style: italic !important;
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.6 !important;
    margin: 0 0 0.5rem 0 !important;
}

.maw-profile-page .maw-quote-source {
    font-size: 0.75rem !important;
    color: var(--maw-teal-light) !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

/* ========================================
   RELATED PROFILES - TEAL THEME
   ======================================== */
.maw-profile-page .maw-related-section {
    background: var(--maw-teal-bg) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    border: 1px solid rgba(0, 163, 158, 0.2) !important;
}

.maw-profile-page .maw-related-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 1rem !important;
}

.maw-profile-page .maw-related-title-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
}

.maw-profile-page .maw-related-icon {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--maw-teal-primary) !important;
    border-radius: 50% !important;
    color: var(--maw-white) !important;
    font-size: 0.75rem !important;
}

.maw-profile-page .maw-related-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--maw-teal-dark) !important;
    margin: 0 !important;
}

.maw-profile-page .maw-related-category {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--maw-teal-primary) !important;
    background: var(--maw-white) !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 9999px !important;
}

.maw-profile-page .maw-related-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 1rem !important;
}

.maw-profile-page .maw-related-profile {
    text-align: center !important;
    text-decoration: none !important;
    color: inherit !important;
    padding: 1rem 0.75rem !important;
    background: var(--maw-white) !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
    border: 1px solid transparent !important;
    display: block !important;
}

.maw-profile-page .maw-related-profile:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--maw-shadow-lg) !important;
}

.maw-profile-page .maw-related-avatar {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto 0.75rem !important;
    box-shadow: var(--maw-shadow-md) !important;
    display: block !important;
}

.maw-profile-page .maw-related-name {
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: var(--maw-gray-800) !important;
    margin-bottom: 0.125rem !important;
}

.maw-profile-page .maw-related-role {
    font-size: 0.6875rem !important;
    color: var(--maw-gray-500) !important;
}

/* ========================================
   PERFORMANCES SECTION
   ======================================== */
.maw-profile-page .maw-performances-section {
    background: var(--maw-white) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    border: 1px solid var(--maw-gray-200) !important;
}

.maw-profile-page .maw-performances-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 1rem !important;
}

.maw-profile-page .maw-performances-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--maw-navy-primary) !important;
    margin: 0 !important;
}

.maw-profile-page .maw-performances-nav {
    display: flex !important;
    gap: 0.375rem !important;
}

.maw-profile-page .maw-nav-arrow {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--maw-gray-200) !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--maw-gray-500) !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.maw-profile-page .maw-nav-arrow:hover {
    border-color: var(--maw-gray-400) !important;
    color: var(--maw-gray-700) !important;
    background: var(--maw-gray-50) !important;
}

.maw-profile-page .maw-nav-arrow:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

.maw-profile-page .maw-performances-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 1rem !important;
}

.maw-profile-page .maw-performance-card {
    position: relative !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: var(--maw-gray-50) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

.maw-profile-page .maw-performance-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--maw-shadow-md) !important;
}

.maw-profile-page .maw-performance-image {
    aspect-ratio: 2/3 !important;
    overflow: hidden !important;
    background: var(--maw-gray-200) !important;
}

.maw-profile-page .maw-performance-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 3s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.maw-profile-page .maw-performance-card:hover .maw-performance-image img {
    transform: scale(1.05) !important;
}

.maw-profile-page .maw-performance-info {
    padding: 0.75rem !important;
}

.maw-profile-page .maw-performance-title {
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: var(--maw-gray-800) !important;
    margin: 0 0 0.125rem 0 !important;
    line-height: 1.3 !important;
}

.maw-profile-page .maw-performance-role {
    font-size: 0.6875rem !important;
    color: var(--maw-gray-500) !important;
    margin: 0 !important;
}

.maw-profile-page .maw-performance-status {
    position: absolute !important;
    top: 0.5rem !important;
    left: 0.5rem !important;
    padding: 0.1875rem 0.5rem !important;
    font-size: 0.5625rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    border-radius: 2px !important;
}

.maw-profile-page .maw-performance-status.available {
    background: var(--maw-teal-primary) !important;
    color: var(--maw-white) !important;
}

.maw-profile-page .maw-performance-status.upcoming {
    background: var(--maw-gold-primary) !important;
    color: var(--maw-white) !important;
}

/* ========================================
   PAST PERFORMANCES - MUTED STYLE
   ======================================== */
.maw-profile-page .maw-past-performances-section {
    background: var(--maw-gray-50) !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    border: 1px solid var(--maw-gray-200) !important;
}

.maw-profile-page .maw-past-performances-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.625rem !important;
}

.maw-profile-page .maw-past-performances-title {
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: var(--maw-gray-500) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    margin: 0 !important;
}

.maw-profile-page .maw-past-performances-title i {
    color: var(--maw-gray-400) !important;
    font-size: 0.75rem !important;
}

.maw-profile-page .maw-past-performances-count {
    font-size: 0.625rem !important;
    font-weight: 600 !important;
    color: var(--maw-gray-500) !important;
    background: var(--maw-gray-200) !important;
    padding: 0.125rem 0.375rem !important;
    border-radius: 9999px !important;
}

.maw-profile-page .maw-past-performances-list {
    display: grid !important;
    gap: 0.375rem !important;
}

.maw-profile-page .maw-past-performance-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    padding: 0.5rem !important;
    background: var(--maw-white) !important;
    border-radius: 4px !important;
    border: 1px solid var(--maw-gray-200) !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.maw-profile-page .maw-past-performance-item:hover {
    border-color: var(--maw-gray-300) !important;
    box-shadow: var(--maw-shadow-sm) !important;
}

.maw-profile-page .maw-past-performance-thumb {
    width: 32px !important;
    height: 42px !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: var(--maw-gray-200) !important;
}

.maw-profile-page .maw-past-performance-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: grayscale(40%) !important;
    opacity: 0.8 !important;
}

.maw-profile-page .maw-past-performance-item:hover .maw-past-performance-thumb img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

.maw-profile-page .maw-past-performance-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.maw-profile-page .maw-past-performance-title {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--maw-gray-600) !important;
    margin-bottom: 0 !important;
    line-height: 1.3 !important;
}

.maw-profile-page .maw-past-performance-meta {
    font-size: 0.625rem !important;
    color: var(--maw-gray-400) !important;
}

.maw-profile-page .maw-past-performance-date {
    font-size: 0.625rem !important;
    font-weight: 600 !important;
    color: var(--maw-gray-400) !important;
    white-space: nowrap !important;
}

.maw-profile-page .maw-show-more-btn {
    width: 100% !important;
    padding: 0.5rem !important;
    margin-top: 0.5rem !important;
    background: transparent !important;
    border: 1px dashed var(--maw-gray-300) !important;
    border-radius: 4px !important;
    color: var(--maw-gray-500) !important;
    font-family: 'Gilroy', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.maw-profile-page .maw-show-more-btn:hover {
    border-color: var(--maw-gray-400) !important;
    color: var(--maw-gray-700) !important;
    background: var(--maw-gray-100) !important;
}

/* ========================================
   EDUCATION SECTION
   ======================================== */
.maw-profile-page .maw-education-section {
    background: var(--maw-white) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    border: 1px solid var(--maw-gray-200) !important;
}

.maw-profile-page .maw-education-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    margin-bottom: 1rem !important;
}

.maw-profile-page .maw-education-icon {
    color: var(--maw-teal-primary) !important;
    font-size: 1rem !important;
}

.maw-profile-page .maw-education-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--maw-navy-primary) !important;
    margin: 0 !important;
}

.maw-profile-page .maw-education-timeline {
    position: relative !important;
    padding-left: 1.25rem !important;
}

.maw-profile-page .maw-education-timeline::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.5rem !important;
    bottom: 0.5rem !important;
    width: 2px !important;
    background: var(--maw-gray-200) !important;
}

.maw-profile-page .maw-education-item {
    position: relative !important;
    padding-bottom: 1rem !important;
}

.maw-profile-page .maw-education-item:last-child {
    padding-bottom: 0 !important;
}

.maw-profile-page .maw-education-item::before {
    content: '' !important;
    position: absolute !important;
    left: -1.25rem !important;
    top: 0.4rem !important;
    width: 8px !important;
    height: 8px !important;
    background: var(--maw-teal-primary) !important;
    border-radius: 50% !important;
    transform: translateX(-3px) !important;
}

.maw-profile-page .maw-education-degree {
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    color: var(--maw-gray-800) !important;
}

.maw-profile-page .maw-education-institution {
    font-size: 0.8125rem !important;
    color: var(--maw-gray-600) !important;
}

.maw-profile-page .maw-education-details {
    font-size: 0.75rem !important;
    color: var(--maw-gray-500) !important;
    margin-top: 0.125rem !important;
}

/* ========================================
   DISCOGRAPHY SECTION
   ======================================== */
.maw-profile-page .maw-discography-section {
    background: var(--maw-white) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    border: 1px solid var(--maw-gray-200) !important;
}

.maw-profile-page .maw-discography-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    margin-bottom: 1rem !important;
}

.maw-profile-page .maw-discography-icon {
    color: var(--maw-teal-primary) !important;
    font-size: 1rem !important;
}

.maw-profile-page .maw-discography-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--maw-navy-primary) !important;
    margin: 0 !important;
}

.maw-profile-page .maw-album-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    gap: 1rem !important;
}

.maw-profile-page .maw-album-item {
    text-align: center !important;
    cursor: pointer !important;
}

.maw-profile-page .maw-album-cover {
    aspect-ratio: 1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 0.625rem !important;
    box-shadow: var(--maw-shadow-md) !important;
    transition: all 0.15s ease !important;
}

.maw-profile-page .maw-album-item:hover .maw-album-cover {
    transform: translateY(-3px) !important;
    box-shadow: var(--maw-shadow-lg) !important;
}

.maw-profile-page .maw-album-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.maw-profile-page .maw-album-title {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--maw-gray-800) !important;
    line-height: 1.3 !important;
}

.maw-profile-page .maw-album-year {
    font-size: 0.6875rem !important;
    color: var(--maw-gray-500) !important;
    margin-top: 0.125rem !important;
}

/* ========================================
   VIDEO SECTION
   ======================================== */
.maw-profile-page .maw-video-section {
    background: var(--maw-white) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    border: 1px solid var(--maw-gray-200) !important;
}

.maw-profile-page .maw-video-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    margin-bottom: 1rem !important;
}

.maw-profile-page .maw-video-icon {
    color: var(--maw-teal-primary) !important;
    font-size: 1rem !important;
}

.maw-profile-page .maw-video-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--maw-navy-primary) !important;
    margin: 0 !important;
}

.maw-profile-page .maw-video-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 1rem !important;
}

.maw-profile-page .maw-video-item {
    cursor: pointer !important;
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

.maw-profile-page .maw-video-thumbnail {
    position: relative !important;
    aspect-ratio: 16/9 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 0.625rem !important;
}

.maw-profile-page .maw-video-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.maw-profile-page .maw-video-item:hover .maw-video-thumbnail img {
    transform: scale(1.05) !important;
}

.maw-profile-page .maw-video-play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255,255,255,0.95) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--maw-navy-primary) !important;
    font-size: 0.875rem !important;
    box-shadow: var(--maw-shadow-md) !important;
    transition: all 0.15s ease !important;
}

.maw-profile-page .maw-video-item:hover .maw-video-play-btn {
    background: var(--maw-teal-primary) !important;
    color: var(--maw-white) !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.maw-profile-page .maw-video-item-title {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: var(--maw-gray-800) !important;
    line-height: 1.3 !important;
}

/* ========================================
   PROFILE LINKS
   ======================================== */
.maw-profile-page .maw-profile-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

.maw-profile-page .maw-profile-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.625rem 1.125rem !important;
    background: var(--maw-teal-primary) !important;
    color: var(--maw-white) !important;
    text-decoration: none !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    transition: all 0.15s ease !important;
}

.maw-profile-page .maw-profile-link:hover {
    background: var(--maw-teal-dark) !important;
    transform: translateY(-1px) !important;
}

.maw-profile-page .maw-profile-link i {
    font-size: 0.75rem !important;
}

.maw-profile-page .maw-profile-link.secondary {
    background: transparent !important;
    border: 1px solid var(--maw-gray-300) !important;
    color: var(--maw-gray-700) !important;
}

.maw-profile-page .maw-profile-link.secondary:hover {
    border-color: var(--maw-gray-400) !important;
    color: var(--maw-gray-800) !important;
    background: var(--maw-gray-50) !important;
}

/* ========================================
   DONOR CARD - GOLD THEME
   ======================================== */
.maw-profile-page .maw-donor-card {
    background: var(--maw-gold-bg) !important;
    border-radius: 16px !important;
    padding: 1.75rem !important;
    margin-top: 1.5rem !important;
    border: 1px solid var(--maw-gold-light) !important;
}

.maw-profile-page .maw-donor-card-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
}

.maw-profile-page .maw-donor-card-icon {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--maw-gold-primary) !important;
    border-radius: 50% !important;
    color: var(--maw-white) !important;
    font-size: 1.125rem !important;
}

.maw-profile-page .maw-donor-card-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--maw-gold-dark) !important;
    margin: 0 0 0.25rem 0 !important;
}

.maw-profile-page .maw-donor-card-subtitle {
    font-size: 0.8125rem !important;
    color: var(--maw-gray-600) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.maw-profile-page .maw-donor-card-impact {
    font-size: 0.875rem !important;
    color: var(--maw-gray-700) !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    padding: 1rem !important;
    background: var(--maw-gold-bg-light) !important;
    border-radius: 8px !important;
    border-left: 3px solid var(--maw-gold-primary) !important;
}

.maw-profile-page .maw-donor-card-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    align-items: center !important;
}

.maw-profile-page .maw-donor-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.25rem !important;
    background: var(--maw-gold-primary) !important;
    color: var(--maw-white) !important;
    text-decoration: none !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}

.maw-profile-page .maw-donor-btn:hover {
    background: var(--maw-gold-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: var(--maw-shadow-md) !important;
}

.maw-profile-page .maw-donor-btn.secondary {
    background: var(--maw-white) !important;
    color: var(--maw-gold-dark) !important;
    border: 1px solid var(--maw-gold-light) !important;
}

.maw-profile-page .maw-donor-btn.secondary:hover {
    background: var(--maw-gold-bg-light) !important;
    border-color: var(--maw-gold-primary) !important;
}

.maw-profile-page .maw-donor-card-note {
    font-size: 0.6875rem !important;
    color: var(--maw-gray-500) !important;
    margin: 1rem 0 0 0 !important;
}

/* ========================================
   TWO COLUMN GRID HELPER
   ======================================== */
.maw-profile-page .maw-two-col-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
    .maw-profile-page .maw-profile-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .maw-profile-page .maw-profile-media {
        order: 2 !important;
        position: relative !important;
        top: 0 !important;
    }

    .maw-profile-page .maw-profile-content {
        order: 1 !important;
    }

    .maw-profile-page .maw-media-section-label {
        display: block !important;
    }

    .maw-profile-page .maw-profile-image-container {
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .maw-profile-page .maw-profile-mobile-avatar {
        display: block !important;
    }

    .maw-profile-page .maw-profile-name {
        font-size: 1.5rem !important;
    }

    .maw-profile-page .maw-profile-title {
        font-size: 0.9375rem !important;
    }

    .maw-profile-page .maw-profile-attributes {
        margin-top: 1rem !important;
    }
}

@media (max-width: 900px) {
    .maw-profile-page .maw-two-col-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    /* Hide single image on mobile since avatar shows at top */
    .maw-profile-page .maw-profile-media.maw-single-image .maw-profile-image-container {
        display: none !important;
    }

    /* Hide entire media section on mobile if it only has single image (no socials/stats) */
    .maw-profile-page .maw-profile-media.maw-single-image:not(:has(.maw-profile-social)):not(:has(.maw-quick-stats)) {
        display: none !important;
    }

    .maw-profile-page .maw-profile-container {
        padding: 88px 1rem 2rem !important;
    }

    .maw-profile-page .maw-profile-top-header {
        margin-bottom: 1.5rem !important;
        padding-bottom: 1rem !important;
    }

    .maw-profile-page .maw-profile-layout {
        gap: 1.5rem !important;
    }

    .maw-profile-page .maw-section-title {
        font-size: 1rem !important;
    }

    .maw-profile-page .maw-performances-section,
    .maw-profile-page .maw-discography-section,
    .maw-profile-page .maw-education-section,
    .maw-profile-page .maw-video-section,
    .maw-profile-page .maw-past-performances-section {
        padding: 1.25rem !important;
    }

    .maw-profile-page .maw-performances-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .maw-profile-page .maw-album-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }

    .maw-profile-page .maw-video-grid {
        grid-template-columns: 1fr !important;
    }

    .maw-profile-page .maw-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .maw-profile-page .maw-quick-stats-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .maw-profile-page .maw-quick-stat-value {
        font-size: 1.25rem !important;
    }

    .maw-profile-page .maw-accolades-section,
    .maw-profile-page .maw-press-quotes,
    .maw-profile-page .maw-related-section {
        padding: 1.25rem !important;
    }
}

@media (max-width: 600px) {
    .maw-profile-page .maw-donor-card-header {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    .maw-profile-page .maw-donor-card-actions {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .maw-profile-page .maw-nav-bar {
        padding: 0 1rem !important;
    }

    .maw-profile-page .maw-nav-back span {
        display: none !important;
    }

    .maw-profile-page .maw-profile-mobile-avatar {
        width: 64px !important;
        height: 64px !important;
    }

    .maw-profile-page .maw-profile-name {
        font-size: 1.25rem !important;
    }

    .maw-profile-page .maw-profile-title {
        font-size: 0.875rem !important;
    }

    .maw-profile-page .maw-performances-grid,
    .maw-profile-page .maw-album-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .maw-profile-page .maw-related-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .maw-profile-page * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .maw-profile-page {
        background: #fff !important;
        font-size: 11pt !important;
        line-height: 1.5 !important;
    }

    .maw-profile-page .maw-nav-bar,
    .maw-profile-page .maw-performances-nav,
    .maw-profile-page .maw-video-section,
    .maw-profile-page .maw-related-section,
    .maw-profile-page .maw-profile-gallery,
    .maw-profile-page .maw-profile-social,
    .maw-profile-page .maw-quick-stats,
    .maw-profile-page .maw-show-more-btn,
    .maw-profile-page .maw-donor-card,
    .maw-profile-page .maw-profile-links,
    .maw-profile-page .maw-profile-media,
    .maw-profile-page .maw-media-section-label {
        display: none !important;
    }

    .maw-profile-page .maw-profile-container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .maw-profile-page .maw-profile-layout {
        display: block !important;
    }

    .maw-profile-page .maw-profile-top-header {
        border-bottom: 2px solid #000 !important;
        padding-bottom: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .maw-profile-page .maw-profile-mobile-avatar {
        display: block !important;
        width: 120px !important;
        height: 120px !important;
        float: right !important;
        margin: 0 0 0.5rem 1rem !important;
        border: 1px solid #ccc !important;
    }

    .maw-profile-page .maw-profile-name {
        font-size: 22pt !important;
        color: #000 !important;
    }

    .maw-profile-page .maw-profile-title {
        font-size: 11pt !important;
        color: #333 !important;
    }

    .maw-profile-page .maw-profile-section {
        margin-bottom: 1rem !important;
        page-break-inside: avoid !important;
    }

    .maw-profile-page .maw-section-title {
        font-size: 14pt !important;
        color: #000 !important;
    }

    .maw-profile-page .maw-section-title::after {
        display: none !important;
    }

    .maw-profile-page .maw-profile-bio {
        font-size: 10pt !important;
        color: #333 !important;
    }
}

/* ========================================
   MODAL STYLES
   ======================================== */

/* Modal Wrapper */
.maw-modal-wrapper {
    --maw-teal-primary: #00A39E;
    --maw-teal-dark: #00625F;
    --maw-gold-primary: #F0991B;
    --maw-gold-bg: #FEF5E8;
    --maw-gold-light: #F8CC8D;
    --maw-navy-primary: #033849;
    --maw-gray-100: #f3f4f6;
    --maw-gray-200: #e5e7eb;
    --maw-gray-500: #6b7280;
    --maw-gray-600: #4b5563;
    --maw-gray-800: #1f2937;

    position: relative;
    background: #fff;
    border-radius: 16px;
    max-height: calc(100vh - 120px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Close Button */
.maw-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 100;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--maw-navy-primary);
    border: 3px solid #fff;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.maw-modal-close:hover {
    background: var(--maw-teal-primary);
    transform: scale(1.1);
}

/* Navigation Arrows */
.maw-modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    pointer-events: none;
    z-index: 50;
}

.maw-modal-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maw-navy-primary);
    font-size: 0.875rem;
    pointer-events: auto;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.maw-modal-arrow:hover {
    background: var(--maw-teal-primary);
    color: #fff;
    transform: scale(1.1);
}

/* Modal Content */
.maw-modal-content {
    overflow-y: auto;
    max-height: calc(100vh - 120px);
    padding: 0;
}

/* Modal Header */
.maw-modal-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--maw-gray-200);
}

.maw-modal-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.maw-modal-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.maw-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.maw-modal-identity-text {
    flex: 1;
    min-width: 0;
}

.maw-modal-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--maw-navy-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.maw-modal-title {
    font-size: 0.9375rem;
    color: var(--maw-teal-primary);
    margin: 0;
    font-weight: 500;
}

/* Tags */
.maw-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.maw-modal-tag {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.875rem;
    background: var(--maw-gray-100);
    border: 1px solid var(--maw-gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    font-family: inherit;
}

.maw-modal-tag:hover {
    background: #fff;
    border-color: var(--maw-teal-primary);
    box-shadow: 0 2px 8px rgba(0,163,158,0.15);
}

.maw-modal-tag-label {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--maw-teal-primary);
    margin-bottom: 0.125rem;
}

.maw-modal-tag-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--maw-gray-800);
}

.maw-modal-tag-value i {
    font-size: 0.625rem;
    color: var(--maw-gray-500);
    margin-left: 0.25rem;
}

/* Modal Body - Two Column */
.maw-modal-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 1.5rem 2rem 2rem;
}

/* Media Column */
.maw-modal-media {
    position: sticky;
    top: 0;
    align-self: start;
}

.maw-modal-image-container {
    border-radius: 12px;
    overflow: hidden;
    background: var(--maw-navy-primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.maw-modal-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.25s ease;
}

.maw-modal-gallery {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.maw-modal-gallery::-webkit-scrollbar {
    height: 4px;
}

.maw-modal-gallery::-webkit-scrollbar-thumb {
    background: var(--maw-gray-300);
    border-radius: 4px;
}

.maw-modal-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.15s ease;
    border: 2px solid transparent;
}

.maw-modal-thumb:hover,
.maw-modal-thumb.active {
    opacity: 1;
    border-color: var(--maw-teal-primary);
}

.maw-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.maw-modal-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--maw-gray-200);
}

.maw-modal-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--maw-gray-100);
    color: var(--maw-gray-600);
    text-decoration: none;
    transition: all 0.15s ease;
}

.maw-modal-social-link:hover {
    background: var(--maw-teal-primary);
    color: #fff;
}

/* Main Content Column */
.maw-modal-main {
    min-width: 0;
}

.maw-modal-main.maw-modal-full-width {
    grid-column: 1 / -1;
}

/* Sections */
.maw-modal-section {
    margin-bottom: 1.5rem;
}

.maw-modal-section h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--maw-navy-primary);
    margin: 0 0 1rem 0;
}

/* Awards Section - Gold Theme */
.maw-modal-awards {
    background: var(--maw-gold-bg);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--maw-gold-light);
}

.maw-modal-awards-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.maw-modal-awards-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--maw-gold-primary);
    border-radius: 50%;
    color: #fff;
    font-size: 0.75rem;
}

.maw-modal-awards h2 {
    color: #b8860b;
    margin: 0;
}

.maw-modal-awards-grid {
    display: grid;
    gap: 0.75rem;
}

.maw-modal-award-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
}

.maw-modal-award-badge {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    color: var(--maw-gold-primary);
    border: 2px solid var(--maw-gold-light);
}

.maw-modal-award-name {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--maw-gray-800);
}

.maw-modal-award-org {
    font-size: 0.75rem;
    color: var(--maw-gray-600);
}

.maw-modal-award-year {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--maw-gold-primary);
    margin-top: 0.25rem;
}

/* Press Section - Navy Theme */
.maw-modal-press {
    background: var(--maw-navy-primary);
    border-radius: 12px;
    padding: 1.25rem;
    color: #fff;
}

.maw-modal-press-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.maw-modal-press-header i {
    color: var(--maw-teal-primary);
    font-size: 1.125rem;
}

.maw-modal-press h2 {
    color: #fff;
    margin: 0;
}

.maw-modal-quote {
    padding: 0.875rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border-left: 3px solid var(--maw-teal-primary);
    margin-bottom: 0.75rem;
}

.maw-modal-quote:last-child {
    margin-bottom: 0;
}

.maw-modal-quote-text {
    font-size: 0.875rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
}

.maw-modal-quote-source {
    font-size: 0.75rem;
    color: var(--maw-teal-primary);
    font-weight: 600;
    margin: 0;
}

/* Bio Section */
.maw-modal-bio-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--maw-gray-600);
}

.maw-modal-bio-text p {
    margin-bottom: 1rem;
}

.maw-modal-bio-text p:last-child {
    margin-bottom: 0;
}

/* Education Section */
.maw-modal-education-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.maw-modal-education-header i {
    color: var(--maw-teal-primary);
}

.maw-modal-education-header h2 {
    margin: 0;
}

.maw-modal-education-list {
    display: grid;
    gap: 0.75rem;
}

.maw-modal-edu-item {
    padding: 0.75rem;
    background: var(--maw-gray-100);
    border-radius: 8px;
}

.maw-modal-edu-degree {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--maw-gray-800);
}

.maw-modal-edu-institution {
    font-size: 0.8125rem;
    color: var(--maw-gray-600);
}

.maw-modal-edu-year {
    font-size: 0.75rem;
    color: var(--maw-gray-500);
    margin-top: 0.25rem;
}

/* Videos Section */
.maw-modal-videos-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.maw-modal-videos-header i {
    color: var(--maw-teal-primary);
}

.maw-modal-videos-header h2 {
    margin: 0;
}

.maw-modal-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.maw-modal-video-item {
    text-decoration: none;
    color: inherit;
}

.maw-modal-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--maw-gray-200);
    margin-bottom: 0.5rem;
}

.maw-modal-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.maw-modal-video-item:hover .maw-modal-video-thumb img {
    transform: scale(1.05);
}

.maw-modal-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maw-navy-primary);
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.maw-modal-video-item:hover .maw-modal-video-play {
    background: var(--maw-teal-primary);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.maw-modal-video-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--maw-gray-800);
    line-height: 1.3;
}

/* Links Section */
.maw-modal-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.maw-modal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--maw-teal-primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.15s ease;
}

.maw-modal-link:hover {
    background: var(--maw-teal-dark);
}

.maw-modal-link i {
    font-size: 0.75rem;
}

/* Social Section (when no gallery) */
.maw-modal-social-section .maw-modal-social {
    justify-content: flex-start;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

/* Actions */
.maw-modal-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--maw-gray-200);
}

.maw-modal-view-full {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--maw-navy-primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.15s ease;
}

.maw-modal-view-full:hover {
    background: var(--maw-teal-dark);
}

/* Tag Panel Popup */
.maw-tag-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    font-family: 'Gilroy', sans-serif;
}

.maw-tag-popup.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.maw-tag-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.maw-tag-popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.maw-tag-popup-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--maw-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.maw-tag-popup-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--maw-navy-primary);
    margin: 0;
}

.maw-tag-popup-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--maw-gray-100);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--maw-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.maw-tag-popup-close:hover {
    background: var(--maw-gray-200);
    color: var(--maw-gray-800);
}

.maw-tag-popup-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.maw-tag-popup-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--maw-gray-500);
}

.maw-tag-popup-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--maw-gray-200);
    border-top-color: var(--maw-teal-primary);
    border-radius: 50%;
    animation: maw-spin 0.8s linear infinite;
}

@keyframes maw-spin {
    to { transform: rotate(360deg); }
}

.maw-tag-popup-profiles {
    display: grid;
    gap: 0.5rem;
}

.maw-tag-popup-profile {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    background: var(--maw-gray-100);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.maw-tag-popup-profile:hover {
    background: var(--maw-teal-primary);
    color: #fff;
}

.maw-tag-popup-profile-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.maw-tag-popup-profile-name {
    font-weight: 700;
    font-size: 0.875rem;
}

.maw-tag-popup-profile-title {
    font-size: 0.75rem;
    opacity: 0.8;
}

.maw-tag-popup-empty {
    text-align: center;
    padding: 2rem;
    color: var(--maw-gray-500);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .maw-modal-wrapper {
        border-radius: 0;
        max-height: 100vh;
    }

    .maw-modal-content {
        max-height: 100vh;
    }

    .maw-modal-header {
        padding: 1rem;
    }

    .maw-modal-avatar {
        width: 56px;
        height: 56px;
    }

    .maw-modal-name {
        font-size: 1.25rem;
    }

    .maw-modal-body {
        display: block;
        padding: 1rem;
    }

    .maw-modal-media {
        display: none;
    }

    .maw-modal-main {
        width: 100%;
    }

    .maw-modal-nav {
        display: none;
    }

    .maw-modal-videos-grid {
        grid-template-columns: 1fr;
    }
}
