/* Light helpers only — keep classic COINEX home visuals intact */
.site-footer-social .site-social-link {
    color: var(--site-primary, #f9b707);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    margin-inline-end: 0.75rem;
}

.site-footer-social .site-social-link:hover {
    border-bottom-color: currentColor;
}

/* Soft theme accent bridge without replacing banner styles */
.iq-font-yellow,
.subtitle.iq-font-yellow .text {
    color: var(--site-primary, #f9b707) !important;
}

/* Homepage key features: isolate legacy feature artwork sizing. */
.home-features .home-feature-item {
    min-width: 0;
}

.home-features .home-feature-icon {
    display: grid;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    place-items: center;
}

.home-features .home-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-features .home-feature-visual img {
    width: min(100%, 420px);
}

@media (max-width: 991.98px) {
    .home-features {
        padding-block: 65px;
    }

    .home-features .title {
        margin-bottom: 1rem;
        font-size: clamp(1.65rem, 5vw, 2.25rem);
    }

    .home-features-layout {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem 1rem;
        margin: 0;
    }

    .home-features-layout > * {
        width: auto;
        padding: 0;
    }

    .home-features .home-feature-visual {
        grid-column: 1 / -1;
        grid-row: 1;
        margin-block: .25rem .75rem;
    }

    .home-features .home-feature-visual img {
        width: min(46vw, 220px);
    }

    .home-features .home-feature-item {
        min-height: 72px;
        margin-bottom: .65rem;
        padding: .65rem .75rem;
        border: 1px solid rgba(255, 255, 255, .07);
        border-radius: .8rem;
        background: rgba(255, 255, 255, .025);
    }

    .home-features .iq-feature2 {
        min-width: 0;
        margin-block: 0 !important;
    }

    .home-features .iq-feature2 h4 {
        margin: 0 !important;
        font-size: 1rem;
        line-height: 1.55;
    }

    .home-features .home-feature-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 575.98px) {
    .home-features {
        padding-block: 45px;
    }

    .home-features .subtitle small {
        font-size: .68rem;
    }

    .home-features .title {
        font-size: 1.55rem;
        line-height: 1.4;
    }

    .home-features-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-features .home-feature-visual {
        grid-column: 1;
        margin-bottom: .65rem;
    }

    .home-features .home-feature-visual img {
        width: min(52vw, 170px);
    }

    .home-features .home-feature-item {
        min-height: 60px;
        margin-bottom: .5rem;
        padding: .5rem .65rem;
    }

    .home-features .home-feature-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .home-features .iq-feature2 h4 {
        font-size: .88rem;
    }
}
