
        :root {
            --primary-blue: #171a51;
            --primary-red: #ff224a;
            --text-dark: #333333;
            --bg-light: #f8f9fa;
            --bg-green: #3ae3a0;
            --gray: #00000026;
            --border-color: #e2e8f0;
            --card-shadow: rgba(0,0,0,0.1);
            --card-hover-shadow: rgba(0,0,0,0.15);
            --transition: all 0.3s ease;
            --search-width: 300px;
        }

        * { box-sizing: border-box; }

        body {
            font-family: Helvetica Neue, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
            margin: 0;
            padding: 0;
        }

        .hero-section {
            background-color: white;
            padding: 60px 10%;
            display: flex;
            flex-wrap: wrap;
            gap: 200px;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0px 4px 20px rgba(0,0,0,0.05);
        }

        .hero-text { flex: 1; min-width: 300px; }
        .hero-text h1 { color: var(--primary-blue); font-size: 2.75rem; font-weight: bold; margin-bottom: 20px; line-height: 1.2; }
        .hero-text p { color: #555; font-size: 1.1rem; line-height: 1.6; margin-bottom: 25px; }

        /* Contact Form */

        html body div.hero-form-container form textarea {

            min-height: 80px !important;
            height: 80px;
            resize: vertical !important;
            display: block !important;
            overflow: auto !important;
        }
        .hero-form-container {
            flex: 0 1 450px;
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 1px solid var(--border-color);
        }

        body .hero-form-container form input,
        body .hero-form-container form select,
        body .hero-form-container form textarea {
            width: 100% !important;
            box-sizing: border-box !important;
            padding: 10px !important;
            margin: 2px 0 !important;
            border: 1px solid #ccc !important;
            border-radius: 4px !important;
        }

        body .hero-form-container form textarea {
            min-height: 80px;
            width: 100% !important;
            resize: vertical !important;
            overflow: auto;
        }

        body .hero-form-container form .submit-btn {
            padding: 10px !important;
            background-color: var(--primary-red) !important;
            color: white !important;
            border: none !important;
            border-radius: 35px !important;
            cursor: pointer !important;
        }

        body .hero-form-container form .submit-btn:hover {
            background-color: #0056b3 !important;
        }
        .form-heading-text h2 { color: var(--primary-blue) !important; font-size: 24px !important; text-align: center; margin-top: 0; margin-bottom:20px; }

        .contact-form {
            display: grid;
            grid-template-columns: 1fr 1fr; /* Two equal-width columns */
            column-gap: 15px;
            row-gap: 15px;
            align-items: start;
        }

        .contact-form input,
        .contact-form select,
        .contact-form textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 0.95rem;
            background-color: #fafafa;
        }

        .contact-form textarea,
        .submit-container {
            grid-column: span 2; /* Spans the textarea across both columns */
        }

        /* Ensure Company Name and State are on the same row */
        .contact-form input[type="text"]:nth-child(5) {
            grid-column: span 1; /* Span 1 column */
        }

        .contact-form select:nth-child(6) {
            grid-column: span 1; /* Span 1 column */
        }

        .submit-btn {
            background: var(--primary-red); color: white; padding: 14px 30px;
            font-weight: bold; font-size: 16px; width: auto; min-width: 180px;
            margin: 10px auto 0; display: block; border: none; border-radius: 30px;
            cursor: pointer; transition: var(--transition);
        }
        .submit-btn:hover { background: var(--primary-blue); transform: scale(1.05); }

        .image-section {
            width: 100%;
            margin-top: -160px; /* Push the image up to position it below the hero section */
            transform: translateY(-70px); /* Move the image down slightly to stick out below */
            position: relative;
            z-index: -1; /* Send it behind the hero section */
        }

        .image-section img {
            width: 120vw; /* Make the image 120% of the viewport width to extend off the edges */
            max-width: none; /* Remove the max-width restriction */
            height: auto;
            display: block;
            margin-left: -10vw; /* Pull the image 10% of the viewport width to the left */
            margin-right: -10vw; /* Pull the image 10% of the viewport width to the right */
        }

        .section-divider { height: 1px; margin: 60px 10%; }

        /* Toolbar */
        .toolbar { padding: 20px 10%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
        .toolbar-left { display: flex; align-items: center; gap: 20px; }
        .toolbar-left h2 { margin: 0; color: var(--primary-blue); font-size: 1.5rem; }

        .filter-toggle-btn {
            background: var(--primary-blue); color: white; padding: 10px 22px;
            border-radius: 35px; cursor: pointer; border: none;
            display: flex; align-items: center; gap: 10px; font-weight: 600;
            transition: var(--transition);
        }
        .filter-toggle-btn:hover { background: var(--bg-green); color: var(--primary-blue); }

        .filter-drawer { max-height: 0; overflow: hidden; transition: var(--transition); background: none; }
        .filter-drawer.open { max-height: 300px; padding-bottom: 40px; border-bottom: 1px solid var(--border-color); }
        .filter-content { padding: 20px 10%; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }

        .filter-item input[type="checkbox"] {
            -webkit-appearance: none; /* Remove default checkbox appearance in Webkit browsers */
            -moz-appearance: none; /* Remove default checkbox appearance in Firefox */
            appearance: none; /* Remove default checkbox appearance */

            width: 20px; /* Increase size of checkbox */
            height: 20px; /* Match the width */
            background-color: #ddd; /* Set background to light grey */
            border: 2px solid #ddd; /* Light grey border */
            border-radius: 4px; /* Optional: rounded corners */
            cursor: pointer; /* Change cursor to pointer */
            position: relative; /* Make it possible to position the checkmark */
            transition: background-color 0.3s ease, border-color 0.3s ease; /* Smooth transitions */
        }

        /* Create the checkmark icon when checked */
        .filter-item input[type="checkbox"]:checked::before {
            content: '\2713'; /* Unicode for checkmark symbol */
            font-size: 16px; /* Make the checkmark size match the checkbox */
            color: white; /* Set checkmark color to white */
            position: absolute; /* Position it inside the checkbox */
            top: 50%; /* Vertically center it */
            left: 50%; /* Horizontally center it */
            transform: translate(-50%, -50%); /* Offset it to perfectly center */
        }

        /* Change background color when checked */
        .filter-item input[type="checkbox"]:checked {
            background-color: #171a51; /* Dark blue when checked */
            border-color: #171a51; /* Dark blue border when checked */
        }

        /* Focus styling */
        .filter-item input[type="checkbox"]:focus {
            outline: none; /* Remove outline on focus */
        }

        /* Label styling */
        .filter-item label {
            font-size: 1.1rem; /* Slightly bigger text */
            color: var(--text-dark); /* Use dark text color for the label */
            display: flex;
            align-items: center;
            gap: 10px; /* Space between checkbox and label */
        }

          .search-wrapper { position: relative; width: var(--search-width); }
        #partner-search {
            width: 100%; padding: 10px 35px 10px 15px; border: 1px solid var(--border-color);
            border-radius: 20px; outline: none;
        }
        .clear-search { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #999; display: none; }

        /* Product Grid & Taller Tiles */
        .content-wrap { padding: 0 10% 80px 10%; }
        .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }

        .product-card {
            background: white; border-radius: 16px; padding: 40px 30px;
            border: 1px solid var(--border-color); box-shadow: 0 4px 12px var(--card-shadow);
            transition: var(--transition);
            display: flex; flex-direction: column; align-items: center; text-align: center;
            min-height: 500px; /* Ensures all tiles are tall and same shape */
        }
        .product-card:hover { transform: translateY(-8px); box-shadow: 0 12px 24px var(--card-hover-shadow); }

        .card-logo { height: 60px; margin-bottom: 60px; display: flex; align-items: center; justify-content: center; }
        .card-logo img { max-height: 100%; }

        .card-divider { width: 350px; height: 1px; background: var(--gray); margin-bottom: 20px; }

        .card-title { color: var(--primary-blue); font-size: 30px; font-weight: bold; margin: 0 0 8px 0; }
        .card-category { font-size: 16px; color: var(--bg-green); font-weight: 500; line-height: 24px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 15px; }

        .card-description {
            font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 30px;
            flex-grow: 1; /* Pushes button to the bottom */
        }

        .card-btn {
            width: 100%; background: var(--primary-blue); color: white; padding: 14px;
            border-radius: 8px; font-weight: bold; text-decoration: none; transition: var(--transition);
        }
        .card-btn:hover { background-color: var(--bg-green); color: var(--primary-blue); }

        @media (max-width: 900px) {
            .hero-section { flex-direction: column; padding: 40px 5%; gap: 40px;}
            .toolbar { flex-direction: column; align-items: stretch; gap: 15px; padding: 20px 5%;}
            .toolbar-left {
                flex-direction: row; /* Keep title and button side-by-side on tablets */
                justify-content: space-between;
                width: 100%;
            }
            .search-wrapper { width: 100%; }
            .filter-content {
                    grid-template-columns: 1fr 1fr; /* Two columns for filters on mobile */
                    padding: 20px 5%;
                }
        }

        @media (max-width: 480px) {
    .toolbar-left {
        flex-direction: column; /* Stack title and button on small phones */
        align-items: flex-start;
        gap: 10px;
    }

    .filter-toggle-btn {
        width: 100%; /* Make button full width on small phones */
        justify-content: center;
    }

    .filter-content {
        grid-template-columns: 1fr; /* Single column for filters on small phones */
    }
}

        @media (max-width: 768px) {
        .image-section {
            margin-top: -120px; /* Adjust position for mobile devices */
            transform: translateY(-40px); /* Move image up slightly for mobile */
        }

        .image-section img {
            width: 100vw; /* Make the image 100% of the viewport width on mobile */
            margin-left: 0; /* No overflow on smaller screens */
            margin-right: 0; /* No overflow on smaller screens */
        }
}

