/* ============================================================
   FFLP MODERN V4 — SOCIAL PROFILE
   Presentation only.
   ============================================================ */

.fflp-template-modern {
    --m-navy: #0A1543;
    --m-orange: #FF6B00;
    --m-bg: #f2f4f7;
    --m-card: #fff;
    --m-border: #dde2e9;
    --m-text: #17223a;
    --m-muted: #6c788b;
    --m-radius: 14px;
    --m-shadow: 0 3px 14px rgba(10,21,67,.06);

    background: var(--m-bg);
    padding: 22px 16px 50px;
}

.fflp-template-modern .fflp-social-profile {
    width: min(1140px, 100%);
    margin: 0 auto;
    color: var(--m-text);
}


/* ============================================================
   HEADER
   ============================================================ */

.fflp-template-modern .fflp-social-header {
    background:
        linear-gradient(
            135deg,
            rgba(10,21,67,.025),
            rgba(255,107,0,.025)
        ),
        #fff;

    border: 1px solid var(--m-border);
    border-radius: 20px 20px 0 0;
}

.fflp-template-modern .fflp-social-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
}

.fflp-template-modern .fflp-social-avatar {
    flex: 0 0 150px;
    width: 150px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    border: 1px solid var(--m-border);
    border-radius: 18px;
    overflow: hidden;
}

.fflp-template-modern .fflp-social-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 9px;
}

.fflp-template-modern .fflp-social-avatar span {
    font-size: 58px;
    font-weight: 800;
    color: var(--m-navy);
}

.fflp-template-modern .fflp-social-identity {
    min-width: 0;
}

.fflp-template-modern .fflp-social-category {
    display: inline-flex;

    padding: 5px 9px;
    margin-bottom: 8px;

    color: var(--m-orange);
    background: rgba(255,107,0,.08);

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.fflp-template-modern .fflp-social-identity h1 {
    margin: 0;

    color: var(--m-navy);

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.03;
    letter-spacing: -.035em;
}

.fflp-template-modern .fflp-social-address {
    margin-top: 10px;

    color: var(--m-muted);

    font-size: 14px;
}

.fflp-template-modern .fflp-social-address i {
    margin-right: 6px;
}

.fflp-template-modern .fflp-social-rating {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 11px;

    font-size: 14px;
}

.fflp-template-modern .fflp-social-stars {
    color: #ffae00;
    letter-spacing: 1px;
}

.fflp-template-modern .fflp-social-review-link {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    padding: 0 !important;
    min-height: 0 !important;

    color: var(--m-navy) !important;

    font: inherit;
    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 3px;

    cursor: pointer;
}


/* ============================================================
   TAB BAR
   ============================================================ */

.fflp-template-modern .fflp-social-tabs {
    position: sticky;
    top: 0;
    z-index: 50;

    display: flex;
    gap: 3px;

    overflow-x: auto;

    background: #fff;

    border: 1px solid var(--m-border);
    border-top: 0;

    border-radius: 0 0 14px 14px;

    padding: 7px 10px;

    box-shadow: 0 7px 18px rgba(10,21,67,.055);

    scrollbar-width: none;
}

.fflp-template-modern .fflp-social-tabs::-webkit-scrollbar {
    display: none;
}

.fflp-template-modern .fflp-social-tabs button {
    position: relative;

    flex: 0 0 auto;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #5d6879 !important;

    padding: 11px 17px !important;

    border-radius: 9px !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    cursor: pointer;
}

.fflp-template-modern .fflp-social-tabs button:hover {
    background: #f3f5f8 !important;
}

.fflp-template-modern .fflp-social-tabs button.is-active {
    color: var(--m-navy) !important;
    background: #f0f3f8 !important;
}

.fflp-template-modern .fflp-social-tabs button.is-active::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;
    bottom: -7px;

    height: 3px;

    background: var(--m-orange);
    border-radius: 3px 3px 0 0;
}

.fflp-template-modern .fflp-social-tabs button span {
    margin-left: 3px;
    color: var(--m-muted);
    font-size: 11px;
}


/* ============================================================
   PANELS
   ============================================================ */

.fflp-template-modern .fflp-social-panel {
    padding-top: 18px;
}

.fflp-template-modern .fflp-social-panel[hidden] {
    display: none !important;
}


/* ============================================================
   OVERVIEW — FACEBOOK-LIKE TWO COLUMN
   ============================================================ */

.fflp-template-modern .fflp-social-overview {
    display: grid;

    grid-template-columns:
        minmax(280px, 350px)
        minmax(0, 1fr);

    gap: 18px;

    align-items: start;
}

.fflp-template-modern .fflp-social-intro {
    position: sticky;
    top: 72px;

    display: grid;
    gap: 13px;
}

.fflp-template-modern .fflp-social-feed {
    display: grid;
    gap: 15px;
}


/* ============================================================
   CARDS
   ============================================================ */

.fflp-template-modern .fflp-social-card,
.fflp-template-modern .fflp-social-feed-card,
.fflp-template-modern .fflp-social-gallery-card {
    min-width: 0;

    background: var(--m-card);

    border: 1px solid var(--m-border);
    border-radius: var(--m-radius);

    box-shadow: var(--m-shadow);
}

.fflp-template-modern .fflp-social-card {
    padding: 15px;
}

.fflp-template-modern .fflp-social-feed-card {
    padding: 17px;
}


/* Neutralize nested Classic cards */

.fflp-template-modern .fflp-social-card > .fflp-section,
.fflp-template-modern .fflp-social-card > .fflp-contact-card,
.fflp-template-modern .fflp-social-card > .fflp-map-card,
.fflp-template-modern .fflp-social-feed-card > .fflp-section {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}


/* Section titles */

.fflp-template-modern .fflp-section-title {
    margin: 0 0 11px !important;

    padding: 0 0 10px !important;

    border-bottom: 1px solid var(--m-border);

    color: var(--m-navy) !important;

    font-size: 16px !important;
    font-weight: 800 !important;
}


/* ============================================================
   ABOUT PREVIEW
   ============================================================ */

