/* ==========================================
   ARTICLES PAGE
========================================== */
/* Hero Banner */

.qm-articles-hero{

    width:100%;



}

.articles-banner-image{

    width:100%;

    height:480px;

    object-fit:cover;

    display:block;



}

@media(max-width:768px){

    .articles-banner-image{

        height:220px;

        border-radius:0;

    }

}


/* Main Section */

.qm-articles-section{

    padding:40px 0;

    background:#f5f7fb;

}



/* 70 / 30 Layout */

.qm-articles-layout{

    display:flex;

    gap:30px;

    align-items:flex-start;

}


.qm-articles-main{
    width:calc(70% - 15px);
    flex:0 0 calc(70% - 15px);
    box-sizing:border-box;
}

.qm-articles-sidebar{
    width:calc(30% - 15px);
    flex:0 0 calc(30% - 15px);
    box-sizing:border-box;
}


/* =========================================
   FEATURED IMAGE + CONTRIBUTOR ROW
========================================= */

.qm-article-intro-row {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: stretch;
    margin: 25px 0 35px;
}


/* =========================================
   FEATURED IMAGE — 60%
========================================= */

.qm-single-featured-image {
    width: 60%;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f6f8;
}

.qm-single-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}


/* =========================================
   CONTRIBUTOR BOX — 40%
========================================= */

.qm-article-intro-row .qm-contributor-box {
    width: 40%;
    box-sizing: border-box;
    margin: 0;
    padding: 25px;
    background: #f5f6fa;
    border-left: 5px solid #e0a800;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Contributor Photo */

.qm-article-intro-row .qm-author-photo {
    text-align: center;
    margin-bottom: 15px;
}

.qm-article-intro-row .qm-author-photo img {
    width: 105px;
    height: 105px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}


/* Contributor Details */

.qm-article-intro-row .qm-author-details {
    text-align: left;
}

.qm-article-intro-row .qm-author-details h3 {
    margin: 0 0 8px;
    color: #000e36;
    font-size: 22px;
}

.qm-article-intro-row .qm-author-details p {
    margin: 7px 0;
    line-height: 1.5;
}

.qm-article-intro-row .qm-author-designation {
    color: #555;
    font-weight: 600;
}


/* Profile Button */

.qm-article-intro-row .qm-profile-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 11px 18px;
    background: #000e36;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

.qm-article-intro-row .qm-profile-btn:hover {
    background: #e0a800;
    color: #000e36;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .qm-article-intro-row {
        flex-direction: column;
    }

    .qm-single-featured-image,
    .qm-article-intro-row .qm-contributor-box {
        width: 100%;
    }

    .qm-single-featured-image img {
        min-height: 250px;
        height: auto;
    }

}
/* =========================================
   SINGLE ARTICLE INTRO BACKGROUND FIX
========================================= */

.qm-single-main {
    background: #ffffff !important;
}

.qm-article-header {
    background: #ffffff !important;
}

.qm-article-intro-row {
    background: #ffffff !important;
}
/*==================================================
WRITE ARTICLE BOX
==================================================*/

.qm-write-article-box{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:40px;

    background:#ffffff;

    border-radius:12px;

    padding:35px;

    margin-bottom:35px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    border-left:6px solid #e0a800;

}


.qm-write-content{

    flex:1;

}


.qm-write-content h2{

    font-size:34px;

    color:#000e36;

    margin-bottom:18px;

}


.qm-write-content p{

    font-size:17px;

    line-height:1.9;

    color:#555;

    margin-bottom:25px;
    text-align: justify;

}


.qm-write-btn{

    display:inline-block;

    background:#000e36;

    color:#fff;

    text-decoration:none;

    padding:14px 28px;

    border-radius:6px;

    font-weight:700;

    transition:.3s;

}


.qm-write-btn:hover{

    background:#e0a800;

    color:#fff;

}


.qm-write-image{

    flex:0 0 400px;

    text-align:center;

}


.qm-write-image img{

    max-width:100%;

    height:auto;

}


/* Responsive */

@media(max-width:991px){

.qm-write-article-box{

    flex-direction:column-reverse;

    text-align:center;

}

.qm-write-image{

    flex:unset;

}

}


/*==================================================
LATEST ARTICLES GRID
==================================================*/

.qm-articles-list{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:30px;

}


/*==================================================
ARTICLE CARD
==================================================*/

.qm-article-card{

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.35s;

    display:flex;

    flex-direction:column;

    height:100%;

}

.qm-article-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}


/*==================================================
IMAGE
==================================================*/

.qm-article-image{

    display:block;

    overflow:hidden;

    height:220px;

}

.qm-article-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.qm-article-card:hover .qm-article-image img{

    transform:scale(1.08);

}


/*==================================================
CONTENT
==================================================*/

