/**
 * Combined Live Activity Section - Side by Side Layout
 * Increased size by 40% (from 0.4 to 0.56 scale)
 */

/* Combined Section Container */
.combined-live-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.combined-live-section > .section-header-center {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.combined-live-section > .section-header-center h2 {
    color: #000000;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.combined-live-section > .section-header-center p {
    color: #333333;
    font-weight: 500;
}

/* Two Column Grid Layout */
.live-widgets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.live-widget-column {
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

/* Track Our Adventures Widget - Increased by 40% */
.live-widget-column .track-container {
    transform: scale(0.56);
    transform-origin: top center;
    margin-bottom: -40%;
    height: fit-content;
}

.track-container .section-header-center h2 {
    font-size: 1.4rem;
}

.track-container .section-header-center p {
    font-size: 0.9rem;
}

.track-container .section-badge-gold {
    font-size: 0.75rem;
    padding: 5px 12px;
}

.live-feed-grid {
    transform: scale(1);
    transform-origin: top center;
}

/* Live Website Visitors Widget - Increased by 40% */
.live-widget-column .traffic-container {
    transform: scale(0.56);
    transform-origin: top center;
    margin-bottom: -40%;
    height: fit-content;
}

.traffic-container .section-header-center h2 {
    font-size: 1.4rem;
}

.traffic-container .section-header-center p {
    font-size: 0.9rem;
}

.traffic-container .section-badge-gold {
    font-size: 0.75rem;
    padding: 5px 12px;
}

.traffic-feed-wrapper {
    transform: scale(1);
    transform-origin: top center;
}

/* Live Traffic Feed Widget - Increased by 40% */
.live-widget-column .live-traffic-widget-wrapper {
    transform: scale(0.8);
    transform-origin: top center;
    min-height: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.live-widget-column .live-traffic-widget-wrapper h3 {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Live Traffic Feed Widget Styling */
#LTF_live_website_traffic_widget {
    width: 100% !important;
    min-height: 500px !important;
    margin: 0 auto !important;
    display: block !important;
    background: transparent !important;
}

#LTF_live_website_visitor {
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Force widget iframe visibility and proper sizing */
#LTF_live_website_traffic_widget iframe,
div[id^="LTF_"] iframe {
    width: 100% !important;
    min-height: 500px !important;
    height: auto !important;
    border: none !important;
    display: block !important;
    background: #ffffff !important;
}

/* Widget container styling */
div[id*="LTF"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Alternative: If widget creates its own container */
.ltf-widget-container,
.live-traffic-feed {
    transform: scale(0.4) !important;
    transform-origin: top center !important;
    margin: 0 auto !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .live-widgets-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .live-widget-column .track-container {
        transform: scale(0.7);
        margin-bottom: -30%;
    }
    
    .live-widget-column .live-traffic-widget-wrapper {
        transform: scale(0.9);
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .live-widgets-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .live-widget-column .track-container {
        transform: scale(0.6);
        margin-bottom: -40%;
    }
    
    .live-widget-column .live-traffic-widget-wrapper {
        transform: scale(0.8);
        max-width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .live-widget-column .track-container {
        transform: scale(0.5);
        margin-bottom: -50%;
    }
    
    .live-widget-column .live-traffic-widget-wrapper {
        transform: scale(0.7);
        padding: 10px;
    }
    
    .live-widget-column .live-traffic-widget-wrapper h3 {
        font-size: 1.2rem;
    }
}
