:root {
    --fa-navy: #1b2968;
    --fa-purple: #9349fc;
    --fa-sky: #4abeff;
    --fa-lime: #cdfd51;
    --fa-rose: #f3adc5;
    --fa-canvas: #fafafc;
    --fa-white: #ffffff;

    --fa-text: #1b2968;
    --fa-muted: #59627f;
    --fa-border: #e3e6ef;
    --fa-soft-purple: #f5efff;
    --fa-soft-sky: #edf8ff;
    --fa-soft-lime: #f6ffdf;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--fa-text);
    background: var(--fa-canvas);
    text-rendering: optimizeLegibility;
}


/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.fa-header {
    position: relative;
    z-index: 20;
    margin: 0;
    padding: 1rem 1.5rem;
    background: rgba(250, 250, 252, .90);
    border-bottom: 1px solid var(--fa-border);
    backdrop-filter: blur(16px);
}

.fa-header-inner {
    min-height: 3.2rem;
}

.fa-brand {
    margin: 0;
    white-space: nowrap;
}

.fa-brand a {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    color: var(--fa-navy);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.025em;
    text-decoration: none;
}

.fa-brand a::before {
    content: "";
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    border-radius: .3rem;
    background: linear-gradient(
        135deg,
        var(--fa-purple) 0 48%,
        var(--fa-sky) 48% 100%
    );
    box-shadow: .34rem .34rem 0 -.12rem var(--fa-lime);
}

.fa-header-actions {
    gap: 1.35rem;
}

.fa-navigation a {
    color: var(--fa-navy);
    font-size: .93rem;
    font-weight: 550;
    text-decoration: none;
    transition: color .18s ease;
}

.fa-navigation a:hover {
    color: var(--fa-purple);
}

.fa-header-demo {
    margin: 0;
}

.fa-header-demo .wp-block-button__link {
    padding: .72rem 1.15rem;
    background: var(--fa-purple);
    box-shadow: none;
    font-size: .9rem;
}

.fa-header-demo .wp-block-button__link:hover {
    background: var(--fa-navy);
}


/* ---------------------------------------------------------
   PAGE / HOME
--------------------------------------------------------- */

main {
    min-height: 60vh;
}

body.page-id-9 main {
    background:
        radial-gradient(
            circle at 8% 4%,
            rgba(74, 190, 255, .16),
            transparent 28rem
        ),
        radial-gradient(
            circle at 92% 2%,
            rgba(147, 73, 252, .10),
            transparent 27rem
        );
    background-repeat: no-repeat;
}

h1.wp-block-post-title {
    color: var(--fa-navy);
    font-size: clamp(3.15rem, 6.2vw, 5rem);
    font-weight: 650;
    letter-spacing: -.052em;
    line-height: .98;
}

h2 {
    color: var(--fa-navy);
    letter-spacing: -.035em;
}

h3 {
    color: var(--fa-navy);
}

.page-id-9 .wp-block-post-content > p:first-child {
    max-width: 48rem;
    color: var(--fa-navy);
    font-size: clamp(1.28rem, 2vw, 1.65rem);
    line-height: 1.45;
}


/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */

.wp-block-button__link {
    padding: .88rem 1.55rem;
    background: var(--fa-navy);
    border: 2px solid transparent;
    box-shadow: 0 8px 22px rgba(27, 41, 104, .12);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.wp-block-button__link:hover {
    background: var(--fa-purple);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(147, 73, 252, .20);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    color: var(--fa-navy);
    background: rgba(255, 255, 255, .82);
    border-color: var(--fa-sky);
    box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    color: var(--fa-navy);
    background: var(--fa-soft-sky);
    border-color: var(--fa-purple);
}


/* ---------------------------------------------------------
   FEATURE CARDS
--------------------------------------------------------- */

.wp-block-post-content > .wp-block-columns {
    gap: 1.4rem;
}

.wp-block-post-content > .wp-block-columns > .wp-block-column {
    position: relative;
    overflow: hidden;
    padding: 1.6rem;
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--fa-border);
    border-radius: 1.15rem;
    box-shadow: 0 12px 34px rgba(27, 41, 104, .055);
}

.wp-block-post-content > .wp-block-columns > .wp-block-column::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: .25rem;
    background: linear-gradient(
        90deg,
        var(--fa-purple),
        var(--fa-sky) 58%,
        var(--fa-lime)
    );
}

.wp-block-post-content > .wp-block-columns > .wp-block-column h3 {
    margin-top: .15rem;
    font-weight: 650;
}

.wp-block-post-content > .wp-block-columns > .wp-block-column p {
    color: #434d70;
}


/* ---------------------------------------------------------
   LINKS
--------------------------------------------------------- */

main a:not(.wp-block-button__link) {
    color: #7131ce;
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

main a:not(.wp-block-button__link):hover {
    color: var(--fa-navy);
}


/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.fa-footer {
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
    padding: 4.75rem 1.5rem 2rem;
    color: var(--fa-white);
    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(147, 73, 252, .35),
            transparent 25rem
        ),
        var(--fa-navy);
    border-top: 0;
}

.fa-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: .3rem;
    background: linear-gradient(
        90deg,
        var(--fa-purple),
        var(--fa-sky),
        var(--fa-lime),
        var(--fa-rose)
    );
}

.fa-footer-grid {
    position: relative;
    gap: 3rem;
}

.fa-footer-grid > .wp-block-column {
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.fa-footer-brand {
    margin: 0 0 1rem;
}

.fa-footer-brand a {
    color: var(--fa-white);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -.035em;
    text-decoration: none;
}

.fa-footer-description {
    max-width: 30rem;
    color: #dce2ff;
    font-size: .96rem;
    line-height: 1.65;
}

.fa-footer-heading {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--fa-lime);
    font-size: .84rem;
    font-weight: 750;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.fa-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fa-footer-links li {
    margin: 0 0 .68rem;
}

.fa-footer-links a {
    color: var(--fa-white);
    text-decoration: none;
}

.fa-footer-links a:hover {
    color: var(--fa-sky);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.fa-footer-bottom {
    position: relative;
    margin-top: 3rem;
    padding-top: 1.4rem;
    color: #cbd2f1;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: .82rem;
}

.fa-footer-bottom p {
    margin: 0;
}

footer.wp-block-template-part {
    border-top: 0;
}


/* ---------------------------------------------------------
   ACCESSIBILITY / FOCUS
--------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
.wp-element-button:focus-visible {
    outline: 3px solid var(--fa-lime);
    outline-offset: 3px;
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 900px) {
    .fa-header-actions {
        gap: .8rem;
    }

    .fa-header-demo {
        display: none;
    }
}

@media (max-width: 781px) {
    .fa-header {
        padding: .8rem 1rem;
    }

    h1.wp-block-post-title {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .wp-block-buttons {
        gap: .75rem;
    }

    .wp-block-button {
        width: 100%;
    }

    .wp-block-button__link {
        width: 100%;
        text-align: center;
    }

    .fa-footer {
        margin-top: 3.5rem;
        padding: 3.25rem 1.25rem 1.5rem;
    }

    .fa-footer-grid {
        gap: 2.3rem;
    }

    .fa-footer-bottom {
        align-items: flex-start;
        gap: .5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .wp-block-button__link {
        transition: none;
    }

    .wp-block-button__link:hover {
        transform: none;
    }
}


/* =========================================================
   FAMILY ARCHIVE SIGNATURE HERO
========================================================= */

.fa-hero {
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding: clamp(4.5rem, 8vw, 7.5rem) 1.5rem;
    background:
        radial-gradient(
            circle at 6% 20%,
            rgba(74, 190, 255, .20),
            transparent 28rem
        ),
        radial-gradient(
            circle at 94% 18%,
            rgba(147, 73, 252, .15),
            transparent 30rem
        ),
        var(--fa-canvas);
}

.fa-hero::after {
    content: "";
    position: absolute;
    width: 8rem;
    height: 8rem;
    right: 7%;
    bottom: -4.6rem;
    border-radius: 2rem;
    background: var(--fa-lime);
    transform: rotate(17deg);
    opacity: .82;
}

.fa-hero-grid {
    position: relative;
    z-index: 2;
    gap: clamp(2rem, 5vw, 5rem);
}

.fa-hero-copy,
.fa-hero-visual-column {
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.fa-hero-copy::before,
.fa-hero-visual-column::before {
    display: none !important;
}

.fa-eyebrow,
.fa-section-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1.15rem;
    padding: .45rem .72rem;
    color: var(--fa-navy);
    background: var(--fa-lime);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .075em;
    line-height: 1;
    text-transform: uppercase;
}

.fa-hero-title {
    max-width: 11ch;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--fa-navy);
    font-size: clamp(3.4rem, 6.5vw, 6.2rem);
    font-weight: 680;
    letter-spacing: -.065em;
    line-height: .92;
}

.fa-hero-lead {
    max-width: 40rem;
    margin-bottom: 1.8rem;
    color: #434d70;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    line-height: 1.5;
}

.fa-hero-buttons {
    gap: .8rem;
}

.fa-primary-cta .wp-block-button__link {
    background: linear-gradient(
        100deg,
        var(--fa-purple),
        #7548ff
    );
    box-shadow: 0 12px 28px rgba(147, 73, 252, .22);
}

.fa-primary-cta .wp-block-button__link:hover {
    background: var(--fa-navy);
}


/* Hero visual */

.fa-archive-visual {
    position: relative;
    min-height: 25rem;
}

.fa-archive-visual::before {
    content: "";
    position: absolute;
    width: 14rem;
    height: 14rem;
    right: 1rem;
    top: 2.2rem;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            rgba(147,73,252,.95),
            rgba(74,190,255,.95)
        );
    opacity: .16;
}

.fa-archive-visual::after {
    content: "";
    position: absolute;
    width: 4.3rem;
    height: 4.3rem;
    left: 7%;
    bottom: 2rem;
    border-radius: 50%;
    background: var(--fa-lime);
    opacity: .9;
}

.fa-visual-card {
    position: absolute;
    z-index: 2;
    width: min(15.5rem, 72%);
    padding: 1.25rem 1.35rem !important;
    background: rgba(255,255,255,.94) !important;
    border: 1px solid rgba(27,41,104,.12) !important;
    border-radius: 1.15rem !important;
    box-shadow: 0 18px 42px rgba(27,41,104,.12) !important;
}