.fflp-template-modern
.fflp-social-about-preview
.fflp-description {
    display: -webkit-box;

    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.fflp-template-modern .fflp-social-inline-tab-link {
    margin-top: 8px;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    padding: 0 !important;

    color: var(--m-navy) !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    cursor: pointer;
}


/* ============================================================
   HOURS — COMPACT INTRO CARD
   ============================================================ */

.fflp-template-modern .fflp-social-hours-card {
    position: relative;
}

.fflp-template-modern .fflp-social-status {
    position: absolute;

    top: 15px;
    right: 15px;

    z-index: 2;

    padding: 4px 8px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.fflp-template-modern .fflp-social-status.is-open {
    color: #087443;
    background: #e8f8ef;
}

.fflp-template-modern .fflp-social-status.is-closed {
    color: #b42318;
    background: #fff0ee;
}

/* Hide old injected row pill on Modern */

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today-badge {
    display: none !important;
}

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-row {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 10px !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding: 7px 2px !important;

    border: 0 !important;
    border-bottom: 1px solid var(--m-border) !important;

    background: transparent !important;

    border-radius: 0 !important;
    box-shadow: none !important;
}

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-row:last-child {
    border-bottom: 0 !important;
}

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-day,
.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-time {
    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.35 !important;
}

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-day {
    font-weight: 700 !important;
}

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-time {
    text-align: right !important;
    color: var(--m-muted) !important;
}

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today {
    margin-inline: -5px !important;
    padding-inline: 7px !important;

    background: #f1f5ff !important;

    border-left: 3px solid #2dbb71 !important;
    border-radius: 7px !important;
}


/* ============================================================
   FIND ME AT
   ============================================================ */

.fflp-template-modern .fflp-social-find-me .wus-fma-section {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.fflp-template-modern .fflp-social-find-me .wus-fma-heading {
    margin: 0 0 10px !important;

    padding-bottom: 9px;

    border-bottom: 1px solid var(--m-border);

    font-size: 15px !important;
}

.fflp-template-modern .fflp-social-find-me .wus-fma-badges {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 8px !important;
}

.fflp-template-modern .fflp-social-find-me .wus-fma-badge-img {
    width: 100% !important;
    max-width: none !important;

    aspect-ratio: 1 / 1;

    object-fit: contain !important;

    border-radius: 9px !important;
}


/* ============================================================
   FEED HEADINGS / HIGHLIGHTS
   ============================================================ */

.fflp-template-modern .fflp-social-feed-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 12px;
    padding-bottom: 10px;

    border-bottom: 1px solid var(--m-border);

    color: var(--m-navy);

    font-size: 17px;
    font-weight: 800;
}

.fflp-template-modern .fflp-social-feed-heading small {
    color: var(--m-muted);
    font-size: 12px;
}

.fflp-template-modern .fflp-social-feed-heading button {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    padding: 0 !important;

    color: #315fbd !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    cursor: pointer;
}

/* Highlights supplies its own heading */

.fflp-template-modern
.fflp-social-highlights
> .fflp-section
> .fflp-section-title {
    display: none !important;
}


/* ============================================================
   OVERVIEW PHOTO PREVIEW
   ============================================================ */

.fflp-template-modern .fflp-social-photo-preview-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 5px;

    overflow: hidden;

    border-radius: 10px;
}

.fflp-template-modern .fflp-social-photo-preview-grid img {
    width: 100%;
    height: 145px;

    object-fit: cover;

    display: block;
}


/* ============================================================
   VIDEO
   ============================================================ */

.fflp-template-modern
.fflp-social-video
.fflp-video-wrap {
    width: min(100%, 720px);

    margin: 0 auto !important;

    line-height: 0;
}

.fflp-template-modern
.fflp-social-video
.fflp-video-wrap iframe {
    display: block !important;

    position: static !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 16 / 9;

    border-radius: 10px;
}


/* ============================================================
   ABOUT TAB
   ============================================================ */

.fflp-template-modern .fflp-social-about-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(280px, .75fr);

    gap: 18px;

    align-items: start;
}

.fflp-template-modern .fflp-social-about-layout > div,
.fflp-template-modern .fflp-social-about-layout > aside {
    display: grid;
    gap: 14px;
}


/* ============================================================
   PHOTOS TAB
   ============================================================ */

.fflp-template-modern .fflp-social-gallery-card {
    padding: 18px;
}

.fflp-template-modern .fflp-social-gallery-heading {
    margin-bottom: 14px;
    padding-bottom: 11px;

    border-bottom: 1px solid var(--m-border);
}

.fflp-template-modern .fflp-social-gallery-heading h2 {
    margin: 0;

    color: var(--m-navy);

    font-size: 20px;
}

.fflp-template-modern .fflp-social-gallery-heading h2 span {
    color: var(--m-muted);
    font-size: 13px;
    font-weight: 600;
}

.fflp-template-modern .fflp-social-gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 8px;
}

.fflp-template-modern .fflp-social-gallery-photo {
    aspect-ratio: 1 / .72;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 9px !important;

    overflow: hidden;

    background: #eef1f5 !important;
    box-shadow: none !important;

    cursor: pointer;
}

.fflp-template-modern .fflp-social-gallery-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .18s ease;
}

.fflp-template-modern .fflp-social-gallery-photo:hover img {
    transform: scale(1.035);
}


/* ============================================================
   FULLSCREEN PHOTO VIEWER
   ============================================================ */

.fflp-social-gallery-viewer {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 2147483000;
}

.fflp-social-gallery-viewer.is-open {
    display: flex;

    align-items: center;
    justify-content: center;
}

.fflp-social-gallery-viewer-bg {
    position: absolute;

    inset: 0;

    background: rgba(2,6,20,.92);
}

.fflp-social-gallery-viewer-card {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        58px
        minmax(0, 1fr)
        58px;

    grid-template-rows:
        minmax(0, 1fr)
        42px;

    width: min(1150px, calc(100vw - 40px));
    height: min(830px, calc(100vh - 40px));

    background: #080d1d;

    border-radius: 18px;

    overflow: hidden;
}

.fflp-social-gallery-stage {
    grid-column: 2;
    grid-row: 1;

    min-width: 0;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;
}

.fflp-social-gallery-main-image {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;
}

.fflp-social-gallery-prev,
.fflp-social-gallery-next {
    width: 58px !important;
    height: 100% !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    color: #fff !important;

    font-size: 44px !important;

    box-shadow: none !important;

    opacity: .72;

    cursor: pointer;
}

.fflp-social-gallery-prev {
    grid-column: 1;
    grid-row: 1;
}

.fflp-social-gallery-next {
    grid-column: 3;
    grid-row: 1;
}

.fflp-social-gallery-close {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 3;

    width: 38px !important;
    height: 38px !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: rgba(255,255,255,.14) !important;

    color: #fff !important;

    font-size: 26px !important;

    cursor: pointer;
}

.fflp-social-gallery-counter {
    grid-column: 1 / -1;
    grid-row: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,.75);

    font-size: 13px;

    background: rgba(255,255,255,.04);
}

body.fflp-social-gallery-open {
    overflow: hidden !important;
}


/* ============================================================
   EVENTS / MORE
   ============================================================ */

.fflp-template-modern .fflp-social-single-column {
    width: min(900px, 100%);
    margin: 0 auto;
}

.fflp-template-modern .fflp-social-more-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.fflp-template-modern .fflp-social-contact-area {
    width: min(900px, 100%);

    margin: 18px auto 0;
}

.fflp-template-modern
.fflp-social-contact-area
> .fflp-section {
    margin: 0 !important;

    border-top: 3px solid var(--m-orange);
}

.fflp-template-modern .fflp-social-nearby-area {
    margin-top: 18px;
}


/* ============================================================
   REVIEWS — retain modal only
   ============================================================ */

.fflp-template-modern .fflp-social-review-modal-host {
    width: 0;
    height: 0;

    overflow: hidden;
}

.fflp-template-modern
.fflp-social-review-modal-host
> .fflp-section-reviews
> :not(.fflp-reviews-modal):not(script) {
    display: none !important;
}


/* Existing review modal portaled to body */

body > .fflp-reviews-modal {
    position: fixed !important;

    inset: 0 !important;

    z-index: 2147483000 !important;

    width: 100vw !important;
    height: 100vh !important;

    margin: 0 !important;
    padding: 22px !important;

    align-items: center !important;
    justify-content: center !important;
}

