/*
=== Blocks ===
*/

/* --- Normal Blocks --- */

.container_block1x1{
    border-radius:20px;
    height: 300px;
    width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.container_block2x1{
    border-radius:20px;
    height: 300px;
    width: 630px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.container_box4x1{
    border-radius:20px;
    height: 135px;
    width: 630px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.container_miniblock_responsive_2x1{
    width: auto;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.block1x1_mini{
    width: 135px;
    height: 135px;
    border-radius:20px;
    box-shadow: var(--sh-light-small);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.2s;
}

.block2x1_mini{
    width: 300px;
    height: 135px;
    border-radius:20px;
    box-shadow: var(--sh-light-small);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.2s;
}

/* --- Post Blocks --- */

.post1x1{
    border-radius:20px;
    box-shadow: var(--sh-light-small);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.2s;
    will-change: transform;
    height: 300px;
    width: 300px;
}

.post2x1{
    border-radius:20px;
    box-shadow: var(--sh-light-small);
    overflow: hidden;
    float: left;
    z-index: 97;
    margin: none;
    display: flex;
    width: 630px;
    height: 300px;
    will-change: transform;
    transition: box-shadow 0.2s;
}

.post16x10{
    border-radius:20px;
    box-shadow: var(--sh-light-small);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.2s;
    will-change: transform;
    width: 300px;
    height: 187.5px;
}

.post_list{
    width: 960px;
   
    border-radius:20px;
    filter: drop-shadow(var(--sh-light-small));
    background: var(--white);
    display: flex;
    flex-direction: column;
    float: left;
}

/* --- Post Container Childs --- */

.post-container-2{
    position: absolute;
    bottom: 0;
    padding: 15px;
    padding-bottom: var(--gap-small);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.post-container-1{
    position: absolute;
    bottom: 0;
    margin: 3%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    padding-bottom: var(--gap-small);
    background: var(--white);
    color: var(--black);
    width: 94%;
    box-sizing: border-box;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-default);
}

.post-container-2x1_1{
    display: flex;
    align-content: center;
    justify-content: center;
    gap: 8px;
    flex-direction: column;
    background:  linear-gradient(115.87deg, #000000 0%, rgba(0, 0, 0, 0) 65.31%);
    color: #fff;
    padding-left: var(--gap-default);
    padding-right: 40%;
    width: 60%;
    height: 100%;
}

.post-container-2x1_2{
    display: flex;
    align-content: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    box-sizing: border-box;
    padding-left: 15px;
    background: var(--white);
    filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.25));
    color: var(--black);
    width: 50%;
    height: 100%;
}

.post-container-2x1_3{
    position: absolute;
    bottom: 0;
    margin: 1.5%;
    padding: 15px;
    padding-bottom: var(--gap-small);
    display: flex;
    gap: 5px;
    flex-direction: column;
    background: var(--white);
    color: var(--black);
    width: 48.5%;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-default);
}

.post_list_post_container{
    display: flex;
    width: 70%;
}

.mini_box_container{
    width: 100%;
    height: 50px;

    position: absolute;
    bottom: 0;

    padding: var(--gap-normal);
    box-sizing: border-box;
    
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: var(--font-normal);
    line-height: 21px;
    display: flex;
    align-items: flex-end;

    color: #FFFFFF;

    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8);
}

/* 
=== Post List Elements === 
*/

.post_list_post{
    width: 100%;
    height: max-content;
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.2s;
}

.post_list_post:hover{
	cursor: pointer;
}

.post_list_post:active {
	cursor: pointer;
    transform: scale(0.95);
    -moz-transform: scale(0.85);
    transition: all 0.2s;
}

.post_list_post_rank{
    font-family: Poppins;
    font-style: normal;
    font-weight: bold;
    font-size: var(--font-big);
    line-height: 29px;
    padding: 15px;
}

.post_list_post_content{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.post_list_post_image{
    width: 260px;
    height: 130px;
    border-radius: var(--radius-default);
    transform-origin: center;
    object-fit: cover;
    object-position: center;
    margin: auto;
    margin-right: 15px;
}

.post_list_post_title{
    height: 60px;
    width: 100%;
    font-family: Poppins;
    font-style: normal;
    font-weight: bold;
    font-size: var(--font-big);
    display: flex;
    align-items: center;
    padding-left: var(--gap-default);
    box-sizing: border-box;
}

.post_preview{
    font-family: Poppins;
    font-style: normal;
    font-weight: normal;
    width: 90%;
    height: fit-content;
    font-size: var(--font-small);
    margin-top: -7px;
    margin-bottom: 5px;
    padding: none;
}

/* --- Post Image Classes --- */

.post_image{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -9999;
    transform-origin: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    transform: scale(1.0);
    transition: transform 0.2s ease-out;
    -moz-transition: transform 0.2s ease-out;
}

.fill{
    width: 100%;
    border-radius: var(--radius-big);
}

.filledHalf{
    position: unset;
    width: 50%;
}

.frameStyle{
    margin: 4%;
    width: 92%;
    height: 92%;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-default);
}

.post2x1_imageFrame{
    position: unset;
    width: 50%;
    z-index: 10;
    background: var(--white);
}

/* 
=== Sliders === 
*/

.slider-v1,
.slider-v2{
    height: 360px;
    width: 100%;
    border-radius:20px;
    margin-bottom: var(--gap-default);
    position: relative;
    float: left;
    z-index: 1;
}

.slider-v2 .slider_page::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	border-radius: var(--radius-big);
	background: linear-gradient(53.49deg, #000000 5.3%, rgba(0, 0, 0, 0) 55.79%);
}

.slider-v1 .slider-post{
    left: 40px;
    bottom: -30px;
    background: var(--white);
    color: var(--black);
	filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.1));
    border-radius: var(--radius-default);
}

