body {
    position: relative;
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#header-wrap {
    background-color: #151927;
}

.hr-gradient-green {
    background-image: linear-gradient(to right, transparent, #7fb1fd 20%, #7fb1fd 80%, transparent) !important;
}

.social-icon.border-color {
    border: 2px solid #6dabff !important;
}

#marketplace-nav.sticky-top {
    top: 0;
    z-index: 1020;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

#marketplace-nav .nav-link {
    color: #6dabff !important;
    padding: 0.75rem 1.25rem;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

#marketplace-nav .nav-link.active,
#marketplace-nav .nav-link:hover {
    color: #ffffff !important;
    background-color: #1098f7 !important;
}

.marketplace-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #161B27;
    color: #ffffff;
}

.section-intro-text {
    background-color: #161b28;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.page-main-title {
    font-size: 2.99rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

p.lead.page-intro-text {
    font-size: .995rem;
    color: #adb5bd;
    line-height: 1.7;
    max-width: 760px;
    margin: 1rem auto 0;
}

.marketplace-section .display-6.fw-bold {
    color: #6cb4ff;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hr-gradient-green,
.hr-gradient-blue {
    height: 2px;
    border: 0;
    margin: 1rem auto 2.5rem;
    max-width: 200px;
}

.hr-gradient-green {
    background-image: linear-gradient(to right, transparent, #6bd425 20%, #6bd425 80%, transparent);
}

.hr-gradient-blue {
    background-image: linear-gradient(to right, transparent, #1098f7 20%, #1098f7 80%, transparent);
}

.marketplace-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid #3a3a3e !important;
    border-radius: 0.375rem;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    overflow: hidden;
    text-align: left;
    padding: 1rem;
}

.marketplace-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.marketplace-card .card-logo-wrapper {
    max-width: 200px;
    margin-bottom: 1rem;
}

.marketplace-card .card-banner-img {
    border-radius: .25rem;
}

.marketplace-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.marketplace-card .card-title a {
    color: #e0e0e0 !important;
    text-decoration: none;
}

.marketplace-card .card-title a:hover {
    color: #6cb4ff !important;
}

.marketplace-card .card-text {
    color: #b0b8c5;
    font-size: 0.9rem;
    flex-grow: 1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.marketplace-card ul {
    list-style-position: outside;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: #b0b8c5;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.marketplace-card ul li {
    margin-bottom: 0.35rem;
}

.marketplace-card .btn-outline-info {
    color: #6cb4ff;
    border-color: #6cb4ff;
    font-weight: 500;
    padding: 0.375rem 0.85rem;
    font-size: 0.875rem;
}

.marketplace-card .btn-outline-info:hover {
    color: #fff;
    background-color: #1098f7; /* Changed from #6cb4ff to match later rule */
    border-color: #6cb4ff;
}

.marketplace-disclaimer-section {
    color: #adb5bd;
    padding-top: 3rem;
    padding-bottom: 3rem;
    font-size: 0.85rem;
    line-height: 1.6;
}

.marketplace-disclaimer-section p {
    margin-bottom: 1rem;
}

.text-dark-on-light { color: #212529; }
.text-light-on-dark { color: #ffffff; }

sup {
    font-size: 0.6em;
    vertical-align: super;
}

/* 2 columns on medium screens */
@media (min-width: 768px) {
    #add-ons .row.row-cols-1 > .col,
    #signalservice .row.row-cols-1 > .col,
    #education .row.row-cols-1 > .col,
    #developers .row.row-cols-1 > .col {
        flex: 0 0 auto;
        width: 50%;
    }

    #add-ons .row.row-cols-1 > .col-12,
    #signalservice .row.row-cols-1 > .col-12,
    #education .row.row-cols-1 > .col-12,
    #developers .row.row-cols-1 > .col-12 {
        display: none;
    }
}

/* 3 columns on large screens */
@media (min-width: 992px) {
    #add-ons .row.row-cols-1 > .col,
    #signalservice .row.row-cols-1 > .col,
    #education .row.row-cols-1 > .col,
    #developers .row.row-cols-1 > .col {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

.marketplace-card .card-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.text-info {
    color: #6cb4ff !important;
}

@media (max-width: 768px) {
    .marketplace-card .card-title {
        font-size: 1rem;
    }

    .marketplace-card .card-text,
    .marketplace-card ul {
        font-size: 0.85rem;
    }
}