#text_block_wrapper {
    overflow: auto;
    display: inline-block;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
}

#text_block_left {
    float: left;
    padding: 0px;
    text-align: left;
}

#text_block_right {
    float: left;
    width: 400px;
    padding-left: 20px;
    text-align: left;
    margin-left: 30px;
}

#text_block_right_snap {
    position: fixed;
}

.text_block_image {
    position: relative;
    width: 700px;
    background-size: contain;
    border-radius: 50px;
    margin-bottom: 25px;
    height: calc(max(100vw * 0.5, 450px*0.5)); /*700x350 px, means aspect ratio is 0.5*/
    max-height: 350px;
}

.text_block_highlight_box {
    position: absolute;
    bottom: 0;
    margin-left: 55px;
    margin-right: 55px;
    margin-bottom: 15px;
    text-align: left;
    white-space: normal;
}

.text_block_highlight_title {
    font-size: 2em;
    font-weight: 600;
    color: white;
    margin: 0px;
    line-height: 105%;
    padding-bottom: 4px;
}

.text_block_highlight_theme {
    color: rgb(81, 203, 238);
    margin: 0px;
    font-size: large;
}

.text_block_highlight_date {
    color: white;
    margin: 0px;
    margin-top: -2px;
    font-size: large;
}

.text_block_highlight_text {
    padding: 0 55px 55px 55px;
    border-radius: 50px;
}

.text_block_wrapper {
    padding-bottom: 25px;
}

.text_block_button_wrapper {
    text-align: left;
    padding: 0px;
    border-style: none;
    background-color: transparent;
    display: inline-block;
    overflow: hidden;
    max-height: calc(max(min(100vw * 0.5, 350px), 450px*0.5)); /*700x350 px, means aspect ratio is 0.5*/
    margin-top: 0px;
    border-radius: 50px;
    transition: all 0.7s cubic-bezier(0,1,.83,1);
    transition-property: max-height, margin-bottom;
    max-width: 700px;
    margin-bottom: 0px;
}

#featured_spinner_inside {
    border-radius: 40px;
    overflow: hidden;
}

.text_block_button_wrapper_pressed {
    max-height: 4000px;
    transition: max-height 0.7s ease-in;
    margin-bottom: 40px;
}

.text_block_button_wrapper:hover {
    cursor: pointer;
}

.text_block_button_wrapper:focus {
    outline: none;
}

#newest_text {
    color: rgb(170, 170, 170);
    font-weight: 500;
    font-size: 1.1em;
}

.text_block_right_link {
    display: block !important;
    margin: 0px;
    margin-bottom: 3px;
    font-size: 1.1em;
    font-weight: 400;
}

/*CONNECTIONS*/
#cs0:focus ~ #ce0 {
    background-color: red ;
}
/*CONNECTIONS*/

#right_mover {
    background-color: white;
    padding: 10px;
    border-radius: 20px;
    float: right;
    width: 450px;
    padding-left: 60px;
}

#featured {
    margin-bottom: 70px;
    max-width: 700px;
}

.featured_text {
    --size: 300px;
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: var(--size);
    height: var(--size);
    background-position: center;
    border-radius: 40px;
    background-size: cover;
    margin: 20px;
}

.featured_text div {
    position: absolute;
    z-index: 10;
    bottom: 20px;
    left: 40px;
    color: white;
    text-decoration: none;
    text-align: left;
}

#featured {
    max-width: initial;
}

@media all and (max-width:1500px){
    .featured_text {
        --size: 250px;
    }
}

@media all and (max-width:1300px){
    .featured_text {
        --size: 220px;
    }

    #right_mover {
        display: inline-block;
        float: none;
        margin-top: -85px !important;
        width: 100%;
        max-width: 700px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
        padding-top: 30px;
        padding-left: 55px;
        padding-right: 55px;
        margin-bottom: 45px;
        padding-bottom: 20px;
        -webkit-box-shadow: 0px 6px 5px -1px rgba(0,0,0,0.10) !important;
        -moz-box-shadow: 0px 6px 5px -1px rgba(0,0,0,0.10) !important;
        box-shadow: 0px 6px 5px -1px rgba(0,0,0,0.10) !important;
    }
}

body {
    min-width: unset !important;
}

@media all and (max-width:720px){
    .text_block_button_wrapper {
        border-radius: 0px;
    }

    #text_block_wrapper {
        padding-left: 0px;
        padding-right: 0px;
    }

    .text_block_image {
        border-radius: 0px;
        width: 100%;
    }

    .text_block_highlight_title {
        font-size: 1.8em;
    }

    .text_block_highlight_box {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .text_block_highlight_text {
        padding-left: 25px;
        padding-right: 25px;
    }

    #text_block_left {
        width: 100%;
    }

    #featured_spinner_inside {
        border-radius: 0px;
    }

    #right_mover {
        border-radius: 0px;
    }
}

@media all and (max-width:550px){
    .featured_text {
        width: 100%;
        margin: 0px;
        border-radius: 0;
    }
}