/* One Banner Widget Styles */

.oe-banners-wrapper {
    width: 100%;
}

/* Banner Card - Contains title + all items */
.oe-banner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Main Title - Shared for all items */
.oe-banner-main-title {
    margin: 0;
    padding: 20px 30px;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #ff8c42;
    color: #ffffff;
    border-radius: 8px 8px 0 0;
}

/* Grid contains all banner items */
.oe-banners-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual banner item */
.oe-banner-item {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.oe-banner-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.oe-banner-image {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 30px;
}

.oe-banner-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* HTML Content */
.oe-banner-html-content {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 0;
    background: #ffffff;
}

.oe-banner-html-content img {
    width: 100%;
}

.oe-banner-html-content > * {
    max-width: 100%;
}

/* Hover Animations - Applied to items */

/* Lift Effect */
.oe-banner-item.oe-banner-hover-lift:hover {
    transform: translateY(-3px);
    z-index: 1;
}

/* Scale Effect */
.oe-banner-item.oe-banner-hover-scale:hover {
    transform: scale(1.02);
    z-index: 1;
}

/* Zoom In Image Effect */
.oe-banner-item.oe-banner-hover-zoom-in:hover .oe-banner-image img {
    transform: scale(1.1);
}

/* Link states */
.oe-banner-link:hover,
.oe-banner-link:focus {
    outline: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .oe-banner-main-title {
        font-size: 20px;
        padding: 18px 24px;
    }
    
    .oe-banner-image,
    .oe-banner-html-content {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .oe-banner-main-title {
        font-size: 18px;
        padding: 16px 20px;
        letter-spacing: 1.5px;
    }
    
    .oe-banner-image,
    .oe-banner-html-content {
        padding: 20px;
    }
}
