.sr-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0 12px;
    text-align: left;
}

.sr-profile-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(15, 99, 173, 0.26);
    border-radius: 16px;
    background: linear-gradient(150deg, #fff 0%, #f1f7fc 100%);
    box-shadow: 0 12px 30px rgba(6, 38, 75, 0.1);
}

.sr-profile-avatar-link {
    position: relative;
    display: block;
    padding: 18px 18px 0;
    text-align: center;
}

.sr-profile-avatar {
    display: inline-block;
    width: 96px;
    height: 96px;
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #2d8fd5, 0 9px 24px rgba(6, 38, 75, 0.18);
}

.sr-profile-match {
    position: absolute;
    right: 14px;
    bottom: -4px;
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #0b3f78;
    color: #fff;
    box-shadow: 0 6px 14px rgba(6, 38, 75, 0.18);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.sr-profile-content {
    padding: 14px 18px 18px;
}

.sr-profile-content h3 {
    margin: 0;
    color: #0b315f;
    font-size: 18px;
    line-height: 1.25;
    text-align: center;
}

.sr-profile-content h3 a,
.sr-profile-facts a,
.sr-profile-topic {
    color: #0b4f91;
    text-decoration: none;
}

.sr-profile-content h3 a:hover,
.sr-profile-facts a:hover,
.sr-profile-topic:hover {
    color: #0f70bd;
    text-decoration: underline;
}

.sr-profile-location {
    margin: 6px 0 14px;
    color: #63758a;
    font-size: 13px;
    text-align: center;
}

.sr-profile-bio {
    margin: 0 0 14px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #eef7fd;
    color: #36536f;
    font-size: 13px;
    line-height: 1.55;
}

.sr-profile-facts {
    margin: 0;
}

.sr-profile-facts div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-top: 1px solid rgba(11, 79, 145, 0.1);
}

.sr-profile-facts dt {
    color: #687b90;
    font-weight: 400;
}

.sr-profile-facts dd {
    margin: 0;
    color: #172b45;
    font-weight: 600;
    text-align: right;
}

.sr-profile-topic {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
}

.sr-profile-note {
    margin: 10px 0 28px;
    color: #63758a;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 980px) {
    .sr-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .sr-profile-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sr-profile-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: center;
    }

    .sr-profile-avatar-link {
        padding: 18px 0 18px 16px;
    }

    .sr-profile-match {
        right: 2px;
        bottom: 8px;
    }

    .sr-profile-avatar {
        width: 82px;
        height: 82px;
    }

    .sr-profile-content {
        padding-left: 8px;
    }

    .sr-profile-content h3,
    .sr-profile-location {
        text-align: left;
    }
}
