.frmpfr {
    --fr-red: #b91c1c;
    --fr-red-dark: #7f1d1d;
    --fr-orange: #ea580c;
    --fr-amber: #f59e0b;
    --fr-blue: #0f3b66;
    --fr-text: #172033;
    --fr-muted: #5d687b;
    --fr-soft: #f6f8fb;
    --fr-card: #ffffff;
    --fr-border: #e6eaf0;
    width: min(1180px, 95%);
    margin: 0 auto;
    padding: 30px 0 60px;
    color: var(--fr-text);
    font-family: inherit;
}

.frmpfr * {
    box-sizing: border-box;
}

.frmpfr a {
    text-decoration: none;
}

.frmpfr-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: stretch;
    padding: 38px;
    border: 1px solid var(--fr-border);
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(185, 28, 28, 0.16), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7f9fc 45%, #eef4fb 100%);
    box-shadow: 0 22px 55px rgba(15, 59, 102, 0.11);
    overflow: hidden;
}

.frmpfr-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--fr-red-dark);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.84rem;
}

.frmpfr h1,
.frmpfr h2,
.frmpfr h3,
.frmpfr p {
    margin-top: 0;
}

.frmpfr h1 {
    max-width: 760px;
    margin-bottom: 16px;
    color: var(--fr-blue);
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.frmpfr h2 {
    color: var(--fr-blue);
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.frmpfr h3 {
    color: var(--fr-blue);
    font-size: 1.22rem;
    margin-bottom: 8px;
}

.frmpfr-lead {
    max-width: 720px;
    color: var(--fr-muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.frmpfr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.frmpfr-actions-centre {
    justify-content: center;
}

.frmpfr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.frmpfr-btn:hover,
.frmpfr-card:hover {
    transform: translateY(-2px);
}

.frmpfr-btn-primary {
    background: linear-gradient(135deg, var(--fr-red), var(--fr-red-dark));
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.24);
}

.frmpfr-btn-soft {
    background: #ffffff;
    color: var(--fr-blue) !important;
    border: 1px solid var(--fr-border);
}

.frmpfr-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.frmpfr-trust-row span {
    display: inline-flex;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--fr-border);
    color: var(--fr-muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.frmpfr-hero-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.frmpfr-mini-window {
    width: 100%;
    min-height: 100%;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--fr-border);
    box-shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
}

.frmpfr-window-dots {
    display: flex;
    gap: 7px;
    margin-bottom: 18px;
}

.frmpfr-window-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #d5dce7;
}

.frmpfr-mini-window ul {
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.frmpfr-mini-window li {
    padding: 12px 0;
    border-bottom: 1px solid var(--fr-border);
    color: var(--fr-muted);
}

.frmpfr-mini-window a {
    display: inline-flex;
    margin-top: 8px;
    color: var(--fr-red-dark);
    font-weight: 800;
}

.frmpfr-section-intro {
    max-width: 760px;
    margin: 48px auto 24px;
    text-align: center;
}

.frmpfr-section-intro p:last-child {
    color: var(--fr-muted);
    font-size: 1.05rem;
}

.frmpfr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.frmpfr-card {
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--fr-border);
    border-radius: 24px;
    background: var(--fr-card);
    color: var(--fr-text) !important;
    box-shadow: 0 12px 30px rgba(15, 59, 102, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frmpfr-card:hover {
    box-shadow: 0 18px 38px rgba(15, 59, 102, 0.14);
}

.frmpfr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    margin-bottom: 18px;
    padding: 0 10px;
    border-radius: 16px;
    background: #fff1f1;
    color: var(--fr-red-dark);
    font-weight: 900;
}

.frmpfr-card p,
.frmpfr-split p,
.frmpfr-benefits span,
.frmpfr-final-cta p,
.frmpfr-faq-panel p {
    color: var(--fr-muted);
    line-height: 1.62;
}

.frmpfr-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
    margin-top: 42px;
    padding: 34px;
    border-radius: 28px;
    background: var(--fr-soft);
    border: 1px solid var(--fr-border);
}

.frmpfr-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.frmpfr-benefits div {
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--fr-border);
}

.frmpfr-benefits strong,
.frmpfr-benefits span {
    display: block;
}

.frmpfr-benefits strong {
    color: var(--fr-blue);
    margin-bottom: 6px;
}

.frmpfr-faq {
    max-width: 860px;
    margin: 52px auto 0;
}

.frmpfr-faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 0;
    padding: 18px 20px;
    border: 1px solid var(--fr-border);
    border-radius: 18px;
    background: #ffffff;
    color: var(--fr-blue);
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.frmpfr-faq-btn::after {
    content: '+';
    font-size: 1.35rem;
    color: var(--fr-red-dark);
}

.frmpfr-faq-btn.is-open::after {
    content: '–';
}

.frmpfr-faq-panel {
    display: none;
    padding: 0 20px 16px;
    border: 1px solid var(--fr-border);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: #ffffff;
}

.frmpfr-faq-panel.is-open {
    display: block;
}

.frmpfr-final-cta {
    margin-top: 48px;
    padding: 34px 22px;
    text-align: center;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--fr-blue), #102a43);
    color: #ffffff;
}

