.avatar_fp {
    float: left;
    margin: 10px 20px 10px 0;
    border-radius: 150px;
    width: 150px;
    height: 150px;
}
.second_pic {
    float: right;
    margin: 10px 0 10px 25px;
}
.type_shoots {
    list-style: none;
    margin: 40px auto 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-gap: 29px;
}
.type_shoots li {
    background-color: var(--bg-color-main);
    position: relative;

}
.type_shoots_img {
    display: block;
}
.type_shoots_img:hover img {
    filter: brightness(80%);
    -webkit-filter: brightness(80%);
}
.type_shoots_img img {
    width: 100%;
    height: auto;
}
.type_shoots_img picture {
    width: 100%;
    height: auto;
}
.type_shoots_name a {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2rem;
    color: var(--font-color-accent);
    margin: 15px 0 5px 0;
    text-decoration: none;
    display: block;
}

.type_shoots_name a:hover {
    color: var(--font-color-accent);
}

.type_shoots_descr {
    padding: 7px 0 50px 0;
    /*text-align: justify;*/
    border-top: 1px solid #ccc;
    line-height: 1.5rem;
}

.type_shoots_btn {
    text-align: center;
    display: block;
    bottom: 0;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
}
/*============= FIRST SCREEN NEW ========*/
.top-image-container {
    position: relative;
    z-index: 2;
    height: calc(100vh - 224px);
    width: 100%;
    min-height: 450px;
    max-height: 670px;
    text-align: center;
    overflow: hidden;
}

.top-image-container::after {
    content: '';
    position: absolute;
    left: -1px;
    z-index: 3;
    pointer-events: none;
    width: 101%;
    height: 25%;
    bottom: -1px;
    top: auto;
    background: linear-gradient(to top, #fff, transparent);
}

.top-image-container>picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}
.top-image-container img {
    width: 100%;
    height: 100%;
    /*max-height: calc(100vh - 224px);*/
    /*min-height: 619px;*/
    object-fit: cover;
    object-position: center 47%;
}
.top-image-container noscript img {
    position: absolute;
    top: 0;
}
.top-text-overlay {
    position: absolute; /* This positions the text over the image */
    bottom: 60px; /* Adjust these values to position your text */
    left: 0;
    width: 100%; /* Ensures the text container is the same width as the image container */
    text-align: center; /* Center the text horizontally */
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 4;
}

/*============= FIRST SCREEN NEW ========*/
/*.wide_photo_in {
    position: absolute;
    overflow: hidden;
    background-repeat: no-repeat;
    background-color: var(--bg-color-second);
    background-size: cover;
    left: 0;
    width: 100%;
}
.wide_photo_in, .wide_photo_out {
    position: relative;
    min-height: 450px;
    height: calc(100vh - 225px);
    max-height: 670px;
    text-align: center;
}*/
/*h1.h1, h2.h2 {
    text-align: center;
    font-weight: 300;
}*/
h1.h1 {
    font-size: 2.6rem;
    padding: 10px 0 10px 0;
}
h2.h2 {
    font-size: 1.2rem;
    padding-bottom: 30px;
    font-family: inherit;
    font-weight: 600;
    color: var(--font-color-bold);
}
.head_text_out {
    margin: -90px auto 0;
}

.header-separator-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}
.header-separator-bottom svg {
    height: 60px;
    display: block;
    width: calc(100% + 1.3px);
    overflow: hidden;
    transform-origin: 50% 50% 0;
}
.header-separator-bottom:before, .header-separator-bottom:after {
    content: '';
    position: absolute;
    display: block;
    width: 60%;
    height: 80px;
    background: #fff;
    z-index: 13;
    top: -30px;
    transform: rotate(4deg);
    left: -10px;
}
.header-separator-bottom:after {
    transform: rotate(-4deg);
    left: auto;
    right: -10px;
}
.svg-white-bg {
    fill: var(--bg-color-main);
}
.wide_photo_in .content {
    height: 100%;
    display: block;
}

dd .btn {
    display: table-cell;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -6.5rem;
}

ul.benefit {
    display: grid;
    grid-auto-columns: auto;
    grid-gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
}
ul.benefit>li {
    border-radius: 20px;
    background-color: #f3fdfd;
    text-align: center;
    padding: 0 15px 30px;
    box-shadow: 7px 7px 10px -2px #adadad47;
}
.benefit h3 {
    font-size: 1.7rem;
    color: #000;
}
ul.benefit img {
    width: 100%;
}
ul.benefit>.poses img {
    padding: 18px 24px 18px;
    box-sizing: border-box;
}
@media screen and (max-width:1000px) {
    ul.benefit {
        grid-template-columns: 1fr;
    }
    ul.benefit>li {
        padding: 18px 5px 0 30px;
        text-align: left;
    }
    ul.benefit>li>div {
        display: grid;
        grid-template-columns: 50px 1fr;
        align-items: center;
        gap: 11px;
        padding-bottom: 10px;
    }
    ul.benefit img {
        padding: 0;
        max-width: 50px;
        float: left;
    }
    ul.benefit>.poses img {
        padding: 0;
    }
    .benefit h3 {
        padding: 0;
    }
}

