/**
 * Css for Widget
 */

.block-image-header-post-offer {
}

.block-image-header-post-offer .blockImage{
    width: 100%;
    aspect-ratio: 3/1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.block-image-header-post-offer .blockImage>picture{
    width: 100%;
    height: 100%;
}

.block-image-header-post-offer .blockImage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0) 40%), rgba(0, 0, 0, 0.50);
}

.block-image-header-post-offer .blockImage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.block-image-header-post-offer .blockImage-scrollDown {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
    animation: floatUpDown 2s ease-in-out infinite;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.block-image-header-post-offer .blockImage-scrollDown:hover,
.block-image-header-post-offer .blockImage-scrollDown:focus {
    background-color: var(--etg-primary);
    transform: translateX(-50%) scale(1.1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.block-image-header-post-offer .blockImage-scrollDown:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8);
}

@keyframes floatUpDown {
    0%, 100% {
        bottom: 30px;
    }
    50% {
        bottom: 40px;
    }
}

/*
xs      <576px      col-            smart-phone
sm      ≥576px 	    col-sm
md      ≥768px 	    col-md          ipad
lg      ≥992px 	    col-lg          ipad pro
xl      ≥1200px 	col-xl          desktop
xxl     ≥1400px     col-xxl
*/

/*============================================================
 *
 * XXL  desktop large
 *
 */
@media (min-width: 1400px) {

}

/*============================================================
 *
 * XL   desktop
 *
 */
@media (max-width: 1399px) {

}

/*============================================================
 *
 * LG   small desktop
 *
 */

@media (max-width: 1199px) {

}

/*============================================================
 *
 * LG   ipadpro
 *
 */
@media (pointer:coarse) and (max-width: 1199px) {

}


/*============================================================
 *
 *  MD  ipad
 *
 */
@media (max-width: 991px) {

}


/*============================================================
 *
 *  SM smart-phone 576-767
 *  XS 0-567
 */
@media (max-width: 767px) {
    .block-image-header-post-offer .blockImage{
        aspect-ratio: 4/3;
    }

    .block-image-header-post-offer .blockImage-scrollDown {
        display: none;
    }
}


/*============================================================
 *
 * XS   smartphone
 *
 */
@media (min-width: 10px)  and (max-width: 575px) {

}