.frmpfr-final-cta h2,
.frmpfr-final-cta p,
.frmpfr-final-cta small {
    color: #ffffff;
}

.frmpfr-final-cta small {
    display: block;
    margin-top: 18px;
    opacity: 0.82;
}

@media (max-width: 980px) {
    .frmpfr-hero,
    .frmpfr-split {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .frmpfr {
        width: 94%;
        padding-top: 18px;
    }

    .frmpfr-hero,
    .frmpfr-split {
        padding: 22px;
        border-radius: 22px;
    }

    .frmpfr-grid,
    .frmpfr-benefits {
        grid-template-columns: 1fr;
    }

    .frmpfr-card {
        min-height: auto;
    }

    .frmpfr-actions,
    .frmpfr-btn {
        width: 100%;
    }
}

.frmpfr-card-link {
    display: inline-flex;
    margin-top: 12px;
    color: var(--fr-red-dark);
    font-weight: 900;
}

.frmpfr-preview-page {
    max-width: 1100px;
}

.frmpfr-preview-hero {
    padding: 38px;
    border: 1px solid var(--fr-border);
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(185, 28, 28, 0.14), transparent 35%),
        linear-gradient(135deg, #ffffff 0%, #f7f9fc 55%, #eef4fb 100%);
    box-shadow: 0 22px 55px rgba(15, 59, 102, 0.1);
}

.frmpfr-preview-hero h1 {
    margin-bottom: 14px;
}

.frmpfr-preview-panel {
    margin-top: 32px;
    padding: 32px;
    border: 1px solid var(--fr-border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 59, 102, 0.08);
}

.frmpfr-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.frmpfr-preview-item {
    padding: 22px;
    border: 1px solid var(--fr-border);
    border-radius: 22px;
    background: var(--fr-soft);
}

.frmpfr-preview-item p,
.frmpfr-note {
    color: var(--fr-muted);
    line-height: 1.62;
}

.frmpfr-note {
    margin: 24px 0 0;
    padding: 16px 18px;
    border-left: 5px solid var(--fr-red);
    border-radius: 16px;
    background: #fff7f7;
    font-weight: 700;
}

@media (max-width: 980px) {
    .frmpfr-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .frmpfr-preview-hero,
    .frmpfr-preview-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .frmpfr-preview-grid {
        grid-template-columns: 1fr;
    }
}


body.frmpfr-hide-page-title .entry-title,
body.frmpfr-hide-page-title .page-title,
body.frmpfr-hide-page-title .wp-block-post-title,
body.frmpfr-hide-page-title .frmt-page-title,
body.frmpfr-hide-page-title .frmt-entry-title {
    display: none !important;
}

/* Course Library image showcase — v1.0.18 */
.frmpfr-course-showcase {
    margin-top: 32px;
    padding: 32px;
    border: 1px solid var(--fr-border);
    border-radius: 28px;
    background: linear-gradient(145deg, #fffaf7 0%, #ffffff 48%, #f4f7fb 100%);
    box-shadow: 0 16px 40px rgba(15, 59, 102, 0.09);
}

.frmpfr-showcase-heading {
    max-width: 780px;
    margin-bottom: 24px;
}

.frmpfr-showcase-heading h2 {
    margin-bottom: 10px;
}

.frmpfr-showcase-heading > p:last-child {
    margin-bottom: 0;
    color: var(--fr-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.frmpfr-course-feature {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--fr-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 59, 102, 0.09);
}

.frmpfr-course-feature-image {
    min-height: 330px;
    background: #f8fafc;
}

.frmpfr-course-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}

.frmpfr-course-feature-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 34px;
}

.frmpfr-course-feature-content h3 {
    margin: 12px 0 10px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.08;
}

.frmpfr-course-feature-content p {
    margin-bottom: 22px;
    color: var(--fr-muted);
    font-size: 1.03rem;
    line-height: 1.65;
}

.frmpfr-course-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff1f1;
    color: var(--fr-red-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.frmpfr-course-image-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.frmpfr-course-image-card {
    overflow: hidden;
    border: 1px solid var(--fr-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 59, 102, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frmpfr-course-image-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(15, 59, 102, 0.14);
}

.frmpfr-course-image-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.frmpfr-course-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.frmpfr-course-image-card:hover img {
    transform: scale(1.025);
}

.frmpfr-course-image-content {
    padding: 18px;
}

.frmpfr-course-image-content h3 {
    margin: 11px 0 7px;
    font-size: 1.12rem;
    line-height: 1.25;
}

.frmpfr-course-image-content p {
    margin: 0;
    color: var(--fr-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .frmpfr-course-feature {
        grid-template-columns: 1fr;
    }

    .frmpfr-course-feature-image,
    .frmpfr-course-feature-image img {
        min-height: 0;
    }

    .frmpfr-course-feature-image img {
        aspect-ratio: 16 / 10;
    }

    .frmpfr-course-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .frmpfr-course-showcase {
        padding: 20px;
        border-radius: 22px;
    }

    .frmpfr-course-feature-content {
        padding: 22px;
    }

    .frmpfr-course-image-grid {
        grid-template-columns: 1fr;
    }
}



/* Weekly membership course update — v1.0.19 */
.frmpfr-membership-update {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin-top: 24px;
    padding: 24px 28px;
    border: 1px solid #ffd2b5;
    border-left: 6px solid var(--fr-orange);
    border-radius: 22px;
    background: linear-gradient(135deg, #fff8f2 0%, #ffffff 60%, #fff4e8 100%);
    box-shadow: 0 12px 30px rgba(15, 59, 102, 0.08);
}

.frmpfr-membership-update-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--fr-red), var(--fr-orange));
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(229, 9, 20, 0.22);
}

.frmpfr-membership-update .frmpfr-kicker {
    margin-bottom: 4px;
}

.frmpfr-membership-update h2 {
    margin: 0 0 7px;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    line-height: 1.2;
}

.frmpfr-membership-update > div > p:last-child {
    margin: 0;
    color: var(--fr-muted);
    font-size: 1.02rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .frmpfr-membership-update {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px;
    }

    .frmpfr-membership-update-icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }
}


/* Sales conversion improvements — v1.1.0 */
.frmpfr-price-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 16px;
    padding: 9px 13px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.96rem;
    font-weight: 900;
}