body > .fflp-reviews-modal .fflp-reviews-modal-card {
    width: min(820px, calc(100vw - 44px)) !important;

    max-height: calc(100vh - 44px) !important;

    overflow: hidden !important;
}

body > .fflp-reviews-modal .fflp-reviews-modal-body {
    overflow-y: auto !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

    .fflp-template-modern .fflp-social-overview,
    .fflp-template-modern .fflp-social-about-layout {
        grid-template-columns: 1fr;
    }

    .fflp-template-modern .fflp-social-intro {
        position: static;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .fflp-template-modern .fflp-social-gallery-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 640px) {

    .fflp-template-modern {
        padding:
            10px
            8px
            34px;
    }

    .fflp-template-modern .fflp-social-header__inner {
        flex-direction: column;

        text-align: center;

        gap: 14px;

        padding: 19px 14px;
    }

    .fflp-template-modern .fflp-social-avatar {
        width: 130px;
        height: 130px;

        flex-basis: 130px;
    }

    .fflp-template-modern .fflp-social-identity h1 {
        font-size: 30px;
    }

    .fflp-template-modern .fflp-social-address,
    .fflp-template-modern .fflp-social-rating {
        justify-content: center;
    }

    .fflp-template-modern .fflp-social-tabs {
        border-radius: 0 0 11px 11px;
    }

    .fflp-template-modern .fflp-social-tabs button {
        padding:
            10px
            13px !important;
    }

    .fflp-template-modern .fflp-social-intro {
        grid-template-columns: 1fr;
    }

    .fflp-template-modern .fflp-social-photo-preview-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .fflp-template-modern .fflp-social-photo-preview-grid img {
        height: 130px;
    }

    .fflp-template-modern .fflp-social-gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .fflp-template-modern .fflp-social-more-grid {
        grid-template-columns: 1fr;
    }

    .fflp-social-gallery-viewer-card {
        width: calc(100vw - 14px);
        height: calc(100vh - 14px);

        grid-template-columns:
            40px
            minmax(0, 1fr)
            40px;

        border-radius: 12px;
    }

    .fflp-social-gallery-prev,
    .fflp-social-gallery-next {
        width: 40px !important;

        font-size: 32px !important;
    }

    .fflp-social-gallery-stage {
        padding: 7px;
    }

}


/* ============================================================
   SOCIAL V4.1 — VIDEO / CONTACT TABS + PERSISTENT NEARBY
   ============================================================ */

.fflp-template-modern .fflp-social-videos-tab {
    width: min(900px, 100%);
}

.fflp-template-modern
.fflp-social-videos-tab
> .fflp-section {
    margin: 0 !important;

    background: #fff;

    border: 1px solid var(--m-border);

    border-radius: var(--m-radius);

    padding: 18px;

    box-shadow: var(--m-shadow);
}

.fflp-template-modern
.fflp-social-videos-tab
.fflp-video-wrap {
    width: min(100%, 820px);

    margin: 0 auto !important;

    line-height: 0;
}

.fflp-template-modern
.fflp-social-videos-tab
.fflp-video-wrap iframe {
    display: block !important;

    position: static !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 16 / 9;

    border-radius: 11px;
}


/* Contact tab */

.fflp-template-modern .fflp-social-contact-tab {
    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(280px, .72fr);

    gap: 18px;

    align-items: start;
}

.fflp-template-modern .fflp-social-contact-form-card {
    min-width: 0;
}

.fflp-template-modern
.fflp-social-contact-form-card
> .fflp-section {
    margin: 0 !important;

    border-top: 3px solid var(--m-orange);

    border-radius: var(--m-radius);

    box-shadow: var(--m-shadow);
}

.fflp-template-modern .fflp-social-contact-sidebar {
    display: grid;

    gap: 13px;
}


/* Nearby stays visible regardless of active tab */

.fflp-template-modern .fflp-social-nearby-persistent {
    margin-top: 18px;
}

.fflp-template-modern
.fflp-social-nearby-persistent
> .fflp-section {
    margin-bottom: 0 !important;
}


@media (max-width: 800px) {

    .fflp-template-modern .fflp-social-contact-tab {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   MODERN SOCIAL HOURS — ONE STATUS ONLY
   Keep card-level Open/Closed status.
   Suppress the legacy injected status inside today's row.
   ============================================================ */

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today-badge {
    display: none !important;

    visibility: hidden !important;

    width: 0 !important;
    height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* Clean current-day row after removing the injected pill */

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 10px !important;
}


.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today
.fflp-hours-day {
    flex: 0 0 auto !important;
}


.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today
.fflp-hours-time {
    flex: 1 1 auto !important;

    text-align: right !important;
}


/* Give the Business Hours heading room for the card status pill */

.fflp-template-modern
.fflp-social-hours-card
.fflp-section-title {
    padding-right: 86px !important;
}



/* ============================================================
   SOCIAL PROFILE CLEANUP
   ============================================================ */


/* ------------------------------------------------------------
   Compact social icons at right edge of navigation
   ------------------------------------------------------------ */

.fflp-template-modern .fflp-social-tab-icons {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-left: auto;

    padding-left: 10px;
}


.fflp-template-modern .fflp-social-tab-icons a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 31px;
    height: 31px;

    border: 1px solid var(--m-border);

    border-radius: 50%;

    background: #fff;

    color: var(--m-navy);

    text-decoration: none;

    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}


.fflp-template-modern .fflp-social-tab-icons a:hover {
    background: var(--m-navy);

    color: #fff;

    transform: translateY(-1px);
}


/* ------------------------------------------------------------
   Thin share strip
   ------------------------------------------------------------ */

.fflp-template-modern .fflp-social-share-strip {
    display: flex;

    align-items: center;

    gap: 6px;

    min-height: 38px;

    padding: 5px 11px;

    margin-top: 6px;

    background: #fff;

    border: 1px solid var(--m-border);

    border-radius: 9px;

    box-shadow:
        0 2px 8px rgba(10,21,67,.035);
}


.fflp-template-modern .fflp-social-share-label {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-right: 3px;

    color: var(--m-muted);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .04em;
}


.fflp-template-modern
.fflp-social-share-strip a,
.fflp-template-modern
.fflp-social-share-strip button {
    display: inline-flex !important;

    align-items: center !important;

    gap: 5px !important;

    min-height: 27px !important;

    margin: 0 !important;

    padding: 4px 8px !important;

    border: 0 !important;

    border-radius: 6px !important;

    background: #f5f7fa !important;

    color: var(--m-navy) !important;

    box-shadow: none !important;

    font-size: 11px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    text-decoration: none !important;

    cursor: pointer;
}


.fflp-template-modern
.fflp-social-share-strip a:hover,
.fflp-template-modern
.fflp-social-share-strip button:hover {
    background: #e9edf3 !important;
}


/* ------------------------------------------------------------
   About is now CONTENT ONLY
   ------------------------------------------------------------ */

.fflp-template-modern .fflp-social-about-clean {
    width: min(900px, 100%);

    margin: 0 auto;

    display: grid;

    gap: 14px;
}


/* ------------------------------------------------------------
   Kill the full FOLLOW US presentation if an old copy survives
   ------------------------------------------------------------ */

.fflp-template-modern
.fflp-social-panel
.fflp-card-title {
    /* leave other cards alone */
}


.fflp-template-modern
.fflp-social-panel
.fflp-social-links {
    /* social links should now primarily live in nav */
}


/* ------------------------------------------------------------
   HOURS — THE ONE TRUE STATUS PILL
   ------------------------------------------------------------ */

/*
 * Card-level status stays.
 */

.fflp-template-modern
.fflp-social-hours-card
> .fflp-social-status {
    display: inline-flex !important;
}


/*
 * Kill every known/past row-level badge selector.
 */

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today-badge,

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today
.fflp-status-badge,

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today
.fflp-open-now,

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today
.fflp-closed-now {
    display: none !important;

    visibility: hidden !important;

    position: absolute !important;

    width: 0 !important;
    height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* Today's row goes back to simple Day / Time */

.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 10px !important;
}


.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today
.fflp-hours-day {
    flex: 0 0 auto !important;
}


.fflp-template-modern
.fflp-social-hours-card
.fflp-hours-today
.fflp-hours-time {
    flex: 1 1 auto !important;

    text-align: right !important;
}


/* ------------------------------------------------------------
   Contact tab
   ------------------------------------------------------------ */

.fflp-template-modern .fflp-social-contact-sidebar {
    align-self: start;
}


/* ------------------------------------------------------------
   Mobile
   ------------------------------------------------------------ */

@media (max-width: 700px) {

    .fflp-template-modern .fflp-social-tab-icons {
        margin-left: 4px;

        padding-left: 4px;
    }

    .fflp-template-modern .fflp-social-share-strip {
        overflow-x: auto;

        white-space: nowrap;

        scrollbar-width: none;
    }

    .fflp-template-modern
    .fflp-social-share-strip::-webkit-scrollbar {
        display: none;
    }

    .fflp-template-modern
    .fflp-social-share-strip span:not(.fflp-social-share-label) {
        display: none;
    }

}

/* ============================================================
   MODERN — FULL-WIDTH SECONDARY CONTENT
   ============================================================ */

.fflp-template-modern .fflp-social-about-clean {
    width: 100% !important;
    max-width: none !important;
}

.fflp-template-modern
.fflp-social-about-clean
.fflp-social-feed-card {
    width: 100% !important;
}

.fflp-template-modern
.fflp-social-about-clean
.fflp-description {
    max-width: 950px;
}



/* ============================================================
   MODERN — CLICKABLE OVERVIEW PHOTO PREVIEW
   ============================================================ */

.fflp-template-modern .fflp-social-photo-preview-item {
    display: block !important;

    width: 100% !important;
    height: 145px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    overflow: hidden;

    cursor: pointer;
}


.fflp-template-modern
.fflp-social-photo-preview-item img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;

    transition: transform .18s ease;
}


.fflp-template-modern
.fflp-social-photo-preview-item:hover img {
    transform: scale(1.035);
}


@media (max-width: 640px) {

    .fflp-template-modern
    .fflp-social-photo-preview-item {
        height: 130px !important;
    }

}


/* ============================================================
   MODERN — ACTIVE BOOKING CTA IN TAB BAR
   ============================================================ */

.fflp-template-modern
.fflp-social-booking-cta {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    min-height: 34px !important;

    margin-left: auto !important;

    padding: 7px 14px !important;

    border: 0 !important;
    border-radius: 8px !important;

    background: var(--m-orange) !important;

    color: #fff !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    line-height: 1 !important;

    text-decoration: none !important;

    text-transform: uppercase;

    letter-spacing: .02em;

    box-shadow:
        0 2px 7px rgba(255,107,0,.22) !important;
}


.fflp-template-modern
.fflp-social-booking-cta:hover {
    transform: translateY(-1px);

    filter: brightness(.96);
}


/*
 * When booking CTA exists, social icons should not
 * steal the auto-margin.
 */

.fflp-template-modern
.fflp-social-booking-cta
+ .fflp-social-tab-icons {
    margin-left: 4px !important;
}


@media (max-width: 700px) {

    .fflp-template-modern
    .fflp-social-booking-cta {
        padding:
            7px
            10px !important;

        font-size: 11px !important;
    }

}


/* ===== MODERN BOOKING CTA ===== */
.fflp-social-booking-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #ff9a1f 0%, #ff7a00 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow:
        0 0 0 0 rgba(255, 122, 0, 0.35),
        0 6px 14px rgba(255, 122, 0, 0.22);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease,
        background 0.18s ease;
    animation: fflpBookingLiveGlow 2.2s ease-in-out infinite;
}

