/* Remove Elementor widget container styling on mobile */
.elementor-widget-explained-widget .elementor-widget-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Explained Widget - Mobile App Styles */
@media (max-width: 768px) {
    .explained-widget.mobile-app-style {
        width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
        min-height: auto;
        border-radius: 0;
        box-shadow: none;
        border: 2px solid #667eea;
        border-radius: 12px;
    }

    .explained-widget.mobile-app-style .explained-container {
        margin: 8px;
        border-radius: 8px;
        padding: 20px 16px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 
            0 4px 16px rgba(0, 0, 0, 0.08),
            0 2px 8px rgba(0, 0, 0, 0.04);
        border: 1px solid #667eea;
        max-width: none;
        width: calc(100% - 16px);
    }

    .explained-widget .explained-container {
        padding: 20px 16px;
        border-radius: 16px;
        margin: 4px;
        width: calc(100% - 8px);
    }

    .explained-title,
    .section-title {
        font-size: 22px;
        margin-bottom: 16px;
        text-align: center;
        background: linear-gradient(135deg, #667eea, #764ba2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .progressive-content-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .progressive-illustration {
        width: 80px;
        height: 80px;
        font-size: 36px;
        align-self: center;
        background: linear-gradient(135deg, #667eea, #764ba2);
    }

    .progressive-section,
    .branded-section {
        padding: 16px;
        margin-bottom: 20px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.9);
    }

    .explained-text,
    .section-text,
    .branded-intro {
        font-size: 14px;
        text-align: left;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .branded-item {
        padding: 12px;
        margin-bottom: 10px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.8);
    }

    .branded-item-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .branded-item-text {
        font-size: 13px;
        line-height: 1.4;
    }

    .check-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
        margin-right: 12px;
    }

    .diamond-divider {
        margin: 20px 0;
    }

    .diamond {
        width: 12px;
        height: 12px;
    }

    /* Mobile app-specific styles */
    .mobile-app-style .progressive-section::before,
    .mobile-app-style .branded-section::before {
        background: 
            radial-gradient(300px circle at 20% 20%, rgba(102, 126, 234, 0.05), transparent 50%),
            radial-gradient(400px circle at 80% 80%, rgba(118, 75, 162, 0.03), transparent 50%);
    }

    .mobile-app-style .progressive-illustration {
        box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    }

    .mobile-app-style .branded-item:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Smooth scrolling for mobile */
    .explained-widget.mobile-app-style {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    /* Touch-friendly interactions */
    .mobile-app-style .branded-item,
    .mobile-app-style .library-link {
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
        touch-action: manipulation;
    }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .progressive-content-wrapper {
        flex-direction: row;
        gap: 16px;
    }

    .progressive-illustration {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .explained-title,
    .section-title {
        font-size: 20px;
        text-align: left;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .explained-widget.mobile-app-style .explained-container {
        margin: 4px;
        padding: 16px 12px;
        border-radius: 16px;
    }

    .explained-title,
    .section-title {
        font-size: 20px;
    }

    .explained-text,
    .section-text,
    .branded-intro {
        font-size: 13px;
    }

    .branded-item-title {
        font-size: 14px;
    }

    .branded-item-text {
        font-size: 12px;
    }
}

/* Strong tags styling for mobile */
@media (max-width: 768px) {
    .explained-widget strong {
        color: #1e293b !important;
        font-weight: 600 !important;
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .explained-widget.theme-dark strong {
        color: #f1f5f9 !important;
    }

    .explained-widget.mobile-app-style strong {
        color: #334155 !important;
    }

    .explained-widget.mobile-app-style.theme-dark strong {
        color: #e2e8f0 !important;
    }
} 