.fa-visual-card::before {
    content: "";
    display: block;
    width: 2.55rem;
    height: .35rem;
    margin-bottom: 1.15rem;
    border-radius: 999px;
}

.fa-visual-card p {
    margin: 0;
    color: #566080;
    font-size: .86rem;
}

.fa-visual-card .fa-card-label {
    margin-bottom: .3rem;
    color: var(--fa-navy);
    font-size: 1.05rem;
    font-weight: 700;
}

.fa-card-photo {
    top: 0;
    right: 5%;
    transform: rotate(3deg);
}

.fa-card-photo::before {
    background: var(--fa-sky);
}

.fa-card-doc {
    top: 9.2rem;
    left: 0;
    transform: rotate(-3deg);
}

.fa-card-doc::before {
    background: var(--fa-purple);
}

.fa-card-person {
    right: 1%;
    bottom: 0;
    transform: rotate(2deg);
}

.fa-card-person::before {
    background: var(--fa-rose);
}


/* Main sections */

.fa-intro-section,
.fa-product-section,
.fa-privacy-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.fa-intro-section {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.fa-product-section {
    margin-top: 4rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    border-top: 1px solid var(--fa-border);
}

.fa-privacy-section {
    margin-top: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    background:
        linear-gradient(
            100deg,
            rgba(147,73,252,.055),
            rgba(74,190,255,.07)
        );
    border-radius: 1.35rem;
}

.fa-product-section .fa-section-kicker {
    background: var(--fa-soft-sky);
}

.fa-privacy-section .fa-section-kicker {
    background: var(--fa-soft-lime);
}


@media (max-width: 781px) {
    .fa-hero {
        padding:
            3.8rem
            1.25rem
            4rem;
    }

    .fa-hero-grid {
        gap: 2.5rem;
    }

    .fa-hero-title {
        font-size: clamp(3rem, 14vw, 4.6rem);
    }

    .fa-archive-visual {
        min-height: 22rem;
        max-width: 24rem;
        margin: 0 auto;
    }

    .fa-intro-section,
    .fa-product-section,
    .fa-privacy-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}


/* =========================================================
   HOME PAGE FINAL POLISH
========================================================= */

/*
 * The block theme prints the WordPress page title above our
 * custom hero. The hero already contains the real H1.
 */
.page-id-9 .wp-block-post-title {
    display: none;
}

.page-id-9 .wp-block-post-content {
    margin-top: 0;
}


/* Tighten the hero now that the duplicate title is gone. */

.fa-hero {
    padding-top: clamp(4rem, 7vw, 6rem);
    padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}


/*
 * Keep the lime energy accent inside the hero instead of
 * letting it look accidentally clipped at the section edge.
 */
.fa-hero::after {
    width: 4.8rem;
    height: 4.8rem;
    right: 4%;
    bottom: 2.2rem;
    border-radius: 1.35rem;
    transform: rotate(17deg);
    opacity: .88;
}


/* Restore the three principle cards inside the intro section. */

.fa-intro-section .wp-block-columns {
    gap: 1.4rem;
    margin-top: 2rem;
}

.fa-intro-section .wp-block-columns > .wp-block-column {
    position: relative;
    overflow: hidden;
    padding: 1.55rem;
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--fa-border);
    border-radius: 1.15rem;
    box-shadow: 0 12px 34px rgba(27, 41, 104, .05);
}

.fa-intro-section .wp-block-columns > .wp-block-column::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: .25rem;
    background: linear-gradient(
        90deg,
        var(--fa-purple),
        var(--fa-sky) 58%,
        var(--fa-lime)
    );
}

.fa-intro-section .wp-block-columns h3 {
    margin-top: .15rem;
    margin-bottom: .8rem;
    font-weight: 650;
}

.fa-intro-section .wp-block-columns p {
    margin-bottom: 0;
    color: #4d5879;
}


/* Give the JFA area slightly more visual presence. */

.fa-product-section {
    position: relative;
}

.fa-product-section::after {
    content: "";
    position: absolute;
    width: 5rem;
    height: .35rem;
    top: 0;
    right: 0;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--fa-purple),
        var(--fa-sky)
    );
}


/* Responsive refinements */

@media (max-width: 781px) {
    .fa-hero {
        padding-top: 3.25rem;
        padding-bottom: 3.75rem;
    }

    .fa-hero::after {
        width: 3.4rem;
        height: 3.4rem;
        right: 1.2rem;
        bottom: 1.2rem;
    }

    .fa-intro-section .wp-block-columns {
        gap: 1rem;
    }
}


/* =========================================================
   REMOVE PARENT-THEME SPACING ABOVE HOME HERO
========================================================= */

.page-id-9 main,
.page-id-9 main > *,
.page-id-9 .wp-block-post-content {
    margin-top: 0;
}

.page-id-9 .wp-site-blocks > main {
    padding-top: 0;
}

.page-id-9 .wp-block-post-content > .fa-hero:first-child {
    margin-block-start: 0 !important;
}


/* =========================================================
   HOME: REMOVE TWENTY TWENTY-FIVE PAGE TEMPLATE TOP SPACING
========================================================= */

/*
 * Twenty Twenty-Five page.html adds:
 *
 * main:
 *   margin-top: var(--wp--preset--spacing--60)
 *
 * inner full-width wrapper:
 *   padding-top: var(--wp--preset--spacing--60)
 *
 * The home page supplies its own hero spacing, so both need
 * to be removed there.
 */

.page-id-9 .wp-site-blocks > main.wp-block-group {
    margin-top: 0 !important;
}

.page-id-9 .wp-site-blocks > main.wp-block-group
> .wp-block-group.alignfull {
    padding-top: 0 !important;
}

.page-id-9 .wp-block-post-content {
    margin-top: 0 !important;
}


/* =========================================================
   JFA PRODUCT PAGE
========================================================= */

.page-id-10 .wp-block-post-title {
    display: none;
}

.page-id-10 .wp-site-blocks > main.wp-block-group {
    margin-top: 0 !important;
}

.page-id-10 .wp-site-blocks > main.wp-block-group
> .wp-block-group.alignfull {
    padding-top: 0 !important;
}

.page-id-10 .wp-block-post-content {
    margin-top: 0 !important;
}


/* Hero */

.fa-jfa-hero {
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding: clamp(4.5rem, 8vw, 7rem) 1.5rem;
    background:
        radial-gradient(
            circle at 9% 18%,
            rgba(74,190,255,.18),
            transparent 29rem
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(147,73,252,.14),
            transparent 28rem
        ),
        var(--fa-canvas);
}

.fa-jfa-hero::after {
    content: "";
    position: absolute;
    width: 5rem;
    height: 5rem;
    right: 4%;
    bottom: 2rem;
    border-radius: 1.35rem;
    background: var(--fa-lime);
    transform: rotate(15deg);
    opacity: .82;
}