.fflp-social-booking-cta:hover,
.fflp-social-booking-cta:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow:
        0 0 0 4px rgba(255, 122, 0, 0.12),
        0 0 18px rgba(255, 122, 0, 0.28),
        0 8px 18px rgba(255, 122, 0, 0.28);
}

.fflp-social-booking-cta:focus-visible {
    outline: 2px solid rgba(255, 122, 0, 0.35);
    outline-offset: 2px;
}

@keyframes fflpBookingLiveGlow {
    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(255, 122, 0, 0.28),
            0 6px 14px rgba(255, 122, 0, 0.22);
    }
    50% {
        box-shadow:
            0 0 0 5px rgba(255, 122, 0, 0.10),
            0 0 18px rgba(255, 122, 0, 0.26),
            0 8px 18px rgba(255, 122, 0, 0.25);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fflp-social-booking-cta {
        animation: none;
    }
}
/* ===== END MODERN BOOKING CTA ===== */

/* ============================================================
   MODERN LISTING SEND TO FRIEND
   ============================================================ */

.fflp-template-modern
.fflp-modern-email-share {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    cursor: pointer;
}

.fflp-template-modern
.fflp-modern-email-share:hover {
    color: #ff6b00;
}

body.fflp-stf-open {
    overflow: hidden;
}

.fflp-stf-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483500;
    background: rgba(10, 21, 67, 0.58);
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.fflp-stf-overlay.is-open {
    display: flex;
}

.fflp-stf-modal {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow:
        0 24px 70px
        rgba(0, 0, 0, 0.28);
}

.fflp-stf-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.fflp-stf-close:hover {
    background: #f1f5f9;
    color: #0a1543;
}

.fflp-stf-modal h2 {
    margin: 0 44px 6px 0;
    color: #0a1543;
    font-size: 24px;
    line-height: 1.25;
}

.fflp-stf-modal h2 i {
    color: #ff6b00;
    margin-right: 5px;
}

.fflp-stf-subtitle {
    margin: 0 0 20px;
    color: #64748b;
    line-height: 1.5;
}

.fflp-stf-field {
    margin-bottom: 15px;
}

.fflp-stf-field label {
    display: block;
    margin-bottom: 6px;
    color: #0a1543;
    font-size: 14px;
    font-weight: 700;
}

.fflp-stf-required {
    color: #dc2626;
}

.fflp-stf-optional {
    color: #94a3b8;
    font-weight: 500;
}

.fflp-stf-field input,
.fflp-stf-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    padding: 11px 12px;
    color: #0f172a;
    font: inherit;
}

.fflp-stf-field input:focus,
.fflp-stf-field textarea:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow:
        0 0 0 3px
        rgba(255, 107, 0, 0.12);
}

.fflp-stf-turnstile {
    min-height: 2px;
}