.frmpfr-login-note {
    margin: 12px 0 0;
    color: var(--fr-muted);
    font-size: 0.95rem;
}

.frmpfr-login-note a {
    color: var(--fr-red-dark);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.frmpfr-value-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.frmpfr-value-strip div {
    padding: 18px;
    border: 1px solid var(--fr-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 59, 102, 0.07);
}

.frmpfr-value-strip strong,
.frmpfr-value-strip span {
    display: block;
}

.frmpfr-value-strip strong {
    margin-bottom: 6px;
    color: var(--fr-blue);
}

.frmpfr-value-strip span {
    color: var(--fr-muted);
    line-height: 1.5;
}

.frmpfr-authority {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin-top: 28px;
    padding: 26px;
    border: 1px solid #fde68a;
    border-radius: 24px;
    background: linear-gradient(135deg, #fffbeb, #fff 62%, #fff7ed);
    box-shadow: 0 12px 32px rgba(15, 59, 102, 0.08);
}

.frmpfr-authority-mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--fr-red), var(--fr-orange));
    color: #fff;
    font-size: 1.8rem;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.22);
}

.frmpfr-authority h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.frmpfr-authority p:last-child {
    margin: 0;
    color: var(--fr-muted);
    line-height: 1.6;
}

/* Paid Memberships Pro sales page */
.frmpfr-pmpro-sales .pmpro,
.frmpfr-pmpro-sales .pmpro_content_message,
.frmpfr-pmpro-sales .entry-content > .pmpro {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.frmpfr-membership-sales {
    width: min(1080px, 94%);
    margin: 28px auto 60px;
    color: var(--fr-text);
}

.frmpfr-membership-sales-hero {
    padding: 34px;
    border: 1px solid var(--fr-border);
    border-radius: 28px;
    background: radial-gradient(circle at top left, rgba(185,28,28,.14), transparent 34%), linear-gradient(135deg,#fff,#f8fafc 55%,#fff7ed);
    text-align: center;
    box-shadow: 0 20px 52px rgba(15,59,102,.10);
}

.frmpfr-membership-sales-hero h2 {
    max-width: 760px;
    margin: 0 auto 12px;
    color: var(--fr-blue);
    font-size: clamp(2rem, 5vw, 3.7rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.frmpfr-membership-sales-hero p:last-child {
    margin: 0;
    color: var(--fr-muted);
    font-size: 1.12rem;
}

.frmpfr-membership-price-card {
    max-width: 720px;
    margin: -1px auto 0;
    padding: 30px;
    border: 1px solid var(--fr-border);
    border-top: 5px solid var(--fr-red);
    border-radius: 0 0 28px 28px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,59,102,.11);
}

.frmpfr-membership-price {
    text-align: center;
}

.frmpfr-membership-price span,
.frmpfr-membership-price strong,
.frmpfr-membership-price small {
    display: block;
}

.frmpfr-membership-price span {
    color: var(--fr-red-dark);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.frmpfr-membership-price strong {
    margin: 7px 0;
    color: var(--fr-blue);
    font-size: clamp(2.1rem, 6vw, 3.7rem);
    line-height: 1;
}

.frmpfr-membership-price small,
.frmpfr-membership-small {
    color: var(--fr-muted);
}

.frmpfr-membership-price-card ul,
.frmpfr-pmpro-benefit-list {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.frmpfr-membership-price-card li,
.frmpfr-pmpro-benefit-list li {
    position: relative;
    margin: 0;
    padding: 9px 0 9px 30px;
    color: #344054;
    line-height: 1.5;
}

.frmpfr-membership-price-card li::before,
.frmpfr-pmpro-benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #15803d;
    font-weight: 950;
}

.frmpfr-membership-buy {
    width: 100%;
}

.frmpfr-membership-small {
    margin: 15px 0 0;
    text-align: center;
    font-size: .9rem;
    line-height: 1.5;
}

.frmpfr-membership-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    margin-top: 20px;
}

.frmpfr-membership-trust div {
    padding: 20px;
    border: 1px solid var(--fr-border);
    border-radius: 20px;
    background: #fff;
}

.frmpfr-membership-trust strong,
.frmpfr-membership-trust span {
    display: block;
}

.frmpfr-membership-trust strong {
    margin-bottom: 6px;
    color: var(--fr-blue);
}

.frmpfr-membership-trust span {
    color: var(--fr-muted);
    line-height: 1.5;
}

.frmpfr-checkout-value,
.frmpfr-checkout-trust {
    display: grid;
    gap: 5px;
    margin: 16px 0;
    padding: 16px 18px;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    background: #fff7ed;
}

.frmpfr-checkout-value strong,
.frmpfr-checkout-trust strong {
    color: #9a3412;
}

.frmpfr-checkout-value span,
.frmpfr-checkout-trust span {
    color: #475467;
    line-height: 1.5;
}

.frmpfr-pmpro-sales .pmpro_form,
.frmpfr-pmpro-sales .pmpro_card,
.frmpfr-pmpro-sales form.pmpro_form {
    border-radius: 22px;
}

.frmpfr-pmpro-sales .pmpro_btn,
.frmpfr-pmpro-sales input[type='submit'].pmpro_btn,
.frmpfr-pmpro-sales button.pmpro_btn {
    min-height: 48px;
    border-radius: 999px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .frmpfr-value-strip,
    .frmpfr-membership-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .frmpfr-value-strip,
    .frmpfr-membership-trust,
    .frmpfr-authority {
        grid-template-columns: 1fr;
    }

    .frmpfr-membership-sales-hero,
    .frmpfr-membership-price-card {
        padding: 22px;
    }
}


/* Paid Memberships Pro honeypot fields must remain invisible even when a theme overrides PMPro CSS. */
.frmpfr-pmpro-sales .pmpro_hidden,
body.frmpfr-pmpro-sales .pmpro_hidden,
.frmpfr-pmpro-sales #fullname[name='fullname'] {
    display: none !important;
    visibility: hidden !important;
}


.frmpfr-course-preview-link,
.frmpfr-course-preview-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    font-size: .94rem;
    font-weight: 850;
}

.frmpfr-course-preview-link {
    color: #b42318;
    text-decoration: none;
}

.frmpfr-course-preview-link:hover,
.frmpfr-course-preview-link:focus-visible {
    color: #7a271a;
    text-decoration: underline;
}

.frmpfr-course-preview-note {
    color: #667085;
}

/* Conversion-focused public membership page — v1.2.0 */
.frmpfr-sales-home {
    width: min(1180px, 94%);
    padding-top: 26px;
}

.frmpfr-sales-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(310px, .78fr);
    gap: 26px;
    align-items: stretch;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--fr-border);
    border-radius: 30px;
    background:
        radial-gradient(circle at 8% 5%, rgba(245, 158, 11, .18), transparent 28%),
        radial-gradient(circle at 94% 10%, rgba(185, 28, 28, .15), transparent 30%),
        linear-gradient(135deg, #fff 0%, #fff8f1 52%, #f2f6fb 100%);
    box-shadow: 0 24px 64px rgba(15, 59, 102, .11);
}