/*
.type_shoots>li>a>amp-img:before {
    background-color: rgba(0, 0, 0, .2);
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    -webkit-transform: scale(.8);
    -moz-transform: scale(.8);
    -ms-transform: scale(.8);
    -o-transform: scale(.8);
    transform: scale(.8);
    -webkit-transition: opacity 0.3s, transform 0.3s;
    -moz-transition: opacity 0.3s, transform 0.3s;
    -ms-transition: opacity 0.3s, transform 0.3s;
    -o-transition: opacity 0.3s, transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
}
.type_shoots>li:hover>a>amp-img:before {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
*/

.info_text h4 {
    color: #787676;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 5px 0 3px 0;
}

/*============== 1000px =================*/

@media screen and (max-width:1000px) {
    .content_930 {
        /*padding: 10px;*/
        box-sizing: border-box;
    }
    .content_930:first-child {
        margin-top: -40px;
    }
    .content_930 h2, .content_930 h3 {
        width: 90%;
    }
    .type_shoots {
        grid-template-columns: 1fr 1fr;
    }

}

@media screen and (max-width:600px) {
    h1.h1 {
        font-size: 2rem;
        font-weight: 400;
    }
    h2.h2 {
        width: 100%;
        padding-bottom: 30px;
    }

    .type_shoots {
        grid-template-columns: 1fr;
    }
    .type_shoots li {
        width: 100%;
        display: grid;
        grid-template-columns: 145px 1fr;
        grid-column-gap: 15px;
    }


    .type_shoots_img {
        width: 145px;
        height: 115px;
        grid-row-start: 1;
        grid-row-end: 4;
        padding: 0 15px 5px 0;
    }
    .type_shoots_img:hover img,
    .type_shoots_img:hover picture {
        filter: none;
        -webkit-filter: none;
    }
    /*dl {
        display: table-cell;
        vertical-align: top;
        margin: 0;
        width: calc(100% - 320px);
        padding-right: 10px;
        top: -0.2rem;
        position: relative;
    }
    .type_shoots_img {
        font-size: 1.15rem;
        line-height: 24px;
        width: auto;
        margin: 0;
    }*/
    .type_shoots_btn {
        left: auto;
        margin-left: 0;
        margin-top: 9px;
        display: inline-block;
        position: relative;
    }
    .type_shoots_name a {
        margin-top: 0;
        top: -4px;
        position: relative;
    }
    .type_shoots_descr {
        font-size: inherit;
        line-height: 1.5;
        width: auto;
        padding: 7px 0 0 0;
    }
    .second_pic {
        display: none;
    }
    .head_text_out {
        max-width: 200px;
        margin-top: -180px;
    }

}
@media screen and (max-width:400px) {
    .type_shoots {
        margin-top: 0;
        grid-gap: 20px;
    }
    .type_shoots li {
        grid-template-columns: 1fr;
    }

    .type_shoots_img {
        width: 100%;
        height: auto;
        display: block;
        text-align: center;
        padding: 16px 0 8px 0;
    }
    .type_shoots_img img,
    .type_shoots_img picture {
        display: inline-block;
    }
    .type_shoots_name a {
        margin-top: 15px;
    }
    /*dl, dd {
        display: block;
        width: 100%;
        text-align: center;
        border: 0;
        top: 0;
        padding-top: .5rem;
    }
    dd .btn {
        display: block;
        position: relative;
        margin-top: 8px;
    }
    .type_shoots:last-child td:last-child dl {
        border-bottom: 0;
    }*/
    .list_reviews {
        margin-top: 0;
    }
    .avatar_fp {
        margin: 8px 9px 0 0;
        width: 100px;
        height: 100px;
    }
}
@media screen and (max-width:300px) {
    .avatar_fp {
        margin: 0 auto 8px;
        width: 150px;
        height: 150px;
        float: none;
    }
}
@media print {
    .wide_photo_in, .wide_photo_out {
        height: 110px;
        min-height: 0;
    }
}

ul.col, ul.col2, ul.col3, ul.col4 {
    /*list-style: none;*/
    display: grid;
    grid-auto-columns: auto;
    grid-gap: 0;
}
/*ul.col2>li,
ul.col3>li,
ul.col4>li
{
    display: inline-grid;
}*/
ul.col>li {
    grid-row: 1;
}
ul.col2 {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
}
ul.col2>li {
    text-align: center;
}
ul.col3 {
    grid-template-columns: 1fr 1fr 1fr;
}
ul