/* JOBS4U - ADVERTISING MANAGER */

/* Container publicitar */

.site-banner {
    width: 100%;
    min-height: 0;
    padding: 0;
    background: #e8e8e8;
}

.jobs4u-slider,
.jobs4u-banner {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 200px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

/* Banner implicit */

.jobs4u-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    text-align: center;
}

.jobs4u-banner-content {
    max-width: 600px;
    padding: 15px;
}

.jobs4u-banner-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #777;
}

.jobs4u-banner h2 {
    margin: 8px 0;
    font-size: 20px;
    font-weight: 600;
}

.jobs4u-banner p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* Slider */

.jobs4u-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.jobs4u-slide.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.jobs4u-slide.is-outgoing {
    visibility: visible;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.jobs4u-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.jobs4u-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: fill;
    object-position: center;
    margin: 0;
    padding: 0;
    border: 0;
}

/* Responsive */

@media screen and (max-width: 800px) {
    .jobs4u-slider,
    .jobs4u-banner {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 1;
    }
}

@media screen and (max-width: 600px) {
    .jobs4u-banner h2 {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jobs4u-slide {
        animation: none !important;
        transition: none !important;
    }
}
