/*
Theme Name: Astra Child
Author: 
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
a:focus {
    outline: none;
}
.ib__blog_post_top_heading {
    text-align: center;
    margin-bottom: 20px;
}
.ib__blog_container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    position: relative;
}


.ib__blog_item {
    height: 300px;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 4px;
}

.ib__blog_thumbnail {
    height: 100%;
}

.ib__blog_thumbnail img {
    height: 100%;
    object-fit: cover;
}
.ib_blog_content {
    width: 100%;
    position: absolute;
    bottom: -50px;
    left: 0;
    padding: 20px;
    z-index: 2;
    transition: all 0.3s ease-in-out;
}

.ib_blog_title a {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.ib_blog_link a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}
.ib_blog_title a:hover,
.ib_blog_link a:hover{
    color: #FF004E;
}

.ib_blog_link svg {
    width: 16px;
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.ib_blog_link svg path {
    fill: #FF004E;
}

.ib_blog_link a:hover svg {
    visibility: visible;
    opacity: 1;
    transform: translateX(8px);
}
.ib_blog_content:before {
    content: "";
    background: #00000094;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: all 0.5s ease-in-out;
}
.ib_blog_title {
    margin-bottom: 10px;
}

.ib__blog_item:hover .ib_blog_content {
    bottom: 0;
}
.ib__blog_item:hover .ib_blog_content:before{
    height:300px;
}

/*Search and filter style*/
.ib__search_wrap ul {
    display: block;
    margin-left: 0;
    position: relative;
}

.ib__search_wrap input[type="text"] {
    width: 100%;
    display: block;
}

.ib__search_wrap ul li {
    display: block;
}

.ib__search_wrap ul li:nth-child(2) {
    display: inline-block;
    position: absolute;
    right: 4px;
    top: 3px;
}

.ib__search_wrap ul li input[type="submit"] {
    border-radius: 4px;
    background-color: #FF004E;
    border-color: #FF004E;
    transition: all 0.3s;
}

.ib__search_wrap ul li input[type="submit"]:hover {
    background-color: #011627;
}
.ib__filter_wrap ul {
    margin-left: 0;
}

.ib__filter_wrap select {
    padding: 13px;
}

.ib__filter_wrap input[type="submit"] {
    border-radius: 4px;
    background-color: #FF004E;
    transition: all 0.3s;
}

.ib__filter_wrap input[type="submit"]:hover {
    background-color: #011627;
}
.ib__filter_wrap ul {
    margin-left: 0;
    /* display: block; */
    /* width: 100%; */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ib__filter_wrap select {
    padding: 10px;
}

.ib__filter_wrap input[type="submit"] {
    border-radius: 4px;
    background-color: #FF004E;
    transition: all 0.3s;
}

.ib__filter_wrap input[type="submit"]:hover {
    background-color: #011627;
}

.ib__filter_wrap ul li {
    padding-right: 0;
}

/*Single Page Style*/
.single .entry-header .post-thumb img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.single .entry-header .ast-single-post-order .entry-title{
    font-weight: 700;
    font-size: 36px;
}
.single .ast-article-single {
    margin-top: 60px;
}

/*Search Page Style*/
.ib__search_header .ast-archive-description {
    padding: 0;
    margin-bottom: 40px;
    background-color: transparent;
}

@media (min-width: 922px) {
    .ast-separate-container #primary.ib__primary_blog_archive{
        margin-top: 236px;
    }
}
@media (max-width: 921px) {
    .ast-separate-container #primary.ib__primary_blog_archive{
        margin-top: 180px;
    }
    .single .ast-article-single {
        margin-top: 130px;
    }
}

@media (max-width: 767px) {
    .ib__blog_container {
        grid-template-columns: 1fr;
    }
    .single .entry-header .post-thumb img {
        width: 100%;
        height: auto;
    }
    .single .entry-header .ast-single-post-order .entry-title{
        font-size: 30px;
    }
}