/* Expert pages — click-to-reveal contact CTAs + compact mobile sticky bar. */

.xp-reveal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(4, 19, 45, 0.12);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-family: "roc-grotesk", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #04132d;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.xp-reveal:hover {
    background: #ffffff;
    border-color: rgba(4, 19, 45, 0.3);
}

.xp-reveal__emoji {
    font-size: 16px;
    line-height: 1;
}

.xp-reveal__blur {
    filter: blur(4px);
    opacity: 0.75;
    font-size: 12px;
    max-width: 84px;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
}

.xp-reveal__label--short {
    display: none;
}

.xp-reveal.is-revealed {
    background: #ffffff;
    cursor: auto;
}

a.xp-reveal,
a.xp-reveal:hover {
    text-decoration: none;
}

a.xp-reveal .xp-reveal__value {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    display: block;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Save-to-Passport boxed variant — bookmark button sits inside the pill. */
.xp-reveal--save {
    padding: 5px 14px 5px 5px;
    gap: 10px;
}

.single-coach_post .fixed-box .xp-reveal--save .simplefavorite-button,
.single-coach_post .fixed-box .xp-reveal--save .customfavorite-button {
    height: 36px;
    min-height: 36px;
    padding: 9px 10px;
    margin: 0;
}

.single-coach_post .fixed-box .inner-buttons .xp-reveal--save .fixed-box-passport-save-label {
    min-height: 36px;
    font-weight: 500;
}

/* Connect sidebar variant — align with the plain link rows. */
.xp-reveal--connect {
    height: auto;
    padding: 8px 10px;
    gap: 6px;
    margin-top: 6px;
    font-size: 14px;
    white-space: normal;
    text-align: left;
}

.xp-reveal--connect .xp-reveal__blur {
    max-width: 72px;
}

.xp-connect-emoji {
    line-height: 1;
}

/* Compact one-row sticky bar on mobile. */
@media (max-width: 767.98px) {
    .single-coach_post .fixed-box .inner-text .address {
        display: none;
    }

    .single-coach_post .fixed-box .fixed-box-sticky-actions--passport-save {
        gap: 6px;
        width: 100%;
    }

    .xp-reveal--sticky {
        height: 34px;
        padding: 6px 8px;
        gap: 5px;
        font-size: 11px;
    }

    .xp-reveal--sticky .xp-reveal__emoji {
        font-size: 13px;
    }

    .xp-reveal--sticky .xp-reveal__label--full,
    .xp-reveal--sticky .xp-reveal__blur {
        display: none;
    }

    .xp-reveal--sticky .xp-reveal__label--short {
        display: inline;
    }

    a.xp-reveal--sticky .xp-reveal__value {
        font-size: 11px;
        max-width: 32vw;
    }

    .single-coach_post .fixed-box .fixed-box-sticky-actions--passport-save .simplefavorite-button,
    .single-coach_post .fixed-box .fixed-box-sticky-actions--passport-save .customfavorite-button {
        height: 34px;
        padding: 7px 9px;
    }

    .single-coach_post .fixed-box .xp-reveal--save {
        height: 34px;
        padding: 3px 8px 3px 3px;
        gap: 6px;
    }

    .single-coach_post .fixed-box .xp-reveal--save .simplefavorite-button,
    .single-coach_post .fixed-box .xp-reveal--save .customfavorite-button {
        height: 26px;
        min-height: 26px;
        padding: 5px 7px;
    }

    .single-coach_post .fixed-box .inner-buttons .xp-reveal--save .fixed-box-passport-save-label {
        min-height: 26px;
        font-size: 11px;
    }

    .single-coach_post .fixed-box .fixed-box-sticky-actions--passport-save .simplefavorite-button:before,
    .single-coach_post .fixed-box .fixed-box-sticky-actions--passport-save .customfavorite-button:before {
        width: 12px;
        height: 16px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .single-coach_post .fixed-box .inner-buttons .fixed-box-passport-save-label {
        min-height: 34px;
        font-size: 11px;
    }

    .single-coach_post .fixed-box .fixed-box-sticky-actions--passport-save .leave-review-cta-sticky {
        height: 34px;
        padding: 7px 9px;
        font-size: 11px;
    }
}