.fflp-stf-submit {
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: #ff6b00;
    color: #ffffff;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}

.fflp-stf-submit:hover {
    transform: translateY(-1px);
    box-shadow:
        0 6px 16px
        rgba(255, 107, 0, 0.25);
}

.fflp-stf-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.fflp-stf-feedback {
    display: none;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.fflp-stf-feedback.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.fflp-stf-feedback.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 560px) {

    .fflp-stf-overlay {
        padding: 12px;
    }

    .fflp-stf-modal {
        padding: 24px 18px;
        border-radius: 13px;
    }

    .fflp-stf-modal h2 {
        font-size: 21px;
    }
}

/* ============================================================
   MODERN HERO PILLS
   ============================================================ */

.fflp-template-modern
.fflp-modern-hero-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 7px;
}

.fflp-template-modern
.fflp-modern-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .025em;
    white-space: nowrap;
}

/* Founding */
.fflp-template-modern
.fflp-modern-pill.is-founding {
    background: #fff8dc;
    color: #8a6700;
    border: 1px solid #e4c65a;
    box-shadow:
        0 0 0 1px rgba(212,160,23,.06),
        0 2px 8px rgba(212,160,23,.12);
}

/* Featured */
.fflp-template-modern
.fflp-modern-pill.is-featured {
    background: #fff1e7;
    color: #c45100;
    border: 1px solid #ffc293;
}

/* Partner */
.fflp-template-modern
.fflp-modern-pill.is-partner {
    background: #eef7ff;
    color: #155b8a;
    border: 1px solid #b9daf2;
}

/* Pro */
.fflp-template-modern
.fflp-modern-pill.is-pro {
    background: #edf4ff;
    color: #1d4ed8;
    border: 1px solid #bed1ff;
}

/* Verified */
.fflp-template-modern
.fflp-modern-pill.is-verified {
    background: #ecfdf5;
    color: #087a45;
    border: 1px solid #a7e6c7;
}

/* Open */
.fflp-template-modern
.fflp-modern-pill.is-open {
    background: #ecfdf5;
    color: #087a35;
    border: 1px solid #a7e6c7;
}

/* Closed */
.fflp-template-modern
.fflp-modern-pill.is-closed {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #dbe3eb;
}


/*
 * Existing discovery badge renderer can output its own wrapper.
 * Make it participate in the same compact pill row.
 */
.fflp-template-modern
.fflp-modern-discovery-pills {
    display: contents;
}

.fflp-template-modern
.fflp-modern-discovery-pills
.fflp-discovery-badges,
.fflp-template-modern
.fflp-modern-discovery-pills
.ui-pill-row {
    display: contents;
}


/*
 * Normalize OG/discovery pills when rendered inside Modern.
 */
.fflp-template-modern
.fflp-modern-discovery-pills
.ui-pill,
.fflp-template-modern
.fflp-modern-discovery-pills
[class*="badge"] {
    margin: 0;
}


@media (max-width: 640px) {

    .fflp-template-modern
    .fflp-modern-hero-pills {
        gap: 5px;
        margin-top: 7px;
    }

    .fflp-template-modern
    .fflp-modern-pill {
        font-size: 10px;
        padding: 3px 8px;
    }
}



/* ============================================================
   MODERN HERO — STATUS PILL COLOR MATCH
   ============================================================ */

.fflp-template-modern
.fflp-modern-pill.is-open {
    background: #ecfdf5;
    color: #087a35;
    border: 1px solid #a7e6c7;
}

.fflp-template-modern
.fflp-modern-pill.is-closed {
    background: #fff1f2;
    color: #c2414b;
    border: 1px solid #fecdd3;
}

/* Keep Verified visually distinct from Open */
.fflp-template-modern
.fflp-modern-pill.is-verified {
    background: #effdf7;
    color: #087a45;
    border: 1px solid #b7ead0;
}

/* ============================================================
   MODERN MULTI VIDEO
   ============================================================ */

.fflp-template-modern
.fflp-modern-video-card {
    overflow: hidden;
}

.fflp-template-modern
.fflp-modern-video-heading {
    padding: 14px 16px 10px;
}

.fflp-template-modern
.fflp-modern-video-heading h2,
.fflp-template-modern
.fflp-modern-video-heading h3 {
    margin: 0;

    color: var(--m-navy);

    font-size: 18px;
    line-height: 1.3;
}

.fflp-template-modern
.fflp-modern-video-heading h3 {
    font-size: 16px;
}

.fflp-template-modern
.fflp-modern-video-embed {
    width: 100%;

    line-height: 0;
}

.fflp-template-modern
.fflp-modern-video-embed iframe,
.fflp-template-modern
.fflp-modern-video-embed video {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;

    aspect-ratio: 16 / 9;

    border: 0;
}


/* Videos tab */

.fflp-template-modern
.fflp-modern-videos-library {
    padding: 18px;
}

.fflp-template-modern
.fflp-modern-videos-header {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 16px;
    padding-bottom: 11px;

    border-bottom: 1px solid var(--m-border);
}

.fflp-template-modern
.fflp-modern-videos-header h2 {
    margin: 0;

    color: var(--m-navy);

    font-size: 20px;
}

.fflp-template-modern
.fflp-modern-videos-header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 23px;
    height: 23px;
    padding: 0 7px;

    border-radius: 999px;

    background: #eef1f5;
    color: var(--m-muted);

    font-size: 12px;
    font-weight: 700;
}

.fflp-template-modern
.fflp-modern-videos-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.fflp-template-modern
.fflp-modern-videos-grid
.fflp-modern-video-card {
    border: 1px solid var(--m-border);
    border-radius: 10px;

    background: #fff;

    overflow: hidden;
}


@media (max-width: 760px) {

    .fflp-template-modern
    .fflp-modern-videos-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MODERN VIDEO LIGHTBOX + FULL WIDTH
   ============================================================ */

/*
 * Videos tab should match the normal Modern content width,
 * not the narrower single-column reading width.
 */
.fflp-template-modern
.fflp-social-videos-tab {
    width: 100%;
    max-width: none;
}

.fflp-template-modern
.fflp-modern-videos-library {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}


/*
 * Clickable video previews.
 */
.fflp-template-modern
.fflp-modern-video-launch {
    position: relative;

    cursor: pointer;

    overflow: hidden;
}

.fflp-template-modern
.fflp-modern-video-click-layer {
    position: absolute;

    inset: 0;

    z-index: 5;

    display: block;

    background: transparent;
}

.fflp-template-modern
.fflp-modern-video-launch:focus-visible {
    outline: 3px solid var(--m-orange);
    outline-offset: 3px;
}


/*
 * Full-screen player.
 */
.fflp-modern-video-modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 2147483200;
}

.fflp-modern-video-modal.is-open {
    display: flex;

    align-items: center;
    justify-content: center;

    padding: 32px;
}

.fflp-modern-video-modal-bg {
    position: absolute;

    inset: 0;

    background: rgba(2, 6, 20, .92);
}

.fflp-modern-video-modal-dialog {
    position: relative;

    z-index: 1;

    width: min(1200px, 94vw);

    border-radius: 14px;

    background: #000;

    box-shadow:
        0 24px 80px rgba(0,0,0,.45);

    overflow: visible;
}

.fflp-modern-video-modal-player {
    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 14px;

    background: #000;
}

