/* optimized-home.css */

/* News Ticker Styles */
.containerNews { 
    position: relative; 
    border: 1px solid #777;  
    background: linear-gradient(110deg, #fdcd3b 60%, #ffed4b 60%);
    font-family: 'Oswald', serif;
} 

.containerNews, .containerNews .headertext { 
    padding: 9px; 
    background-color: #fff; 
    color: #626060; 
} 

.containerNews .headertext { 
    position: absolute; 
    top: 0; 
    left: 0; 
    z-index: 10; 
    padding: 10px;
    border-right: 1px solid #777;  
    background: #C8102E;
    color: #fff;
    text-shadow: 1px 1px #111;
} 

.containerNews marquee { 
    line-height: 1.0; 
} 

.containerNews marquee p { 
    margin: 0; 
}

/* Revolution Slider Optimizations */
.rs-layer.backdrop {
    backdrop-filter: blur(8px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .containerNews .headertext {
        position: relative;
        border-right: none;
        border-bottom: 1px solid #777;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.fade-in.visible {
    opacity: 1;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy loading for images */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}