.slider-v2 .slider-post{
    left: 30px;
    bottom: 0px;
    color: #fff;
}


.slider-v1 .slider-post,
.slider-v2 .slider-post{
    position: absolute;
    margin: 1.5%;
    padding: 15px;
    padding-bottom: var(--gap-small);
    display: flex;
    gap: 5px;
    flex-direction: column;
    width: 40%;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}

.slider_page_blank{
    width: 100%;
    height: 40px;
    
    position: absolute;
    bottom: -40px;
	background: var(--soft-gray);

    z-index: 0;
}

.slider-post:hover{
    transform: scale(1.05);
    -moz-transform: scale(1.05);
    transition: all 0.2s;
}

.slider-post:active {
	cursor: pointer;
    transform: scale(1.0);
    -moz-transform: scale(1.0);
    transition: all 0.2s;
}

.slide_post_image,
.search-result-image{
    width: 200px;
    height: 105px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
}

.search-result-image{
    width: 100%;
}

.slider_page{
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-swiper{
    width: 100%;
    height: 100%;
    left: 0;
    position: relative;
}

.slider_carousel{
    width: 960px;
    min-height: 270px;
   
    border-radius:20px;
    background-color: var(--white);
    filter: drop-shadow(var(--sh-light-small));
    overflow: hidden;

    position: relative;
    float: left;

    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.slider_carousel .title{
    margin-top: var(--gap-normal);
    margin-left: var(--gap-default);
}

.slider_ca_post{
    width: 215px;
    height: 100%;
    padding-top: 15px;
    padding-left: 7.5px;
    padding-right: 7.5px;
}

.search-result{
    width: 191px;
    height: min-content;
}

.slider_ca_post, .search-result{
    font-size: var(--font-medium);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: var(--gap-small);
    transition: all 0.2s;
}


.slider_ca_post:hover,
.search-result:hover{
	cursor: pointer;
    transform: scale(1.05);
    -moz-transform: scale(1.05);
    transition: all 0.2s;
}

.slider_ca_post:active,
.search-result:active {
	cursor: pointer;
    transform: scale(0.95);
    -moz-transform: scale(0.95);
    transition: all 0.2s;
}

.slider_ca_post .post_title,
.search-result .post_title{
    font-size: var(--font-medium);
    line-height: 22px;
}

.slider_ca_post .post_infos,
.search-result .post_infos{
    width: 110%;
    transform: scale(0.90);
    transform-origin: top left;
}

.slider_ca_post .post_infos .info
.search-result .post_infos .info{
    margin-right: var(--gap-small);
}

.slider_carousel_swiper{
    width: 100%;
    height: 100%;
    position: relative;
}

.slider_carousel_swiper .swiper-wrapper{
    margin-left: 50px;
}

/* --- Buttons and Arrows of Sliders ---*/

.arrow{
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: 10px;
    z-index: 15;
    border-radius: 90px;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.6));
    transition: opacity 0.2s;
    overflow: hidden;
}

.arrow:hover{
    transition: opacity 0.2s;
    cursor: pointer;
    opacity: 50%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
 
.mobile-arrow{
    width: 40px;
    height: 40px;
    position: absolute;
    display: none;
    top: -40px;
    border-radius: 90px;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.6));
    transition: opacity 0.2s;
    overflow: hidden;
}

.black-arrow-icon{
    /* for better look in retina displays */
    width: 400%;
    height: 400%;
    vertical-align: middle;
    transform: scale(0.25);
    transform-origin: 0 0;
    display: inline-block;
    background-image: url("arrow-black.svg");
    background-size: 100% 100%;
}

.white-arrow-icon{
    width: 400%;
    height: 400%;
    vertical-align: middle;
    transform: scale(0.25);
    transform-origin: 0 0;
    display: inline-block;
    background-image: url("arrow.svg");
    background-size: 100% 100%;
}