.fflp-modern-video-modal-player iframe {
    display: block;

    width: 100% !important;
    height: 100% !important;

    border: 0;
}

.fflp-modern-video-modal-close {
    position: absolute;

    z-index: 4;

    top: -16px;
    right: -16px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 2px solid #fff;
    border-radius: 50%;

    background: #0a1543;
    color: #fff;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 6px 20px rgba(0,0,0,.35);
}

body.fflp-video-modal-open {
    overflow: hidden;
}


@media (max-width: 760px) {

    .fflp-modern-video-modal.is-open {
        padding: 14px;
    }

    .fflp-modern-video-modal-dialog {
        width: 100%;
    }

    .fflp-modern-video-modal-close {
        top: -10px;
        right: -6px;

        width: 38px;
        height: 38px;

        font-size: 24px;
    }
}




/* ============================================================
   MODERN — NEUTRALIZE LEGACY TIER BACKGROUNDS
   ============================================================ */

/*
 * Legacy tier CSS gives Founding Member listings a gold/orange
 * gradient background. Modern uses its own neutral page surface,
 * so do not allow the tier background to bleed between cards.
 */
.fflp-template-modern .fflp-tier-founding-member,
.fflp-template-modern.fflp-tier-founding-member {
    background: var(--m-bg) !important;
    color: var(--m-text) !important;
}


/*
 * Mobile reinforcement.
 */
@media (max-width: 640px) {

    .fflp-template-modern,
    .fflp-template-modern .fflp-social-profile,
    .fflp-template-modern .fflp-social-panel,
    .fflp-template-modern .fflp-social-overview,
    .fflp-template-modern .fflp-tier-founding-member {
        background: var(--m-bg) !important;
    }

}


/* ============================================================
   MODERN — HARD RESET LEGACY TIER BACKGROUND
   ============================================================ */

/*
 * The Modern <main> carries both:
 *   .fflp-social-profile
 *   .fflp-tier-{plan}
 *
 * Legacy dashboard CSS applies plan-colored backgrounds directly
 * to that same element. Modern must always use its neutral surface.
 */
.fflp-template-modern
.fflp-social-profile.fflp-tier-founding-member,

.fflp-template-modern
.fflp-social-profile.fflp-tier-premium,

.fflp-template-modern
.fflp-social-profile.fflp-tier-featured,

.fflp-template-modern
.fflp-social-profile.fflp-tier-community-partner,

.fflp-template-modern
.fflp-social-profile.fflp-tier-enhanced,

.fflp-template-modern
.fflp-social-profile.fflp-tier-basic,

.fflp-template-modern
.fflp-social-profile.fflp-tier-community-free {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    color: var(--m-text) !important;
}


/*
 * Mobile:
 * make every exposed gap explicitly use Modern's neutral page color.
 */
@media (max-width: 640px) {

    .fflp-template-modern {
        background: var(--m-bg) !important;
        background-image: none !important;
    }

    .fflp-template-modern
    .fflp-social-profile {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
    }

    .fflp-template-modern
    .fflp-social-panel,

    .fflp-template-modern
    .fflp-social-overview,

    .fflp-template-modern
    .fflp-social-intro,

    .fflp-template-modern
    .fflp-social-feed {
        background: transparent !important;
        background-image: none !important;
    }

}


/* ============================================================
   FFLP MODERN LOCAL PASS TAB
   ============================================================ */

.fflp-template-modern
.fflp-social-local-pass-tab {

    max-width: 980px;

    margin: 0 auto;
}


.fflp-template-modern
.fflp-local-pass-section {

    display: grid;

    gap: 18px;

    margin: 0 !important;
}


.fflp-template-modern
.fflp-local-pass-intro {

    display: grid;

    grid-template-columns:
        190px
        minmax(0, 1fr);

    gap: 22px;

    align-items: center;

    padding: 20px;

    border:
        1px solid var(--m-border);

    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 4px 16px
        rgba(10,21,67,.045);
}


.fflp-template-modern
.fflp-local-pass-card-art {

    display: flex;

    align-items: center;

    justify-content: center;
}


.fflp-template-modern
.fflp-local-pass-card-art img {

    display: block;

    width: 100%;

    max-width: 175px;

    height: auto;

    border-radius: 10px;

    box-shadow:
        0 5px 16px
        rgba(10,21,67,.10);
}


.fflp-template-modern
.fflp-local-pass-eyebrow {

    display: block;

    margin-bottom: 5px;

    color: #ff6b00;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .08em;
}


.fflp-template-modern
.fflp-local-pass-heading {

    margin: 0 0 7px !important;

    color: var(--m-navy);

    font-size: 23px;

    line-height: 1.2;
}


.fflp-template-modern
.fflp-local-pass-intro-copy p {

    max-width: 580px;

    margin: 0 0 14px;

    color: var(--m-muted);

    font-size: 14px;

    line-height: 1.55;
}


.fflp-template-modern
.fflp-local-pass-buy {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    padding:
        9px
        16px;

    border-radius: 7px;

    background: var(--m-navy);

    color: #fff !important;

    font-size: 13px;

    font-weight: 800;

    line-height: 1;

    text-decoration: none !important;

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}


.fflp-template-modern
.fflp-local-pass-buy:hover {

    transform:
        translateY(-1px);

    box-shadow:
        0 5px 14px
        rgba(10,21,67,.16);
}


.fflp-template-modern
.fflp-local-pass-deals {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 14px;
}


.fflp-template-modern
.fflp-local-pass-deal {

    position: relative;

    padding: 18px;

    border:
        1px solid var(--m-border);

    border-radius: 10px;

    background: #fff;

    box-shadow:
        0 2px 10px
        rgba(10,21,67,.035);
}


.fflp-template-modern
.fflp-local-pass-deal.is-popup {

    border-color:
        rgba(255,107,0,.45);

    box-shadow:
        inset 4px 0 0 #ff6b00,
        0 2px 10px
        rgba(10,21,67,.035);
}


.fflp-template-modern
.fflp-local-pass-deal-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 10px;
}


.fflp-template-modern
.fflp-local-pass-type {

    display: inline-flex;

    align-items: center;

    min-height: 25px;

    padding:
        4px
        8px;

    border-radius: 999px;

    background: #eef4ff;

    color: #1849a9;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .03em;

    text-transform: uppercase;
}


.fflp-template-modern
.fflp-local-pass-type.is-popup {

    background: #fff0e6;

    color: #b54708;
}


.fflp-template-modern
.fflp-local-pass-expiry {

    color: #667085;

    font-size: 11px;

    font-weight: 700;
}


.fflp-template-modern
.fflp-local-pass-offer {

    margin:
        0
        0
        8px !important;

    color: var(--m-navy);

    font-size: 19px;

    line-height: 1.3;
}


.fflp-template-modern
.fflp-local-pass-description {

    margin-bottom: 12px;

    color: #475467;

    font-size: 14px;

    line-height: 1.55;
}


.fflp-template-modern
.fflp-local-pass-description p {

    margin:
        0
        0
        7px;
}


.fflp-template-modern
.fflp-local-pass-description p:last-child {

    margin-bottom: 0;
}