.fa-jfa-hero-grid {
    position: relative;
    z-index: 2;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.fa-jfa-hero-copy,
.fa-jfa-release-column {
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.fa-jfa-hero-copy::before,
.fa-jfa-release-column::before {
    display: none !important;
}

.fa-jfa-title {
    margin: 0;
    color: var(--fa-navy);
    font-size: clamp(4.5rem, 9vw, 8rem);
    font-weight: 720;
    letter-spacing: -.075em;
    line-height: .88;
}

.fa-jfa-subtitle {
    max-width: 17ch;
    margin-top: 1.4rem;
    margin-bottom: 1.4rem;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 620;
    letter-spacing: -.045em;
}

.fa-jfa-lead {
    max-width: 43rem;
    color: #4f5979;
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    line-height: 1.55;
}

.fa-jfa-hero-buttons {
    margin-top: 1.7rem;
}


/* Release card */

.fa-release-card {
    position: relative;
    overflow: hidden;
    padding: 2rem !important;
    background: rgba(255,255,255,.92) !important;
    border: 1px solid rgba(27,41,104,.10) !important;
    border-radius: 1.4rem !important;
    box-shadow: 0 20px 48px rgba(27,41,104,.11) !important;
    transform: rotate(2deg);
}

.fa-release-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: .35rem;
    background: linear-gradient(
        90deg,
        var(--fa-purple),
        var(--fa-sky),
        var(--fa-lime)
    );
}

.fa-release-kicker {
    width: fit-content;
    margin: 0 0 .85rem;
    padding: .38rem .62rem;
    color: var(--fa-navy);
    background: var(--fa-soft-lime);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.fa-release-card h3 {
    margin-bottom: .85rem;
    font-size: 1.55rem;
}

.fa-release-card p {
    color: #59627f;
}

.fa-release-links {
    margin-bottom: 0;
}


/* Main sections */

.fa-jfa-principle,
.fa-feature-section,
.fa-gedcom-section,
.fa-foss-section,
.fa-jfa-cta {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.fa-jfa-principle {
    padding-top: 5.2rem;
    padding-bottom: 2.8rem;
}

.fa-jfa-principle h2,
.fa-feature-section > h2,
.fa-gedcom-section h2,
.fa-foss-section h2,
.fa-jfa-cta h2 {
    max-width: 21ch;
    font-size: clamp(2rem, 3.4vw, 3rem);
}


/* Feature grid */

.fa-feature-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.fa-product-feature-grid {
    gap: 1.35rem;
    margin-top: 1.5rem;
}

.fa-product-feature-grid > .wp-block-column {
    padding: 1.55rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1.15rem !important;
    box-shadow: 0 12px 32px rgba(27,41,104,.045) !important;
}

.fa-product-feature-grid > .wp-block-column::before {
    display: none !important;
}

.fa-product-feature-grid h3 {
    margin-top: .9rem;
    margin-bottom: .7rem;
    font-size: 1.22rem;
}

.fa-product-feature-grid p:last-child {
    margin-bottom: 0;
    color: #59627f;
}

.fa-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.7rem;
    min-height: 2.7rem;
    width: fit-content;
    margin: 0;
    padding: .5rem .7rem;
    border-radius: .8rem;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fa-feature-photo {
    background: #e8f7ff;
}

.fa-feature-doc {
    background: #f1e7ff;
}

.fa-feature-person {
    background: #fff0f5;
}

.fa-feature-import {
    background: #f3ffcf;
}

.fa-feature-lock {
    color: #fff;
    background: var(--fa-navy);
}

.fa-feature-meta {
    background: linear-gradient(
        135deg,
        #f1e7ff,
        #e8f7ff
    );
}


/* GEDCOM section */

.fa-gedcom-section {
    margin-top: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(
        100deg,
        rgba(74,190,255,.07),
        rgba(147,73,252,.055)
    );
    border-radius: 1.5rem;
}

.fa-gedcom-section .wp-block-columns {
    gap: 3rem;
}

.fa-gedcom-section .wp-block-column {
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.fa-gedcom-section .wp-block-column::before {
    display: none !important;
}

.fa-gedcom-card {
    padding: 2rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1.2rem !important;
    box-shadow: 0 16px 40px rgba(27,41,104,.07) !important;
}

.fa-gedcom-flow {
    margin: 0;
    color: var(--fa-purple);
    font-size: 1.15rem;
    line-height: 2;
    text-align: center;
}

.fa-gedcom-flow strong {
    color: var(--fa-navy);
}


/* FOSS */

.fa-foss-section {
    padding-top: 5rem;
    padding-bottom: 4rem;
}


/* Final CTA */

.fa-jfa-cta {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background: var(--fa-navy);
    border-radius: 1.5rem;
}

.fa-jfa-cta::after {
    content: "";
    position: absolute;
    width: 12rem;
    height: 12rem;
    right: -4rem;
    bottom: -5rem;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--fa-purple),
        var(--fa-sky)
    );
    opacity: .38;
}

.fa-jfa-cta h2,
.fa-jfa-cta > p:not(.fa-section-kicker) {
    position: relative;
    z-index: 2;
    color: #fff;
}

.fa-jfa-cta .fa-section-kicker {
    position: relative;
    z-index: 2;
}

.fa-jfa-cta .wp-block-buttons {
    position: relative;
    z-index: 2;
}


/* Mobile */

@media (max-width: 781px) {
    .fa-jfa-hero {
        padding: 3.6rem 1.25rem 4rem;
    }

    .fa-jfa-title {
        font-size: clamp(4rem, 22vw, 6rem);
    }

    .fa-release-card {
        transform: none;
    }

    .fa-jfa-principle,
    .fa-feature-section,
    .fa-gedcom-section,
    .fa-foss-section,
    .fa-jfa-cta {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .fa-gedcom-section {
        border-radius: 1.15rem;
    }

    .fa-jfa-cta {
        border-radius: 1.15rem;
    }
}


/* =========================================================
   JFA FEATURES PAGE
========================================================= */

.page-id-13 .wp-block-post-title {
    display: none;
}

.page-id-13 .wp-site-blocks > main.wp-block-group {
    margin-top: 0 !important;
}

.page-id-13 .wp-site-blocks > main.wp-block-group
> .wp-block-group.alignfull {
    padding-top: 0 !important;
}

.page-id-13 .wp-block-post-content {
    margin-top: 0 !important;
}


/* Hero */

.fa-features-hero {
    margin-top: 0 !important;
    padding: clamp(4.5rem, 8vw, 7rem) 1.5rem;
    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(74,190,255,.18),
            transparent 30rem
        ),
        radial-gradient(
            circle at 92% 5%,
            rgba(147,73,252,.13),
            transparent 27rem
        ),
        var(--fa-canvas);
}

.fa-features-title {
    max-width: 17ch;
    margin-top: 0;
    color: var(--fa-navy);
    font-size: clamp(3.2rem, 6.5vw, 5.7rem);
    font-weight: 680;
    letter-spacing: -.06em;
    line-height: .96;
}

.fa-features-lead {
    max-width: 48rem;
    color: #505b7d;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    line-height: 1.55;
}


/* Feature categories */

.fa-feature-category {
    padding: 4.75rem 1.5rem;
}

.fa-feature-category-tint {
    background:
        linear-gradient(
            105deg,
            rgba(74,190,255,.06),
            rgba(147,73,252,.055)
        );
    border-radius: 1.45rem;
}

.fa-feature-category > h2 {
    max-width: 21ch;
    font-size: clamp(2rem, 3.4vw, 3rem);
}

.fa-detail-grid {
    gap: 1.35rem;
    margin-top: 2rem;
}

.fa-detail-grid > .wp-block-column {
    position: relative;
    overflow: hidden;
    padding: 1.6rem !important;
    background: rgba(255,255,255,.94) !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1.15rem !important;
    box-shadow: 0 12px 32px rgba(27,41,104,.045) !important;
}

.fa-detail-grid > .wp-block-column::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: .24rem;
    background: linear-gradient(
        90deg,
        var(--fa-purple),
        var(--fa-sky),
        var(--fa-lime)
    );
}

.fa-detail-grid h3 {
    margin-top: .2rem;
    margin-bottom: .85rem;
    color: var(--fa-navy);
    font-size: 1.2rem;
    font-weight: 650;
}

.fa-detail-grid p {
    margin-bottom: 0;
    color: #59627f;
}


/* CTA */

.fa-features-cta {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    padding: 3.75rem 1.5rem;
    color: #fff;
    background: var(--fa-navy);
    border-radius: 1.45rem;
}

.fa-features-cta::after {
    content: "";
    position: absolute;
    width: 13rem;
    height: 13rem;
    right: -4rem;
    bottom: -5rem;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--fa-purple),
        var(--fa-sky)
    );
    opacity: .38;
}

.fa-features-cta > * {
    position: relative;
    z-index: 2;
}

.fa-features-cta h2,
.fa-features-cta > p:not(.fa-section-kicker) {
    color: #fff;
}

.fa-features-cta h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
}


@media (max-width: 781px) {
    .fa-features-hero {
        padding: 3.5rem 1.25rem 4rem;
    }

    .fa-feature-category {
        padding: 3.5rem 1.25rem;
    }

    .fa-feature-category-tint,
    .fa-features-cta {
        border-radius: 1.15rem;
    }

    .fa-features-cta {
        padding: 3rem 1.25rem;
    }
}


/* =========================================================
   JFA DOWNLOAD PAGE
========================================================= */

.page-id-14 .wp-block-post-title {
    display: none;
}

.page-id-14 .wp-site-blocks > main.wp-block-group {
    margin-top: 0 !important;
}

.page-id-14 .wp-site-blocks > main.wp-block-group
> .wp-block-group.alignfull {
    padding-top: 0 !important;
}

.page-id-14 .wp-block-post-content {
    margin-top: 0 !important;
}


/* Hero */

.fa-download-hero {
    margin-top: 0 !important;
    padding: clamp(4.5rem, 8vw, 7rem) 1.5rem;
    background:
        radial-gradient(
            circle at 7% 15%,
            rgba(74,190,255,.17),
            transparent 29rem
        ),
        radial-gradient(
            circle at 92% 8%,
            rgba(147,73,252,.14),
            transparent 27rem
        ),
        var(--fa-canvas);
}

.fa-download-hero-grid {
    gap: clamp(2.5rem, 6vw, 6rem);
}

.fa-download-hero-grid > .wp-block-column {
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.fa-download-hero-grid > .wp-block-column::before {
    display: none !important;
}

.fa-download-title {
    max-width: 12ch;
    margin-top: 0;
    color: var(--fa-navy);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: -.065em;
    line-height: .95;
}

.fa-download-lead {
    max-width: 45rem;
    color: #505b7d;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    line-height: 1.55;
}


/* Version card */

.fa-download-version-card {
    position: relative;
    overflow: hidden;
    padding: 2rem !important;
    background: rgba(255,255,255,.94) !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1.35rem !important;
    box-shadow: 0 20px 48px rgba(27,41,104,.10) !important;
    transform: rotate(2deg);
}

.fa-download-version-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: .34rem;
    background: linear-gradient(
        90deg,
        var(--fa-purple),
        var(--fa-sky),
        var(--fa-lime)
    );
}

.fa-download-version-card h2 {
    margin-bottom: .8rem;
    font-size: 2rem;
}

.fa-download-version-card p {
    color: #59627f;
}

.fa-download-filename {
    margin-bottom: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .78rem;
    overflow-wrap: anywhere;
}


/* Main sections */

.fa-download-main,
.fa-prerelease-note,
.fa-checksum-section,
.fa-install-section,
.fa-download-foss,
.fa-download-cta {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.fa-download-main {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.fa-download-main > h2,
.fa-prerelease-note > h2,
.fa-checksum-section > h2,
.fa-install-section > h2,
.fa-download-foss > h2,
.fa-download-cta > h2 {
    max-width: 21ch;
    font-size: clamp(2rem, 3.4vw, 3rem);
}


/* Download sources */

.fa-download-source-grid {
    gap: 1.4rem;
    margin-top: 2rem;
}

.fa-download-source-grid > .wp-block-column {
    padding: 1.8rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1.2rem !important;
    box-shadow: 0 12px 32px rgba(27,41,104,.045) !important;
}

.fa-download-source-grid > .wp-block-column::before {
    display: none !important;
}

.fa-source-label {
    display: inline-flex;
    margin: 0 0 .9rem;
    padding: .38rem .62rem;
    color: var(--fa-navy);
    background: var(--fa-lime);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.fa-source-label-secondary {
    background: var(--fa-soft-sky);
}


/* RC note */

.fa-prerelease-note {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(
        105deg,
        rgba(147,73,252,.07),
        rgba(74,190,255,.075)
    );
    border-radius: 1.4rem;
}


/* Checksum */

.fa-checksum-section {
    padding-top: 4.5rem;
    padding-bottom: 4rem;
}

.fa-checksum-code {
    margin-top: 1.5rem;
    padding: 1.25rem !important;
    color: #fff;
    background: var(--fa-navy) !important;
    border-radius: .9rem;
    overflow-x: auto;
    font-size: .84rem;
    line-height: 1.6;
}

.fa-checksum-code code {
    color: inherit;
}


/* Install */

.fa-install-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid var(--fa-border);
}

.fa-install-steps {
    max-width: 48rem;
    margin-top: 1.7rem;
    padding-left: 1.5rem;
}

.fa-install-steps li {
    margin-bottom: .85rem;
    padding-left: .35rem;
}


/* FOSS */

.fa-download-foss {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: var(--fa-soft-lime);
    border-radius: 1.4rem;
}


/* CTA */

.fa-download-cta {
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    color: #fff;
    background: var(--fa-navy);
    border-radius: 1.4rem;
}

.fa-download-cta::after {
    content: "";
    position: absolute;
    width: 12rem;
    height: 12rem;
    right: -4rem;
    bottom: -5rem;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--fa-purple),
        var(--fa-sky)
    );
    opacity: .38;
}