.qm-article-body{

    padding:22px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.qm-article-category{

    display:inline-block;

    background:#e0a800;

    color:#fff;

    font-size:13px;

    font-weight:600;

    padding:5px 12px;

    border-radius:30px;

    margin-bottom:15px;

}

.qm-article-body h3{

    margin:0 0 15px;

    font-size:22px;

    line-height:1.4;

}

.qm-article-body h3 a{

    text-decoration:none;

    color:#000e36;

}

.qm-article-body h3 a:hover{

    color:#e0a800;

}

.qm-article-body p{

    color:#666;

    line-height:1.8;

    margin-bottom:20px;

    flex:1;

}


/*==================================================
META
==================================================*/

.qm-article-meta{

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:10px;

    font-size:14px;

    color:#777;

    border-top:1px solid #eee;

    padding-top:15px;

    margin-top:auto;

}


/*==================================================
READ MORE BUTTON
==================================================*/

.qm-read-more{

    margin-top:18px;

    display:inline-block;

    text-align:center;

    background:#000e36;

    color:#fff;

    text-decoration:none;

    padding:12px;

    border-radius:6px;

    font-weight:600;

    transition:.3s;

}

.qm-read-more:hover{

    background:#e0a800;

    color:#fff;

}


/*==================================================
PAGINATION
==================================================*/

.qm-pagination{

    margin-top:50px;

    text-align:center;

}

.qm-pagination .page-numbers{

    display:inline-block;

    margin:0 5px;

    padding:10px 16px;

    background:#fff;

    color:#000e36;

    text-decoration:none;

    border-radius:6px;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

    transition:.3s;

}

.qm-pagination .current{

    background:#000e36;

    color:#fff;

}

.qm-pagination .page-numbers:hover{

    background:#e0a800;

    color:#fff;

}


/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:991px){

    .qm-articles-list{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:767px){

    .qm-articles-list{

        grid-template-columns:1fr;

    }

}
/* =====================================================
   ARTICLES SIDEBAR
===================================================== */

.qm-article-sidebar{

    display:flex;

    flex-direction:column;

    gap:25px;

}


/* Widget */

.qm-sidebar-widget{

    background:#ffffff;

    border-radius:10px;

    padding:22px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    border-top:4px solid #000e36;

}


.qm-sidebar-widget h3{

    margin:0 0 18px;

    color:#000e36;

    font-size:22px;

    font-weight:700;

    padding-bottom:12px;

    border-bottom:2px solid #f1f1f1;

}


/* =========================================
   SEARCH
========================================= */

.qm-sidebar-widget form{

    display:flex;

    flex-direction:column;

    gap:12px;

}


.qm-sidebar-widget input[type="text"]{

    width:100%;

    padding:12px 15px;

    border:1px solid #ddd;

    border-radius:5px;

    font-size:15px;

}


.qm-sidebar-widget input[type="text"]:focus{

    border-color:#000e36;

    outline:none;

}


.qm-sidebar-widget button{

    background:#000e36;

    color:#fff;

    border:none;

    padding:12px;

    border-radius:5px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}


.qm-sidebar-widget button:hover{

    background:#e0a800;

}


/* =========================================
   CATEGORY
========================================= */

.qm-category-dropdown{

    width:100%;

    padding:12px;

    border:1px solid #ddd;

    border-radius:5px;

    font-size:15px;

}


/* =========================================
   LISTS
========================================= */

.qm-sidebar-posts,
.qm-top-authors{

    list-style:none;

    margin:0;

    padding:0;

}


.qm-sidebar-posts li,
.qm-top-authors li{

    padding:12px 0;

    border-bottom:1px solid #eee;

}


.qm-sidebar-posts li:last-child,
.qm-top-authors li:last-child{

    border-bottom:none;

}


.qm-sidebar-posts a{

    color:#222;

    text-decoration:none;

    line-height:1.6;

    transition:.3s;

}


.qm-sidebar-posts a:hover{

    color:#e0a800;

    padding-left:5px;

}


/* =========================================
   WHATSAPP BOX
========================================= */

.qm-whatsapp-box{

    background:#ffffff;

    color:#fff;

    border:none;

}


.qm-whatsapp-box h3{

    color:#000e36;
    border-bottom:3px solid#e0a800;

}


.qm-whatsapp-box p{

    margin-bottom:20px;
    text-align: center;
    font-size: 35px;

}


.qm-whatsapp-box a{

    display:block;

    text-align:center;

    background:#00752b;

    color:#fefffe;

    text-decoration:none;

    padding:12px;

    border-radius:5px;

    font-weight:700;

    transition:.3s;

}


.qm-whatsapp-box a:hover{

    background:#e0a800;

    color:#fff;

}


/* =========================================
   CONTACT & ABOUT
========================================= */

.qm-sidebar-widget p{

    line-height:1.8;

    color:#555;
    text-align: center;

}
.qm-contact-box a{

    display:block;

    text-align:center;

    background:#000e36;

    color:#ffffff;

    text-decoration:none;

    padding:12px;

    border-radius:5px;

    font-weight:700;

    transition:.3s;

}


.qm-contact-box a:hover{

    background:#e0a800;

    color:#fff;

}




/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:991px){

.qm-article-sidebar{

    margin-top:30px;

}

}

/*==========================================================
SUBMIT ARTICLE PAGE
PART 1
==========================================================*/
/* Page */
.qm-submit-hero{

    background:#ffffff;
    border-radius:12px;
    padding:35px;
    margin-bottom:35px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    border-top:5px solid #000e36;

}
.qm-submit-hero h1{

    text-align: center;
    color: #ff0000;
    padding: 10px;
}
.qm-submit-hero h3{

    text-align: center;
    color:#000e36;
    padding: 10px;
    font-size: 25px;
}
.qm-submit-hero p{

    text-align: center;
    color:#000000;
    padding: 10px;
    font-size: 20px;
    text-align: justify;
    margin-left: 110px;
    margin-right: 110px;
    line-height:1.9;
}

.qm-submit-page{

    background:#f4f6fb;
    padding:50px 0;

}
/*==========================================================
PUBLISH BANNER
==========================================================*/

.qm-publish-banner{

    display:flex;
    align-items:center;
    gap:40px;

    background:#ffffff;

    padding:40px;

    margin:40px 0;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    border-top:5px solid #e0a800;

}

/*==========================================================
LEFT IMAGE
==========================================================*/

.qm-publish-image{

    flex:0 0 35%;

}

.qm-publish-image img{

    width:100%;

    border-radius:12px;

    display:block;

}

/*==========================================================
RIGHT CONTENT
==========================================================*/

.qm-publish-content{

    flex:1;

}

/*==========================================================
BADGE
==========================================================*/

.qm-publish-badge{

    display:inline-block;

    background:#e0a800;

    color:#000e36;

    font-size:13px;

    font-weight:700;

    padding:8px 18px;

    border-radius:30px;

    margin-bottom:18px;

    text-transform:uppercase;

    letter-spacing:.5px;

}

/*==========================================================
HEADING
==========================================================*/

.qm-publish-content h2{

    font-size:34px;

    color:#000e36;

    line-height:1.3;

    margin-bottom:20px;

}

