/* whatissilverira.us.com - comprehensive fix v2 */

/* ===== GLOBAL: max-width 1500px for content ===== */
.jmjk-container, .jmjk-wrapper, .jmjk-main .jmjk-container {
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 19px !important;
    padding-right: 23px !important;
}

/* ===== COMPANY TABLE: desktop logo width 170-230px ===== */
.jmjk-companies-table .jmjk-company-logo,
table.jmjk-companies-table img.jmjk-company-logo,
img.jmjk-company-logo,
.jmjk-td-company img {
    width: 200px !important;
    min-width: 170px !important;
    max-width: 230px !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: contain !important;
}

.jmjk-companies-table-wrapper {
    max-width: 1500px !important;
    margin: 0 auto !important;
}

/* Company cell must accommodate wider logos */
.jmjk-td-company {
    min-width: 250px !important;
}
.jmjk-company-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* ===== BUTTON TEXT CENTERING ===== */
.jmjk-action-buttons, .exq-cta-cell {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
}

.jmjk-action-buttons a, .exq-btn-cta, .exq-btn-review,
.jmjk-btn-review, .jmjk-btn-primary {
    text-align: center !important;
    display: inline-block !important;
    width: auto !important;
    min-width: 140px !important;
}

/* ===== HERO: compact ===== */
.jmjk-hero {
    padding: 17px 0 6px !important;
}
.jmjk-hero h1 {
    margin-bottom: 11px !important;
}

/* ===== Companies section: no gap after hero ===== */
.jmjk-companies-section,
section.jmjk-section.jmjk-companies-section {
    margin-top: 0 !important;
    padding-top: 5px !important;
    border-top: none !important;
}

/* ===== IMAGES IN ARTICLE: 30% width with text wrapping on desktop ===== */
.jmjk-article img:not([src*="kit"]):not([src*="logo"]):not([src*="avatar"]),
.jmjk-article .jmjk-section img:not([src*="kit"]):not([src*="logo"]):not([src*="avatar"]) {
    max-width: 30% !important;
    height: auto !important;
    border-radius: 9px !important;
    margin: 8px !important;
    box-shadow: 0 1px 15px rgba(0,0,0,0.08) !important;
}
.jmjk-article img:nth-of-type(odd):not([src*="kit"]):not([src*="logo"]) {
    float: left !important;
    margin-right: 17px !important;
    margin-left: 0 !important;
}
.jmjk-article img:nth-of-type(even):not([src*="kit"]):not([src*="logo"]) {
    float: right !important;
    margin-left: 22px !important;
    margin-right: 0 !important;
}
.jmjk-article section::after, .jmjk-article .jmjk-section::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}
/* Don't float kit banners */
.kit-banner-block img, .jmjk-banner-block img, .kit-banner-block a img {
    float: none !important;
    max-width: 100% !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    display: block !important;
}

/* ===== FAQ: compact height, single indicator ===== */
.jmjk-faq-item {
    margin-bottom: 11px !important;
}
.jmjk-faq-question {
    padding: 12px 19px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}
.jmjk-faq-answer {
    font-size: 13px !important;
}
.jmjk-faq-answer p {
    margin: 0 !important;
    padding: 0 !important;
}
/* Remove double indicator - keep only + */
.jmjk-faq-question .faq-arrow,
.jmjk-faq-question .faq-icon {
    display: none !important;
}
[class*="-faq"], #faq, [id="faq"] {
    max-width: 900px !important;
    padding: 0 1rem !important;
}
.jmjk-faq-section {
    max-width: 900px !important;
    margin: 32px auto !important;
    padding: 23px !important;
}

/* ===== REVIEW PAGE: company logos with semi-transparent white bg ===== */
.jmjk-review-header img,
.jmjk-review-page img[src*="logo"],
.jmjk-review-page .jmjk-review-header img {
    background: rgba(255,255,255,0.85) !important;
    padding: 12px 21px !important;
    border-radius: 10px !important;
    max-height: 100px !important;
    width: auto !important;
}