.fa-download-cta > * {
    position: relative;
    z-index: 2;
}

.fa-download-cta h2,
.fa-download-cta > p:not(.fa-section-kicker) {
    color: #fff;
}


@media (max-width: 781px) {
    .fa-download-hero {
        padding: 3.5rem 1.25rem 4rem;
    }

    .fa-download-version-card {
        transform: none;
    }

    .fa-download-main,
    .fa-prerelease-note,
    .fa-checksum-section,
    .fa-install-section,
    .fa-download-foss,
    .fa-download-cta {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .fa-prerelease-note,
    .fa-download-foss,
    .fa-download-cta {
        border-radius: 1.15rem;
    }
}


/* =========================================================
   JFA DOCUMENTATION
========================================================= */

.page-id-15 .wp-block-post-title {
    display: none;
}

.page-id-15 .wp-site-blocks > main.wp-block-group {
    margin-top: 0 !important;
}

.page-id-15 .wp-site-blocks > main.wp-block-group
> .wp-block-group.alignfull {
    padding-top: 0 !important;
}

.page-id-15 .wp-block-post-content {
    margin-top: 0 !important;
}


/* Hero */

.fa-docs-hero {
    margin-top: 0 !important;
    padding:
        clamp(4.5rem, 8vw, 7rem)
        1.5rem;
    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(74,190,255,.18),
            transparent 30rem
        ),
        radial-gradient(
            circle at 92% 5%,
            rgba(147,73,252,.13),
            transparent 28rem
        ),
        var(--fa-canvas);
}

.fa-docs-title {
    max-width: 14ch;
    margin-top: 0;
    color: var(--fa-navy);
    font-size:
        clamp(
            3.4rem,
            7vw,
            6rem
        );
    font-weight: 690;
    letter-spacing: -.065em;
    line-height: .95;
}

.fa-docs-lead {
    max-width: 48rem;
    color: #505b7d;
    font-size:
        clamp(
            1.15rem,
            1.8vw,
            1.4rem
        );
    line-height: 1.55;
}


/* Documentation sections */

.fa-docs-start,
.fa-docs-section,
.fa-docs-philosophy,
.fa-docs-cta {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.fa-docs-start {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.fa-docs-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.fa-docs-section-tint {
    background:
        linear-gradient(
            105deg,
            rgba(74,190,255,.06),
            rgba(147,73,252,.055)
        );
    border-radius: 1.4rem;
}

.fa-docs-start > h2,
.fa-docs-section > h2,
.fa-docs-philosophy > h2,
.fa-docs-cta > h2 {
    max-width: 21ch;
    font-size:
        clamp(
            2rem,
            3.4vw,
            3rem
        );
}


/* Cards */

.fa-docs-grid {
    gap: 1.35rem;
    margin-top: 2rem;
}

.fa-docs-grid > .wp-block-column {
    position: relative;
    overflow: hidden;
    padding: 1.6rem !important;
    background: #fff !important;
    border:
        1px solid
        var(--fa-border) !important;
    border-radius: 1.15rem !important;
    box-shadow:
        0 12px 32px
        rgba(27,41,104,.045) !important;
}

.fa-docs-grid
> .wp-block-column::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: .24rem;
    background:
        linear-gradient(
            90deg,
            var(--fa-purple),
            var(--fa-sky),
            var(--fa-lime)
        );
}

.fa-docs-grid h3 {
    margin-top: .2rem;
    margin-bottom: .8rem;
    color: var(--fa-navy);
    font-size: 1.2rem;
    font-weight: 650;
}

.fa-docs-grid p {
    color: #59627f;
}

.fa-doc-number {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--fa-purple) !important;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
}


/* Product philosophy */

.fa-docs-philosophy {
    margin-top: 4rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: var(--fa-soft-lime);
    border-radius: 1.4rem;
}


/* Final CTA */

.fa-docs-cta {
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    color: #fff;
    background: var(--fa-navy);
    border-radius: 1.4rem;
}

.fa-docs-cta::after {
    content: "";
    position: absolute;
    width: 12rem;
    height: 12rem;
    right: -4rem;
    bottom: -5rem;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            var(--fa-purple),
            var(--fa-sky)
        );
    opacity: .38;
}

.fa-docs-cta > * {
    position: relative;
    z-index: 2;
}

.fa-docs-cta h2,
.fa-docs-cta
> p:not(.fa-section-kicker) {
    color: #fff;
}


@media (max-width: 781px) {
    .fa-docs-hero {
        padding:
            3.5rem
            1.25rem
            4rem;
    }

    .fa-docs-start,
    .fa-docs-section,
    .fa-docs-philosophy,
    .fa-docs-cta {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .fa-docs-section-tint,
    .fa-docs-philosophy,
    .fa-docs-cta {
        border-radius: 1.15rem;
    }
}


/* =========================================================
   DOCUMENTATION ARTICLE PAGES
========================================================= */

/*
 * All current documentation child pages have page 15
 * (JFA Documentation) as their parent.
 */

.parent-pageid-15 .wp-block-post-title {
    display: none;
}

.parent-pageid-15 .wp-site-blocks > main.wp-block-group {
    margin-top: 0 !important;
}

.parent-pageid-15 .wp-site-blocks > main.wp-block-group
> .wp-block-group.alignfull {
    padding-top: 0 !important;
}

.parent-pageid-15 .wp-block-post-content {
    margin-top: 0 !important;
}


/* Documentation article hero */

.fa-doc-hero {
    margin-top: 0 !important;
    padding:
        clamp(3.8rem, 7vw, 6rem)
        1.5rem
        clamp(3.5rem, 6vw, 5rem);
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(74,190,255,.16),
            transparent 28rem
        ),
        radial-gradient(
            circle at 92% 5%,
            rgba(147,73,252,.10),
            transparent 25rem
        ),
        var(--fa-canvas);
}

.fa-doc-breadcrumb {
    margin-bottom: 1.6rem;
    color: #737c99;
    font-size: .83rem;
}

.fa-doc-breadcrumb span {
    margin: 0 .35rem;
    color: #a0a6bb;
}

.fa-doc-breadcrumb a {
    color: #68718e;
    text-decoration: none;
}

.fa-doc-breadcrumb a:hover {
    color: var(--fa-purple);
}

.fa-doc-title {
    max-width: 16ch;
    margin-top: 0;
    color: var(--fa-navy);
    font-size: clamp(3rem, 6vw, 5.3rem);
    font-weight: 690;
    letter-spacing: -.06em;
    line-height: .96;
}

.fa-doc-lead {
    max-width: 48rem;
    color: #505b7d;
    font-size: clamp(1.12rem, 1.7vw, 1.38rem);
    line-height: 1.58;
}


/* Reading column */

.fa-doc-article {
    max-width: 900px;
    padding:
        clamp(3.5rem, 6vw, 5rem)
        1.5rem
        1rem;
}

.fa-doc-article > h2 {
    margin-top: 4rem;
    margin-bottom: 1.2rem;
    color: var(--fa-navy);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    letter-spacing: -.035em;
}

.fa-doc-article > h2:first-child {
    margin-top: 0;
}

.fa-doc-article > p {
    max-width: 48rem;
    color: #404a6d;
    line-height: 1.72;
}


/* Callouts */

.fa-doc-callout {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.6rem 1.75rem !important;
    border-radius: 1.15rem;
}

.fa-doc-callout h3 {
    margin-top: 0;
    margin-bottom: .65rem;
    font-size: 1.18rem;
}

.fa-doc-callout p:last-child {
    margin-bottom: 0;
}

.fa-doc-callout-purple {
    background:
        linear-gradient(
            105deg,
            rgba(147,73,252,.10),
            rgba(74,190,255,.08)
        );
    border-left: 4px solid var(--fa-purple);
}

.fa-doc-callout-lime {
    background: var(--fa-soft-lime);
    border-left: 4px solid var(--fa-lime);
}


/* Concept cards */

.fa-doc-concept-grid,
.fa-doc-requirements {
    gap: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 2.5rem;
}

.fa-doc-concept-grid > .wp-block-column,
.fa-doc-requirements > .wp-block-column {
    padding: 1.45rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1rem !important;
    box-shadow:
        0 10px 28px
        rgba(27,41,104,.04) !important;
}

.fa-doc-concept-grid
> .wp-block-column::before,
.fa-doc-requirements
> .wp-block-column::before {
    display: none !important;
}

.fa-doc-concept-number {
    margin: 0 0 .8rem;
    color: var(--fa-purple) !important;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.fa-doc-concept-grid h3,
.fa-doc-requirements h3 {
    margin-top: 0;
    margin-bottom: .6rem;
    font-size: 1.15rem;
}

.fa-doc-concept-grid p:last-child,
.fa-doc-requirements p:last-child {
    margin-bottom: 0;
    color: #59627f;
}

.fa-doc-requirement-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 .8rem;
    padding: .35rem .6rem;
    color: var(--fa-navy) !important;
    background: var(--fa-soft-sky);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}


/* Setup steps */

.fa-doc-steps {
    margin-top: 2rem;
}

.fa-doc-step {
    gap: 1.2rem;
    align-items: flex-start !important;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--fa-border);
}

.fa-doc-step:first-child {
    border-top: 1px solid var(--fa-border);
}

.fa-doc-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.7rem;
    width: 2.7rem;
    height: 2.7rem;
    margin: .15rem 0 0;
    color: var(--fa-navy) !important;
    background: var(--fa-lime);
    border-radius: .8rem;
    font-size: .78rem;
    font-weight: 800;
}

.fa-doc-step h3 {
    margin-top: 0;
    margin-bottom: .35rem;
    font-size: 1.12rem;
}

.fa-doc-step h3 a {
    text-decoration: none !important;
}

