/* =========================================================
   SanyogRishtey.com — Featured Brides & Grooms carousels
   ========================================================= */

:root {
    --fp-coral: #e8474c;
    --fp-coral-dark: #c93a3f;
    --fp-ink: #1c1c1c;
    --fp-muted: #5c5c5c;
    --fp-bg: #faf8f7;
    --fp-max: 1180px;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.featured-profiles {
    font-family: var(--font-family);
    background: var(--fp-bg);
    padding: 56px 24px 72px;
}

.featured-profiles__inner {
    max-width: var(--fp-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.fp-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fp-label-wrap {
    display: flex;
    justify-content: center;
}

.fp-label {
    display: inline-block;
    background: var(--fp-coral);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 10px 36px;
    border-radius: 6px;
    box-shadow: 0 8px 20px -10px rgba(232, 71, 76, 0.7);
}

.fp-empty {
    text-align: center;
    color: var(--fp-muted);
    font-size: 14px;
    margin: 0;
}

.fp-carousel {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
    align-items: center;
}

.fp-nav {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--fp-coral);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px -6px rgba(232, 71, 76, 0.65);
    transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.fp-nav:hover {
    background: var(--fp-coral-dark);
    transform: scale(1.05);
}

.fp-nav:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

.fp-track-wrap {
    overflow: hidden;
    border-radius: 8px;
}

.fp-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fp-track::-webkit-scrollbar {
    display: none;
}

.fp-card {
    flex: 0 0 150px;
    scroll-snap-align: start;
    text-decoration: none;
    color: var(--fp-ink);
    text-align: center;
    transition: transform 0.2s ease;
}

.fp-card:hover {
    transform: translateY(-4px);
}

.fp-card__photo {
    width: 150px;
    height: 190px;
    border-radius: 6px;
    overflow: hidden;
    background: #e8e4e1;
    margin: 0 auto 10px;
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.35);
    position: relative;
}

.fp-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.fp-card:hover .fp-card__photo img {
    transform: scale(1.05);
}

.fp-card__photo.is-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center 60%;
    background-size: 70px 70px;
    opacity: 0.45;
}

.fp-card__photo.is-bride {
    background: linear-gradient(180deg, #f3e9ea 0%, #e4d4d6 100%);
}

.fp-card__photo.is-bride::after {
    /* simple person silhouette via CSS circle + body */
    background-image:
        radial-gradient(circle at 50% 32%, #b9a8aa 0 18px, transparent 19px),
        radial-gradient(ellipse at 50% 78%, #b9a8aa 0 36px 40px, transparent 41px);
}

.fp-card__photo.is-groom {
    background: linear-gradient(180deg, #e6e9ee 0%, #d2d7df 100%);
}

.fp-card__photo.is-groom::after {
    background-image:
        radial-gradient(circle at 50% 32%, #8f98a6 0 18px, transparent 19px),
        radial-gradient(ellipse at 50% 78%, #8f98a6 0 36px 40px, transparent 41px);
}

.fp-card__name {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    max-width: 150px;
    margin: 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .featured-profiles {
        padding: 40px 14px 56px;
    }

    .fp-carousel {
        grid-template-columns: 36px 1fr 36px;
        gap: 6px;
    }

    .fp-nav {
        width: 36px;
        height: 36px;
    }

    .fp-card {
        flex-basis: 128px;
    }

    .fp-card__photo {
        width: 128px;
        height: 162px;
    }

    .fp-card__name {
        max-width: 128px;
        font-size: 12.5px;
    }
}