/* ===== BREADCRUMBS: don't overflow ===== */
.jmjk-breadcrumb {
    max-width: 1500px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    padding: 5px 22px !important;
    margin: 0 auto !important;
}

/* ===== BANNERS CENTERED ===== */
.kit-banner-block, .jmjk-banner-block {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ===== TABLE OF CONTENTS under companies table ===== */
.toc-box {
    max-width: 900px !important;
    margin: 20px auto !important;
}

/* ===== TESTIMONIALS ===== */
.jmjk-testimonial-card {
    text-align: left !important;
}
.jmjk-testimonials-section {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* ===== STICKY FOOTER ===== */
#stickyFoot {
    padding: 6px 15px !important;
}
#stickyFoot img {
    max-height: 40px !important;
    width: auto !important;
    min-width: 0 !important;
}

/* ===== Override design-overhaul logo constraints ===== */
img[class*="logo"] {
    min-height: 0 !important;
}

/* ================================================================ */
/* ===== MOBILE STYLES ===== */
/* ================================================================ */
@media (max-width: 768px) {
    /* Mobile card layout for companies table */
    .jmjk-companies-table,
    .jmjk-companies-table thead,
    .jmjk-companies-table tbody,
    .jmjk-companies-table tr,
    .jmjk-companies-table th,
    .jmjk-companies-table td {
        display: block !important;
        width: 100% !important;
    }
    .jmjk-companies-table thead {
        display: none !important;
    }
    .jmjk-companies-table tr.jmjk-company-row {
        background: #fff !important;
        border: 1px solid #eaefea !important;
        border-radius: 19px !important;
        padding: 24px 17px !important;
        margin-bottom: 14px !important;
        box-shadow: 0 1px 15px rgba(0,0,0,0.06) !important;
        text-align: center !important;
    }
    .jmjk-companies-table td {
        border: none !important;
        padding: 5px 0 !important;
        text-align: center !important;
    }
    /* Hide rank, BBB, features on mobile */
    .jmjk-td-rank, .jmjk-td-bbb, .jmjk-td-features {
        display: none !important;
    }
    /* Show label before value */
    .jmjk-td-minimum::before {
        content: "Min: " !important;
        font-weight: 600 !important;
        color: #6f5c69 !important;
    }
    /* Company logo centered, 45% width */
    .jmjk-companies-table .jmjk-company-logo,
    table.jmjk-companies-table img.jmjk-company-logo,
    img.jmjk-company-logo,
    .jmjk-td-company img {
        width: 45% !important;
        min-width: 120px !important;
        max-width: 200px !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto 10px !important;
        display: block !important;
    }
    .jmjk-company-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .jmjk-company-name {
        font-size: 18px !important;
        font-weight: 700 !important;
        margin-top: 5px !important;
    }
    .jmjk-company-badge {
        margin: 3px auto !important;
    }
    .jmjk-rating-box {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 11px !important;
    }
    .jmjk-td-rating {
        display: flex !important;
        justify-content: center !important;
    }
    .jmjk-action-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 7px !important;
        margin-top: 14px !important;
    }
    .jmjk-action-buttons a {
        width: 80% !important;
        max-width: 260px !important;
        padding: 14px 25px !important;
        font-size: 14px !important;
        text-align: center !important;
        border-radius: 9px !important;
    }

    /* Content padding */
    .jmjk-container, .jmjk-wrapper {
        padding-left: 15px !important;
        padding-right: 9px !important;
    }

    /* Images full width on mobile */
    .jmjk-article img,
    .jmjk-section img:not(.jmjk-company-logo):not(.jmjk-testimonial-avatar):not([src*="logo"]) {
        max-width: 100% !important;
        float: none !important;
        margin: 12px auto !important;
        display: block !important;
    }

    /* Center content */
    .jmjk-hero, .jmjk-section, .jmjk-article {
        text-align: center !important;
    }
    .jmjk-article p, .jmjk-article li, .jmjk-article ul {
        text-align: left !important;
    }

    /* FAQ on mobile */
    .jmjk-faq-section {
        padding: 15px !important;
        margin: 20px 9px !important;
    }
    .jmjk-faq-question {
        padding: 8px 13px !important;
        font-size: 17px !important;
    }

    /* Mobile nav centering */
    .jmjk-mobile-nav {
        text-align: center !important;
    }

    /* Breadcrumbs */
    .jmjk-breadcrumb {
        padding: 5px 14px !important;
        font-size: 15px !important;
    }

    /* Review page quick facts */
    .jmjk-quick-facts {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Review page logo */
    .jmjk-review-header img {
        max-height: 70px !important;
    }

    /* Testimonials */
    .jmjk-testimonials-carousel {
        overflow-x: auto !important;
    }

    /* H1 */
    h1 {
        font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
    }
}