.fflp-template-modern
.fflp-local-pass-detail {

    display: grid;

    grid-template-columns:
        105px
        minmax(0, 1fr);

    gap: 10px;

    padding:
        9px
        0;

    border-top:
        1px solid #edf0f4;

    font-size: 13px;

    line-height: 1.45;
}


.fflp-template-modern
.fflp-local-pass-detail strong {

    color: #344054;

    font-weight: 800;
}


.fflp-template-modern
.fflp-local-pass-detail span {

    color: #475467;
}


@media (max-width: 760px) {

    .fflp-template-modern
    .fflp-local-pass-intro {

        grid-template-columns:
            1fr;

        text-align: center;
    }


    .fflp-template-modern
    .fflp-local-pass-card-art img {

        max-width: 155px;
    }


    .fflp-template-modern
    .fflp-local-pass-intro-copy p {

        margin-left: auto;

        margin-right: auto;
    }


    .fflp-template-modern
    .fflp-local-pass-deals {

        grid-template-columns:
            1fr;
    }


    .fflp-template-modern
    .fflp-local-pass-detail {

        grid-template-columns:
            1fr;

        gap: 3px;
    }

}



/* ============================================================
   FFLP LOCAL PASS FRONTEND POLISH V2
   ============================================================ */

.fflp-template-modern
.fflp-local-pass-tab-button {

    display:
        inline-flex !important;

    align-items:
        center;

    gap:
        7px;
}


.fflp-template-modern
.fflp-local-pass-tab-card {

    display:
        block;

    width:
        32px;

    height:
        20px;

    object-fit:
        cover;

    border-radius:
        3px;

    box-shadow:
        0 1px 3px
        rgba(10,21,67,.16);
}


.fflp-template-modern
.fflp-local-pass-intro--compact {

    display:
        block !important;

    padding:
        4px 2px 2px !important;

    border:
        0 !important;

    border-radius:
        0 !important;

    background:
        transparent !important;

    box-shadow:
        none !important;
}


.fflp-template-modern
.fflp-local-pass-intro--compact
.fflp-local-pass-heading {

    margin-bottom:
        5px !important;
}


.fflp-template-modern
.fflp-local-pass-intro--compact p {

    margin:
        0 !important;

    max-width:
        700px;
}


.fflp-template-modern
.fflp-local-pass-deals {

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        ) !important;
}


.fflp-template-modern
.fflp-local-pass-deal:only-child {

    grid-column:
        1 / -1;

    width:
        100%;

    max-width:
        none;
}


.fflp-template-modern
.fflp-local-pass-deal {

    padding:
        20px !important;
}


.fflp-template-modern
.fflp-local-pass-cta {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    margin-top:
        2px;

    padding:
        18px 20px;

    border:
        1px solid #dce3ec;

    border-radius:
        10px;

    background:
        #f7f9fc;
}


.fflp-template-modern
.fflp-local-pass-cta > div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        3px;
}


.fflp-template-modern
.fflp-local-pass-cta strong {

    color:
        var(--m-navy);

    font-size:
        15px;

    line-height:
        1.35;
}


.fflp-template-modern
.fflp-local-pass-cta span {

    color:
        #667085;

    font-size:
        13px;

    line-height:
        1.45;
}


.fflp-template-modern
.fflp-local-pass-cta
.fflp-local-pass-buy {

    flex:
        0 0 auto;
}


@media (max-width: 760px) {

    .fflp-template-modern
    .fflp-local-pass-tab-card {

        width:
            28px;

        height:
            18px;
    }


    .fflp-template-modern
    .fflp-local-pass-deals {

        grid-template-columns:
            1fr !important;
    }


    .fflp-template-modern
    .fflp-local-pass-cta {

        align-items:
            stretch;

        flex-direction:
            column;
    }


    .fflp-template-modern
    .fflp-local-pass-buy {

        width:
            100%;
    }

}



/* ============================================================
   FFLP LOCAL PASS NAV BADGE
   ============================================================ */

.fflp-template-modern
.fflp-local-pass-tab-button {

    display:
        inline-flex !important;

    align-items:
        center;

    gap:
        7px;
}


.fflp-template-modern
.fflp-local-pass-nav-badge {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        20px;

    padding:
        3px 7px;

    border:
        1px solid rgba(255,107,0,.24);

    border-radius:
        999px;

    background:
        #fff2e8;

    color:
        #d95b00;

    font-size:
        9px;

    font-weight:
        800;

    line-height:
        1;

    letter-spacing:
        .06em;
}


.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"]:hover
.fflp-local-pass-nav-badge,

.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"][aria-selected="true"]
.fflp-local-pass-nav-badge {

    background:
        #ff6b00;

    border-color:
        #ff6b00;

    color:
        #fff;
}


/*
 * Old card-image class intentionally retired.
 */
.fflp-template-modern
.fflp-local-pass-tab-card {

    display:
        none !important;
}


@media (max-width: 760px) {

    .fflp-template-modern
    .fflp-local-pass-nav-badge {

        padding:
            3px 6px;

        font-size:
            8px;
    }

}



/* ============================================================
   FFLP LOCAL PASS DISTINCT TAB V3
   ============================================================ */

/*
 * Local Pass gets visual emphasis without adding another badge/icon.
 */
.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"] {

    padding-left:
        18px;

    padding-right:
        18px;

    border:
        1px solid rgba(255,107,0,.20);

    border-radius:
        9px;

    background:
        #fff7f1;

    color:
        #0a1543;

    font-weight:
        800;

    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease;
}


.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"]:hover {

    border-color:
        rgba(255,107,0,.42);

    background:
        #fff1e7;

    color:
        #d95b00;
}


.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"][aria-selected="true"] {

    border-color:
        rgba(255,107,0,.48);

    background:
        #fff0e5;

    color:
        #0a1543;
}


/*
 * Retire previous miniature image / PASS badge experiments.
 */
.fflp-template-modern
.fflp-local-pass-tab-card,
.fflp-template-modern
.fflp-local-pass-nav-badge {

    display:
        none !important;
}


/* ============================================================
   LOWER LOCAL PASS PURCHASE CTA
   ============================================================ */

.fflp-template-modern
.fflp-local-pass-cta {

    display:
        grid !important;

    grid-template-columns:
        110px
        minmax(0, 1fr)
        auto;

    align-items:
        center !important;

    gap:
        18px !important;

    padding:
        18px 20px !important;
}


.fflp-template-modern
.fflp-local-pass-cta-card {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;
}


.fflp-template-modern
.fflp-local-pass-cta-card img {

    display:
        block;

    width:
        100%;

    max-width:
        105px;

    height:
        auto;

    border-radius:
        7px;

    box-shadow:
        0 3px 10px
        rgba(10,21,67,.10);
}


.fflp-template-modern
.fflp-local-pass-cta-copy {

    display:
        flex;

    flex-direction:
        column;

    gap:
        4px;
}


.fflp-template-modern
.fflp-local-pass-cta-copy strong {

    color:
        var(--m-navy);

    font-size:
        15px;

    line-height:
        1.35;
}


.fflp-template-modern
.fflp-local-pass-cta-copy span {

    color:
        #667085;

    font-size:
        13px;

    line-height:
        1.45;
}


