/* Mobile Responsive Fixes for Emblaze Website */

/* Basic responsive foundation */
* {
    box-sizing: border-box;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    /* Fix white gap in testimonials section */
    .row.bg-white {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .row.padding-top.padding-bottom {
        background-color: #001A29 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .testemonials-header-container {
        background-color: #001A29 !important;
        margin-top: 0 !important;
        padding: 1rem 2rem 3rem 2rem !important;
        text-align: center !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
    
    .testemonials-header-title {
        font-size: 2.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .testemonials-header-text {
        font-size: 1.4rem !important;
        line-height: 1.6 !important;
        margin-bottom: 3rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 1rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Add space after the last paragraph and before testimonials */
    .testemonials-header-text:last-of-type {
        margin-bottom: 4rem !important;
    }
    
    /* Move testimonials container down */
    .testemonies-slider-container {
        background-color: #001A29 !important;
        margin-top: 2rem !important;
        padding-top: 2rem !important;
    }
    
    .testemonies-slider-container {
        background-color: #001A29 !important;
    }
    
    /* Ensure testimonials slider works properly on mobile */
    .testemonies-slider {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    .testemonies-slider li {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .testemonies-slider-content-div {
        margin: 0 auto !important;
        max-width: 90% !important;
        width: 90% !important;
        box-sizing: border-box !important;
    }
    
    /* Increase max-width for testimonial text 7 on mobile */
    .testemonial-text-7 {
        max-width: 95% !important;
    }
    
    /* Fix Pressure-Test Your Strategies section text overflow */
    .join-community-section {
        padding: 0 1rem !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .join-community-section-wrapper {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .join-community-section-upper-text-header {
        font-size: 2.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box !important;
    }
    
    .join-community-section-upper-text-header-secondary {
        font-size: 1.6rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box !important;
    }
    
    .join-community-section-upper-text-text {
        font-size: 1.4rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box !important;
    }
    
    /* Fix banner graphic visibility on mobile */
    .banner-slider-content-container {
        background-position: 70% 30% !important;
        background-size: 220px auto !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
        overflow: visible !important;
        min-height: 200px !important;
        position: relative !important;
    }
    
    /* Force banner graphic to be visible - try different approach */
    .banner-slider-content-container[style*="banner-slider-1"] {
        background-image: url('/img/home/banner-slider-1.png') !important;
        background-position: 70% 30% !important;
        background-size: 220px auto !important;
    }
    
    .banner-slider-content-container[style*="banner-slider-2"] {
        background-image: url('/img/home/banner-slider-2.png') !important;
        background-position: 70% 30% !important;
        background-size: 220px auto !important;
    }
    
    .banner-slider-content-container[style*="banner-slider-3"] {
        background-image: url('/img/home/banner-slider-3.png') !important;
        background-position: 70% 30% !important;
        background-size: 220px auto !important;
    }
    

    
    /* Ensure banner container allows graphics to show */
    .banner-slider-container {
        overflow: visible !important;
    }
    
    .banner-slider {
        overflow: visible !important;
    }
    
    /* Fix testimonial customer text positioning to be inline with red border */
    .testemonial-customer-1, .testemonial-customer-2, .testemonial-customer-3, .testemonial-customer-4, .testemonial-customer-5, .testemonial-customer-6, .testemonial-customer-7, .testemonial-customer-8 {
        transform: translateY(-20px) !important;
        right: 0px !important;
    }
    
    /* Specific fix for first testimonial name only */
    .testemonial-customer-1 {
        right: 0px !important;
        max-width: 120px !important;
        line-height: 1.2rem !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }
    
    /* Typography scaling */
    h1 {
        font-size: 2.4rem;
        line-height: 2.6rem;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 2.2rem;
    }
    
    h3 {
        font-size: 1.8rem;
        line-height: 2rem;
    }
    
    h4 {
        font-size: 1.6rem;
        line-height: 1.8rem;
    }
    
    p {
        font-size: 1.4rem;
        line-height: 1.8rem;
    }
    
    /* Button adjustments */
    .btn-emblaze {
        padding: 8px 30px;
        font-size: 1.4rem;
    }
    
    /* Container adjustments */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* FIX FOR WHO SHOULD JOIN SECTION - Remove large left margin */
    .who-should-join-section,
    .who-should-join-container,
    .who-should-join-header,
    .who-should-join-intro,
    .who-should-join-item,
    .who-should-join-item p,
    .who-should-join-motivation,
    .why-should-join-intro,
    .why-should-join-text,
    .why-should-join-roles {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Remove any inline styles with large margins */
    [style*="margin-left: 20rem"],
    [style*="margin-left: 12rem"],
    [style*="margin-left: 8rem"],
    [style*="margin-left: 6rem"],
    [style*="margin-left: 5rem"],
    [style*="margin-left: 4rem"],
    [style*="margin-left: 3rem"],
    [style*="margin-left: 2rem"] {
        margin-left: 0 !important;
    }
    
    /* CRITICAL: Override specific why-join.css rules with 20rem margins */
    .why-should-join-intro {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .why-should-join-text {
        margin: 2rem 0 6.9rem 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .why-should-join-roles {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        gap: 2rem 0 !important;
    }
    
    /* FIX FOR LEAD REVENUE SECTION - Center content and prevent left cutoff */
    .why-join-become-a-member {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 3rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .why-join-become-a-member-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 3rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .why-join-become-a-member-left {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 2rem !important;
    }
    
    .why-join-become-a-member-left-text {
        margin-right: 0 !important;
        margin-left: 0 !important;
        text-align: center !important;
        font-size: 2.4rem !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .why-join-become-a-member-right {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
    }
    
    .why-join-become-a-member-right-header {
        text-align: center !important;
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .why-join-become-a-member-right-text {
        text-align: center !important;
        font-size: 1.4rem !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* AGGRESSIVE OVERRIDE FOR -50px MARGIN ISSUE */
    [style*="margin-left: -50px"],
    [style*="margin-left:-50px"] {
        margin-left: 0 !important;
    }
    
    /* FORCE ALL ELEMENTS IN LEAD REVENUE SECTION TO USE FULL WIDTH */
    .why-join-become-a-member,
    .why-join-become-a-member *,
    .why-join-become-a-member-wrapper,
    .why-join-become-a-member-wrapper *,
    .why-join-become-a-member-left,
    .why-join-become-a-member-left *,
    .why-join-become-a-member-right,
    .why-join-become-a-member-right * {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: visible !important;
    }
    
    /* SPECIFIC OVERRIDE FOR THE -50px MARGIN */
    .why-join-become-a-member[style*="margin-left: -50px"],
    .why-join-become-a-member[style*="margin-left:-50px"] {
        margin-left: 0 !important;
    }
    
    /* DIRECT OVERRIDE FOR WHY-JOIN.CSS -50px MARGIN RULE */
    .why-join-become-a-member {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 2rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: visible !important;
    }
    
    /* ULTRA AGGRESSIVE OVERRIDE - HIGHER SPECIFICITY */
    body .why-join-become-a-member,
    html .why-join-become-a-member,
    .container .why-join-become-a-member,
    .row .why-join-become-a-member {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 2rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: visible !important;
    }
    
    /* FORCE REMOVE ANY NEGATIVE MARGINS */
    *[class*="why-join-become-a-member"] {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* CENTER ALIGN THE BUTTON */
    #why-join-become-a-member-button {
        margin: 0 auto !important;
        display: block !important;
        width: max-content !important;
        text-align: center !important;
        font-size: 1.4rem !important;
        padding: 1rem 2rem !important;
        border-radius: 25px !important;
    }
    
    /* REDUCE SECTION PADDING */
    .why-join-become-a-member-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    /* REMOVE CONTAINER-FLUID PADDING */
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* FIX WHY-JOIN HEADER IMAGE VISIBILITY */
    .why-join-ignite {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .why-join-ignite-img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: cover !important;
        position: relative !important;
        z-index: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* REMOVE FIXED HEIGHT AND MAKE ROW FIT IMAGE */
    .row.why-join-ignite {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    
    /* HIDE THE VERSION WITHOUT WORDS ON MOBILE */
    .why-join-ignite-without-words {
        display: none !important;
    }
    
    /* FIX WHY JOIN EMBLAZE SECTION - REMOVE -15px MARGINS */
    .why-join-emblaze {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 3rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .why-join-emblaze-text-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 2rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .why-join-emblaze-text {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* FIX LINE SPACING FOR "WHAT YOU GET WITH MEMBERSHIP" SECTION */
    .what-you-get-membership-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 3rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .what-you-get-membership-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .what-you-get-membership-header {
        font-size: 2.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 3rem !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        padding: 0 1rem !important;
    }
    
    .what-you-get-membership-items {
        flex-direction: column !important;
        gap: 3rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .what-you-get-membership-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 2rem !important;
    }
    
    .what-you-get-membership-item-header {
        font-family: Tahoma !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        font-stretch: condensed !important;
        line-height: 1.2 !important;
        letter-spacing: 0.17em !important;
        vertical-align: middle !important;
        margin-bottom: 2rem !important;
        text-align: left !important;
        text-transform: uppercase !important;
        text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .what-you-get-membership-list li {
        font-family: Tahoma !important;
        font-weight: 700 !important;
        font-size: 16px !important;
        line-height: 21px !important;
        letter-spacing: 0.05rem !important;
        vertical-align: middle !important;
        margin-bottom: 0.8rem !important;
        padding-left: 1.5rem !important;
        text-align: left !important;
        text-shadow: 0.5px 0 0 currentColor !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* FIX EMBLAZE MEMBERSHIP CARD LINE SPACING */
    .emblaize-membership-card,
    .membership-card,
    [class*="membership"] h1,
    [class*="membership"] h2,
    [class*="membership"] h3,
    [class*="membership"] h4,
    [class*="membership"] h5,
    [class*="membership"] h6 {
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    [class*="membership"] p {
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* VIMEO VIDEO STYLING - MATCH ORIGINAL IMAGE DIMENSIONS */
    .why-join-emblaze-text iframe {
        width: 90% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
        border-radius: 24px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
        border: 1px solid #e0e0e0 !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Hide Vimeo title elements */
    .why-join-emblaze-text iframe[src*="vimeo"] {
        position: relative !important;
    }
    
    /* Attempt to hide any title elements that might appear */
    .why-join-emblaze-text iframe::before,
    .why-join-emblaze-text iframe::after {
        display: none !important;
    }
    
    /* RESPONSIVE VIMEO VIDEO STYLING FOR MOBILE */
    @media (max-width: 768px) {
        .why-join-emblaze-text iframe {
            width: 100% !important;
            height: auto !important;
            aspect-ratio: 16/9 !important;
            border-radius: 16px !important;
            margin: 0 auto !important;
        }
    }
    
    @media (max-width: 480px) {
        .why-join-emblaze-text iframe {
            width: 100% !important;
            height: auto !important;
            aspect-ratio: 16/9 !important;
            border-radius: 12px !important;
            margin: 0 auto !important;
        }
    }
    
    /* Fix for Executive Forums page */
    .info-container {
        flex-direction: column !important;
        padding: 0 20px !important;
    }
    
    .info-left, .info-right {
        width: 100% !important;
        padding: 0 20px !important;
        margin-bottom: 40px !important;
    }
    
    .info-divider {
        display: none !important;
    }
    
    .executive-forums-header-content {
        max-width: 100% !important;
        padding: 0 20px !important;
    }
    
    .executive-forums-header {
        font-size: 28px !important;
        padding: 40px 20px 20px !important;
    }
    
    .cta-banner-container p {
        font-size: 24px !important;
        padding: 0 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }
    
    /* Ensure training page video is visible */
    .ebook-iframe iframe {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        height: 200px !important;
        margin: 0 !important;
    }
    
    .companies-logos {
        gap: 30px !important;
    }
    
    .company-logo img {
        max-width: 120px !important;
        max-height: 60px !important;
    }
    
    /* Fix for Training page */
    .ebook-link-section {
        flex-direction: column !important;
        padding: 2rem !important;
    }
    
    .ebook-link-left {
        margin-right: 0 !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
    }
    
    .ebook-link-title {
        font-size: 2.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .ebook-link-paragraph {
        font-size: 1.4rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .ebook-link-right {
        width: 100% !important;
    }
    
    .ebook-iframe {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .ebook-iframe iframe {
        width: 100% !important;
        height: 200px !important;
    }
    
    /* Blue section fixes */
    .blue-section {
        padding: 2rem !important;
        flex-direction: column !important;
    }
    
    .blue-section-title {
        font-size: 2rem !important;
        line-height: 1.4 !important;
        padding-left: 0 !important;
        margin-bottom: 2rem !important;
        order: 2 !important;
    }
    
    .blue-section-vertical-line {
        margin: 2rem 0 !important;
        width: 100% !important;
        height: 2px !important;
        order: 3 !important;
    }
    
    .blue-section-text {
        width: 100% !important;
        font-size: 1.4rem !important;
        line-height: 1.6 !important;
        order: 1 !important;
        margin-bottom: 2rem !important;
        text-align: left !important;
    }
    
    /* Team performance section fixes */
    .team-performance-section {
        padding: 2rem !important;
    }
    
    .team-performance-title {
        font-size: 2.4rem !important;
        margin-bottom: 3rem !important;
    }
    
    .team-performance-lists {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .team-performance-lists > div {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .training-lists-title {
        min-height: auto !important;
        margin-bottom: 1rem !important;
    }
    
    .training-lists-title h3 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .team-performance-lists ul {
        margin-top: 1rem !important;
    }
    
    .team-performance-lists li {
        font-size: 1.4rem !important;
        line-height: 1.5 !important;
        margin: 0.5rem 0 !important;
    }
    
    /* Revenue management section fixes */
    .revenue-management-section {
        padding: 2rem !important;
    }
    
    .revenue-management-title {
        font-size: 2.4rem !important;
        margin-bottom: 3rem !important;
    }
    
    /* Sales rep section fixes */
    .sales-rep-section {
        padding: 3rem 2rem !important;
    }
    
    .sales-rep-title-and-text-div {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        margin: 0 auto !important;
        max-width: 100% !important;
    }
    
    .sales-rep-title {
        font-size: 2.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
    }
    
    .sales-rep-main-text {
        font-size: 1.6rem !important;
        line-height: 1.5 !important;
        margin-bottom: 3rem !important;
        text-align: center !important;
    }
    
    .sales-rep-cta-div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .btn-emblaze-red {
        width: 100% !important;
        max-width: 250px !important;
        text-align: center !important;
    }
    
    /* Fix sponsor section spacing and logo visibility */
    .sponsor-section {
        padding: 40px 0 !important;
    }
    
    .sponsor-container {
        padding: 0 20px !important;
    }
    
    .sponsor-container h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 30px !important;
        padding: 0 10px !important;
    }
    
    .sponsor-container p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-bottom: 30px !important;
        padding: 0 10px !important;
    }
    
    .sponsor-logo {
        margin-top: 20px !important;
        padding: 0 20px !important;
    }
    
    .sponsor-logo img {
        max-width: 300px !important;
        max-height: 150px !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Fix CTA banner spacing */
    .cta-banner-section {
        padding: 30px 0 !important;
        margin-bottom: 0 !important;
    }
    
    .join-emblaze-header {
        padding: 15px 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Fix for training page elements */
    .ebook-link-title {
        margin: 0 0 1.5rem 0 !important;
    }
    
    .ebook-link-paragraph {
        margin-left: 0 !important;
    }
    
    .ebook-link-text {
        margin-left: 0 !important;
    }
    
    .blue-section-title {
        margin-right: 0 !important;
    }
    
    .blue-section-vertical-line {
        margin-right: 0 !important;
    }
    
    /* Fix for why-join page elements */
    .get-inside-buyers-brain-section-header-text {
        width: 100% !important;
    }
    
    .why-join-emblaze-membership-text-wrapper {
        margin: 0 1rem !important;
    }
    
    .why-join-emblaze-bottom-text {
        padding: 0 1rem !important;
    }
    
    /* Fix for why-join-emblaze responsive layout */
    .why-join-emblaze-text-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        padding: 2rem 1rem !important;
    }
    
    .why-join-emblaze-text:nth-of-type(1) {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 2rem !important;
    }
    
    .why-join-emblaze-text:nth-of-type(2) {
        max-width: 100% !important;
        margin-right: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .why-join-emblaze-text img {
        width: 80% !important;
        max-width: 400px !important;
        height: auto !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        line-height: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
        line-height: 2rem;
    }
    
    h3 {
        font-size: 1.6rem;
        line-height: 1.8rem;
    }
    
    h4 {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }
    
    p {
        font-size: 1.3rem;
        line-height: 1.7rem;
    }
    
    .btn-emblaze {
        padding: 6px 20px;
        font-size: 1.3rem;
    }
    
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Testimonials header section fixes for very small screens */
    .testemonials-header-container {
        padding: 0.75rem 1rem 2rem 1rem !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
    
    .testemonials-header-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .testemonials-header-text {
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2.5rem !important;
        padding: 0 0.5rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Add space after the last paragraph and before testimonials for small screens */
    .testemonials-header-text:last-of-type {
        margin-bottom: 3rem !important;
    }
    
    /* Move testimonials container down for small screens */
    .testemonies-slider-container {
        margin-top: 1.5rem !important;
        padding-top: 1.5rem !important;
    }
    
    /* Fix testimonial text width for very small screens */
    @media (max-width: 450px) {
        .testemonial-text-5 {
            max-width: 300px !important;
        }
        
        .testemonial-text-7 {
            max-width: 300px !important;
        }
    }
    
    /* Fix spacing in "Understand How Buyers Think" section */
    .unlock-potential-wrapper h4,
    .unlock-potential-wrapper h1,
    .unlock-potential-wrapper h2,
    .unlock-potential-wrapper h3 {
        margin-bottom: 1rem !important;
        line-height: 1.3 !important;
    }
    
    .unlock-potential-wrapper p {
        margin-bottom: 1rem !important;
        line-height: 1.5 !important;
    }
    
    .unlock-potential-wrapper ul {
        margin-top: 0.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .unlock-potential-wrapper li {
        margin-bottom: 0.5rem !important;
        line-height: 1.4 !important;
    }
    
    /* Fix Pressure-Test Your Strategies section text overflow for small screens */
    .join-community-section {
        padding: 0 0.5rem !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .join-community-section-wrapper {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .join-community-section-upper-text-header {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box !important;
    }
    
    .join-community-section-upper-text-header-secondary {
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box !important;
    }
    
    .join-community-section-upper-text-text {
        font-size: 1.2rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box !important;
    }
    
    /* Fix spacing in "Understand How Buyers Think" section for small screens */
    .unlock-potential-wrapper h4,
    .unlock-potential-wrapper h1,
    .unlock-potential-wrapper h2,
    .unlock-potential-wrapper h3 {
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    .unlock-potential-wrapper p {
        margin-bottom: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    .unlock-potential-wrapper ul {
        margin-top: 0.25rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .unlock-potential-wrapper li {
        margin-bottom: 0.25rem !important;
        line-height: 1.3 !important;
    }
    
    /* ADDITIONAL FIXES FOR SMALL SCREENS */
    .who-should-join-container {
        padding: 0 0.5rem !important;
    }
    
    .who-should-join-header {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .who-should-join-intro {
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
    }
    
    .who-should-join-item p {
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
    }
    
    .who-should-join-motivation {
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
    }
    
    /* Additional fixes for very small screens */
    .executive-forums-header {
        font-size: 24px !important;
        padding: 30px 15px 15px !important;
    }
    
    .cta-banner-container p {
        font-size: 20px !important;
        padding: 0 15px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .info-left h3, .info-right h3 {
        font-size: 2.4rem !important;
    }
    
    /* Sponsor section fixes for very small screens */
    .sponsor-section {
        padding: 30px 0 !important;
    }
    
    .sponsor-container h2 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        padding: 0 5px !important;
    }
    
    .sponsor-container p {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
        padding: 0 5px !important;
    }
    
    .sponsor-logo {
        margin-top: 15px !important;
        padding: 0 10px !important;
    }
    
    .sponsor-logo img {
        max-width: 250px !important;
        max-height: 120px !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* CTA banner fixes for very small screens */
    .cta-banner-section {
        padding: 25px 0 !important;
    }
    
    .join-emblaze-header {
        padding: 10px 0 !important;
    }
    
    /* Training page fixes for very small screens */
    .ebook-link-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    .ebook-link-paragraph {
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
    }
    
    .blue-section-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .blue-section-text {
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
    }
    
    .team-performance-title,
    .revenue-management-title {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .training-lists-title h3 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    
    .team-performance-lists li {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
    }
    
    .sales-rep-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    .sales-rep-main-text {
        font-size: 1.4rem !important;
        line-height: 1.5 !important;
    }
    
    .ebook-iframe iframe {
        height: 180px !important;
    }
    
    /* Fix for Partnership page */
    .sponsorship-top-section {
        padding: 2rem !important;
    }
    
    .sponsorship-top-section h1 {
        font-size: 2.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .sponsorship-top-section p {
        font-size: 1.6rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
    }
    
    .btn-emblaze-red {
        font-size: 1.3rem !important;
        padding: 10px 20px !important;
        border-radius: 20px !important;
    }
    
    /* Partner logos grid fixes */
    [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        row-gap: 1.5rem !important;
        padding: 0 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    [style*="grid-template-columns: repeat(4, 1fr)"][style*="gap: 8rem"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Force all grid containers to fit width */
    [style*="display: grid"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    /* Partner logo images */
    [style*="max-height: 60px"],
    [style*="max-height: 50px"],
    [style*="max-height: 40px"],
    [style*="max-height: 35px"],
    [style*="max-height: 30px"],
    [style*="max-height: 80px"] {
        max-height: 35px !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    /* Force all images in grid to fit */
    [style*="display: grid"] img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    /* Section padding fixes */
    [style*="padding: 8rem 2rem"],
    [style*="padding: 4rem 2rem"] {
        padding: 2rem 1rem !important;
    }
    
    /* Text sizing fixes */
    [style*="font-size: 36px"] {
        font-size: 2.4rem !important;
        line-height: 1.3 !important;
    }
    
    [style*="font-size: 18px"] {
        font-size: 1.6rem !important;
        line-height: 1.5 !important;
    }
    
    [style*="font-size: 16px"] {
        font-size: 1.4rem !important;
        line-height: 1.5 !important;
    }
    
    [style*="font-size: 20px"] {
        font-size: 1.8rem !important;
        line-height: 1.4 !important;
    }
    
    /* Flex layout fixes */
    [style*="display: flex"][style*="gap: 4rem"] {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    [style*="display: flex"][style*="gap: 2rem"] {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    /* Margin fixes */
    [style*="margin-left: 4rem"],
    [style*="margin-right: 4rem"] {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
    
    [style*="margin-left: 180px"] {
        margin-left: 0 !important;
    }
    
    /* Max-width fixes */
    [style*="max-width: 1000px"],
    [style*="max-width: 920px"],
    [style*="max-width: 800px"] {
        max-width: 100% !important;
    }
    
    /* Additional fixes for very small screens */
    .blue-section-text {
        font-size: 1.2rem !important;
        line-height: 1.5 !important;
    }
    
    .blue-section-title {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    
    .sales-rep-section {
        padding: 2rem 1rem !important;
    }
    
    .sales-rep-title-and-text-div {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .sales-rep-title {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .sales-rep-main-text {
        font-size: 1.3rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Partnership page fixes for very small screens */
    .sponsorship-top-section h1 {
        font-size: 2rem !important;
    }
    
    .sponsorship-top-section p {
        font-size: 1.4rem !important;
    }
    
    /* Fix for any remaining overflow issues */
    body, html {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    /* Fix for any inline styles causing overflow */
    [style*="width: 100vw"],
    [style*="width: 100%"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix for any absolute positioned elements */
    [style*="position: absolute"] {
        position: relative !important;
        left: auto !important;
        right: auto !important;
    }
    
    /* Fix for any fixed width elements */
    [style*="width: 1200px"],
    [style*="width: 1000px"],
    [style*="width: 800px"],
    [style*="width: 600px"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .btn-emblaze-red {
        font-size: 1.3rem !important;
        padding: 8px 16px !important;
    }
    
    /* Partner logos grid for very small screens */
    [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.25rem !important;
        row-gap: 1rem !important;
        padding: 0 0.5rem !important;
    }
    
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.25rem !important;
        padding: 0 0.5rem !important;
    }
    
    [style*="grid-template-columns: repeat(4, 1fr)"][style*="gap: 8rem"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 0.5rem !important;
    }
    
    /* Partner logo images for very small screens */
    [style*="max-height: 60px"],
    [style*="max-height: 50px"],
    [style*="max-height: 40px"],
    [style*="max-height: 35px"],
    [style*="max-height: 30px"],
    [style*="max-height: 80px"] {
        max-height: 25px !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    /* Force all images in grid to fit for very small screens */
    [style*="display: grid"] img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    /* Section padding for very small screens */
    [style*="padding: 8rem 2rem"],
    [style*="padding: 4rem 2rem"] {
        padding: 1.5rem 0.5rem !important;
    }
    
    /* Text sizing for very small screens */
    [style*="font-size: 36px"] {
        font-size: 2rem !important;
    }
    
    [style*="font-size: 18px"] {
        font-size: 1.4rem !important;
    }
    
    [style*="font-size: 16px"] {
        font-size: 1.3rem !important;
    }
    
    [style*="font-size: 20px"] {
        font-size: 1.6rem !important;
    }
}