.slider-button-prev{
    left: 10px;
    outline: none;
    z-index: 15;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.slider-button-next{
    right: 10px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    outline: none;
    z-index: 15;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.button-ca-container_L{
    width: 50px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--white);
    z-index: 97;
    display: flex;
    align-items: center;
}

.button-ca-container_R{
    width: 50px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: var(--white);
    z-index: 97;
    display: flex;
    align-items: center;
}

.slider-carousel-button-prev{
    width: 50px;
    height: 50px;
    padding-left: 5px;
    outline: none;
    background-size: contain;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    transition: all 0.2s;
}

.slider-carousel-button-prev:hover{
    opacity: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.slider-carousel-button-prev::after {
    display: none;
}

.slider-carousel-button-next{
    width: 50px;
    outline: none;
    height: 50px;
    padding-left: 5px;
    transform: scaleX(-1);
    background-size: contain;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    transition: all 0.2s;
}
    
.slider-carousel-button-next:hover{
    opacity: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.slider-carousel-button-prev::next {
    display: none;
}
   
.button:hover{
    transition: all 0.4s;
    box-shadow: 0px 3px 9px rgba(0, 0, 0, 0.40);
}

@media screen and (max-width:990px) {

    .container_box4x1{
        border-radius:20px;
        height: 300px;
        width: 300px;
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
        
    .container_miniblock_responsive_2x1 .block1x1_mini{
        width: 300px;
        height: 135px;
    }

    .slider_carousel_swiper .swiper-wrapper{
        margin-left: 0;
    }

    .slider_carousel_arrow:hover{
        opacity: unset;
    }
        
    .post_list{
        width: 630px;
    }

    .slider_carousel{
        width: 100%;
    }

    .slider-v1, .slider-v2{
        width: 100%;
    }        

}

@media screen and (max-width:660px) {


    .container_miniblock_responsive_2x1 .block1x1_mini{ 
        width: 40vw;
        height: 40vw;
    }

    .block2x1_mini{
        width: 90vw;
        height: 40vw;
    }

    .container_miniblock_responsive_2x1{
        column-gap: 10vw;
    }

    .container_box4x1{
        border-radius:20px;
        width: 90vw;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        column-gap: 10vw;
    }

    .container_block1x1{
        border-radius:20px;
        width: 90vw;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        column-gap: 10vw;
    }

    .arrow{
        display: none;
    }

    .mobile-arrow{
        display: block;
    }

    .white{
        text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
    }
          
    .post_list{
        width: 100%;
    }

    .slider-v1,
    .slider-v2{
        height: 90vw;
    }

    .slider_carousel{
        width: 100%;
    }

    .post-container-2x1_3{
        margin: 3%;
        padding: 15px;
        padding-bottom: var(--gap-small);
        background: var(--white);
        color: var(--black);
        width: 94%;
        box-sizing: border-box;
        box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
        border-radius: var(--radius-default);
    }
    
    .post_list_post{
        border-top: 1px solid rgba(128, 128, 128, 0.288);
        padding-top: 15px;
        display: flex;
        flex-direction: column;
    }

    .post_list_post_container{
        width: 100%;
    }

    .post_list_post_content{
        width: 100%;
    }

    .post_list_post_image{
        width: 94%;
        height: 150px;
        margin: 3%;
        margin-bottom: -1%;
        float: left;
        border-radius: var(--radius-default);
        transform-origin: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .post2x1{
        width: 90vw;
        display: flex;
        flex-direction: column;
        height: max-content;
        min-height: 90vw;
    }
    
    .search-result{
        width: 100%;
    }
    
    .post16x10{
        width: 80vw;
        height: 50vw;
    }

    .block1x1_mini{
        width: 40vw;
        height: 40vw;
    }

    .post-container-2x1_1{
        width: 100%;
        height: 100%;
        padding-top: 15px;
        padding-bottom: 30px;
        padding-right: 0;
        min-height: 96vw;
    }

    .slider-v1 .slider-post, .slider-v2 .slider-post{
        margin: 3%;
        left: 0;
        padding: 15px;
        padding-bottom: var(--gap-small);
        width: 94%;
        box-sizing: border-box;
        filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.05));
    }

    .slider-post:hover{
        transform: scale(1.0);
        -moz-transform: scale(1.0);
        transition: all 0.2s;
    }

    .slider-post:active {
	    cursor: pointer;
        transform: scale(1.0);
        -moz-transform: scale(1.0);
        transition: all 0.2s;
    }
   
    .filledHalf{
        width: 100%;
        height: 200px;
    }

    .post2x1_imageFrame{
        z-index: 97;
        width: 100%;
        height: 200px;
    }

    .post-container-2x1_2{
        width: 100%;
        padding-top: 15px;
        filter: none;
        height: max-content;
        padding-bottom: var(--gap-normal);
    }

    .post1x1{
        width: 90vw;
        height: 90vw;
    }
            
    .img2x1{
        position: unset;
        width: 100%;
        height: 250px;
        border-radius: 20px 0px 0px 20px;
    }

    .img2x1_1_container{
        position: unset;
        width: 100%;
        height: 300px;
        background: var(--white);
    }
        
}