/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Child theme  Astra 
 Author:       Husky
 Author URI:   https://example.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

/* FEATURED */
.hero-actions{
display:flex;
justify-content:center;
align-items:center;
gap:16px;
margin-top:30px;
}

/* SEARCH WRAPPER */

.search-wrapper{
position:relative;
}

/* INPUT */

.search-input{
width: auto;
    padding: 17px 48px 17px 10px !important;
    border: none !important;
    background: #E6E6E6 !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* ICON BUTTON */

.search-icon-btn{
position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #444;
    padding: 0 !important;
}


/* REQUEST A QUOTE BUTTON */

.quote-btn{
background: #FDB913;
    color: #000;
    text-decoration: none !important;
    padding: 13px 15px;
    font-weight: 700;
    border-radius: 8px;
    font-size: 15px;
    letter-spacing: 1px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
}
.quote-btn:hover {
    color: #000;
}
.search-icon-btn:hover {
    background: none !important;
}

.featured-post{
	display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
    font-family: "Black Han Sans";
    background: #fff;
}
.featured-content {
    padding-right: 20px;
}
span.post-date {
    color: #FEC809;
    font-size: 25px;
}

.featured-image img{
width:100%;
border-radius:8px;
	height:100%;
}

.featured-content h2{
    font-size: 34px;
    margin-bottom: 15px;
    font-family: "Black Han Sans";
    font-weight: 500;
    color: #000;
    text-decoration: none !important;
}
.featured-content h2 a {
    font-size: 30px;
    margin-bottom: 15px;
    font-family: "Black Han Sans";
    font-weight: 500;
    color: #000;
    text-decoration: none !important;
}
.featured-content p {
    color: #000;
    font-size: 20px;
    font-family: "Outfit", Sans-serif;
}
.btn-read:hover {
    color: #000;
}
/* GRID */

.blog-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
    font-family: "Black Han Sans";
}

.blog-card{
background:white;
border-radius:5px;
overflow:hidden;
box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.blog-card img{
width:100%;
height:200px;
object-fit:cover;
}

.blog-card h3{
padding: 0 20px 0;
    font-size: 18px;
    font-family: "Black Han Sans";
    margin: 10px 0 0;
    font-weight: 100;
}
.blog-card h3 a {
    color: #000;
    text-decoration: none !important;
}
.blog-card p {
    padding: 10px 20px 0;
    color: #000;
    font-size: 16px;
    font-family: "Outfit", Sans-serif;
}
.blog-card .post-date{
	padding: 10px 20px 0;
    margin-top: 0;
    display: block;
    font-size:15px;
}

/* BUTTON */

.btn-read{
display: inline-block;
    background: #FDB913;
    padding: 7px 25px;
    margin: 15px 0 20px;
    border-radius: 6px;
    text-decoration: none !important;
    color: #000 !important;
    font-weight: 100;
}
.blog-grid .btn-read {
	margin: 15px 20px 20px;
    padding: 5px 15px;
    font-size: 15px;
}
.pagination.astra-child-pagination .current {
    background: #FDB913;
}

.pagination.astra-child-pagination a, .pagination.astra-child-pagination span {
    color: #000;
    display: inline-block;
    margin: 0 6px;
    padding: 1.35px 13px;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none !important;
}
.pagination.astra-child-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.pagination.astra-child-pagination a:hover, .pagination.astra-child-pagination span:hover {
    background: #FDB913;
}

@media (max-width:767px){
    .hero-actions {
        flex-wrap: wrap;
    }
    .quote-btn {
        max-width: 240px;
        width: 100%;
    } 
    .featured-post {
        display: block;
    }
    .featured-content h2 a {
        font-size: 24px;
    }
    span.post-date {
        font-size: 20px;
    }
    .featured-content p {
        font-size: 16px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .featured-content {
        padding: 20px;
    }
}

@media (max-width:480px){ 
    .blog-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}