/*
* **********************************
* ################################## ESTILOS DE BLOG
* **********************************
*/


/*
========================
======================== BLOG SEARCH
========================
*/

.blog-search{
    margin: 50px 0;
}

.blog-search form{
    position: relative;
}

.blog-search input,
.blog-search input:focus{
    background-color: #FFF;
    border: 0;
    border-left: 5px solid #982532;

    outline: 0;
    font-size: 1.125em;
    font-weight: 300;
    color: #313338;
    padding: 20px 52px 20px 15px;

    box-shadow: 0px 0px 10px 0px rgba(95, 98, 104, 0.1);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(95, 98, 104, 0.1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(95, 98, 104, 0.1);

    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;

    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}

.blog-search input:focus{
    background-color: #e8eff4;
}

.blog-search button{
    width: 52px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 20px;
    color: #982532;
    outline: 0;

    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}

.blog-search-info{
    text-align: center;
    margin-bottom: 50px;
}

.blog-search-info p{
    font-size: 1em;
    font-weight: 300;
}

.blog-search-info p strong{
    font-weight: 700;
}

/*
========================
======================== BLOG LIST
========================
*/

.blog-item{
    flex-basis: 100%;
    margin-bottom: 30px;
}

.blog-item:last-child{
    margin-bottom: 0;
}

.blog-item a{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.blog-item-cover{
    flex-basis: 30%;

    position: relative;
    background: #000000;
    overflow: hidden;

    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

@media(max-width: 940px){
    .blog-item-cover{
        flex-basis: 100%;
    }
}

.blog-item-cover img {
    min-width: 100%;
    height: 300px;
    object-fit: cover;

    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

@media(max-width: 940px){
    .blog-item-cover img {
        height: 200px;
    }
}

.blog-item:hover .blog-item-cover img {
    transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);

    opacity: .5;
}

.blog-item-cover > i{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    margin: 20px;
    font-size: 2.4em;
    color: #FFF;
    z-index: 9;
}

.blog-item:hover .blog-item-cover > i{
    opacity: 1;
}

.blog-item-header{
    flex-basis: 66%;
}

@media(max-width: 940px){
    .blog-item-header{
        flex-basis: 100%;
        margin-top: 30px;
        text-align: center;
    }
}

.blog-item-header h1{
    font-size: 1.625em;
    line-height: 1.231;
    font-weight: 300;
    color: #2e3b42;
}

.blog-item:hover .blog-item-header h1{
    text-decoration: underline;
}

.blog-item-header p.desc{
    font-size: 1em;
    line-height: 1.375;
    color: #2e3b42;
    margin-top: 20px;
}

.blog-item-header p.date{
    font-size: 1em;
    color: #982532;
    margin-top: 20px;
}

.blog-item-header p.date i{
    margin-right: 8px;
}