@media (max-width: 760px) {

    .fflp-template-modern
    .fflp-social-tabs
    button[data-fflp-tab="local-pass"] {

        padding-left:
            13px;

        padding-right:
            13px;
    }


    .fflp-template-modern
    .fflp-local-pass-cta {

        grid-template-columns:
            82px
            minmax(0, 1fr) !important;

        gap:
            14px !important;
    }


    .fflp-template-modern
    .fflp-local-pass-cta
    .fflp-local-pass-buy {

        grid-column:
            1 / -1;

        width:
            100%;
    }


    .fflp-template-modern
    .fflp-local-pass-cta-card img {

        max-width:
            80px;
    }

}



/* ============================================================
   FFLP LOCAL PASS BRIGHT NAV V4
   ============================================================ */

/*
 * Local Pass should attract attention even while inactive.
 */
.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"] {

    background:
        #fff3e8 !important;

    border:
        1px solid #ff9a52 !important;

    color:
        #d95700 !important;

    font-weight:
        800 !important;

    box-shadow:
        0 2px 7px
        rgba(255,107,0,.10) !important;
}


/*
 * Hover gets brighter rather than darker.
 */
.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"]:hover {

    background:
        #ffe2cc !important;

    border-color:
        #ff6b00 !important;

    color:
        #b94700 !important;
}


/*
 * Selected state: unmistakably Local Pass.
 */
.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"][aria-selected="true"] {

    background:
        #ff6b00 !important;

    border-color:
        #ff6b00 !important;

    color:
        #fff !important;

    box-shadow:
        0 4px 12px
        rgba(255,107,0,.22) !important;
}


/*
 * Existing active-tab underline is redundant when the
 * full Local Pass tab is orange.
 */
.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"][aria-selected="true"]::after {

    background:
        #0A1543 !important;
}



/* ============================================================
   FFLP LOCAL PASS SEXY PASS
   ============================================================ */

/*
 * Local Pass nav: brighter, cleaner, readable.
 */
.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"] {

    background:
        #fff4e8 !important;

    border:
        1px solid #ff9a52 !important;

    color:
        #0A1543 !important;

    font-weight:
        800 !important;

    box-shadow:
        0 2px 8px
        rgba(255,107,0,.10) !important;
}


.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"]:hover {

    background:
        #ffe8d2 !important;

    border-color:
        #ff6b00 !important;

    color:
        #0A1543 !important;
}


.fflp-template-modern
.fflp-social-tabs
button[data-fflp-tab="local-pass"][aria-selected="true"] {

    background:
        linear-gradient(
            135deg,
            #fff0df,
            #ffd8b8
        ) !important;

    border-color:
        #ff6b00 !important;

    color:
        #0A1543 !important;

    box-shadow:
        0 5px 14px
        rgba(255,107,0,.18) !important;
}


/*
 * Deal cards: more premium / less generic.
 */
.fflp-template-modern
.fflp-local-pass-deal {

    position:
        relative;

    overflow:
        hidden;

    border:
        1px solid #dce3ec !important;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffdfa 100%
        ) !important;

    box-shadow:
        0 6px 18px
        rgba(10,21,67,.05) !important;
}


.fflp-template-modern
.fflp-local-pass-deal::before {

    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        5px;

    height:
        100%;

    background:
        #ff6b00;
}


.fflp-template-modern
.fflp-local-pass-deal.is-popup::before {

    width:
        7px;

    background:
        linear-gradient(
            180deg,
            #ff6b00,
            #ff9a52
        );
}


/*
 * Deal type badge.
 */
.fflp-template-modern
.fflp-local-pass-type {

    background:
        #fff1e5 !important;

    color:
        #c94f00 !important;

    border:
        1px solid rgba(255,107,0,.18);
}


.fflp-template-modern
.fflp-local-pass-type.is-popup {

    background:
        #ff6b00 !important;

    color:
        #fff !important;

    border-color:
        #ff6b00 !important;
}


/*
 * Offer title gets more weight.
 */
.fflp-template-modern
.fflp-local-pass-offer {

    font-size:
        21px !important;

    font-weight:
        800 !important;

    letter-spacing:
        -.01em;
}


/*
 * CTA becomes a membership banner.
 */
.fflp-template-modern
.fflp-local-pass-cta {

    position:
        relative;

    overflow:
        hidden;

    border:
        1px solid rgba(255,107,0,.20) !important;

    background:
        linear-gradient(
            135deg,
            #fff9f3 0%,
            #fff3e7 100%
        ) !important;

    box-shadow:
        0 6px 18px
        rgba(10,21,67,.05);
}


.fflp-template-modern
.fflp-local-pass-cta::after {

    content:
        "";

    position:
        absolute;

    top:
        -45px;

    right:
        -45px;

    width:
        120px;

    height:
        120px;

    border-radius:
        50%;

    background:
        rgba(255,107,0,.08);

    pointer-events:
        none;
}


.fflp-template-modern
.fflp-local-pass-cta-card img {

    box-shadow:
        0 6px 18px
        rgba(10,21,67,.16) !important;
}


.fflp-template-modern
.fflp-local-pass-cta-copy strong {

    font-size:
        16px !important;

    color:
        #0A1543 !important;
}


.fflp-template-modern
.fflp-local-pass-buy {

    position:
        relative;

    z-index:
        2;

    background:
        #0A1543 !important;

    color:
        #fff !important;

    border:
        1px solid #0A1543;

    box-shadow:
        0 4px 12px
        rgba(10,21,67,.16);
}


.fflp-template-modern
.fflp-local-pass-buy:hover {

    background:
        #ff6b00 !important;

    border-color:
        #ff6b00;

    color:
        #fff !important;
}



/* WUS OVERVIEW SERVICES PREVIEW V1 */

.fflp-template-modern .wus-overview-services {
    overflow: hidden;
}

.fflp-template-modern .wus-overview-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 22px;
    list-style: none;
    padding: 18px 20px 22px;
    margin: 0;
}

.fflp-template-modern .wus-overview-services-grid li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #303744;
}

.fflp-template-modern .wus-service-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: rgba(255, 107, 0, .10);
    color: #FF6B00;
    font-size: 12px;
    font-weight: 700;
    margin-top: 1px;
}

@media (max-width: 600px) {
    .fflp-template-modern .wus-overview-services-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}


/* WUS SERVICES LAYOUT V2
   Full About-tab Services matching Overview preview
*/

.fflp-template-modern
[data-fflp-panel="about"]
.fflp-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 22px;
    margin: 0;
    padding: 18px 6px 10px;
}

.fflp-template-modern
[data-fflp-panel="about"]
.fflp-services-grid .fflp-service-pill {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #303744;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    font-family: inherit;
    box-shadow: none;
    transform: none;
    transition: none;
    white-space: normal;
}

.fflp-template-modern
[data-fflp-panel="about"]
.fflp-services-grid .fflp-service-pill::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(255, 107, 0, .10);
    color: #FF6B00;
    font-size: 12px;
    font-weight: 700;
}

.fflp-template-modern
[data-fflp-panel="about"]
.fflp-services-grid .fflp-service-pill:hover {
    background: transparent;
    color: #303744;
    border: 0;
    box-shadow: none;
    transform: none;
}

@media (max-width: 600px) {
    .fflp-template-modern
    [data-fflp-panel="about"]
    .fflp-services-grid {
        grid-template-columns: 1fr;
        padding: 16px 0 8px;
    }
}