/*==========================================================
DESCRIPTION
==========================================================*/

.qm-publish-content p{

    color:#555;

    line-height:1.9;

    font-size:16px;

    margin-bottom:25px;

}

/*==========================================================
FEATURES
==========================================================*/

.qm-publish-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-bottom:30px;

}

.qm-feature{

    display:flex;

    align-items:center;

    gap:12px;

    padding:15px 18px;

    background:#f7f9fc;

    border-radius:10px;

    transition:.3s;

}

.qm-feature:hover{

    background:#000e36;

    color:#fff;

    transform:translateY(-4px);

}

.qm-feature i{

    font-size:20px;

    color:#e0a800;

    width:25px;

    text-align:center;

}

.qm-feature span{

    font-weight:600;

    font-size:15px;

}

/*==========================================================
EDITOR REVIEW NOTE
==========================================================*/

.qm-review-note{

    background:#eef6ff;

    border-left:5px solid #000e36;

    padding:15px 20px;

    border-radius:8px;

    margin-bottom:30px;

    font-size:15px;

    color:#333;

}

.qm-review-note i{

    color:#000e36;

    margin-right:8px;

}

/*==========================================================
BUTTON
==========================================================*/

.qm-write-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:#000e36;

    color:#ffffff;

    padding:15px 30px;

    border-radius:50px;

    font-size:16px;

    font-weight:700;

    text-decoration:none;

    transition:.3s;

}

.qm-write-btn:hover{

    background:#e0a800;

    color:#000e36;

    transform:translateY(-3px);

}

.qm-write-btn i{

    font-size:16px;

}

/*==========================================================
RESPONSIVE
==========================================================*/

@media(max-width:991px){

    .qm-publish-banner{

        flex-direction:column;

        text-align:center;

    }

    .qm-publish-image{

        flex:0 0 100%;

        max-width:450px;

    }

    .qm-publish-features{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .qm-publish-banner{

        padding:25px;

        gap:25px;

    }

    .qm-publish-content h2{

        font-size:28px;

    }

    .qm-publish-content p{

        font-size:15px;

    }

    .qm-write-btn{

        width:100%;

        justify-content:center;

    }

}

/* Main Area */

.qm-submit-main{

    width:70%;

}

/* Form */

.qm-submit-form{

    width:100%;

}

/*==========================================================
FORM BOX
==========================================================*/

.qm-form-box{

    background:#ffffff;
    border-radius:12px;
    padding:35px;
    margin-bottom:35px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    border-top:5px solid #000e36;

}

/*==========================================================
HEADINGS
==========================================================*/

.qm-form-box h2{

    margin:0 0 30px;
    padding-bottom:15px;
    color:#000e36;
    font-size:30px;
    font-weight:700;
    border-bottom:3px solid #e0a800;

}

.qm-form-box h3{

    margin:0 0 25px;
    color:#000e36;
    font-size:24px;
    font-weight:700;

}

/*==========================================================
PARAGRAPH
==========================================================*/

.qm-form-box p{

    margin:0 0 20px;
    color:#555;
    line-height:1.8;

}

/*==========================================================
NOTICE
==========================================================*/

.qm-submit-notice{

    background:#fff8e7;
    border-left:5px solid #e0a800;
    padding:20px;
    border-radius:8px;
    margin-bottom:30px;
    color:#444;
    line-height:1.8;

}

/*==========================================================
FORM GRID
==========================================================*/

.qm-form-row{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
    margin-bottom:25px;

}

.qm-form-row-3{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-bottom:25px;

}

.qm-full{

    grid-column:1/-1;

}

/*==========================================================
LABEL
==========================================================*/

.qm-form-group label{

    display:block;
    margin-bottom:8px;
    font-size:15px;
    font-weight:700;
    color:#222;

}

/*==========================================================
INPUT
==========================================================*/

.qm-form-group input[type="text"],
.qm-form-group input[type="email"],
.qm-form-group input[type="number"],
.qm-form-group input[type="url"],
.qm-form-group input[type="tel"],
.qm-form-group select,
.qm-form-group textarea{

    width:100%;
    padding:14px 16px;
    border:1px solid #d9d9d9;
    border-radius:8px;
    font-size:15px;
    transition:.3s;
    background:#fff;

}

.qm-form-group input:focus,
.qm-form-group select:focus,
.qm-form-group textarea:focus{

    outline:none;
    border-color:#000e36;
    box-shadow:0 0 8px rgba(0,14,54,.15);

}

/*==========================================================
TEXTAREA
==========================================================*/

.qm-form-group textarea{

    min-height:180px;
    resize:vertical;

}
/*==========================================================
MOBILE NUMBER GROUP
==========================================================*/

.qm-mobile-group{

    display:flex;
    gap:15px;
    align-items:center;

}

.qm-mobile-group select{

    width:180px;
    flex:none;

}

.qm-mobile-group input{

    flex:1;

}

/*==========================================================
LOOKUP BOX
==========================================================*/

.qm-contributor-search{

    background:#eef4ff;
    border:2px solid #d8e4ff;
    border-radius:12px;
    padding:25px;
    margin-bottom:35px;

}

.qm-contributor-search h2{

    margin:0 0 20px;
    color:#000e36;
    font-size:28px;
    border:none;
    padding:0;

}

.qm-search-row{

    display:grid;
    grid-template-columns:1fr 1fr auto;
    gap:20px;
    align-items:end;

}

.qm-load-btn{

    background:#000e36;
    color:#fff;
    border:none;
    padding:14px 28px;
    border-radius:8px;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;

}

.qm-load-btn:hover{

    background:#e0a800;
    color:#000e36;

}

/*==========================================================
SELECT
==========================================================*/

.qm-form-group select{

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23000e36' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6 6.5-6'/%3E%3C/svg%3E");

    background-repeat:no-repeat;
    background-position:right 15px center;
    padding-right:45px;

}

/*==========================================================
FILE INPUT
==========================================================*/

.qm-form-group input[type=file]{

    width:100%;
    padding:14px;
    border:2px dashed #d7d7d7;
    border-radius:8px;
    background:#fafafa;
    cursor:pointer;

}

.qm-form-group input[type=file]:hover{

    border-color:#000e36;

}

/*==========================================================
HELP TEXT
==========================================================*/

.qm-help-text{

    display:block;
    margin-top:8px;
    color:#777;
    font-size:13px;
    line-height:1.6;

}

/*==========================================================
IMAGE PREVIEW
==========================================================*/

.qm-profile-preview,
.qm-featured-preview{

    margin-top:15px;

}

.qm-profile-preview img,
.qm-featured-preview img{

    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:10px;
    border:3px solid #e0a800;

}

/*==========================================================
READ ONLY
==========================================================*/

.qm-form-group input[readonly]{

    background:#f3f3f3;
    color:#666;

}
/*==========================================================
WORDPRESS EDITOR
==========================================================*/

.wp-editor-wrap{

    border:1px solid #dcdcdc;
    border-radius:8px;
    overflow:hidden;
    margin-top:10px;

}

.wp-editor-container{

    border:none;

}

.mce-toolbar-grp{

    border-bottom:1px solid #e5e5e5 !important;

}

.quicktags-toolbar{

    border-bottom:1px solid #e5e5e5;

}

.wp-editor-area{

    min-height:420px;

}

/*==========================================================
DECLARATION
==========================================================*/

.qm-declaration{

    background:#f8f9fc;
    border:1px solid #e3e6ef;
    border-radius:10px;
    padding:25px;
    margin-top:35px;

}

.qm-checkbox{

    display:flex;
    align-items:flex-start;
    gap:12px;

}

.qm-checkbox input[type="checkbox"]{

    margin-top:4px;
    transform:scale(1.2);

}

.qm-checkbox label{

    margin:0;
    color:#444;
    line-height:1.8;
    font-weight:500;

}

/*==========================================================
SUBMIT AREA
==========================================================*/

.qm-submit-area{

    margin-top:35px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;

}

.qm-submit-btn{

    background:#000e36;
    color:#fff;
    border:none;
    padding:16px 45px;
    font-size:17px;
    font-weight:700;
    border-radius:8px;
    cursor:pointer;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,14,54,.15);

}

