
:root {
    --airep-accent: #F52F78 !important;
    --airep-secondary: #D92165 !important;
    --airep-dark: #1A1A2E !important;
    --airep-text: #2D2D44 !important;
    --airep-muted: #6B6B85 !important;
    --airep-bg: #FFFFFF !important;
    --airep-border: #E8E8F0 !important;
    --airep-radius: 12px !important;
    --airep-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ============================================================
   MAIN BANNER CONTAINER
   ============================================================ */
.airep-entity-banner {
    font-family: var(--airep-font) !important;
    background: #FFFFFF !important;
    border: 1px solid #E8E8F0 !important;
    border-radius: 12px !important;
    padding: 28px 32px !important;
    margin: 24px 0 28px !important;
    box-shadow: 0 4px 20px rgba(26,26,46,0.06) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    overflow: visible !important;
    z-index: 1 !important;
    clear: both !important;
}

.airep-entity-banner:hover {
    box-shadow: 0 8px 32px rgba(26,26,46,0.10) !important;
    transform: translateY(-2px) !important;
}

/* ============================================================
   TOP ACCENT BAR — PINK GRADIENT
   ============================================================ */
.airep-entity-banner::before {
    content: '' !important;
    position: absolute !important;
    top: -1px !important;
    left: -1px !important;
    right: -1px !important;
    height: 5px !important;
    background: linear-gradient(90deg, #F52F78, #D92165, #F52F78) !important;
    background-size: 200% 100% !important;
    animation: bannerGradient 3s ease-in-out infinite !important;
    border-radius: 12px 12px 0 0 !important;
    z-index: 10 !important;
}

@keyframes bannerGradient {
    0% { background-position: 0% 0% !important; }
    50% { background-position: 100% 0% !important; }
    100% { background-position: 0% 0% !important; }
}

/* ============================================================
   DECORATIVE GLOW
   ============================================================ */
.airep-entity-banner::after {
    content: '' !important;
    position: absolute !important;
    top: -80px !important;
    right: -80px !important;
    width: 300px !important;
    height: 300px !important;
    background: radial-gradient(circle, rgba(245,47,120,0.04), transparent 70%) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.airep-entity-banner * {
    box-sizing: border-box !important;
}

/* ============================================================
   HEADER — PROFILE AVATAR WITH PINK
   ============================================================ */
.airep-eb-header {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 14px !important;
    position: relative !important;
    z-index: 2 !important;
}

.airep-eb-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #F52F78, #D92165) !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 16px rgba(245,47,120,0.30) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

.airep-entity-banner:hover .airep-eb-avatar {
    transform: scale(1.05) rotate(-4deg) !important;
    box-shadow: 0 8px 28px rgba(245,47,120,0.40) !important;
}

.airep-eb-heading {
    flex: 1 !important;
    position: relative !important;
    z-index: 2 !important;
    min-width: 0 !important;
}

.airep-eb-name {
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #1A1A2E !important;
    letter-spacing: -0.3px !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
}

.airep-eb-type {
    font-size: 12px !important;
    color: #F52F78 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    font-weight: 600 !important;
    background: #FFF5F8 !important;
    padding: 3px 16px !important;
    border-radius: 999px !important;
    display: inline-block !important;
    margin-top: 4px !important;
    border: 1px solid rgba(245,47,120,0.12) !important;
}

/* ============================================================
   DESCRIPTION
   ============================================================ */
.airep-eb-desc {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #2D2D44 !important;
    margin: 8px 0 16px !important;
    padding: 14px 18px !important;
    background: #FFF5F8 !important;
    border-radius: 8px !important;
    border-left: 4px solid #F52F78 !important;
    position: relative !important;
    z-index: 2 !important;
}

/* ============================================================
   FACTS GRID
   ============================================================ */
.airep-eb-facts {
    list-style: none !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 20px !important;
    position: relative !important;
    z-index: 2 !important;
}

.airep-eb-facts li {
    display: flex !important;
    flex-direction: column !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    border-bottom: 1px solid #E8E8F0 !important;
    padding: 6px 4px 8px !important;
    transition: all 0.2s ease !important;
    border-radius: 4px !important;
}

.airep-eb-facts li:hover {
    background: #FFF5F8 !important;
    border-color: #F52F78 !important;
}

.airep-eb-fact-label {
    color: #6B6B85 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    font-weight: 600 !important;
}

.airep-eb-fact-value {
    font-weight: 600 !important;
    color: #1A1A2E !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}

/* ============================================================
   SOURCE LINKS IN FACTS
   ============================================================ */
.airep-eb-fact-source {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 4px !important;
    color: #F52F78 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.airep-eb-fact-source:hover {
    transform: translateX(2px) !important;
    color: #D92165 !important;
}

/* ============================================================
   BADGES
   ============================================================ */
.airep-badge {
    display: inline-block !important;
    padding: 2px 10px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    margin-left: 6px !important;
}

.airep-badge-verified {
    background: #E6F7F0 !important;
    color: #16A875 !important;
}

.airep-badge-reported {
    background: #FCE8F0 !important;
    color: #F52F78 !important;
}

.airep-badge-disputed {
    background: #FEF3C7 !important;
    color: #92400E !important;
}

.airep-badge-unknown {
    background: #F1F5F9 !important;
    color: #6B6B85 !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.airep-eb-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    border-top: 1px solid #E8E8F0 !important;
    padding-top: 14px !important;
    position: relative !important;
    z-index: 2 !important;
}

.airep-eb-updated {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #6B6B85 !important;
}

.airep-eb-sources {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.airep-eb-sources a {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #F52F78 !important;
    text-decoration: none !important;
    padding: 4px 14px !important;
    background: #FFF5F8 !important;
    border-radius: 6px !important;
    border: 1px solid #E8E8F0 !important;
    transition: all 0.2s ease !important;
}

.airep-eb-sources a::before {
    content: '🔗' !important;
    margin-right: 4px !important;
    font-size: 11px !important;
    opacity: 0.7 !important;
}

.airep-eb-sources a:hover {
    background: #FFFFFF !important;
    border-color: #F52F78 !important;
    box-shadow: 0 4px 12px rgba(245,47,120,0.12) !important;
    transform: translateY(-2px) !important;
}

/* ============================================================
   RESPONSIVE — TABLETS
   ============================================================ */
@media (max-width: 768px) {
    .airep-entity-banner {
        padding: 20px 22px !important;
        margin: 16px 0 20px !important;
    }

    .airep-eb-facts {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    .airep-eb-avatar {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }

    .airep-eb-name {
        font-size: 20px !important;
    }

    .airep-eb-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .airep-eb-sources {
        width: 100% !important;
    }

    .airep-eb-desc {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE PHONES
   ============================================================ */
@media (max-width: 480px) {
    .airep-entity-banner {
        padding: 16px 16px !important;
        margin: 12px 0 16px !important;
        border-radius: 10px !important;
    }

    .airep-entity-banner::before {
        height: 3px !important;
        border-radius: 10px 10px 0 0 !important;
    }

    .airep-eb-avatar {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
    }

    .airep-eb-name {
        font-size: 18px !important;
    }

    .airep-eb-type {
        font-size: 11px !important;
        padding: 2px 12px !important;
    }

    .airep-eb-desc {
        font-size: 14px !important;
        padding: 10px 12px !important;
        margin: 6px 0 12px !important;
    }

    .airep-eb-facts li {
        font-size: 13px !important;
        padding: 4px 2px 6px !important;
    }

    .airep-eb-fact-label {
        font-size: 11px !important;
    }

    .airep-eb-fact-value {
        font-size: 14px !important;
    }

    .airep-eb-fact-source {
        font-size: 12px !important;
    }

    .airep-badge {
        font-size: 9px !important;
        padding: 1px 8px !important;
        margin-left: 4px !important;
    }

    .airep-eb-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding-top: 10px !important;
    }

    .airep-eb-updated {
        font-size: 12px !important;
    }

    .airep-eb-sources {
        gap: 6px !important;
    }

    .airep-eb-sources a {
        font-size: 12px !important;
        padding: 3px 10px !important;
    }

    .airep-eb-sources a::before {
        font-size: 10px !important;
    }
}

/* ============================================================
   RESPONSIVE — VERY SMALL PHONES
   ============================================================ */
@media (max-width: 375px) {
    .airep-entity-banner {
        padding: 12px 12px !important;
        margin: 8px 0 12px !important;
    }

    .airep-eb-avatar {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
    }

    .airep-eb-name {
        font-size: 16px !important;
    }

    .airep-eb-type {
        font-size: 10px !important;
        padding: 1px 10px !important;
    }

    .airep-eb-desc {
        font-size: 13px !important;
        padding: 8px 10px !important;
    }

    .airep-eb-facts li {
        font-size: 12px !important;
        padding: 3px 2px 4px !important;
    }

    .airep-eb-fact-label {
        font-size: 10px !important;
    }

    .airep-eb-fact-value {
        font-size: 13px !important;
    }

    .airep-eb-fact-source {
        font-size: 11px !important;
    }

    .airep-badge {
        font-size: 8px !important;
        padding: 1px 6px !important;
    }

    .airep-eb-updated {
        font-size: 11px !important;
    }

    .airep-eb-sources a {
        font-size: 11px !important;
        padding: 2px 8px !important;
    }
}

/* ============================================================
   SIDEBAR / WIDGET SUPPORT
   ============================================================ */
.widget .airep-entity-banner,
aside .airep-entity-banner {
    padding: 16px 18px !important;
    margin-bottom: 16px !important;
}

.widget .airep-eb-facts,
aside .airep-eb-facts {
    grid-template-columns: 1fr !important;
}

.widget .airep-eb-name,
aside .airep-eb-name {
    font-size: 18px !important;
}

.widget .airep-eb-avatar,
aside .airep-eb-avatar {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
}

.widget .airep-eb-desc,
aside .airep-eb-desc {
    font-size: 14px !important;
    padding: 10px 12px !important;
}

.widget .airep-eb-sources a,
aside .airep-eb-sources a {
    font-size: 11px !important;
    padding: 2px 10px !important;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .airep-entity-banner {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        padding: 16px 20px !important;
        break-inside: avoid !important;
        margin: 16px 0 !important;
    }

    .airep-entity-banner::before {
        background: #333 !important;
        animation: none !important;
    }

    .airep-entity-banner::after {
        display: none !important;
    }

    .airep-eb-avatar {
        background: #333 !important;
        box-shadow: none !important;
    }

    .airep-eb-sources a {
        background: transparent !important;
        border: 1px solid #ddd !important;
        color: #333 !important;
    }

    .airep-eb-sources a::before {
        content: '' !important;
    }

    .airep-eb-facts li:hover {
        background: transparent !important;
    }
}

/* ============================================================
   DARK MODE SUPPORT
   ============================================================ */
@media (prefers-color-scheme: dark) {
    .airep-entity-banner {
        background: #1A1A2E !important;
        border-color: #3D3D5C !important;
    }

    .airep-entity-banner .airep-eb-name {
        color: #FFFFFF !important;
    }

    .airep-entity-banner .airep-eb-desc {
        color: #C8C8E0 !important;
        background: #2D2D44 !important;
        border-left-color: #F52F78 !important;
    }

    .airep-entity-banner .airep-eb-fact-value {
        color: #FFFFFF !important;
    }

    .airep-entity-banner .airep-eb-facts li {
        border-bottom-color: #3D3D5C !important;
    }

    .airep-entity-banner .airep-eb-facts li:hover {
        background: #2D2D44 !important;
    }

    .airep-entity-banner .airep-eb-footer {
        border-top-color: #3D3D5C !important;
    }

    .airep-entity-banner .airep-eb-updated {
        color: #A0A0B8 !important;
    }

    .airep-entity-banner .airep-eb-sources a {
        background: #2D2D44 !important;
        border-color: #3D3D5C !important;
        color: #F52F78 !important;
    }

    .airep-entity-banner .airep-eb-sources a:hover {
        background: #3D3D5C !important;
    }

    .airep-entity-banner .airep-eb-type {
        background: #2D2D44 !important;
        border-color: rgba(245,47,120,0.2) !important;
    }

    .airep-entity-banner .airep-badge-reported {
        background: rgba(245,47,120,0.2) !important;
    }

    .airep-entity-banner .airep-badge-unknown {
        background: #2D2D44 !important;
    }
}

/* ============================================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .airep-entity-banner,
    .airep-entity-banner * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .airep-entity-banner::before {
        animation: none !important;
    }

    .airep-entity-banner:hover {
        transform: none !important;
    }

    .airep-entity-banner:hover .airep-eb-avatar {
        transform: none !important;
    }
}