/* =====================================================
   Persona Breadcrumb Module Styles
   Scoped to .persona-breadcrumb to avoid conflicts
   with existing site styles or other modules
   ===================================================== */

.persona-breadcrumb {
    font-family: inherit;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* ---- Trail (top row) ---- */
.persona-breadcrumb__trail {
    margin-bottom: 0.5rem;
}

.persona-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
    gap: 0;
}

.persona-breadcrumb__item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #0E1B3D;
    line-height: 24px;
}

.persona-breadcrumb__link {
    color: #0E1B3D !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sp_arrow_wrap_icon {
    width: 48px;
    height: 48px;
    background: #E7F2FE;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.persona-breadcrumb__link:hover,
.persona-breadcrumb__link:focus {
    color: #0E1B3D !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.persona-breadcrumb__link--nolink {
    color: #555;
    cursor: default;
}

.persona-breadcrumb__separator {
    display: inline-block;
    margin: 0 8px;
    font-size: 26px;
    color: #0E1B3D;
    line-height: 24px;
    font-weight: 400;
}

/* ---- Current page row (bottom row) ---- */
.persona-breadcrumb__current {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.persona-breadcrumb__back-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.persona-breadcrumb__back-btn:hover,
.persona-breadcrumb__back-btn:focus {
    background: #0E1B3D;
    outline: none;
}

.persona-breadcrumb__back-btn:hover img,
.persona-breadcrumb__back-btn:focus img {
    filter: brightness(0) invert(1);
}

.persona-breadcrumb__back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.persona-breadcrumb__back-icon svg {
    display: block;
}

.persona-breadcrumb__title {
    color: rgb(37, 37, 37);
    padding: 0;
    font-size: 28px;
    font-weight: 400;
    line-height: 36px;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 576px) {
    .persona-breadcrumb__title {
        font-size: 1.25rem;
    }

    .persona-breadcrumb__back-btn svg {
        width: 26px;
        height: 26px;
    }
}