.qm-submit-btn:hover{

    background:#e0a800;
    color:#000e36;
    transform:translateY(-3px);

}

.qm-submit-btn:active{

    transform:translateY(0);

}

/*==========================================================
SUCCESS MESSAGE
==========================================================*/

.qm-success-message{

    background:#eaf8ee;
    border-left:5px solid #28a745;
    color:#1f6f35;
    padding:18px 20px;
    border-radius:8px;
    margin-bottom:30px;

}

/*==========================================================
ERROR MESSAGE
==========================================================*/

.qm-error-message{

    background:#fff1f1;
    border-left:5px solid #dc3545;
    color:#b42318;
    padding:18px 20px;
    border-radius:8px;
    margin-bottom:30px;

}

/*==========================================================
DIVIDER
==========================================================*/

.qm-divider{

    height:1px;
    background:#ececec;
    margin:35px 0;

}

/*==========================================================
LOADING
==========================================================*/

.qm-loading{

    display:none;
    text-align:center;
    padding:20px;

}

.qm-loading.show{

    display:block;

}

.qm-loading::before{

    content:"";
    width:34px;
    height:34px;
    display:inline-block;
    border:4px solid #dddddd;
    border-top-color:#000e36;
    border-radius:50%;
    animation:qmspin .8s linear infinite;

}

@keyframes qmspin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}
/*==========================================================
RESPONSIVE
==========================================================*/

@media(max-width:992px){

    .qm-submit-page{

        padding:35px 0;

    }

    .qm-form-box{

        padding:25px;

    }

    .qm-form-row{

        grid-template-columns:1fr;

        gap:20px;

    }

    .qm-form-row-3{

        grid-template-columns:1fr;

        gap:20px;

    }

    .qm-search-row{

        grid-template-columns:1fr;

    }

    .qm-mobile-group{

        flex-direction:column;

        align-items:stretch;

    }

    .qm-mobile-group select{

        width:100%;

    }

    .qm-submit-btn{

        width:100%;

    }

}

/*==========================================================
MOBILE
==========================================================*/

@media(max-width:768px){

    .qm-submit-page{

        padding:25px 0;

    }

    .qm-form-box{

        padding:20px;

        border-radius:10px;

    }

    .qm-form-box h2{

        font-size:24px;

        margin-bottom:20px;

    }

    .qm-form-box h3{

        font-size:20px;

    }

    .qm-form-group input,

    .qm-form-group select,

    .qm-form-group textarea{

        font-size:15px;

        padding:12px 14px;

    }

    .qm-submit-btn{

        padding:15px 20px;

        font-size:16px;

    }

    .qm-load-btn{

        width:100%;

    }

    .qm-profile-preview img,

    .qm-featured-preview img{

        width:140px;

        height:140px;

    }

}

/*==========================================================
SMALL MOBILE
==========================================================*/

@media(max-width:480px){

    .qm-submit-page{

        padding:15px 0;

    }

    .qm-form-box{

        padding:15px;

    }

    .qm-form-box h2{

        font-size:21px;

    }

    .qm-form-box h3{

        font-size:18px;

    }

    .qm-submit-btn{

        font-size:15px;

    }

}

/*==========================================================
FOCUS EFFECT
==========================================================*/

.qm-form-group input:focus,

.qm-form-group select:focus,

.qm-form-group textarea:focus,

.wp-editor-area:focus{

    border-color:#000e36;

    box-shadow:0 0 0 3px rgba(0,14,54,.10);

}

/*==========================================================
INVALID FIELD
==========================================================*/

.qm-form-group input:invalid,

.qm-form-group select:invalid,

.qm-form-group textarea:invalid{

    border-color:#e5e5e5;

}

