/*
Theme Name: JNews
Version: 12.0.13
Theme URI: http://themeforest.net
Description: JNews
Author: Jegtheme
Author URI: http://jegtheme.com/
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:  custom-background,custom-colors, custom-menu, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: jnews
*/


/* ========================================================
   QUINCY CITY BEAT CUSTOM HEADER & MOBILE SIZING
   ======================================================== */

/* Desktop Header Breathing Room & Height */
.jeg_midbar.jeg_navbar_wrapper {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}
.jeg_midbar .jeg_logo img.jeg_logo_img {
    max-height: 68px !important;
    width: auto !important;
}

/* Mobile Navbar Logo Clean Sizing & Alignment (Prevents Right Side Overflow) */
@media only screen and (max-width: 1024px) {
    .jeg_navbar_mobile .jeg_mobile_logo img.jeg_logo_img {
        max-width: 175px !important;
        height: auto !important;
        max-height: 48px !important;
        object-fit: contain !important;
        display: inline-block !important;
        margin: 0 auto !important;
    }
    .jeg_navbar_mobile .jeg_nav_col.jeg_nav_center {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}





/* Hide Old African Social Media Links */
.socials_widget,
.jeg_social_icon_block {
    display: none !important;
}
\n
/* ========================================================
   BOB NIGHTINGALE: FIXED STICKY HEADER & LOGO
   ======================================================== */
.jeg_header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}
.admin-bar .jeg_header {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    .admin-bar .jeg_header {
        top: 46px !important;
    }
}


/* =========================================================
   QCB NEWSPAPER FORMS & DIRECTORY CSS (PIXEL-PERFECT VERTICAL ALIGNMENT)
   ========================================================= */
.qcb-simple-page {
    max-width: 860px;
    margin: 0 auto 50px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
}

.qcb-page-intro {
    background: #f8fafc;
    border-left: 4px solid #f59e0b;
    padding: 18px 24px;
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    border-radius: 0 4px 4px 0;
    margin-bottom: 28px;
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.qcb-clean-form-wrap {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-top: 4px solid #001a3a;
    border-radius: 4px;
    padding: 32px 36px 36px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.qcb-form-title {
    font-size: 20px;
    font-weight: 800;
    color: #001a3a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.qcb-form-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
}

.qcb-clean-form-wrap .qcb-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qcb-clean-form-wrap .qcb-form-row {
    display: flex;
    gap: 18px;
    width: 100%;
}

.qcb-clean-form-wrap .qcb-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.qcb-clean-form-wrap .qcb-field.full-width {
    width: 100%;
}

.qcb-clean-form-wrap label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #001a3a !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* TEXT INPUTS */
.qcb-clean-form-wrap input[type="text"],
.qcb-clean-form-wrap input[type="email"],
.qcb-clean-form-wrap input[type="tel"],
input.qcb-ctrl {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    line-height: normal !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    margin: 0 !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.qcb-clean-form-wrap input:focus {
    border-color: #001a3a !important;
    box-shadow: 0 0 0 3px rgba(0, 26, 58, 0.12) !important;
}

/* SELECT DROPDOWN: 100% VERTICALLY CENTERED */
.qcb-clean-form-wrap select,
.qcb-form-wrap select,
select.qcb-ctrl,
.wpcf7-select {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    line-height: normal !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 14px !important;
    padding-right: 30px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    margin: 0 !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.qcb-clean-form-wrap select:focus {
    border-color: #001a3a !important;
    box-shadow: 0 0 0 3px rgba(0, 26, 58, 0.12) !important;
}

/* TEXTAREA */
.qcb-clean-form-wrap textarea,
.qcb-form-wrap textarea {
    height: auto !important;
    min-height: 110px !important;
    line-height: 1.6 !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    font-family: inherit !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    width: 100% !important;
    outline: none !important;
    margin: 0 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.qcb-clean-form-wrap textarea:focus {
    border-color: #001a3a !important;
    box-shadow: 0 0 0 3px rgba(0, 26, 58, 0.12) !important;
}

/* SUBMIT BUTTON: 100% ABSOLUTE VERTICAL CENTERING ACROSS BROWSERS */
.qcb-clean-form-wrap input[type="submit"],
.qcb-clean-form-wrap .wpcf7-submit,
input.qcb-submit-btn,
.qcb-submit-btn {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    line-height: 1 !important;
    padding-top: 17px !important;
    padding-bottom: 15px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin: 10px 0 0 0 !important;
    background: #001a3a !important;
    color: #f59e0b !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    font-family: inherit !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    text-align: center !important;
    vertical-align: middle !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}
.qcb-clean-form-wrap input[type="submit"]:hover,
.qcb-clean-form-wrap .wpcf7-submit:hover,
.qcb-submit-btn:hover {
    background: #001026 !important;
    color: #ffffff !important;
}

/* CF7 RESPONSE */
.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 16px 20px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-align: center !important;
}
.wpcf7 form.sent .wpcf7-response-output {
    background: #ecfdf5 !important;
    border: 2px solid #10b981 !important;
    color: #065f46 !important;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: #fef2f2 !important;
    border: 2px solid #ef4444 !important;
    color: #991b1b !important;
}

/* FOOTER DESK */
.qcb-clean-footer {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
    margin-top: 24px;
    line-height: 1.6;
}
