/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

/* press page css */
/* SEARCH FORM */
.qn-press-wrapper{
    width:100%;
    display:block;
}

.qn-press-search-form{
    display:flex;
    width:100%;
    max-width:100%;
    gap:12px;
    margin-bottom:40px;
}

.qn-press-search-form input{
    flex:1 1 auto;
    width:100%;
    min-width:0;
    height:55px;
    padding:0 18px;
    border:1px solid #ddd;
    border-radius:8px;
    box-sizing:border-box;
}

.qn-press-search-form button{
    flex:0 0 140px;
    height:55px;
    background:#0a6b4a;
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.qn-press-search-form button:hover{
    opacity:.9;
}

/* GRID */
.qn-press-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:30px;
    width:100%;
}

.qn-press-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:20px;
    overflow:hidden;
    transition:all .3s ease;
    height:100%;
}

.qn-press-card:hover{
    transform:translateY(-5px);
}

.qn-press-image img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
}

.qn-press-content{
    padding:25px;
}

.qn-press-terms{
    margin-bottom:15px;
}

.qn-press-terms span{
    display:inline-block;
    background:#eef7f2;
    color:#0a6b4a;
    padding:6px 12px;
    border-radius:30px;
    font-size:12px;
    margin-right:5px;
    margin-bottom:5px;
}

.qn-press-content h3{
    font-size:28px;
    line-height:1.3;
    margin-bottom:15px;
}

.qn-press-content h3 a{
    color:#0a6b4a;
    text-decoration:none;
}

.qn-press-excerpt{
    color:#555;
    line-height:1.8;
    margin-bottom:20px;
}

.qn-read-more{
    display:inline-block;
    background:#0a6b4a;
    color:#fff;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
}

.qn-pagination{
    text-align:center;
    margin-top:50px;
}

.qn-pagination .page-numbers{
    display:inline-block;
    padding:10px 15px;
    margin:0 4px;
    border:1px solid #ddd;
    text-decoration:none;
}

.qn-pagination .current{
    background:#0a6b4a;
    color:#fff;
    border-color:#0a6b4a;
}

/* RESPONSIVE */
@media(max-width:1200px){
    .qn-press-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:992px){
    .qn-press-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:767px){

    .qn-press-search-form{
        flex-direction:column;
    }

    .qn-press-search-form button{
        width:100%;
        flex:auto;
    }

    .qn-press-grid{
        grid-template-columns:1fr;
    }

    .qn-press-content h3{
        font-size:24px;
    }
}