/*==========================================================
VALID FIELD
==========================================================*/

.qm-form-group input:valid,

.qm-form-group select:valid,

.qm-form-group textarea:valid{

    border-color:#d6d6d6;

}

/*==========================================================
PLACEHOLDER
==========================================================*/

.qm-form-group input::placeholder,

.qm-form-group textarea::placeholder{

    color:#999;

}

/*==========================================================
SCROLLBAR
==========================================================*/

.qm-form-group textarea::-webkit-scrollbar{

    width:8px;

}

.qm-form-group textarea::-webkit-scrollbar-thumb{

    background:#000e36;

    border-radius:20px;

}

.qm-form-group textarea::-webkit-scrollbar-track{

    background:#efefef;

}

/*==========================================================
END OF SUBMIT ARTICLE CSS
==========================================================*/

/*=====================================================
SINGLE ARTICLE PAGE
=====================================================*/

.qm-single-hero{

    width:100%;
    height:350px;
    overflow:hidden;
    background:#f5f5f5;

}

.qm-single-hero img{

    width:100%;
    height:100%;
    object-fit:cover;
    display:block;

}


/*=====================================================
LAYOUT
=====================================================*/

.qm-single-article{

    padding:50px 0;
    background:#f7f8fb;

}

.qm-single-layout{

    display:grid;
    grid-template-columns:70% 30%;
    gap:35px;
    align-items:start;

}

.qm-single-main{

    background:#fff;
    padding:35px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    width: 100%;

}

.qm-single-sidebar{

    position:sticky;
    top:20px;
    width: 93%;

}


/*=====================================================
BREADCRUMB
=====================================================*/

.qm-breadcrumb{

    margin-bottom:20px;
    font-size:14px;
    color:#ffffff;

}


/*=====================================================
HEADER
=====================================================*/

.qm-single-category1{

    display:inline-block;
    background:#ffffff;
    

}
.qm-single-category{

    display:inline-block;
    background:#e0a800;
    color:#fff;
    padding:6px 16px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    margin-bottom:15px;

}

.qm-article-header h1{

    font-size:38px;
    color:#000e36;
    line-height:1.4;
    margin-bottom:20px;

}

.qm-single-excerpt{

    font-size:18px;
    line-height:1.8;
    color:#555;
    margin-bottom:25px;

}


/*=====================================================
META
=====================================================*/

.qm-article-meta{

    display:flex;
    flex-wrap:wrap;
    gap:25px;
    padding:18px 0;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
    margin-bottom:35px;
    color:#666;

}


/*=====================================================
CONTRIBUTOR
=====================================================*/

.qm-contributor-box{

    display:flex;
    gap:25px;
    background:#f8f9fc;
    border-left:5px solid #e0a800;
    padding:25px;
    border-radius:10px;
    margin-bottom:40px;

}

.qm-author-photo img{

    width:110px;
    height:110px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #fff;
    box-shadow:0 3px 10px rgba(0,0,0,.15);

}

.qm-author-details{

    flex:1;

}

.qm-author-details h3{

    color:#000e36;
    margin-bottom:10px;

}

.qm-author-details p{

    margin-bottom:8px;
    color:#555;

}

.qm-profile-btn{

    display:inline-block;
    margin-top:15px;
    background:#000e36;
    color:#fff;
    text-decoration:none;
    padding:12px 22px;
    border-radius:6px;
    transition:.3s;

}

.qm-profile-btn:hover{

    background:#e0a800;

}



/*=====================================================
ARTICLE CONTENT
=====================================================*/

.qm-article-content{

    font-size:18px;

    line-height:2;

    color:#333;

    text-align:justify;

    text-justify:inter-word;

}

.qm-article-content p{

    margin-bottom:20px;

    text-align:justify;

}

.qm-article-content h2,
.qm-article-content h3,
.qm-article-content h4{

    text-align:left;

}

.qm-article-content img{

    max-width:100%;
    height:auto;
    border-radius:8px;
    margin:25px 0;

}


/*=====================================================
SECTIONS
=====================================================*/

.qm-article-references,
.qm-article-tags,
.qm-share-box,
.qm-post-navigation,
.qm-comments{

    margin-top:45px;
    padding-top:25px;
    border-top:1px solid #ececec;

}

.qm-article-references h3,
.qm-article-tags h3,
.qm-share-box h3{

    color:#000e36;
    margin-bottom:15px;

}


/*=====================================================
SHARE BUTTONS
=====================================================*/

.qm-share-buttons{

    display:flex;
    flex-wrap:wrap;
    gap:12px;

}

.qm-share-buttons a{

    text-decoration:none;
    background:#000e36;
    color:#fff;
    padding:10px 18px;
    border-radius:5px;
    transition:.3s;

}

.qm-share-buttons a:hover{

    background:#e0a800;

}
/*==========================================================
COPY LINK BUTTON
==========================================================*/

.qm-share-buttons.qm-copy-link {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 18px;

    background: #000e36;
    color: #ffffff;

    border: none;
    border-radius: 5px;

    font-size: 16px;
    font-weight: 600;

    line-height: 1.2;

    cursor: pointer;

    text-decoration: none;

    transition: all 0.3s ease;

    font-family: inherit;

}

.qm-share-buttons.qm-copy-link:hover {

    background: #e0a800;
    color: #000e36;

}

.qm-share-buttons.qm-copy-link i {

    font-size: 15px;

}


/*=====================================================
PREVIOUS / NEXT
=====================================================*/

.qm-post-navigation{

    display:flex;
    justify-content:space-between;
    gap:20px;

}

.qm-post-navigation a{

    color:#000e36;
    text-decoration:none;
    font-weight:600;

}

.qm-post-navigation a:hover{

    color:#e0a800;

}


/*=====================================================
RESPONSIVE
=====================================================*/

@media(max-width:992px){

.qm-single-layout{

    grid-template-columns:1fr;

}

.qm-single-sidebar{

    position:static;

}

}

