/*
 * Develancer R189-B2
 * Professional homepage trust strip and real freelancer cards.
 * Desktop-only visual layer.
 */

.dv189-trust-strip,
.dv189-freelancers {
    display: none;
}

@media (min-width: 981px) {
    .dv3-home .dv189-trust-strip {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        overflow: hidden;
        background: #ffffff;
        border: 1px solid #e5edf7;
        border-radius: 26px;
        box-shadow: 0 18px 44px rgba(15, 23, 42, .065);
    }

    .dv3-home .dv189-trust-item {
        position: relative;
        min-width: 0;
        padding: 24px 20px 22px;
    }

    .dv3-home .dv189-trust-item + .dv189-trust-item {
        border-right: 1px solid #e8eef6;
    }

    .dv3-home .dv189-trust-index {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 25px;
        margin-bottom: 14px;
        border-radius: 999px;
        background: #edf4ff;
        color: #2563eb;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .04em;
    }

    .dv3-home .dv189-trust-item:nth-child(2)
    .dv189-trust-index {
        background: #ecfdf3;
        color: #138a4b;
    }

    .dv3-home .dv189-trust-item:nth-child(3)
    .dv189-trust-index {
        background: #fff7ed;
        color: #c65a13;
    }

    .dv3-home .dv189-trust-item:nth-child(4)
    .dv189-trust-index {
        background: #f4f1ff;
        color: #7048d6;
    }

    .dv3-home .dv189-trust-item:nth-child(5)
    .dv189-trust-index {
        background: #fff1f2;
        color: #be3850;
    }

    .dv3-home .dv189-trust-item h3 {
        margin: 0 0 9px;
        color: #10213d;
        font-size: 17px;
        line-height: 1.6;
    }

    .dv3-home .dv189-trust-item p {
        margin: 0;
        color: #64748b;
        font-size: 13px;
        line-height: 1.95;
    }

    /*
     * The generic middle medal card was removed.
     * Employer and freelancer paths now form two balanced cards.
     */
    .dv3-home .dv3-split {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .dv3-home .dv189-freelancers {
        display: block;
        padding-top: 14px;
    }

    .dv3-home .dv189-freelancers-shell {
        padding: 30px;
        overflow: hidden;
        background:
            radial-gradient(
                circle at 92% 8%,
                rgba(37, 99, 235, .11),
                transparent 30%
            ),
            linear-gradient(
                145deg,
                #f9fbff 0%,
                #ffffff 54%,
                #f7fafc 100%
            );
        border: 1px solid #dde7f3;
        border-radius: 30px;
        box-shadow: 0 22px 54px rgba(15, 23, 42, .075);
    }

    .dv3-home .dv189-freelancers-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 22px;
    }

    .dv3-home .dv189-freelancers-title {
        max-width: 720px;
    }

    .dv3-home .dv189-eyebrow {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 5px 12px;
        margin-bottom: 10px;
        border-radius: 999px;
        background: #eaf2ff;
        color: #225fc5;
        font-size: 12px;
        font-weight: 900;
    }

    .dv3-home .dv189-freelancers-title h2 {
        margin: 0 0 9px;
        color: #0f1f38;
        font-size: 28px;
        line-height: 1.55;
    }

    .dv3-home .dv189-freelancers-title p {
        margin: 0;
        color: #64748b;
        font-size: 14px;
        line-height: 2;
    }

    .dv3-home .dv189-freelancers-grid {
        display: grid;
        grid-template-columns:
            repeat(auto-fit, minmax(270px, 1fr));
        gap: 16px;
    }

    .dv3-home .dv189-freelancer-card,
    .dv3-home .dv189-freelancer-join {
        min-width: 0;
        min-height: 284px;
        padding: 21px;
        background: rgba(255, 255, 255, .95);
        border: 1px solid #e1e9f3;
        border-radius: 23px;
    }

    .dv3-home .dv189-freelancer-card {
        display: flex;
        flex-direction: column;
        transition:
            transform .22s ease,
            box-shadow .22s ease,
            border-color .22s ease;
    }

    .dv3-home .dv189-freelancer-card:hover {
        transform: translateY(-3px);
        border-color: #cbdcf4;
        box-shadow: 0 22px 44px rgba(15, 23, 42, .095);
    }

    .dv3-home .dv189-freelancer-main {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .dv3-home .dv189-avatar {
        display: flex;
        flex: 0 0 66px;
        align-items: center;
        justify-content: center;
        width: 66px;
        height: 66px;
        overflow: hidden;
        border: 4px solid #ffffff;
        border-radius: 20px;
        background:
            linear-gradient(
                145deg,
                #dbeafe,
                #e9f8ef
            );
        box-shadow: 0 10px 24px rgba(37, 99, 235, .14);
        color: #1d4f9b;
        font-size: 24px;
        font-weight: 950;
    }

    .dv3-home .dv189-avatar img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .dv3-home .dv189-freelancer-name {
        min-width: 0;
    }

    .dv3-home .dv189-freelancer-name h3 {
        margin: 0 0 6px;
        color: #10213d;
        font-size: 18px;
        line-height: 1.6;
    }

    .dv3-home .dv189-freelancer-name p {
        margin: 0;
        overflow: hidden;
        color: #64748b;
        font-size: 13px;
        line-height: 1.8;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dv3-home .dv189-verified {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-top: 8px;
        color: #14834a;
        font-size: 12px;
        font-weight: 900;
    }

    .dv3-home .dv189-skill-list,
    .dv3-home .dv189-stat-list {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .dv3-home .dv189-skill-list {
        min-height: 31px;
        margin-top: 18px;
    }

    .dv3-home .dv189-skill {
        display: inline-flex;
        align-items: center;
        min-height: 29px;
        padding: 5px 10px;
        border-radius: 999px;
        background: #f1f5f9;
        color: #405169;
        font-size: 11px;
        font-weight: 800;
    }

    .dv3-home .dv189-stat-list {
        margin-top: 13px;
    }

    .dv3-home .dv189-stat {
        display: inline-flex;
        align-items: center;
        min-height: 31px;
        padding: 6px 10px;
        border: 1px solid #e6edf5;
        border-radius: 10px;
        color: #475569;
        font-size: 11px;
        font-weight: 800;
    }

    .dv3-home .dv189-profile-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 43px;
        padding: 9px 15px;
        margin-top: auto;
        border-radius: 13px;
        background: #14213d;
        color: #ffffff;
        font-size: 13px;
        font-weight: 900;
        text-decoration: none;
    }

    .dv3-home .dv189-profile-link:hover {
        background: #1f335b;
        color: #ffffff;
    }

    .dv3-home .dv189-freelancer-join {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        background:
            linear-gradient(
                145deg,
                #12213f,
                #1b3158
            );
        border-color: transparent;
        color: #ffffff;
    }

    .dv3-home .dv189-freelancer-join strong {
        margin-bottom: 9px;
        font-size: 20px;
        line-height: 1.7;
    }

    .dv3-home .dv189-freelancer-join p {
        margin: 0 0 18px;
        color: #d8e3f4;
        font-size: 13px;
        line-height: 2;
    }

    .dv3-home .dv189-freelancer-join a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 43px;
        padding: 9px 16px;
        border-radius: 13px;
        background: #ffffff;
        color: #183052;
        font-size: 13px;
        font-weight: 900;
        text-decoration: none;
    }
}

@media (min-width: 981px) and (max-width: 1120px) {
    .dv3-home .dv189-trust-strip {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .dv3-home .dv189-trust-item + .dv189-trust-item {
        border-right: 0;
        border-top: 1px solid #e8eef6;
    }

    .dv3-home .dv189-freelancers-head {
        align-items: flex-start;
        flex-direction: column;
    }
}