@media (max-width: 480px) {
    .jmjk-companies-table .jmjk-company-logo,
    img.jmjk-company-logo,
    .jmjk-td-company img {
        width: 50% !important;
    }
    .jmjk-hero h1 {
        font-size: 1.3rem !important;
    }
}


/* ===== HEADER LAYOUT FIX (2026-07-21) ===== */
.jmjk-header {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
}

.jmjk-header-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 12px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}

.jmjk-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: #0f172a !important;
    flex-shrink: 0 !important;
    max-width: min(360px, 55vw) !important;
}

.jmjk-logo img {
    height: 40px !important;
    width: auto !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.jmjk-logo span {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.jmjk-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
}

.jmjk-nav-link,
.jmjk-nav a {
    color: #1e293b !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    padding: 8px 2px !important;
    border-bottom: 2px solid transparent !important;
    transition: color .15s ease, border-color .15s ease !important;
    display: inline-block !important;
}

.jmjk-nav-link:hover,
.jmjk-nav a:hover {
    color: #0f766e !important;
    border-bottom-color: #0f766e !important;
    text-decoration: none !important;
}

.jmjk-nav-link--active,
.jmjk-nav-link.active {
    color: #0f766e !important;
    border-bottom-color: #0f766e !important;
}

/* Hamburger: hidden on desktop */
.jmjk-menu-toggle {
    display: none !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    box-shadow: none !important;
}

.jmjk-menu-line {
    display: block !important;
    width: 22px !important;
    height: 2.5px !important;
    background: #1f2937 !important;
    border-radius: 2px !important;
    transition: transform .2s ease, opacity .2s ease !important;
}

.jmjk-menu-toggle.active .jmjk-menu-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg) !important;
}
.jmjk-menu-toggle.active .jmjk-menu-line:nth-child(2) {
    opacity: 0 !important;
}
.jmjk-menu-toggle.active .jmjk-menu-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg) !important;
}

/* Mobile drawer: hidden until .active */
.jmjk-mobile-nav {
    display: none !important;
    flex-direction: column !important;
    background: #fff !important;
    padding: 8px 24px 16px !important;
    border-top: 1px solid #e5e7eb !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.jmjk-mobile-nav.active {
    display: flex !important;
}

.jmjk-mobile-link {
    display: block !important;
    padding: 12px 0 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.jmjk-mobile-link:last-child {
    border-bottom: none !important;
}

.jmjk-mobile-link:hover {
    color: #0f766e !important;
}

/* Hero H1 contrast fix (dark title on dark gradient) */
.jmjk-hero h1 {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.25) !important;
}
.jmjk-hero .jmjk-lead,
.jmjk-hero > p {
    color: rgba(255,255,255,.9) !important;
}

@media (max-width: 768px) {
    .jmjk-header-container {
        padding: 10px 16px !important;
    }
    .jmjk-nav {
        display: none !important;
    }
    .jmjk-menu-toggle {
        display: flex !important;
    }
    .jmjk-logo span {
        font-size: 13px !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
    .jmjk-logo img {
        height: 34px !important;
    }
}


/* header reinforce space-between */
.jmjk-header .jmjk-header-container {
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1200px !important;
}
.jmjk-header .jmjk-logo { margin-right: auto !important; }
.jmjk-header .jmjk-nav { margin-left: auto !important; flex: 0 0 auto !important; }