@media(max-width:768px){

.qm-single-main{

    padding:20px;
    background-color: white;

}

.qm-contributor-box{

    flex-direction:column;
    text-align:center;

}

.qm-author-photo img{

    margin:auto;

}

.qm-article-header h1{

    font-size:28px;

}

.qm-article-meta{

    flex-direction:column;
    gap:10px;

}

.qm-post-navigation{

    flex-direction:column;

}

}

/*=====================================================
RELATED ARTICLES
=====================================================*/

.qm-related-articles{

    margin-top:60px;

}

.qm-related-articles h2{

    color:#000e36;

    margin-bottom:25px;

    border-left:5px solid #e0a800;

    padding-left:15px;

}

.qm-related-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.qm-related-card{

    background:#fff;

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.qm-related-card:hover{

    transform:translateY(-5px);

}

.qm-related-card img{

    width:100%;

    height:200px;

    object-fit:cover;

}

.qm-related-content{

    padding:20px;

}

.qm-related-category{

    display:inline-block;

    background:#e0a800;

    color:#fff;

    padding:4px 12px;

    border-radius:20px;

    font-size:12px;

    margin-bottom:12px;

}

.qm-related-content h3{

    font-size:20px;

    margin-bottom:12px;

}

.qm-related-content h3 a{

    text-decoration:none;

    color:#000e36;

}

.qm-related-content p{

    color:#666;

    line-height:1.7;

    margin-bottom:15px;

}

.qm-related-btn{

    display:inline-block;

    background:#000e36;

    color:#fff;

    text-decoration:none;

    padding:10px 18px;

    border-radius:5px;

    transition:.3s;

}

.qm-related-btn:hover{

    background:#e0a800;

}

@media(max-width:992px){

.qm-related-grid{

    grid-template-columns:1fr;

}

}
/* =====================================================
   NEW ARTICLES SIDEBAR
   TOP CONTRIBUTORS / LATEST / POPULAR
===================================================== */


/* =========================================
   SEARCH FORM
========================================= */

.qm-article-search-form input[type="search"]{
    width:100%;
    box-sizing:border-box;
    padding:12px 15px;
    border:1px solid #ddd;
    border-radius:5px;
    font-size:15px;
    outline:none;
}

.qm-article-search-form input[type="search"]:focus{
    border-color:#000e36;
}

.qm-article-search-form button{
    width:100%;
}


/* =========================================
   TOP CONTRIBUTORS
========================================= */

.qm-top-contributors{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.qm-top-contributor{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid #eeeeee;
    text-decoration:none;
    transition:.3s;
}

.qm-top-contributor:last-child{
    border-bottom:none;
}

.qm-top-contributor:hover{
    transform:translateX(4px);
}

.qm-top-contributor img{
    width:48px;
    height:48px;
    min-width:48px;
    object-fit:cover;
    border-radius:50%;
    border:2px solid #e0a800;
}

.qm-top-contributor-info{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.qm-top-contributor-info strong{
    color:#000e36;
    font-size:15px;
    line-height:1.4;
    font-weight:700;
}

.qm-top-contributor-info small{
    color:#777;
    font-size:13px;
    margin-top:3px;
}

.qm-top-contributor:hover .qm-top-contributor-info strong{
    color:#e0a800;
}


/* =========================================
   SIDEBAR ARTICLE LIST
   LATEST + POPULAR
========================================= */

.qm-sidebar-article-list{
    display:flex;
    flex-direction:column;
}

.qm-sidebar-article-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 0;
    border-bottom:1px solid #eeeeee;
    text-decoration:none;
    transition:.3s;
}

.qm-sidebar-article-item:last-child{
    border-bottom:none;
}

.qm-sidebar-article-item:hover{
    transform:translateX(4px);
}


/* =========================================
   ARTICLE THUMBNAIL
========================================= */

.qm-sidebar-article-thumb{
    width:70px;
    height:55px;
    min-width:70px;
    overflow:hidden;
    border-radius:6px;
    background:#f3f3f3;
}

.qm-sidebar-article-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.3s;
}

.qm-sidebar-article-item:hover
.qm-sidebar-article-thumb img{
    transform:scale(1.06);
}


/* =========================================
   ARTICLE INFORMATION
========================================= */

.qm-sidebar-article-info{
    min-width:0;
    flex:1;
}

.qm-sidebar-article-info h4{
    margin:0 0 6px;
    color:#000e36;
    font-size:14px;
    line-height:1.45;
    font-weight:700;

    display:-webkit-box;
    
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.qm-sidebar-article-info span{
    display:block;
    color:#777;
    font-size:12px;
    line-height:1.3;
}

.qm-sidebar-article-info span i{
    margin-right:4px;
    color:#e0a800;
}

.qm-sidebar-article-item:hover
.qm-sidebar-article-info h4{
    color:#e0a800;
}


/* =========================================
   CATEGORY DROPDOWN
========================================= */

.qm-category-dropdown{
    cursor:pointer;
    background:#fff;
    color:#333;
    outline:none;
}

.qm-category-dropdown:focus{
    border-color:#000e36;
}


/* =========================================
   MOBILE SIDEBAR
========================================= */

@media(max-width:767px){

    .qm-sidebar-article-thumb{
        width:65px;
        height:52px;
        min-width:65px;
    }

    .qm-sidebar-article-info h4{
        font-size:14px;
    }

    .qm-top-contributor img{
        width:45px;
        height:45px;
        min-width:45px;
    }

}
/* ===========================================
   SEARCH RESULT HIGHLIGHT
=========================================== */

.qm-search-highlight {

    background: #e0a800;

    color: #000e36;

    font-weight: 700;

    padding: 2px 4px;

    border-radius: 3px;

}
/*=========================================
ARTICLE AJAX SEARCH
=========================================*/

.qm-article-search {
    position: relative;
    width: 100%;
}

.qm-article-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

.qm-article-search input:focus {
    border-color: #000e36;
}


/*=========================================
SEARCH RESULTS
=========================================*/

.qm-article-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 999;
    overflow: hidden;
}


/*=========================================
RESULT LIST
=========================================*/

.qm-article-search-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qm-article-search-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.qm-article-search-list li:last-child {
    border-bottom: none;
}


/*=========================================
RESULT LINK
=========================================*/

.qm-article-search-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    background: #fff;
    transition: background 0.2s ease;
}