@media (max-width: 600px) {
    .contact-form {
        grid-template-columns: 1fr; /* Force form to one column */
    }
    .contact-form textarea,
    .submit-container,
    .contact-form input[type="text"]:nth-child(5),
    .contact-form select:nth-child(6) {
        grid-column: span 1; /* Reset spans for single column */
    }
}


/* Reviewed adapter for typed forms and the shared public-site frame. */
.page-marketplace .hero-text h1,.page-marketplace .hero-text p,.page-marketplace .card-description {margin-top:0;}
.page-marketplace .form-heading-text h2,.page-marketplace .toolbar-left h2 {font-weight:400;}
.page-marketplace .hero-form-container {width:450px;max-width:100%;}
.page-marketplace .contact-form {max-width:none;margin:0;gap:15px;}
.page-marketplace .contact-form label {display:block;margin:0;min-width:0;}
.page-marketplace .contact-form .field-label,.page-marketplace .result-count {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);}
.page-marketplace .contact-form input,.page-marketplace .contact-form select,.page-marketplace .contact-form textarea {font:14px/1.5 'Helvetica Neue',sans-serif;height:45px;box-shadow:none;}
.page-marketplace .contact-form label:has(textarea),.page-marketplace .contact-form .form-status {grid-column:1/-1;}
.page-marketplace .contact-form textarea {height:80px;}
.page-marketplace .contact-form button {grid-column:1/-1;justify-self:center;background:#ff224a;color:white;border-radius:35px;padding:10px;min-width:180px;font:700 16px/24px 'Helvetica Neue',sans-serif;margin:10px auto 0;min-height:44px;border:0;}
.page-marketplace .contact-form button:hover {background:#0056b3;}
.page-marketplace .form-status:empty {display:none;}
.page-marketplace .widget-marketplaceGraphic {overflow:hidden;}
.page-marketplace .image-section {margin-top:-160px;transform:none;z-index:0;}
.page-marketplace .image-section img {margin-bottom:0;}
.page-marketplace .card-divider {max-width:100%;}
.page-marketplace .card-logo img {max-width:100%;object-fit:contain;}
.page-marketplace .clear-search {display:block;border:0;background:none;padding:2px;font:inherit;}
.page-marketplace [hidden] {display:none!important;}
.page-marketplace .filter-drawer.open {max-height:none;}
.page-marketplace .filter-item {display:flex;gap:8px;align-items:center;cursor:pointer;}
.page-marketplace .filter-item input {flex-shrink:0;}
.page-marketplace input:focus-visible,.page-marketplace button:focus-visible,.page-marketplace a:focus-visible {outline:2px solid #ff224a;outline-offset:3px;}
@media(max-width:900px){.page-marketplace .hero-form-container{flex:auto;width:100%;}.page-marketplace .product-grid{grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));}.page-marketplace .content-wrap{padding-inline:5%;}.page-marketplace .hero-text{min-width:0;}}
@media(max-width:600px){.page-marketplace .contact-form{grid-template-columns:1fr;}.page-marketplace .hero-form-container{padding:24px;}}
@media(prefers-reduced-motion:reduce){.page-marketplace *{transition:none!important;}}