.fa-doc-step p:last-child {
    margin-bottom: 0;
    color: #59627f;
}


/* Checklist */

.fa-doc-checklist {
    margin-top: 1.5rem;
    padding: 0;
    list-style: none;
}

.fa-doc-checklist li {
    position: relative;
    margin-bottom: .8rem;
    padding-left: 2rem;
    color: #404a6d;
}

.fa-doc-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--fa-navy);
    background: var(--fa-lime);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 900;
}


/* Previous / next navigation */

.fa-doc-separator {
    margin-top: 4rem;
    margin-bottom: 2rem;
    border-color: var(--fa-border);
}

.fa-doc-next {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 1.6rem 1.75rem !important;
    background:
        linear-gradient(
            110deg,
            rgba(74,190,255,.08),
            rgba(147,73,252,.08)
        );
    border: 1px solid var(--fa-border);
    border-radius: 1.1rem;
}

.fa-doc-next::after {
    content: "";
    position: absolute;
    right: -2rem;
    bottom: -3rem;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: var(--fa-lime);
    opacity: .4;
}

.fa-doc-next > * {
    position: relative;
    z-index: 2;
}

.fa-doc-next-label {
    margin-bottom: .45rem;
    color: var(--fa-purple) !important;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.fa-doc-next h3 {
    margin-top: 0;
    margin-bottom: .45rem;
}

.fa-doc-next h3 a {
    text-decoration: none !important;
}

.fa-doc-next p:last-child {
    margin-bottom: 0;
    color: #59627f;
}


/* Mobile */

@media (max-width: 781px) {
    .fa-doc-hero {
        padding:
            3rem
            1.25rem
            3.5rem;
    }

    .fa-doc-article {
        padding:
            3rem
            1.25rem
            1rem;
    }

    .fa-doc-article > h2 {
        margin-top: 3.2rem;
    }

    .fa-doc-step {
        align-items: flex-start !important;
    }
}


/* =========================================================
   INSTALLATION / FIRST SETUP DOC COMPONENTS
========================================================= */

.fa-doc-code {
    margin-top: 1.4rem;
    margin-bottom: 2rem;
    padding: 1rem 1.2rem !important;
    color: #fff;
    background: var(--fa-navy) !important;
    border-radius: .85rem;
    overflow-x: auto;
    font-size: .86rem;
}

.fa-doc-code code {
    color: inherit;
}


.fa-doc-preset-grid {
    gap: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 2.5rem;
}

.fa-doc-preset-grid > .wp-block-column {
    padding: 1.4rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1rem !important;
    box-shadow:
        0 10px 28px
        rgba(27,41,104,.04) !important;
}

.fa-doc-preset-grid > .wp-block-column::before {
    display: none !important;
}

.fa-doc-preset-grid h3 {
    margin-top: .9rem;
    margin-bottom: .5rem;
    font-size: 1.12rem;
}

.fa-doc-preset-grid p:last-child {
    margin-bottom: 0;
    color: #59627f;
}

.fa-doc-preset-dot {
    display: inline-flex;
    width: fit-content;
    margin: 0;
    padding: .35rem .6rem;
    border-radius: 999px;
    color: var(--fa-navy) !important;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fa-doc-preset-neutral {
    background: #eef1f5;
}

.fa-doc-preset-classic {
    background: #f3eadc;
}

.fa-doc-preset-modern {
    background:
        linear-gradient(
            100deg,
            rgba(147,73,252,.18),
            rgba(74,190,255,.22)
        );
}


/* =========================================================
   GEDCOM DOCUMENTATION COMPONENTS
========================================================= */

.fa-doc-gedcom-grid,
.fa-doc-preview-grid,
.fa-doc-source-grid {
    gap: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 2.7rem;
}

.fa-doc-gedcom-grid > .wp-block-column,
.fa-doc-preview-grid > .wp-block-column,
.fa-doc-source-grid > .wp-block-column {
    padding: 1.45rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1rem !important;
    box-shadow:
        0 10px 28px
        rgba(27,41,104,.04) !important;
}

.fa-doc-gedcom-grid > .wp-block-column::before,
.fa-doc-preview-grid > .wp-block-column::before,
.fa-doc-source-grid > .wp-block-column::before {
    display: none !important;
}

.fa-doc-gedcom-grid h3,
.fa-doc-preview-grid h3,
.fa-doc-source-grid h3 {
    margin-top: .2rem;
    margin-bottom: .65rem;
    font-size: 1.15rem;
}

.fa-doc-gedcom-grid p:last-child,
.fa-doc-source-grid p:last-child {
    margin-bottom: 0;
    color: #59627f;
}

.fa-doc-preview-grid ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
    color: #59627f;
}

.fa-doc-preview-grid li {
    margin-bottom: .55rem;
}


.fa-doc-identity-flow {
    max-width: 32rem;
    margin: 2rem auto 2.5rem;
    padding: 1.8rem !important;
    background:
        linear-gradient(
            110deg,
            rgba(74,190,255,.08),
            rgba(147,73,252,.08)
        );
    border: 1px solid var(--fa-border);
    border-radius: 1.1rem;
    text-align: center;
}

.fa-doc-identity-flow p {
    margin: .25rem 0;
}

.fa-doc-flow-arrow {
    color: var(--fa-purple) !important;
    font-size: 1.25rem;
    font-weight: 800;
}


@media (max-width: 781px) {
    .fa-doc-identity-flow {
        margin-left: 0;
        margin-right: 0;
    }
}


/* =========================================================
   PHOTOS & DOCUMENTS DOCUMENTATION COMPONENTS
========================================================= */

.fa-doc-photo-people-grid,
.fa-doc-album-grid,
.fa-doc-document-grid,
.fa-doc-provenance-grid {
    gap: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 2.6rem;
}

.fa-doc-photo-people-grid > .wp-block-column,
.fa-doc-album-grid > .wp-block-column,
.fa-doc-document-grid > .wp-block-column,
.fa-doc-provenance-grid > .wp-block-column {
    padding: 1.45rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1rem !important;
    box-shadow:
        0 10px 28px
        rgba(27,41,104,.04) !important;
}

.fa-doc-photo-people-grid > .wp-block-column::before,
.fa-doc-album-grid > .wp-block-column::before,
.fa-doc-document-grid > .wp-block-column::before,
.fa-doc-provenance-grid > .wp-block-column::before {
    display: none !important;
}

.fa-doc-photo-people-grid h3,
.fa-doc-album-grid h3,
.fa-doc-document-grid h3,
.fa-doc-provenance-grid h3 {
    margin-top: .35rem;
    margin-bottom: .65rem;
    font-size: 1.15rem;
}

.fa-doc-photo-people-grid p:last-child,
.fa-doc-album-grid p:last-child,
.fa-doc-document-grid p:last-child,
.fa-doc-provenance-grid p:last-child {
    margin-bottom: 0;
    color: #59627f;
}


.fa-doc-material-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 .8rem;
    padding: .35rem .62rem;
    border-radius: 999px;
    color: var(--fa-navy) !important;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.fa-doc-material-label-photo {
    background: var(--fa-soft-sky);
}

.fa-doc-material-label-related {
    background:
        linear-gradient(
            100deg,
            rgba(147,73,252,.15),
            rgba(243,173,197,.24)
        );
}

.fa-doc-material-label-single {
    background: var(--fa-soft-lime);
}

.fa-doc-material-label-multi {
    background:
        linear-gradient(
            100deg,
            rgba(74,190,255,.14),
            rgba(147,73,252,.13)
        );
}


/* Document behaviour */

.fa-doc-behaviour-list {
    margin-top: 1.6rem;
    margin-bottom: 2.7rem;
    border-top: 1px solid var(--fa-border);
}

.fa-doc-behaviour-row {
    gap: 1.5rem;
    align-items: flex-start !important;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--fa-border);
}

.fa-doc-behaviour-row p {
    margin: 0;
}

.fa-doc-behaviour-row
> p:not(.fa-doc-behaviour-type) {
    flex: 1;
    color: #59627f;
}

.fa-doc-behaviour-type {
    flex: 0 0 9rem;
    color: var(--fa-navy) !important;
    font-weight: 700;
}


@media (max-width: 781px) {
    .fa-doc-behaviour-row {
        display: block !important;
    }

    .fa-doc-behaviour-type {
        margin-bottom: .45rem !important;
    }
}


/* =========================================================
   PRIVACY & PRIVATE MEDIA DOCUMENTATION COMPONENTS
========================================================= */

.fa-doc-private-flow {
    max-width: 32rem;
    margin: 2rem auto 2.7rem;
    padding: 1.8rem !important;
    background:
        linear-gradient(
            110deg,
            rgba(74,190,255,.08),
            rgba(147,73,252,.08)
        );
    border: 1px solid var(--fa-border);
    border-radius: 1.1rem;
    text-align: center;
}

.fa-doc-private-flow p {
    margin: .25rem 0;
}


.fa-doc-private-strategy-grid,
.fa-doc-private-check-grid,
.fa-doc-private-boundary-grid {
    gap: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 2.7rem;
}

.fa-doc-private-strategy-grid > .wp-block-column,
.fa-doc-private-check-grid > .wp-block-column,
.fa-doc-private-boundary-grid > .wp-block-column {
    padding: 1.45rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1rem !important;
    box-shadow:
        0 10px 28px
        rgba(27,41,104,.04) !important;
}

.fa-doc-private-strategy-grid > .wp-block-column::before,
.fa-doc-private-check-grid > .wp-block-column::before,
.fa-doc-private-boundary-grid > .wp-block-column::before {
    display: none !important;
}

.fa-doc-private-strategy-grid h3,
.fa-doc-private-check-grid h3,
.fa-doc-private-boundary-grid h3 {
    margin-top: .3rem;
    margin-bottom: .65rem;
    font-size: 1.15rem;
}

.fa-doc-private-strategy-grid p:last-child,
.fa-doc-private-check-grid p:last-child,
.fa-doc-private-boundary-grid p:last-child {
    margin-bottom: 0;
    color: #59627f;
}


/* Protection status */

.fa-doc-protection-status {
    margin-top: 1.7rem;
    margin-bottom: 2.7rem;
    border-top: 1px solid var(--fa-border);
}