.frmpfr-sales-hero h1 {
    margin: 14px 0 18px;
    max-width: 780px;
}

.frmpfr-creator-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid #f4c7bd;
    border-radius: 25px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 44px rgba(127, 29, 29, .10);
}

.frmpfr-creator-card h2 {
    margin-bottom: 12px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.frmpfr-creator-card p {
    position: relative;
    color: var(--fr-muted);
    line-height: 1.65;
}

.frmpfr-creator-number {
    position: absolute;
    right: -8px;
    bottom: -32px;
    color: rgba(185, 28, 28, .07);
    font-size: 12rem;
    font-weight: 950;
    line-height: 1;
}

.frmpfr-proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 48px;
}

.frmpfr-proof > div {
    padding: 21px 16px;
    text-align: center;
    border: 1px solid var(--fr-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 59, 102, .06);
}

.frmpfr-proof strong {
    display: block;
    color: var(--fr-red-dark);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1;
}

.frmpfr-proof span {
    display: block;
    margin-top: 7px;
    color: var(--fr-muted);
    font-weight: 750;
}

.frmpfr-sales-section {
    margin-top: 48px;
    scroll-margin-top: 110px;
}

.frmpfr-course-sales-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.frmpfr-course-sales-card {
    overflow: hidden;
    border: 1px solid var(--fr-border);
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 59, 102, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.frmpfr-course-sales-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(15, 59, 102, .13);
}

