/* =========================================================
   QC CHORDBUSTERS — PAGE BACKGROUND
   ========================================================= */

/* Soft branded background behind the header and slideshow */
body,
.t4-wrapper,
.t4-content,
#t4-content {
    background: linear-gradient(
        180deg,
        #eef4fb 0%,
        #f7f9fc 48%,
        #ffffff 100%
    ) !important;
}

/* Slightly stronger header color */
#t4-header,
.t4-header {
    background: rgba(232, 241, 250, 0.96) !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 10px rgba(20, 60, 105, 0.12);
}

/* =========================================================
   QC CHORDBUSTERS — CLEAN HEADER
   ========================================================= */

#t4-header .container,
#t4-header .container-fluid,
.t4-header .container,
.t4-header .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 92px !important;
    gap: 30px !important;
}

/* Logo */

#t4-header .navbar-brand,
#t4-header .logo,
#t4-header .logo-image,
.t4-header .navbar-brand,
.t4-header .logo,
.t4-header .logo-image {
    display: block !important;
    flex: 0 0 auto !important;
    margin: 0 30px 0 0 !important;
    padding: 0 !important;
}

#t4-header .navbar-brand img,
#t4-header .logo img,
#t4-header .logo-image img,
#t4-header .site-logo img,
.t4-header .navbar-brand img,
.t4-header .logo img,
.t4-header .logo-image img,
.t4-header .site-logo img {
    width: 245px !important;
    max-width: 245px !important;
    height: auto !important;
    max-height: 100px !important;
}

/* Navigation */

#t4-header .navbar,
.t4-header .navbar {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-height: auto !important;
}

#t4-header .navbar-nav,
.t4-header .navbar-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
}

#t4-header .navbar-nav > li,
.t4-header .navbar-nav > li {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

#t4-header .navbar-nav > li > a,
.t4-header .navbar-nav > li > a {
    padding: 12px 13px !important;
    white-space: nowrap !important;
}

/* =========================================================
   HOMEPAGE SLIDESHOW
   Centered, proportional, with a finished frame
   ========================================================= */

#t4-section-1 {
    position: relative !important;
    width: 100% !important;
    max-width: 1450px !important;
    margin: 0 auto !important;
    padding: 18px 20px 28px !important;
    background: transparent !important;
}

#djslider-loader135,
#djslider135,
#slider-container135 {
    width: 100% !important;
    max-width: 1450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Preserve every photograph's original proportions */

#slider135 img.dj-image {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Subtle edge around the slideshow */
#djslider135 {
    box-shadow: 0 8px 24px rgba(16, 50, 88, 0.18);
    background: #152a45 !important;
}

/* Keep the regular article/content area white */
#t4-main-body,
.t4-main-body,
main .item-page,
.com-content-article {
    background: #ffffff !important;
}

/* =========================================================
   TABLET AND MOBILE
   ========================================================= */

@media (max-width: 991px) {
    #t4-header .container,
    #t4-header .container-fluid,
    .t4-header .container,
    .t4-header .container-fluid {
        min-height: 72px !important;
        gap: 12px !important;
    }

    #t4-header .navbar-brand img,
    #t4-header .logo img,
    #t4-header .logo-image img,
    #t4-header .site-logo img,
    .t4-header .navbar-brand img,
    .t4-header .logo img,
    .t4-header .logo-image img,
    .t4-header .site-logo img {
        width: 180px !important;
        max-width: 180px !important;
        max-height: 78px !important;
    }

    #t4-header .navbar-nav,
    .t4-header .navbar-nav {
        flex-wrap: wrap !important;
    }

    #t4-section-1 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 8px 18px !important;
    }

    #djslider-loader135,
    #djslider135,
    #slider-container135 {
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* =========================================================
   QC CHORDBUSTERS HOME PAGE CARDS
   ========================================================= */

.qcc-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;

    width: calc(100vw - 80px);
    max-width: 1600px;

    position: relative;
    left: 50%;
    transform: translateX(-50%);

    margin: 40px 0 30px;
    padding: 0 24px;
    align-items: stretch;
}

.qcc-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(20, 60, 105, 0.12);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.qcc-card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: contain;
    margin: 0 auto 20px;
    border-radius: 8px;
    background: #f6f9fc;
}

.qcc-card h2 {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.2;
    color: #173a67;
    text-align: left;
}

.qcc-card p {
    margin: 0 0 16px;
    line-height: 1.65;
    font-size: 17px;
    text-align: left;
}

.qcc-card p:last-child {
    margin-top: auto;
    margin-bottom: 0;
}

.qcc-button {
    display: inline-block;
    padding: 11px 22px;
    background: #164b9b;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.qcc-button:hover,
.qcc-button:focus {
    background: #103b7d;
    transform: translateY(-1px);
}

/* =========================================================
   BARBERSHOP EVENTS & RESOURCES
   ========================================================= */

.qcc-events {
    max-width: 1380px;
    margin: 10px auto 50px;
    padding: 36px 28px;
    text-align: center;
    background: #edf4fb;
    border-radius: 12px;
}

.qcc-events h2 {
    margin: 0 0 16px;
    color: #173a67;
}

.qcc-events-intro {
    max-width: 760px;
    margin: 0 auto 32px;
    font-size: 18px;
    line-height: 1.7;
    color: #4d6076;
}

.qcc-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.qcc-event-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(20, 60, 105, 0.10);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.qcc-event-card h3 {
    margin: 0 0 14px;
    color: #173a67;
    font-size: 26px;
    line-height: 1.25;
}

.qcc-event-card p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.65;
}

.qcc-event-card a {
    display: inline-block;
    margin-top: auto;
    padding: 10px 16px;
    background: #164b9b;
    border-radius: 6px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
}

.qcc-event-card a:hover,
.qcc-event-card a:focus {
    background: #103b7d;
}

@media (max-width: 991px) {
    .qcc-events-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESPONSIVE HOME PAGE
   ========================================================= */

@media (max-width: 991px) {
    .qcc-home-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 24px;
        padding: 0 14px;
    }

    .qcc-card img {
        height: auto;
        max-height: 320px;
    }

    .qcc-events {
        margin: 10px 14px 35px;
        padding: 24px 16px;
    }
}
/* Hide the unused black off-canvas hamburger on mobile */
@media (max-width: 991px) {
    .t4-offcanvas-toggle {
        display: none !important;
    }
}
/* =========================================================
   TOP UTILITY BAR + FACEBOOK
   ========================================================= */

#t4-topbar {
    max-width: 1450px !important;
    margin: 0 auto !important;
    background: #164b9b !important;
}

#t4-topbar .t4-section-inner,
#t4-topbar .container {
    max-width: 100% !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
}

#t4-topbar .topbar-wrap {
    position: relative !important;
    min-height: 38px !important;
    background: #164b9b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}
/* Real clickable Facebook link */

.qcc-follow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.qcc-follow a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.qcc-facebook-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    border-radius: 50%;

    background: #ffffff;
    color: #164b9b;

    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.qcc-follow a:hover .qcc-facebook-icon,
.qcc-follow a:focus .qcc-facebook-icon {
    opacity: 0.82;
}
/* ==========================================
   REMOVE LIGHT/DARK TOGGLE
   ========================================== */

.ja-dark-mode,
.mode-light,
.mode-dark,
.dark-mode-status {
    display: none !important;
}