/* Homepage friend spotlight block */
.friend-panel {
    margin-top: 56px;
}

.friend-panel .panel-body {
    padding-top: 0;
}

.friend-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(210, 224, 245, 0.92);
    background:
        radial-gradient(circle at top right, rgba(121, 167, 255, 0.12), transparent 24%),
        linear-gradient(135deg, rgba(246, 250, 255, 0.98), rgba(255, 255, 255, 0.96));
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.friend-spotlight__content {
    min-width: 0;
}

.friend-spotlight__badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(0, 113, 227, 0.08);
    color: #0071e3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.friend-spotlight__title {
    margin: 0 0 1px;
    color: #101828;
    font-size: 1.34rem;
    line-height: 1.18;
    font-weight: 800;
}

.friend-spotlight__subtitle {
    margin: 0 0 8px;
    color: #5f7490;
    font-size: 0.87rem;
    font-weight: 600;
}

.friend-spotlight__desc {
    margin: 0;
    color: #4b5565;
    font-size: 0.88rem;
    line-height: 1.62;
}

.friend-spotlight__desc strong {
    color: #0f172a;
    font-weight: 800;
}

.friend-spotlight__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    width: 170px;
    flex: 0 0 auto;
}

.friend-spotlight__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(210, 224, 245, 0.95);
    color: #1f2937;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 7px 14px rgba(148, 163, 184, 0.08);
    transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease;
}

.friend-spotlight__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(148, 163, 184, 0.12);
    color: #1f2937;
}

.friend-spotlight__button--primary {
    background: linear-gradient(135deg, #82a2f3, #96b0f6);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 16px rgba(130, 162, 243, 0.1);
}

.friend-spotlight__button--primary:hover {
    color: #fff;
    box-shadow: 0 10px 18px rgba(130, 162, 243, 0.14);
}

@media (max-width: 991.98px) {
    .friend-panel {
        margin-top: 44px;
    }

    .friend-spotlight {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: none;
    }

    .friend-spotlight__actions {
        flex-direction: row;
        width: 100%;
        align-items: stretch;
    }
}

@media (max-width: 575.98px) {
    .friend-panel {
        margin-top: 34px;
    }

    .friend-spotlight {
        padding: 14px;
        border-radius: 16px;
    }

    .friend-spotlight__title {
        font-size: 1.2rem;
    }

    .friend-spotlight__subtitle {
        font-size: 0.84rem;
    }

    .friend-spotlight__desc {
        font-size: 0.84rem;
        line-height: 1.58;
    }

    .friend-spotlight__actions {
        flex-direction: column;
        gap: 8px;
    }

    .friend-spotlight__button {
        width: 100%;
    }
}