.frmpfr-course-sales-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f5f7fa;
}

.frmpfr-course-sales-card > div {
    padding: 20px;
}

.frmpfr-course-sales-card span {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--fr-red-dark);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.frmpfr-course-sales-card h3 {
    margin-bottom: 10px;
    font-size: 1.22rem;
}

.frmpfr-course-sales-card p {
    min-height: 76px;
    color: var(--fr-muted);
    line-height: 1.55;
}

.frmpfr-course-sales-card a {
    color: var(--fr-red-dark);
    font-weight: 850;
}

.frmpfr-sales-split {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 26px;
    align-items: center;
    margin: 52px 0 0;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid #fed7aa;
    border-radius: 28px;
    background: linear-gradient(135deg, #fff7ed, #fff 50%, #f8fafc);
}

.frmpfr-resource-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.frmpfr-resource-list > div {
    padding: 17px;
    border: 1px solid var(--fr-border);
    border-radius: 18px;
    background: #fff;
}

.frmpfr-resource-list strong {
    display: block;
    color: var(--fr-blue);
    font-size: 1.65rem;
}

.frmpfr-resource-list span {
    color: var(--fr-muted);
    font-weight: 700;
}

.frmpfr-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 940px;
    margin: 0 auto;
}

.frmpfr-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--fr-border);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 59, 102, .09);
}