.qm-article-search-list li a:hover {
    background: #f5f5f5;
}


/*=========================================
RESULT IMAGE
=========================================*/

.qm-search-thumb {
    width: 55px !important;
    height: 45px !important;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
}


/*=========================================
RESULT TEXT
=========================================*/

.qm-article-search-list li a > span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.qm-article-search-list strong {
    color: #000e36;
    font-size: 14px;
    line-height: 1.35;
}

.qm-article-search-list small {
    margin-top: 3px;
    color: #777;
    font-size: 11px;
}


/*=========================================
NO RESULTS
=========================================*/

.qm-no-search-results {
    padding: 14px;
    text-align: center;
    color: #777;
    font-size: 13px;
    background: #fff;
}

/* ==========================================================
   FINAL ARTICLE RESPONSIVE FIX
   DESKTOP / TABLET / MOBILE
========================================================== */


/* ==========================================================
   ARTICLE LISTING LAYOUT
========================================================== */

.qm-articles-layout {
    width: 100%;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    box-sizing: border-box;
}

.qm-articles-main {
    width: calc(70% - 15px);
    flex: 0 0 calc(70% - 15px);
    min-width: 0;
    box-sizing: border-box;
}

.qm-articles-sidebar {
    width: calc(30% - 15px);
    flex: 0 0 calc(30% - 15px);
    min-width: 0;
    box-sizing: border-box;
}


/* ==========================================================
   ARTICLE HERO
========================================================== */

.qm-articles-hero {
    width: 100%;
    overflow: hidden;
}

.articles-banner-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}


/* ==========================================================
   ARTICLE GRID
========================================================== */

.qm-articles-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}


/* ==========================================================
   ARTICLE CARD
========================================================== */

.qm-article-card {
    min-width: 0;
}

.qm-article-image {
    width: 100%;
    height: 220px;
}

.qm-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    /* Article listing */
    .qm-articles-layout {
        gap: 25px;
    }

    .qm-articles-main {
        width: calc(65% - 12.5px);
        flex: 0 0 calc(65% - 12.5px);
    }

    .qm-articles-sidebar {
        width: calc(35% - 12.5px);
        flex: 0 0 calc(35% - 12.5px);
    }


    /* Article cards */
    .qm-articles-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }


    /* Write article */
    .qm-write-article-box {
        gap: 25px;
        padding: 30px;
    }

    .qm-write-image {
        flex: 0 0 320px;
    }


    /* Single article */
    .qm-single-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 25px;
    }

    .qm-single-main {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .qm-single-sidebar {
        width: 100%;
        box-sizing: border-box;
    }


    /* Contributor */
    .qm-article-intro-row {
        gap: 15px;
    }

    .qm-article-intro-row .qm-contributor-box {
        padding: 20px;
    }

}


/* ==========================================================
   TABLET / SMALL LAPTOP
========================================================== */