.fa-doc-status-row {
    gap: 1.5rem;
    align-items: flex-start !important;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--fa-border);
}

.fa-doc-status-row p {
    margin: 0;
}

.fa-doc-status-row
> p:not(.fa-doc-status-name) {
    flex: 1;
    color: #59627f;
}

.fa-doc-status-name {
    flex: 0 0 7rem;
    width: fit-content;
    padding: .3rem .55rem;
    border-radius: 999px;
    color: var(--fa-navy) !important;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fa-doc-status-good .fa-doc-status-name {
    background: var(--fa-soft-lime);
}

.fa-doc-status-bad .fa-doc-status-name {
    background: rgba(243,173,197,.34);
}

.fa-doc-status-unknown .fa-doc-status-name {
    background: var(--fa-soft-sky);
}


@media (max-width: 781px) {
    .fa-doc-private-flow {
        margin-left: 0;
        margin-right: 0;
    }

    .fa-doc-status-row {
        display: block !important;
    }

    .fa-doc-status-name {
        margin-bottom: .5rem !important;
    }
}


/* =========================================================
   ACCOUNTS & CONTRIBUTIONS DOCUMENTATION COMPONENTS
========================================================= */

.fa-doc-access-grid,
.fa-doc-review-grid {
    gap: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 2.7rem;
}

.fa-doc-access-grid > .wp-block-column,
.fa-doc-review-grid > .wp-block-column {
    padding: 1.45rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1rem !important;
    box-shadow:
        0 10px 28px
        rgba(27,41,104,.04) !important;
}

.fa-doc-access-grid > .wp-block-column::before,
.fa-doc-review-grid > .wp-block-column::before {
    display: none !important;
}

.fa-doc-access-grid h3,
.fa-doc-review-grid h3 {
    margin-top: .35rem;
    margin-bottom: .65rem;
    font-size: 1.15rem;
}

.fa-doc-access-grid p:last-child,
.fa-doc-review-grid p:last-child {
    margin-bottom: 0;
    color: #59627f;
}


.fa-doc-access-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 .8rem;
    padding: .35rem .62rem;
    border-radius: 999px;
    color: var(--fa-navy) !important;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.fa-doc-access-family {
    background: var(--fa-soft-sky);
}

.fa-doc-access-contributor {
    background: var(--fa-soft-lime);
}

.fa-doc-access-admin {
    background:
        linear-gradient(
            100deg,
            rgba(147,73,252,.15),
            rgba(243,173,197,.24)
        );
}


/* Contribution flow */

.fa-doc-contribution-flow {
    max-width: 34rem;
    margin: 2rem auto 2.8rem;
    padding: 1.8rem !important;
    background:
        linear-gradient(
            110deg,
            rgba(74,190,255,.08),
            rgba(147,73,252,.08)
        );
    border: 1px solid var(--fa-border);
    border-radius: 1.1rem;
    text-align: center;
}

.fa-doc-contribution-flow p {
    margin: .3rem 0;
}


@media (max-width: 781px) {
    .fa-doc-contribution-flow {
        margin-left: 0;
        margin-right: 0;
    }
}


/* =========================================================
   APPEARANCE & BRANDING DOCUMENTATION COMPONENTS
========================================================= */

.fa-doc-appearance-layer-grid,
.fa-doc-name-example-grid,
.fa-doc-design-principle-grid {
    gap: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 2.7rem;
}

.fa-doc-appearance-layer-grid > .wp-block-column,
.fa-doc-name-example-grid > .wp-block-column,
.fa-doc-design-principle-grid > .wp-block-column {
    padding: 1.45rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1rem !important;
    box-shadow:
        0 10px 28px
        rgba(27,41,104,.04) !important;
}

.fa-doc-appearance-layer-grid > .wp-block-column::before,
.fa-doc-name-example-grid > .wp-block-column::before,
.fa-doc-design-principle-grid > .wp-block-column::before {
    display: none !important;
}

.fa-doc-appearance-layer-grid h3,
.fa-doc-name-example-grid h3,
.fa-doc-design-principle-grid h3 {
    margin-top: .3rem;
    margin-bottom: .65rem;
    font-size: 1.15rem;
}

.fa-doc-appearance-layer-grid p:last-child,
.fa-doc-name-example-grid p:last-child,
.fa-doc-design-principle-grid p:last-child {
    margin-bottom: 0;
    color: #59627f;
}


/* Archive-name examples */

.fa-doc-name-example-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 .8rem;
    padding: .35rem .62rem;
    color: var(--fa-navy) !important;
    background: var(--fa-soft-lime);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}


/* Design profile demonstrations */

.fa-doc-profile {
    position: relative;
    overflow: hidden;
    margin-top: 1.35rem;
    margin-bottom: 1.35rem;
    padding: 1.7rem !important;
    border: 1px solid var(--fa-border);
    border-radius: 1.15rem;
}

.fa-doc-profile .wp-block-columns {
    gap: 1.5rem;
    margin-bottom: 0;
}

.fa-doc-profile h3 {
    margin-top: .3rem;
    margin-bottom: 0;
    font-size: 1.45rem;
}

.fa-doc-profile p:last-child {
    margin-bottom: 0;
}