.frmpfr-price-card.is-popular {
    border: 2px solid var(--fr-red);
    box-shadow: 0 20px 46px rgba(185, 28, 28, .14);
}

.frmpfr-price-card.is-annual {
    background: linear-gradient(180deg, #fff, #fffaf0);
}

.frmpfr-price-badge {
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff1f1;
    color: var(--fr-red-dark);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.frmpfr-price-card h3 {
    font-size: 1.45rem;
}

.frmpfr-price-amount {
    display: block;
    margin: 2px 0 15px;
    color: var(--fr-blue);
    font-size: clamp(1.85rem, 4vw, 2.7rem);
    line-height: 1.05;
}

.frmpfr-price-card p {
    color: var(--fr-muted);
    line-height: 1.55;
}

.frmpfr-price-card ul {
    flex: 1;
    margin: 8px 0 24px;
    padding: 0;
    list-style: none;
}

.frmpfr-price-card li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: var(--fr-muted);
}

.frmpfr-price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--fr-red-dark);
    font-weight: 900;
}

.frmpfr-price-card .frmpfr-btn {
    width: 100%;
}

.frmpfr-login-note {
    text-align: center;
    margin-top: 18px;
    color: var(--fr-muted);
}

.frmpfr-login-note a {
    color: var(--fr-red-dark);
    font-weight: 850;
}

.frmpfr-membership-sales .frmpfr-pricing-grid {
    margin-top: 25px;
}

/* Hide PMPro/Akismet honeypot fields even before JavaScript runs. */
.pmpro_hidden,
#fullname[name="fullname"] {
    display: none !important;
}

@media (max-width: 920px) {
    .frmpfr-sales-hero,
    .frmpfr-sales-split {
        grid-template-columns: 1fr;
    }

    .frmpfr-course-sales-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .frmpfr-sales-home {
        width: min(94%, 720px);
    }

    .frmpfr-sales-hero {
        padding: 22px;
        border-radius: 22px;
    }

    .frmpfr-sales-hero h1 {
        font-size: clamp(2.15rem, 11vw, 3.3rem);
    }

    .frmpfr-proof,
    .frmpfr-course-sales-grid,
    .frmpfr-resource-list {
        grid-template-columns: 1fr;
    }

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

    .frmpfr-course-sales-card p {
        min-height: 0;
    }

    .frmpfr-price-card,
    .frmpfr-creator-card {
        padding: 21px;
    }
}