@media (max-width: 991px) {

    /* Main article listing */
    .qm-articles-layout {
        flex-direction: column;
    }

    .qm-articles-main,
    .qm-articles-sidebar {
        width: 100%;
        flex: 0 0 100%;
    }

    .qm-articles-sidebar {
        margin-top: 10px;
    }


    /* Article sidebar */
    .qm-article-sidebar {
        width: 100%;
    }


    /* Hero */
    .articles-banner-image {
        height: 350px;
    }


    /* Write article */
    .qm-write-article-box {
        flex-direction: column;
        text-align: center;
    }

    .qm-write-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 450px;
    }

    .qm-write-content {
        width: 100%;
    }


    /* Submit article */
    .qm-submit-main {
        width: 100%;
    }

    .qm-submit-form {
        width: 100%;
    }

    .qm-submit-hero p {
        margin-left: 30px;
        margin-right: 30px;
    }


    /* Single article */
    .qm-single-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qm-single-main {
        width: 100%;
    }

    .qm-single-sidebar {
        position: static;
        width: 100%;
    }


    /* Related articles */
    .qm-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    /* ======================================================
       HERO
    ====================================================== */

    .articles-banner-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .qm-single-hero {
        height: 240px;
    }


    /* ======================================================
       ARTICLE SECTION
    ====================================================== */

    .qm-articles-section {
        padding: 25px 0;
    }


    /* ======================================================
       ARTICLE GRID
    ====================================================== */

    .qm-articles-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    /* ======================================================
       ARTICLE CARD
    ====================================================== */

    .qm-article-image {
        height: 210px;
    }

    .qm-article-body {
        padding: 18px;
    }

    .qm-article-body h3 {
        font-size: 20px;
    }


    /* ======================================================
       INTRO ROW
    ====================================================== */

    .qm-article-intro-row {
        flex-direction: column;
        gap: 20px;
        margin: 20px 0 30px;
    }

    .qm-single-featured-image,
    .qm-article-intro-row .qm-contributor-box {
        width: 100%;
        flex: 0 0 100%;
    }

    .qm-single-featured-image img {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: 400px;
        object-fit: cover;
    }


    /* ======================================================
       CONTRIBUTOR
    ====================================================== */

    .qm-article-intro-row .qm-contributor-box {
        padding: 20px;
        border-left: 0;
        border-top: 5px solid #e0a800;
    }

    .qm-article-intro-row .qm-author-details {
        text-align: center;
    }


    /* ======================================================
       WRITE ARTICLE
    ====================================================== */

    .qm-write-article-box {
        padding: 22px;
        gap: 20px;
        margin-bottom: 25px;
    }

    .qm-write-content h2 {
        font-size: 27px;
    }

    .qm-write-content p {
        font-size: 15px;
        line-height: 1.8;
        text-align: justify;
    }

    .qm-write-image {
        width: 100%;
        max-width: 350px;
    }

    .qm-write-btn {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }


    /* ======================================================
       SUBMIT HERO
    ====================================================== */

    .qm-submit-page {
        padding: 25px 0;
    }

    .qm-submit-hero {
        padding: 22px 18px;
        margin-bottom: 25px;
    }

    .qm-submit-hero h1 {
        font-size: 28px;
    }

    .qm-submit-hero h3 {
        font-size: 21px;
    }

    .qm-submit-hero p {
        margin-left: 0;
        margin-right: 0;
        padding: 5px;
        font-size: 16px;
        line-height: 1.8;
        text-align: justify;
    }


    /* ======================================================
       FORM
    ====================================================== */

    .qm-form-box {
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
    }

    .qm-form-row,
    .qm-form-row-3 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .qm-search-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .qm-mobile-group {
        flex-direction: column;
        align-items: stretch;
    }

    .qm-mobile-group select {
        width: 100%;
    }


    /* ======================================================
       SINGLE ARTICLE
    ====================================================== */

    .qm-single-article {
        padding: 25px 0;
    }

    .qm-single-main {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        border-radius: 8px;
    }

    .qm-single-sidebar {
        width: 100%;
    }

    .qm-article-header h1 {
        font-size: 28px;
        line-height: 1.35;
    }

    .qm-single-excerpt {
        font-size: 16px;
        line-height: 1.8;
    }

    .qm-article-content {
        font-size: 16px;
        line-height: 1.9;
    }


    /* ======================================================
       META
    ====================================================== */

    .qm-article-meta {
        flex-direction: column;
        gap: 10px;
    }


    /* ======================================================
       CONTRIBUTOR BOX
    ====================================================== */

    .qm-contributor-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .qm-author-photo img {
        margin: auto;
    }


    /* ======================================================
       RELATED ARTICLES
    ====================================================== */

    .qm-related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qm-related-card img {
        height: 190px;
    }


    /* ======================================================
       SIDEBAR
    ====================================================== */

    .qm-sidebar-widget {
        padding: 18px;
    }

    .qm-sidebar-widget h3 {
        font-size: 20px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    /* Hero */
    .articles-banner-image {
        height: 180px;
    }

    .qm-single-hero {
        height: 190px;
    }


    /* Article cards */
    .qm-article-image {
        height: 190px;
    }

    .qm-article-body {
        padding: 16px;
    }

    .qm-article-body h3 {
        font-size: 19px;
    }


    /* Write article */
    .qm-write-article-box {
        padding: 18px;
    }

    .qm-write-content h2 {
        font-size: 24px;
    }

    .qm-write-content p {
        font-size: 14px;
    }


    /* Submit */
    .qm-submit-hero {
        padding: 18px 14px;
    }

    .qm-submit-hero h1 {
        font-size: 24px;
    }

    .qm-submit-hero h3 {
        font-size: 19px;
    }

    .qm-submit-hero p {
        font-size: 15px;
    }

    .qm-form-box {
        padding: 15px;
    }


    /* Single article */
    .qm-single-main {
        padding: 16px;
    }

    .qm-article-header h1 {
        font-size: 24px;
    }

    .qm-article-content {
        font-size: 15px;
        line-height: 1.85;
    }


    /* Sidebar */
    .qm-sidebar-widget {
        padding: 15px;
    }

}
/* =========================================
   ARTICLE TAGS
========================================= */

.qm-article-tags-list{

    display:flex;
    flex-wrap:wrap;
    gap:10px;

}

.qm-article-tag{

    display:inline-block;

    background:#f1f3f7;

    color:#000e36;

    padding:7px 14px;

    border-radius:20px;

    border:1px solid #ddd;

    font-size:14px;

    font-weight:600;

}
/*==============================================================
QANOONMARKAZ
CONTRIBUTOR SEARCH
==============================================================*/

.qm-contributor-search {
    width: 100%;
    margin: 0 auto 45px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}


/*--------------------------------------------------------------
SEARCH TITLE
--------------------------------------------------------------*/

.qm-contributor-search-title {
    text-align: center;
    margin-bottom: 25px;
}

.qm-contributor-search-title h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
}

.qm-contributor-search-title p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}


/*--------------------------------------------------------------
SEARCH ROW
--------------------------------------------------------------*/

.qm-contributor-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: end;
}


/*--------------------------------------------------------------
SEARCH GROUP
--------------------------------------------------------------*/

.qm-contributor-search-group {
    width: 100%;
}

.qm-contributor-search-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
}


/*--------------------------------------------------------------
COUNTRY / CITY SELECT
--------------------------------------------------------------*/

.qm-contributor-search-group select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    background: #ffffff;
    font-size: 15px;
    cursor: pointer;
    box-sizing: border-box;
}


/*--------------------------------------------------------------
CITY + SEARCH
--------------------------------------------------------------*/

.qm-contributor-city-search {
    display: flex;
    gap: 10px;
    width: 100%;
}

.qm-contributor-city-search select {
    flex: 1;
}


/*--------------------------------------------------------------
SEARCH BUTTON
--------------------------------------------------------------*/

#qm-contributor-search-btn {
    min-height: 48px;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    background: #000e36;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

#qm-contributor-search-btn:hover {
    background: #e0a800;
    color: #ffffff;
}


/*--------------------------------------------------------------
TABLET
--------------------------------------------------------------*/

@media (max-width: 768px) {

    .qm-contributor-search {
        padding: 25px 20px;
    }

    .qm-contributor-search-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

}


/*--------------------------------------------------------------
MOBILE
--------------------------------------------------------------*/

@media (max-width: 480px) {

    .qm-contributor-search {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .qm-contributor-search-title h2 {
        font-size: 23px;
    }

    .qm-contributor-search-title p {
        font-size: 14px;
    }

    .qm-contributor-city-search {
        flex-direction: column;
    }

    #qm-contributor-search-btn {
        width: 100%;
    }

}