.fa-doc-profile-index {
    margin: 0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fa-doc-profile-neutral {
    background:
        linear-gradient(
            110deg,
            #ffffff,
            #f2f4f7
        );
}

.fa-doc-profile-neutral
.fa-doc-profile-index {
    color: #5e6879;
}

.fa-doc-profile-classic {
    background:
        linear-gradient(
            110deg,
            #faf7f1,
            #eee2d1
        );
}

.fa-doc-profile-classic
.fa-doc-profile-index {
    color: #765d3d;
}

.fa-doc-profile-modern {
    background:
        linear-gradient(
            110deg,
            rgba(74,190,255,.12),
            rgba(147,73,252,.10)
        );
}

.fa-doc-profile-modern
.fa-doc-profile-index {
    color: var(--fa-purple);
}

.fa-doc-profile::after {
    content: "";
    position: absolute;
    width: 5rem;
    height: .28rem;
    top: 0;
    right: 1.5rem;
    border-radius: 0 0 999px 999px;
}

.fa-doc-profile-neutral::after {
    background:
        linear-gradient(
            90deg,
            #cbd2dc,
            #7e8999
        );
}

.fa-doc-profile-classic::after {
    background:
        linear-gradient(
            90deg,
            #b49a78,
            #755c3f
        );
}

.fa-doc-profile-modern::after {
    background:
        linear-gradient(
            90deg,
            var(--fa-purple),
            var(--fa-sky),
            var(--fa-lime)
        );
}


@media (max-width: 781px) {
    .fa-doc-profile {
        padding: 1.4rem !important;
    }
}


/* =========================================================
   TROUBLESHOOTING DOCUMENTATION COMPONENTS
========================================================= */

.fa-doc-trouble-list {
    margin-top: 1.6rem;
    margin-bottom: 2.8rem;
    border-top: 1px solid var(--fa-border);
}

.fa-doc-trouble-item {
    padding: 1.35rem 0 !important;
    border-bottom: 1px solid var(--fa-border);
}

.fa-doc-trouble-item h3 {
    margin-top: 0;
    margin-bottom: .55rem;
    font-size: 1.15rem;
}

.fa-doc-trouble-item p {
    max-width: 48rem;
    color: #59627f;
}

.fa-doc-trouble-item p:last-child {
    margin-bottom: 0;
}


.fa-doc-trouble-status-grid,
.fa-doc-diagnosis-grid {
    gap: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 2.7rem;
}

.fa-doc-trouble-status-grid > .wp-block-column,
.fa-doc-diagnosis-grid > .wp-block-column {
    padding: 1.45rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1rem !important;
    box-shadow:
        0 10px 28px
        rgba(27,41,104,.04) !important;
}

.fa-doc-trouble-status-grid > .wp-block-column::before,
.fa-doc-diagnosis-grid > .wp-block-column::before {
    display: none !important;
}

.fa-doc-trouble-status-grid h3,
.fa-doc-diagnosis-grid h3 {
    margin-top: .45rem;
    margin-bottom: .65rem;
    font-size: 1.15rem;
}

.fa-doc-trouble-status-grid p:last-child,
.fa-doc-diagnosis-grid p:last-child {
    margin-bottom: 0;
    color: #59627f;
}


.fa-doc-trouble-status {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 .7rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    color: var(--fa-navy) !important;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fa-doc-trouble-status-write {
    background: var(--fa-soft-sky);
}

.fa-doc-trouble-status-exposed {
    background: rgba(243,173,197,.34);
}

.fa-doc-trouble-status-unknown {
    background:
        linear-gradient(
            100deg,
            rgba(147,73,252,.14),
            rgba(74,190,255,.14)
        );
}


/* Bug-report recipe */

.fa-doc-bug-report {
    margin-top: 1.6rem;
    margin-bottom: 2.7rem;
    padding: 1.6rem 1.75rem !important;
    background:
        linear-gradient(
            110deg,
            rgba(74,190,255,.08),
            rgba(147,73,252,.08)
        );
    border: 1px solid var(--fa-border);
    border-radius: 1.1rem;
}

.fa-doc-bug-report-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 1rem;
    padding: .35rem .62rem;
    color: var(--fa-navy) !important;
    background: var(--fa-lime);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.fa-doc-bug-report ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.fa-doc-bug-report li {
    margin-bottom: .55rem;
    color: #4d5778;
}


/* =========================================================
   RELEASE NOTES DOCUMENTATION COMPONENTS
========================================================= */

.fa-release-current {
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    padding: 1.8rem !important;
    background:
        linear-gradient(
            115deg,
            rgba(74,190,255,.10),
            rgba(147,73,252,.09)
        );
    border: 1px solid var(--fa-border);
    border-radius: 1.2rem;
}

.fa-release-current::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: .3rem;
    background:
        linear-gradient(
            90deg,
            var(--fa-purple),
            var(--fa-sky),
            var(--fa-lime),
            var(--fa-rose)
        );
}

.fa-release-current-head {
    align-items: flex-start !important;
    gap: 1rem;
}

.fa-release-current h2 {
    margin-top: .35rem;
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.fa-release-status,
.fa-release-channel-label {
    display: inline-flex;
    width: fit-content;
    margin: 0;
    padding: .35rem .62rem;
    border-radius: 999px;
    color: var(--fa-navy) !important;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.fa-release-status {
    background: var(--fa-lime);
}

.fa-release-date {
    margin: .2rem 0 0;
    color: #66708e;
    font-size: .86rem;
}

.fa-release-intro {
    max-width: 48rem;
    margin-top: 1.35rem;
    color: #4e5878;
    font-size: 1.06rem;
}


/* Highlight / test cards */

.fa-release-highlight-grid,
.fa-release-test-grid,
.fa-release-channel-grid {
    gap: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.2rem;
}

.fa-release-highlight-grid > .wp-block-column,
.fa-release-test-grid > .wp-block-column,
.fa-release-channel-grid > .wp-block-column {
    padding: 1.4rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1rem !important;
    box-shadow:
        0 10px 28px
        rgba(27,41,104,.04) !important;
}

.fa-release-highlight-grid > .wp-block-column::before,
.fa-release-test-grid > .wp-block-column::before,
.fa-release-channel-grid > .wp-block-column::before {
    display: none !important;
}

.fa-release-highlight-grid h3,
.fa-release-test-grid h3,
.fa-release-channel-grid h3 {
    margin-top: .45rem;
    margin-bottom: .6rem;
    font-size: 1.12rem;
}

.fa-release-highlight-grid p:last-child,
.fa-release-test-grid p:last-child,
.fa-release-channel-grid p:last-child {
    margin-bottom: 0;
    color: #59627f;
}

.fa-release-highlight-label {
    margin: 0;
    color: var(--fa-purple) !important;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.fa-release-test-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin: 0;
    background: var(--fa-lime);
    border-radius: 999px;
    color: var(--fa-navy) !important;
    font-weight: 900;
}


.fa-release-channel-stable {
    background: var(--fa-soft-lime);
}

.fa-release-channel-preview {
    background:
        linear-gradient(
            100deg,
            rgba(147,73,252,.16),
            rgba(74,190,255,.18)
        );
}


/* Long checksum should remain usable on narrow screens */

.fa-release-checksum {
    word-break: break-all;
    white-space: pre-wrap !important;
}


/* =========================================================
   ABOUT PAGE
========================================================= */

.fa-about-hero {
    padding-top: clamp(4rem, 8vw, 7rem) !important;
    padding-bottom: clamp(4rem, 8vw, 7rem) !important;
    background:
        linear-gradient(
            115deg,
            rgba(74,190,255,.16),
            rgba(147,73,252,.10),
            rgba(243,173,197,.10)
        );
}

.fa-about-title {
    max-width: 58rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    color: var(--fa-navy);
    font-size: clamp(3rem, 7vw, 5.7rem);
    line-height: .92;
    letter-spacing: -.055em;
}

.fa-about-lead {
    max-width: 50rem;
    margin-bottom: 0;
    color: #59627f;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.fa-about-body {
    padding-top: clamp(3.5rem, 7vw, 6rem) !important;
    padding-bottom: clamp(4rem, 8vw, 7rem) !important;
}

.fa-about-body > h2 {
    margin-top: 3.5rem;
}

.fa-about-body > h2:first-child {
    margin-top: 0;
}

.fa-about-statement {
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 1.7rem 1.9rem !important;
    background:
        linear-gradient(
            105deg,
            rgba(147,73,252,.10),
            rgba(74,190,255,.10)
        );
    border-left: .28rem solid var(--fa-purple);
    border-radius: 0 1.1rem 1.1rem 0;
}

.fa-about-statement p {
    margin: 0;
    color: var(--fa-navy);
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 700;
    line-height: 1.4;
}


/* Values */

.fa-about-values-grid,
.fa-about-material-grid,
.fa-about-contribution-grid {
    gap: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 3rem;
}

.fa-about-values-grid > .wp-block-column,
.fa-about-material-grid > .wp-block-column,
.fa-about-contribution-grid > .wp-block-column {
    padding: 1.5rem !important;
    background: #fff !important;
    border: 1px solid var(--fa-border) !important;
    border-radius: 1rem !important;
    box-shadow:
        0 10px 28px
        rgba(27,41,104,.04) !important;
}

.fa-about-values-grid > .wp-block-column::before,
.fa-about-material-grid > .wp-block-column::before,
.fa-about-contribution-grid > .wp-block-column::before {
    display: none !important;
}

.fa-about-values-grid h3,
.fa-about-material-grid h3,
.fa-about-contribution-grid h3 {
    margin-top: .45rem;
    margin-bottom: .65rem;
    font-size: 1.18rem;
}

.fa-about-values-grid p:last-child,
.fa-about-material-grid p:last-child,
.fa-about-contribution-grid p:last-child {
    margin-bottom: 0;
    color: #59627f;
}

.fa-about-value-label {
    margin: 0;
    color: var(--fa-purple) !important;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.fa-about-material-icon {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    margin: 0;
    background: var(--fa-soft-lime);
    border-radius: 999px;
    color: var(--fa-navy) !important;
    font-size: .72rem;
    font-weight: 900;
}


/* Contribution grid is two columns */

.fa-about-contribution-grid {
    flex-wrap: wrap !important;
}

.fa-about-contribution-grid > .wp-block-column {
    flex-basis: calc(50% - .6rem) !important;
    flex-grow: 0 !important;
}


/* Support */

.fa-about-support {
    position: relative;
    overflow: hidden;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
    padding: clamp(1.7rem, 4vw, 2.5rem) !important;
    background:
        linear-gradient(
            115deg,
            var(--fa-navy),
            #352080
        );
    border-radius: 1.25rem;
    color: #fff;
}

.fa-about-support::after {
    content: "";
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    width: 11rem;
    height: 11rem;
    background:
        radial-gradient(
            circle,
            rgba(205,253,81,.28),
            transparent 67%
        );
}

.fa-about-support h2,
.fa-about-support p {
    position: relative;
    z-index: 1;
    color: #fff;
}

.fa-about-support h2 {
    margin-top: .5rem;
}

.fa-about-support-label,
.fa-about-final-label {
    margin: 0;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.fa-about-support-label {
    color: var(--fa-lime) !important;
}


/* Demo note */

.fa-about-demo-note {
    margin-top: 1.6rem;
    margin-bottom: 1.7rem;
    padding: 1.5rem !important;
    background:
        linear-gradient(
            105deg,
            rgba(205,253,81,.20),
            rgba(74,190,255,.10)
        );
    border: 1px solid rgba(27,41,104,.10);
    border-radius: 1rem;
}

.fa-about-demo-note h3 {
    margin-top: 0;
    margin-bottom: .55rem;
}

.fa-about-demo-note p:last-child {
    margin-bottom: 0;
}


/* Final CTA */

.fa-about-final-cta {
    margin-top: 4rem;
    padding: clamp(1.8rem, 5vw, 3rem) !important;
    background:
        linear-gradient(
            120deg,
            rgba(74,190,255,.12),
            rgba(147,73,252,.11),
            rgba(243,173,197,.12)
        );
    border: 1px solid var(--fa-border);
    border-radius: 1.25rem;
}

.fa-about-final-cta h2 {
    margin-top: .45rem;
}

.fa-about-final-label {
    color: var(--fa-purple) !important;
}


@media (max-width: 781px) {
    .fa-about-contribution-grid > .wp-block-column {
        flex-basis: 100% !important;
    }

    .fa-about-title {
        font-size: clamp(2.8rem, 13vw, 4.4rem);
    }
}


/* =========================================================
   ABOUT – REMOVE DUPLICATE WORDPRESS PAGE TITLE
========================================================= */

body.page-id-12 .wp-block-post-title {
    display: none !important;
}

body.page-id-12 main.wp-block-group {
    margin-top: 0;
}


/* =========================================================
   ABOUT – REMOVE TWENTY TWENTY-FIVE TEMPLATE SPACING
========================================================= */

.page-id-12 .wp-site-blocks > main.wp-block-group {
    margin-top: 0 !important;
}

.page-id-12 .wp-site-blocks > main.wp-block-group
> .wp-block-group.alignfull {
    padding-top: 0 !important;
}


/*
 * ============================================================
 * FAMILY ARCHIVE LANGUAGE SWITCHER START
 * ============================================================
 */

.fa-language-switcher-wrap {
    margin: 0;
}

.fa-language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    min-height: 2.15rem;
    padding: 0.25rem 0.45rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
}

.fa-language-switcher:hover,
.fa-language-switcher:focus-visible {
    text-decoration: none;
}

/*
 * ============================================================
 * FAMILY ARCHIVE LANGUAGE SWITCHER END
 * ============================================================
 */


/*
 * ============================================================
 * FAMILY ARCHIVE DEMO SHOWCASE START
 * ============================================================
 */

/*
 * Remove Twenty Twenty-Five's generic page spacing from the
 * two translated home pages. The hero supplies its own spacing.
 */
body.page-id-9 main.wp-block-group,
body.page-id-44 main.wp-block-group {
    margin-top: 0 !important;
}

body.page-id-9 main.wp-block-group > .wp-block-group.alignfull,
body.page-id-44 main.wp-block-group > .wp-block-group.alignfull {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/*
 * The showcase is promotional/editorial rather than a catalogue.
 * Text and imagery form one composition, with the same playful
 * visual language used in the hero.
 */
.fa-showcase-section {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(250px, 0.78fr)
        minmax(420px, 1.22fr);
    grid-template-rows:
        auto
        auto
        auto
        1fr;
    column-gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: start;
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    border-top: 0;
}

body.page-id-9 .fa-intro-section,
body.page-id-44 .fa-intro-section {
    border-bottom: 0 !important;
}

.fa-showcase-section > .fa-section-kicker,
.fa-showcase-section > h2,
.fa-showcase-section > .fa-showcase-lead,
.fa-showcase-section > .fa-showcase-note {
    grid-column: 1;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.fa-showcase-section > .fa-section-kicker {
    grid-row: 1;
    align-self: end;
}

.fa-showcase-section > h2 {
    grid-row: 2;
    max-width: 430px;
    margin-top: 0.8rem;
    margin-bottom: 0;
}

.fa-showcase-lead {
    grid-row: 3;
    max-width: 430px;
    margin-top: 1.15rem;
    margin-bottom: 0;
}

.fa-showcase-note {
    grid-row: 4;
    align-self: end;
    max-width: 390px;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    opacity: 0.62;
}

/*
 * Layered archive collage.
 */
.fa-showcase-grid {
    position: relative;
    grid-column: 2;
    grid-row: 1 / span 4;
    width: 100%;
    min-height: 570px;
    margin: 0 !important;
    isolation: isolate;
}

/*
 * Abstract shapes tie the collage back to the hero design.
 */
.fa-showcase-grid::before {
    content: "";
    position: absolute;
    z-index: -2;
    width: 280px;
    height: 280px;
    right: 4%;
    top: 15%;
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            rgba(147, 73, 252, 0.19),
            rgba(74, 190, 255, 0.15)
        );
}

.fa-showcase-grid::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 115px;
    height: 115px;
    left: 26%;
    bottom: 3%;
    border-radius: 30px;
    transform: rotate(17deg);
    background: rgba(205, 253, 81, 0.88);
}

.fa-showcase-item {
    position: absolute;
    overflow: hidden;
    margin: 0;
    border: 6px solid rgba(255, 255, 255, 0.94);
    border-radius: 22px;
    background: #eef0f8;
    box-shadow:
        0 24px 55px rgba(27, 41, 104, 0.14),
        0 5px 14px rgba(27, 41, 104, 0.08);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.fa-showcase-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fa-showcase-item:hover {
    box-shadow:
        0 30px 65px rgba(27, 41, 104, 0.18),
        0 6px 16px rgba(27, 41, 104, 0.09);
}

/*
 * Historical portrait – left anchor.
 */
.fa-showcase-portrait-a {
    z-index: 5;
    top: 8%;
    left: 0;
    width: 32%;
    height: 57%;
    transform: rotate(-2.2deg);
}

.fa-showcase-portrait-a:hover {
    transform: rotate(-2.2deg) translateY(-4px);
}

/*
 * Stockholm postcard – wide backdrop.
 */
.fa-showcase-postcard-a {
    z-index: 2;
    top: 0;
    right: 0;
    width: 72%;
    height: 37%;
    transform: rotate(1.2deg);
}

.fa-showcase-postcard-a:hover {
    transform: rotate(1.2deg) translateY(-4px);
}

/*
 * Kalmar postcard – lower middle layer.
 */
.fa-showcase-postcard-b {
    z-index: 3;
    left: 20%;
    bottom: 4%;
    width: 66%;
    height: 34%;
    transform: rotate(-1.1deg);
}

.fa-showcase-postcard-b:hover {
    transform: rotate(-1.1deg) translateY(-4px);
}

/*
 * Anna Stone – centre portrait.
 */
.fa-showcase-portrait-b {
    z-index: 6;
    top: 34%;
    left: 34%;
    width: 27%;
    height: 46%;
    transform: rotate(1.5deg);
}

.fa-showcase-portrait-b:hover {
    transform: rotate(1.5deg) translateY(-4px);
}

/*
 * Later colour portrait – lower right.
 */
.fa-showcase-portrait-c {
    z-index: 7;
    right: 7%;
    bottom: 0;
    width: 31%;
    height: 48%;
    transform: rotate(2deg);
}

.fa-showcase-portrait-c:hover {
    transform: rotate(2deg) translateY(-4px);
}

/*
 * Gravestone – narrow archival detail.
 */
.fa-showcase-gravestone {
    z-index: 4;
    top: 29%;
    right: 0;
    width: 24%;
    height: 42%;
    transform: rotate(-1.8deg);
}

.fa-showcase-gravestone:hover {
    transform: rotate(-1.8deg) translateY(-4px);
}

.fa-showcase-portrait-a img,
.fa-showcase-portrait-b img,
.fa-showcase-portrait-c img {
    object-position: center top;
}

.fa-showcase-gravestone img {
    object-position: center center;
}


/*
 * Tablet: stack copy above the collage while retaining
 * the editorial composition.
 */
@media (max-width: 900px) {

    .fa-showcase-section {
        display: block;
        padding-top: 3rem;
    }

    .fa-showcase-section > h2,
    .fa-showcase-lead,
    .fa-showcase-note {
        max-width: 720px;
    }

    .fa-showcase-grid {
        min-height: 580px;
        margin-top: 2.5rem !important;
    }

    .fa-showcase-note {
        margin-top: 1.5rem;
    }
}


/*
 * Mobile: use a clean photographic mosaic rather than trying
 * to preserve the desktop overlap at very small sizes.
 */
@media (max-width: 620px) {

    .fa-showcase-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 190px;
        gap: 0.75rem;
        min-height: 0;
    }

    .fa-showcase-grid::before,
    .fa-showcase-grid::after {
        display: none;
    }

    .fa-showcase-item,
    .fa-showcase-portrait-a,
    .fa-showcase-postcard-a,
    .fa-showcase-postcard-b,
    .fa-showcase-portrait-b,
    .fa-showcase-portrait-c,
    .fa-showcase-gravestone {
        position: relative;
        inset: auto;
        width: auto;
        height: auto;
        transform: none;
        border-width: 4px;
        border-radius: 18px;
    }

    .fa-showcase-item:hover,
    .fa-showcase-portrait-a:hover,
    .fa-showcase-postcard-a:hover,
    .fa-showcase-postcard-b:hover,
    .fa-showcase-portrait-b:hover,
    .fa-showcase-portrait-c:hover,
    .fa-showcase-gravestone:hover {
        transform: none;
    }

    .fa-showcase-postcard-a,
    .fa-showcase-postcard-b {
        grid-column: span 2;
    }

    .fa-showcase-portrait-a,
    .fa-showcase-portrait-b,
    .fa-showcase-portrait-c,
    .fa-showcase-gravestone {
        grid-column: span 1;
    }
}

/*
 * ============================================================
 * FAMILY ARCHIVE DEMO SHOWCASE END
 * ============================================================
 */


/*
 * ============================================================
 * FAMILY ARCHIVE CUSTOM HERO LAYOUT START
 * ============================================================
 */

/*
 * Twenty Twenty-Five adds generic spacing around normal pages.
 * Family Archive portal pages with their own hero sections manage
 * their own spacing, so remove only the outer template spacing.
 */

body.fa-custom-hero-page main.wp-block-group {
    margin-top: 0 !important;
}

body.fa-custom-hero-page
main.wp-block-group
> .wp-block-group.alignfull {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/*
 * ============================================================
 * FAMILY ARCHIVE CUSTOM HERO LAYOUT END
 * ============================================================
 */


/*
 * ============================================================
 * FAMILY ARCHIVE DOCS HERO COMPACT START
 * ============================================================
 *
 * The documentation hero contains less visual content than the
 * product-oriented JFA / Features / Download heroes. Using the same
 * large vertical padding therefore creates unnecessary empty space.
 */

.fa-docs-hero {
    padding:
        clamp(3rem, 5vw, 4.5rem)
        1.5rem
        clamp(3.25rem, 5.5vw, 4.75rem) !important;
}

@media (max-width: 781px) {
    .fa-docs-hero {
        padding:
            2.75rem
            1.25rem
            3.25rem !important;
    }
}

/*
 * ============================================================
 * FAMILY ARCHIVE DOCS HERO COMPACT END
 * ============================================================
 */


/* ============================================================
 * FAMILY ARCHIVE DOCUMENTATION CARD LINKS START
 * ============================================================
 *
 * Documentation overview cards that represent real articles
 * receive a stretched link from their heading. Informational
 * cards without standalone articles remain ordinary cards.
 */

.fa-docs-grid > .wp-block-column {
    position: relative;
}

.fa-doc-card-link,
.fa-doc-card-link:visited,
.fa-doc-card-link:hover,
.fa-doc-card-link:focus,
.fa-doc-card-link:active {
    color: inherit !important;
    text-decoration: none !important;
}

.fa-doc-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.fa-doc-card-link:focus-visible {
    outline: none;
}

.fa-doc-card-link:focus-visible::after {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* ============================================================
 * FAMILY ARCHIVE DOCUMENTATION CARD LINKS END
 * ============================================================ */

/*
 * ============================================================
 * FAMILY ARCHIVE – JFA IN ACTION START
 * ============================================================
 */

.fa-demo-product-section {
    padding-top: clamp(4rem, 7vw, 6rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
    border-top: 1px solid var(--fa-border);
}

.fa-demo-product-section > .fa-section-kicker {
    margin-bottom: 0.7rem;
}

.fa-demo-product-section > h2 {
    max-width: 760px;
    margin-top: 0;
    margin-bottom: 1rem;
}

.fa-demo-product-lead {
    max-width: 760px;
    margin-top: 0;
    margin-bottom: 0;
}

.fa-demo-screens-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.75rem;
}

.fa-demo-screen-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--fa-border);
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 18px 42px rgba(27, 41, 104, 0.08),
        0 3px 10px rgba(27, 41, 104, 0.05);
}

.fa-demo-screen-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 0.8rem;
    background: #f1f4f3;
    text-decoration: none !important;
}

.fa-demo-screen-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transition: transform 180ms ease;
}

.fa-demo-screen-card:hover .fa-demo-screen-image img {
    transform: scale(1.012);
}

.fa-demo-screen-caption {
    padding: 1.2rem 1.35rem 1.35rem;
}

.fa-demo-screen-caption h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--fa-navy);
    font-size: 1.12rem;
}

.fa-demo-screen-caption p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.fa-demo-product-actions {
    margin-top: 2rem;
}

@media (max-width: 781px) {

    .fa-demo-product-section {
        padding-top: 3.5rem;
        padding-bottom: 3.75rem;
    }

    .fa-demo-screens-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        margin-top: 2rem;
    }

    .fa-demo-screen-card {
        border-radius: 18px;
    }

    .fa-demo-screen-image {
        padding: 0.55rem;
    }

    .fa-demo-screen-caption {
        padding: 1rem 1.1rem 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .fa-demo-screen-image img {
        transition: none;
    }

    .fa-demo-screen-card:hover .fa-demo-screen-image img {
        transform: none;
    }
}

/*
 * ============================================================
 * FAMILY ARCHIVE – JFA IN ACTION END
 * ============================================================
 */
