/*
 Theme Name: Agronomics Lite Child
 Theme URL: https://agronomics-lite-child.ru
 Description: Дочерняя тема Agronomics Lite Child
 Author: Vladimir Ch
 Author URL: https://monj.ru
 Template: agronomics-lite
 Version: 1.0.0
 Text Domain: agronomics-lite-child
 */

@import url('normalize.css');
@import url('post.css');
@import url('style-menu.css');
@import url('animate.css');
@import url('footer.css');



/* Стили для списка записей  */

/* переменные */
/* высота блоков и градиента */
:root {
    --height-main-block: 250px;
    /* --height-main-block: 400px; */
}

.space-25 {
    margin-top: 25px;
    border-top: rgb(163, 163, 163) 1px solid;
    width: 100%;
    height: 230px;
    background-color: rgba(187, 187, 187, 0.459);
    color: #fff;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}

elementor-widget-container h2,
p {
    font-family: 'Kurale', serif;
}

.space-25 h2 {
    color: #fff;
}

.post-item {
    width: 500px;
    height: var(--height-main-block);
    border: 2px solid #ff0000;
    display: inline-block;
    border-radius: 20px;
    box-shadow: 0.4em 0.4em 5px rgba(122, 122, 122, 0.5);
    margin: 25px;
    padding: 0px;
    text-align: left;
}

.post-item_description {
    color: #ffffff;
    padding: 20px;
}

/* Стили для отдельной записи  */
.post-single-001 h1 {
    font-size: 35pt;
    color: #ff0000;
}



/* Стили для списка записей (новый)*/

.bckground-image {
    background-image: url(http://test222.tk/wp-content/uploads/2021/06/bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /* height: 70vw; */
}

.gradient-layer {
    padding: 20px;
    height: var(--height-main-block);
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(95, 86, 87, 0.7) 30%, rgba(255, 255, 255, 0.1) 70%);
    /* background: linear-gradient(90deg, rgba(235, 10, 36, 0.89) 30%, rgba(255, 255, 255, 0.1) 70%); */
}

.page-title h1 {
    display: flex;
    justify-content: center;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
}

.maine {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    margin: 0 0 100px 0;
}

.block-post {
    /* z-index: 99; */
    width: 45%;
    margin: 27px 27px;
    border-radius: 7px;
    /* background: linear-gradient(190deg, rgb(255, 0, 30) 30%, rgb(4, 29, 251) 70%); */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: rgba(0, 0, 0, 0.3) 7px 7px 5px;
    transition-duration: 1000ms !important;
    transition-property: width !important;
}

@media (max-width:769px) {
    .block-post {
        display: flex;
        width: 500px !important;
        flex-direction: column;
    }
}

@media (max-width: 426px) {
    .mfp-container .mfp-content {
        max-width: 100vw !important;
    }
}

.block-post h2 {
    font-size: 40px;
    margin-bottom: 0;
    color: #fff;
}

.block-post p {
    font-size: 20px;
    margin-bottom: 8vw;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* number of lines to show */
    -webkit-box-orient: vertical;
}

.block-post h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    letter-spacing: 1.1px;
    font-family: 'Kurale', serif;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

.block-post p {
    font-family: 'Kurale', serif;
    line-height: 1.1;
    letter-spacing: 1.1px;
}

:root {
    --height-head: 400px;
}

.gradient-head {
    height: var(--height-head);
    background: linear-gradient(0deg, #fff, hsla(0, 0%, 100%, .9) 20%, hsla(0, 0%, 100%, .3));
    display: flex;
    align-items: flex-end;
}

.title-img {
    top: 0;
    background-position: center -200px;
    background-repeat: no-repeat;
    background-size: cover;
    height: var(--height-head);
}

@media(max-width:1025px) {
    .title-img {
        background-position: center center;
    }
}

@media(max-width:1025px) {

    .gradient-layer,
    .block-post {
        height: 340px !important;
    }

    .gradient-layer h2 {
        font-size: 34px !important;
    }

}

.gradient-layer h2 {
    color: #fff !important;
}

.main-content {
    padding: 10px 30px 30px 30px;
}

.main-content p {
    line-height: 1.5;
    margin: 20px 0;
}

.slider {
    display: flex;
}

.a1 {
    background-color: rgb(140, 0, 255);
    width: 300px;
    height: 100px;
    margin: 3px;
}

.name-the-post h2,
h1 {
    display: flex;
    justify-content: center;
    text-align: center;
    font-family: 'Kurale';
    color: #464646;
    padding: 0 20%;
}

.name-the-post {}

.hi-line {
    margin: 25px 0;
}

/* Полоса прокрутки */
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}

a,
button,
span {
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.head-nav img {
    /* background: none; */
    background: linear-gradient(to top, #ededed, #ffffff);
    border: 1px solid #e4e4e4;
}

.head-nav img:hover {
    transition: .1s;
    border: solid #ccc 1px;
    box-shadow: #ccc 0 0 4px;
    background: none;
}