.elementor-6616 .elementor-element.elementor-element-0da9819{--display:flex;}/* Start custom CSS for html, class: .elementor-element-3363cda */@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Lato:wght@400;700;900&display=swap');

/* =========================================================
   THEFFM HOMEPAGE — CLEANED CSS
   ---------------------------------------------------------
   01. Variables and shared foundations
   02. Homepage layout, hero and social links
   03. Latest posts and Elementor loop
   04. Football Manager section and article list
   05. Work With Me section
   06. Homepage typography and responsive layouts
   07. Homepage links, cards and section spacing
   08. Accessibility
   09. Main archive template
   10. Single post template
       - Article header and reading time
       - Article content
       - Related articles
       - Previous / next navigation
       - Back to top
   ---------------------------------------------------------
   Cascade note:
   Existing override rules are kept where needed so the
   final appearance remains consistent with the original.
========================================================= */

:root {
    --ffm-purple: #7540A8;
    --ffm-purple-dark: #54267F;
    --ffm-purple-soft: #EAE3F1;
    --ffm-ink: #29242E;
    --ffm-muted: #68616D;
    --ffm-line: #DED6E3;
    --ffm-cream: #F6F2ED;
    --ffm-font: 'DM Sans', sans-serif;
    --ffm-label-font: 'Lato', sans-serif;
}

/* SHARED */

.ffm-home,
.ffm-home *,
.ffm-home-section,
.ffm-home-section *,
.ffm-latest,
.ffm-latest *,
.ffm-latest__intro-block,
.ffm-latest__intro-block * {
    box-sizing: border-box;
}

.ffm-home,
.ffm-home-section,
.ffm-latest,
.ffm-latest__intro-block {
    font-family: var(--ffm-font);
}

.ffm-home {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 24px 20px;
    color: var(--ffm-ink);
}

.ffm-home a,
.ffm-home-section a {
    text-decoration: none;
}

.ffm-home a:focus-visible,
.ffm-home-section a:focus-visible,
.ffm-latest a:focus-visible {
    outline: 3px solid var(--ffm-purple);
    outline-offset: 4px;
}

/* =========================================================
   HERO
========================================================= */

.ffm-home__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: clamp(24px, 4vw, 60px);
    width: 100%;
    padding: 34px 0 10px;
    border-top: 1px solid var(--ffm-line);
    border-bottom: 1px solid #E8C8EF;
}

.ffm-home__main {
    min-width: 0;
    max-width: 740px;
}

.ffm-home .ffm-home__eyebrow {
    margin: 0 0 27px;
    padding: 0;
    color: #817887;
    font-family: var(--ffm-label-font);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1.6;
}

.ffm-home .ffm-home__eyebrow strong {
    color: var(--ffm-purple);
    font-weight: 900;
}

.ffm-home .ffm-home__main h1 {
    margin: 0 0 24px;
    padding: 0;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
    font-size: clamp(38px, 4.2vw, 62px);
    font-weight: 800;
    letter-spacing: -2.8px;
    line-height: 1.06;
}

.ffm-home .ffm-home__main h1 span {
    color: var(--ffm-purple);
}

.ffm-home .ffm-home__intro {
    max-width: 570px;
    margin: 0;
    padding: 0;
    color: var(--ffm-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.ffm-home__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-top: 27px;
}

.ffm-home .ffm-home__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-family: var(--ffm-label-font);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
    text-decoration: none !important;
    transition: background-color 180ms ease,
                border-color 180ms ease,
                color 180ms ease,
                gap 180ms ease;
}

.ffm-home .ffm-home__primary {
    padding: 13px 16px;
    border: 1px solid var(--ffm-purple);
    border-radius: 2px;
    background: var(--ffm-purple);
    color: #FFFFFF !important;
}

.ffm-home .ffm-home__primary:hover {
    gap: 15px;
    border-color: var(--ffm-purple-dark);
    background: var(--ffm-purple-dark);
    color: #FFFFFF !important;
}

.ffm-home .ffm-home__secondary {
    padding: 11px 0 9px;
    border-bottom: 1px solid #B9ADBF;
    color: var(--ffm-ink) !important;
}

.ffm-home .ffm-home__secondary:hover {
    gap: 15px;
    border-color: var(--ffm-purple);
    color: var(--ffm-purple) !important;
}

/* =========================================================
   SOCIAL LINKS
========================================================= */

.ffm-socials {
    display: block !important;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 25px;
    background: #FFFFFF;
    border: 1px solid var(--ffm-line);
    border-radius: 8px;
    font-family: var(--ffm-font);
}

.ffm-socials__intro {
    margin-bottom: 22px;
}

.ffm-socials__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--ffm-purple);
    font-family: var(--ffm-label-font);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.ffm-socials__intro h2 {
    margin: 0 0 8px;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

.ffm-socials__intro p {
    margin: 0;
    color: var(--ffm-muted);
    font-size: 14px;
    line-height: 1.7;
}

.ffm-socials .ffm-social {
    display: flex !important;
    align-items: center;
    gap: 13px;
    width: 100%;
    margin-top: 10px;
    padding: 13px;
    background: #FAF8FB;
    border: 1px solid #E7E0EA;
    border-radius: 5px;
    color: var(--ffm-ink);
    text-decoration: none !important;
    transition: border-color 180ms ease,
                background-color 180ms ease;
}

.ffm-socials .ffm-social:hover {
    border-color: #DED3E8;
    background: #EEE6F5;
    color: var(--ffm-ink);
}
.ffm-social__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    font-size: 22px;
    font-weight: 700;
}

.ffm-social__icon--x {
    background: #F0E4F3;
    color: var(--ffm-purple);
}

.ffm-social__icon--instagram {
    background: #F0E4F3;
    color: var(--ffm-purple);
}

.ffm-social__icon--twitch {
    background: #F0E4F3;
    color: var(--ffm-purple);
}

.ffm-social__details {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ffm-social__details strong {
    color: var(--ffm-ink);
    font-size: 15px;
    font-weight: 700;
}

.ffm-social__details small {
    color: #77717A;
    font-size: 13px;
}

.ffm-social__arrow {
    color: var(--ffm-purple);
    font-size: 19px;
    transition: transform 180ms ease;
}

.ffm-socials .ffm-social:hover .ffm-social__arrow {
    transform: translate(2px, -2px);
}

/* =========================================================
   LATEST FROM THEFFM — HEADING
========================================================= */

.ffm-latest__intro-block {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px 18px;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
}

.ffm-latest__heading {
    width: 100%;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: var(--ffm-purple) !important;
    font-family: var(--ffm-font) !important;
    font-size: clamp(27px, 2.8vw, 32px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -.8px !important;
}

/* =========================================================
   LATEST FROM THEFFM — ELEMENTOR LOOP GRID
========================================================= */

.ffm-latest {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 56px;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
}

.ffm-latest > .e-con-inner {
    width: 100%;
    max-width: 100%;
    gap: 0;
}

/* Grid */

.ffm-latest .ffm-latest__grid,
.ffm-latest .ffm-latest__grid .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
}

.ffm-latest .ffm-latest__grid .elementor-loop-container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 30px !important;
    width: 100%;
    max-width: 100%;
}

.ffm-latest .ffm-latest__grid .e-loop-item {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    margin: 0 !important;
}

/* Cards */

.ffm-latest .ffm-latest__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 360px;
    margin: 0 !important;
    padding: 25px !important;
    overflow: hidden;
    border: 1px solid #DED6E3;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 5px 14px rgba(41, 36, 46, .06);
    transition: transform 180ms ease,
                border-color 180ms ease,
                box-shadow 180ms ease;
}

@media (hover: hover) {
    .ffm-latest .e-loop-item:hover .ffm-latest__card {
        transform: translateY(-3px);
        border-color: #CBB6DC;
        box-shadow: 0 8px 22px rgba(41, 36, 46, .09);
    }
}

/* Category */

.ffm-latest .elementor-widget-post-info,
.ffm-latest .elementor-widget-post-info .elementor-widget-container,
.ffm-latest .elementor-post-info,
.ffm-latest .elementor-post-info__terms-list {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ffm-latest .elementor-widget-post-info {
    align-self: flex-start;
    width: 100%;
    margin: 0 0 2px !important;
}

.ffm-latest .elementor-post-info {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ffm-latest .elementor-post-info__terms-list-item,
.ffm-latest .ffm-latest__category {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 15px !important;
    padding: 5px 8px !important;
    color: var(--ffm-purple-dark) !important;
    background: #F0EAF5 !important;
    border: 0 !important;
    border-radius: 3px;
    font-family: var(--ffm-label-font);
    font-size: 12px !important;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: .3px;
    text-transform: uppercase;
    text-decoration: none;
}

/* Post title */

.ffm-latest .ffm-latest__title,
.ffm-latest .ffm-latest__title .elementor-heading-title {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: #51346F !important;
    font-family: var(--ffm-font) !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: -.45px;
    overflow-wrap: anywhere;
}

.ffm-latest .ffm-latest__title a {
    color: inherit !important;
    text-decoration: none !important;
}

.ffm-latest .ffm-latest__title a:hover {
    color: var(--ffm-purple-dark) !important;
}

/* Excerpt */

.ffm-latest .ffm-latest__excerpt {
    width: 100%;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    color: var(--ffm-muted) !important;
    font-family: var(--ffm-font);
    font-size: 15px !important;
    line-height: 1.75 !important;
    overflow-wrap: anywhere;
}

.ffm-latest .ffm-latest__excerpt p {
    margin: 0;
}

/* Read more */

.ffm-latest .ffm-latest__readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 12px 14px;
    color: var(--ffm-purple-dark);
    background: #F0EAF5;
    border-radius: 4px;
    font-family: var(--ffm-label-font);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: color 180ms ease,
                background-color 180ms ease;
}

.ffm-latest .ffm-latest__readmore:hover {
    color: #FFFFFF;
    background: var(--ffm-purple);
}

/* =========================================================
   FOOTBALL MANAGER SECTION
========================================================= */

.ffm-section {
    width: 100%;
    padding: 68px 24px;
}

.ffm-inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.ffm-intro {
    max-width: 720px;
    margin: 0 0 36px;
}

.ffm-eyebrow {
    display: block;
    margin: 0 0 12px;
    color: var(--ffm-purple);
    font-family: var(--ffm-label-font);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

.ffm-intro h2 {
    margin: 0 0 13px;
    color: var(--ffm-ink);
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -1px;
    font-weight: 800;
}

.ffm-intro p {
    max-width: 660px;
    margin: 0;
    color: #514A5B;
    font-size: 15px;
    line-height: 1.75;
}

.ffm-fm .ffm-eyebrow,
.ffm-fm .ffm-intro h2 {
    color: #70449A;
}

/* Destination cards */

.ffm-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 48px;
}

.ffm-page-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 190px;
    padding: 22px;
    background: #F2EFF7;
    border: 1px solid #DED5E8;
    border-radius: 9px;
    color: #302B35;
    text-decoration: none !important;
    transition: border-color 180ms ease,
                box-shadow 180ms ease,
                transform 180ms ease;
}

.ffm-page-card:hover {
    border-color: #A98ABF;
    box-shadow: 0 8px 22px rgba(54, 35, 69, .08);
    transform: translateY(-2px);
}

.ffm-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.ffm-fm .ffm-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 9px;
    border-radius: 4px;
    background: #E8DFF1;
    color: #593579;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    line-height: 1.3;
}

.ffm-arrow {
    color: #70449A;
    font-size: 16px;
}

.ffm-page-card h4 {
    margin: 0 0 10px;
    color: #51346F;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -.25px;
}

.ffm-page-card p {
    margin: 0 0 18px;
    color: #514A5B;
    font-size: 15px;
    line-height: 1.7;
}

.ffm-page-card .ffm-card-link {
    display: block;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #DED4E7;
    color: #70449A;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
}

/* Article list */

.ffm-fm .ffm-articles {
    padding-top: 30px;
    border-top: 1px solid #D4C9DF;
}

.ffm-home .ffm-article-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #D4C9DF;
}

.ffm-home .ffm-article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-items: start;
    gap: 9px 16px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 19px 4px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #D4C9DF;
    border-radius: 0;
    box-shadow: none;
    color: var(--ffm-ink);
    text-decoration: none !important;
    transform: none;
    transition: background-color 180ms ease;
}

.ffm-home .ffm-article .ffm-tag {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    display: inline-block;
    width: fit-content;
    margin: 0;
    padding: 4px 8px;
    background: #EAE3F1;
    border: 0;
    border-radius: 3px;
    color: #634280;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
    line-height: 1.4;
    text-align: left;
}

.ffm-home .ffm-article .ffm-date {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    margin: 0;
    color: #655B70;
    font-size: 13px;
    line-height: 1.4;
}

.ffm-home .ffm-article h4 {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    color: #51346F;
    font-size: 19px;
    line-height: 1.45;
}

.ffm-home .ffm-article h4::before {
    content: "↗";
    display: inline-block;
    flex: 0 0 auto;
    color: #70449A;
    font-size: 17px;
    font-weight: 700;
    transition: transform 180ms ease;
}

.ffm-home .ffm-article p {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: 850px;
    margin: 0;
    color: #514A5B;
    font-size: 15px;
    line-height: 1.6;
}

.ffm-home .ffm-article .ffm-card-link {
    display: none;
}

/* Article row hover */

.ffm-home .ffm-article {
    padding-left: 12px;
    padding-right: 12px;
    transition: background-color 180ms ease;
}

.ffm-home .ffm-article:hover {
    background: #EEE6F5;
}

.ffm-home .ffm-article:hover h4 {
    color: #7650A6;
}

.ffm-home .ffm-article:hover h4::before {
    color: #7650A6;
    transform: translate(2px, -2px);
}

/* =========================================================
   WORK WITH ME
========================================================= */

.ffm-home-section {
    width: 100%;
    padding: 76px 24px;
}

.ffm-home-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}


/* =========================================================
   TYPOGRAPHY
   Shared type styles for the homepage and its content cards
========================================================= */

/* Main section headings */
.ffm-latest__heading,
.ffm-latest__heading .elementor-heading-title,
.ffm-intro h2 {
    font-family: var(--ffm-font) !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -.5px !important;
    color: #553477 !important;
    margin: 0 0 14px !important;
}

/* Homepage and panel headings */
.ffm-home .ffm-home__main h1 {
    font-family: var(--ffm-font) !important;
    font-weight: 700 !important;
    letter-spacing: -1.5px !important;
}

.ffm-socials__intro h2,
.ffm-work-main h2 {
    font-family: var(--ffm-font) !important;
    font-weight: 700 !important;
    letter-spacing: -.5px !important;
}

/* Card headings */
.ffm-page-card h4,
.ffm-home .ffm-article h4,
.ffm-latest .ffm-latest__title,
.ffm-latest .ffm-latest__title .elementor-heading-title {
    font-family: var(--ffm-font) !important;
    font-weight: 700 !important;
    color: #553477 !important;
}

/* Descriptions and body copy */
.ffm-home__intro,
.ffm-socials__intro p,
.ffm-latest .ffm-latest__excerpt,
.ffm-intro p,
.ffm-page-card p,
.ffm-home .ffm-article p,
.ffm-work-main > p {
    font-family: var(--ffm-font) !important;
    font-weight: 400 !important;
    color: #55515A;
}

/* Labels and category tags */
.ffm-home__eyebrow,
.ffm-socials__eyebrow,
.ffm-eyebrow,
.ffm-fm .ffm-tag,
.ffm-home .ffm-article .ffm-tag,
.ffm-latest .elementor-post-info__terms-list-item,
.ffm-latest .ffm-latest__category {
    font-family: var(--ffm-font) !important;
    font-weight: 700 !important;
}

/* Buttons and action links */
.ffm-home__actions a,
.ffm-work-button,
.ffm-more a,
.ffm-latest .ffm-latest__readmore,
.ffm-page-card .ffm-card-link {
    font-family: var(--ffm-font) !important;
    font-weight: 700 !important;
}

/* Names and dates */
.ffm-social__details strong,
.ffm-work-item strong {
    font-weight: 600;
}

.ffm-home .ffm-article .ffm-date,
.ffm-latest .ffm-post-meta {
    font-family: var(--ffm-label-font) !important;
    font-weight: 400 !important;
}

/* Mobile heading size */
@media (max-width: 767px) {
    .ffm-latest__heading,
    .ffm-latest__heading .elementor-heading-title,
    .ffm-intro h2 {
        font-size: 29px !important;
        letter-spacing: -.4px !important;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
    .ffm-home__hero {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
        gap: 30px;
    }

    .ffm-work-panel {
        gap: 35px;
        padding: 36px;
    }

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

    .ffm-latest {
        padding-right: 20px;
        padding-left: 20px;
    }

    .ffm-latest .ffm-latest__grid .elementor-loop-container {
        gap: 16px !important;
    }

    .ffm-latest .ffm-latest__card {
        min-height: 320px;
        padding: 20px !important;
    }

    .ffm-latest .ffm-latest__title,
    .ffm-latest .ffm-latest__title .elementor-heading-title {
        font-size: 19px !important;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    .ffm-home {
        padding: 18px 18px 16px;
    }

    .ffm-home__hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding-top: 28px;
        padding-bottom: 10px;
    }

    .ffm-home .ffm-home__eyebrow {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .ffm-home .ffm-home__main h1 {
        margin-bottom: 18px;
        font-size: clamp(36px, 9vw, 48px);
        letter-spacing: -1.8px;
    }

    .ffm-home .ffm-home__intro {
        font-size: 15px;
        line-height: 1.75;
    }

    .ffm-home__actions {
        gap: 18px;
        margin-top: 22px;
    }

    .ffm-home .ffm-home__actions a {
        font-size: 13px;
    }

    .ffm-socials {
        max-width: 100%;
        padding: 20px;
    }

    .ffm-socials__intro h2 {
        font-size: 25px;
    }

    .ffm-section {
        padding: 48px 18px;
    }

    .ffm-intro {
        margin-bottom: 28px;
    }

    .ffm-intro h2 {
        font-size: 29px;
    }

    .ffm-intro p {
        font-size: 14px;
    }

    .ffm-page-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 36px;
    }

    .ffm-page-card {
        min-height: 0;
        padding: 20px;
    }

    .ffm-fm .ffm-articles {
        padding-top: 24px;
    }

    .ffm-home .ffm-article {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 10px;
        padding: 17px 2px;
    }

    .ffm-home .ffm-article .ffm-tag {
        font-size: 10px;
    }

    .ffm-home .ffm-article .ffm-date {
        font-size: 12px;
    }

    .ffm-home .ffm-article h4 {
        gap: 7px;
        font-size: 17px;
    }

    .ffm-home .ffm-article p {
        font-size: 14px;
        line-height: 1.55;
    }

    .ffm-home-section {
        padding: 52px 18px;
    }

    .ffm-work {
        padding-bottom: 52px;
    }

    .ffm-work-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 26px 22px;
        border-radius: 10px;
    }

    .ffm-work-main h2 {
        font-size: 30px;
    }

    /* Latest posts */

    .ffm-latest {
        padding: 0 18px 40px;
    }

    .ffm-latest .ffm-latest__grid .elementor-loop-container {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }

    .ffm-latest .ffm-latest__grid .e-loop-item {
        height: auto;
    }

    .ffm-latest .ffm-latest__card {
        min-height: 0;
        height: 100%;
        padding: 22px !important;
    }

    .ffm-latest .ffm-latest__title,
    .ffm-latest .ffm-latest__title .elementor-heading-title {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    .ffm-latest .ffm-latest__excerpt {
        font-size: 14px !important;
    }

    .ffm-latest__intro-block {
        padding: 28px 18px 14px;
    }

    .ffm-latest__heading {
        font-size: 27px !important;
    }
}

/* More Football Manager posts */

.ffm-more {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 28px;
}

.ffm-more a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #EAE3F1;
    border: 1px solid #DED5E8;
    border-radius: 4px;
    color: #593579 !important;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    transition: background 180ms ease,
                color 180ms ease,
                gap 180ms ease;
}

.ffm-more a span {
    font-size: 17px;
    line-height: 1;
    transition: transform 180ms ease;
}

.ffm-more a:hover {
    background: #EEE6F5;
    border-color: #DED3E8;
    color: #553477 !important;
    gap: 16px;
}

.ffm-more a:hover span {
    transform: translateX(3px);
}

/* Mobile */

@media (max-width: 767px) {
    .ffm-more {
        margin-top: 22px;
    }

    .ffm-more a {
        font-size: 12px;
    }
}
/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {
    .ffm-home .ffm-home__main h1 {
        font-size: 34px;
    }

    .ffm-home__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .ffm-work-panel {
        padding: 22px 18px;
    }

    .ffm-latest .ffm-latest__card {
        padding: 19px !important;
    }

    .ffm-latest .ffm-latest__title,
    .ffm-latest .ffm-latest__title .elementor-heading-title {
        font-size: 18px !important;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .ffm-home *,
    .ffm-home-section *,
    .ffm-latest *,
    .ffm-home *::before,
    .ffm-home-section *::before {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =====================================================
   WORK WITH ME — FINAL LIGHT PURPLE STYLING
   These rules override the earlier dark panel version.
===================================================== */

.ffm-work {
    background: #F7F8FA;
    padding-bottom: 85px;
}

.ffm-work-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 55px;
    padding: 45px;
    border: 1px solid #DED3E8;
    border-radius: 12px;
    background: #F2EFF7;
}

/* Section labels */

.ffm-work .ffm-eyebrow,
.ffm-work .ffm-aside-heading {
    color: #7650A6;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
}

/* Main heading */

.ffm-work-main h2 {
    margin: 0 0 16px;
    color: #553477;
    font-family: 'DM Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -.5px;
    line-height: 1.2;
}

.ffm-work-main h2 span {
    color: #7650A6;
}

/* Description */

.ffm-work-main > p {
    max-width: 470px;
    margin: 0 0 25px;
    color: #55515A !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

/* Button */

.ffm-work-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid #7650A6;
    border-radius: 4px;
    background: #7650A6;
    color: #FFFFFF !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: background 180ms ease, gap 180ms ease;
}

.ffm-work-button:hover {
    gap: 14px;
    background: #553477;
    border-color: #553477;
    color: #FFFFFF !important;
}

/* Right-hand content */

.ffm-work .ffm-aside-heading {
    margin: 0;
    color: #7650A6;
    text-transform: uppercase;
}

.ffm-work-item {
    padding: 16px 0;
    border-bottom: 1px solid #DED3E8;
}

.ffm-work-item strong,
.ffm-work-item span {
    display: block;
}

.ffm-work-item strong {
    margin-bottom: 5px;
    color: #553477;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.ffm-work-item span {
    color: #68616D;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

/* Mobile */

@media (max-width: 767px) {
    .ffm-work-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 26px 22px;
        border-radius: 10px;
    }

    .ffm-work-main h2 {
        font-size: 30px;
    }
}

/* =====================================
   WSL FANTASY RESOURCE CARDS
====================================== */

.ffm-fantasy .ffm-page-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Card labels */

.ffm-fantasy .ffm-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 20px;
}

/* Card headings */

.ffm-fantasy .ffm-page-card h4 {
    margin: 20px 0 12px;
}

/* Card descriptions */

.ffm-fantasy .ffm-page-card p {
    margin: 0;
}

/* Links at the bottom of each card */

.ffm-fantasy .ffm-card-link {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: auto;
    padding-top: 26px;
    color: var(--ffm-purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.025em;
}

/* Individual Leg links */

.ffm-fantasy .ffm-card-link-group {
    gap: 24px;
}

.ffm-fantasy .ffm-card-link-group a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ffm-purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ffm-fantasy .ffm-card-link-group a span,
.ffm-fantasy .ffm-card-link > span {
    font-size: 14px;
    transition: transform 0.2s ease;
}

/* Hover states */

.ffm-fantasy .ffm-card-link-group a:hover,
.ffm-fantasy .ffm-page-card:hover .ffm-card-link {
    color: #7540A8;
}

.ffm-fantasy .ffm-card-link-group a:hover span,
.ffm-fantasy .ffm-page-card:hover .ffm-card-link > span {
    transform: translateX(3px);
}

/* WSL Fantasy tags – match the FM27 tag */

.ffm-fantasy .ffm-card-top .ffm-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 9px;
    background: #E9DFF0;
    color: #6F3FA5 !important;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none !important;
}

/* =====================================
   HOMEPAGE SECTION SPACING
====================================== */

/* Reduce space after Football Manager */

.ffm-fm {
    padding-bottom: 35px !important;
}

.ffm-fm .ffm-more {
    margin-bottom: 0;
}

/* Football Manager section only */
.ffm-home > .ffm-section.ffm-fm:not(.ffm-beyond):not(.ffm-personal) {
    background: #F7F4FA;
    border: 1px solid #E3D9EC;
    border-radius: 10px;
    margin-bottom: 24px;
    padding-left: 20px;
    padding-right: 20px;
}
    
    /* =====================================
   SECTION DIVIDERS
====================================== */

/* WSL Fantasy */
.ffm-fantasy .ffm-inner,
.ffm-beyond .ffm-inner,
.ffm-personal .ffm-inner {
    position: relative;
    padding-top: 35px;
}

.ffm-fantasy .ffm-inner::before,
.ffm-beyond .ffm-inner::before,
.ffm-personal .ffm-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #DED5E8;
}

/* Section spacing */
.ffm-fantasy,
.ffm-beyond,
.ffm-personal {
    padding-top: 20px;
}

/* Mobile */
@media (max-width: 767px) {
    .ffm-fantasy .ffm-inner,
    .ffm-beyond .ffm-inner,
    .ffm-personal .ffm-inner {
        padding-top: 28px;
    }
}

/* =====================================
   WORK WITH ME — COMPACT PANEL
===================================== */

.ffm-work .ffm-home-inner {
    width: 100% !important;
    max-width: 950px !important;
    margin: 0 auto !important;
}

.ffm-work-panel {
    width: 100%;
    gap: 50px;
    padding: 40px;
}

/* Mobile */
@media (max-width: 767px) {
    .ffm-work .ffm-home-inner {
        width: 100% !important;
    }

    .ffm-work-panel {
        padding: 26px 22px;
        gap: 30px;
    }
}

/* FINAL OVERRIDE — WSL FANTASY CARD LINK COLOURS */

.ffm-card-link-group a,
.ffm-card-link-group a:link,
.ffm-card-link-group a:visited,
.ffm-card-link-group a:active,
.ffm-card-link-group a span {
    color: #70449A !important;
    -webkit-text-fill-color: #70449A !important;
    text-decoration: none !important;
}

.ffm-card-link-group a:hover,
.ffm-card-link-group a:hover span {
    color: #553477 !important;
    -webkit-text-fill-color: #553477 !important;
}

/* =========================================================
   THEFFM — MAIN ARCHIVE TEMPLATE
   ---------------------------------------------------------
   Add the class ffm-archive to the outer archive container.
   Archive-specific styling is scoped to that wrapper.
========================================================= */

.ffm-archive,
.ffm-archive * {
    box-sizing: border-box;
}

.ffm-archive {
    width: 100%;
    background: #f4f3f1;
    color: #211d22;
    font-family: var(--ffm-font);
}

/* ARCHIVE HEADER */

.ffm-archive .ffm-archive-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 24px 65px;
    border-bottom: 1px solid #ded9df;
}

/* EYEBROW */

.ffm-archive .ffm-archive-eyebrow {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ffm-purple) !important;
}

/* ARCHIVE TITLE */

.ffm-archive .ffm-archive-inner .elementor-heading-title {
    margin: 0;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #211d22 !important;
}

/* ARCHIVE DESCRIPTION */

.ffm-archive .ffm-archive-description {
    max-width: 720px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #716b73;
}

.ffm-archive .ffm-archive-description p {
    margin: 0;
    color: inherit;
}

/* ARCHIVE CONTENT */

.ffm-archive .ffm-archive-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 24px 90px;
}

/* SECTION TITLE */

.ffm-archive .ffm-archive-section-title {
    margin: 0 0 28px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #211d22 !important;
}

/* POSTS / LOOP GRID */

.ffm-archive .ffm-archive-posts {
    width: 100%;
}

.ffm-archive .ffm-archive-posts .elementor-posts-container,
.ffm-archive .ffm-archive-posts .elementor-loop-container {
    width: 100%;
}

/* STANDARD ELEMENTOR POST CARDS */

.ffm-archive .ffm-archive-posts article.elementor-post {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ded9df;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.ffm-archive .ffm-archive-posts article.elementor-post:hover {
    transform: translateY(-4px);
    border-color: #b8a9c4;
    box-shadow: 0 12px 30px rgba(33, 29, 34, 0.08);
}

/* POST IMAGE */

.ffm-archive .ffm-archive-posts .elementor-post__thumbnail {
    display: block;
    width: 100%;
    overflow: hidden;
}

.ffm-archive .ffm-archive-posts .elementor-post__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ffm-archive .ffm-archive-posts article.elementor-post:hover .elementor-post__thumbnail img {
    transform: scale(1.03);
}

/* POST CONTENT */

.ffm-archive .ffm-archive-posts .elementor-post__text {
    padding: 25px;
}

/* POST META */

.ffm-archive .ffm-archive-posts .elementor-post__meta-data {
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #89818f !important;
}

/* POST TITLE */

.ffm-archive .ffm-archive-posts .elementor-post__title {
    margin: 0 0 12px;
}

.ffm-archive .ffm-archive-posts .elementor-post__title a {
    color: #211d22 !important;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ffm-archive .ffm-archive-posts .elementor-post__title a:hover {
    color: var(--ffm-purple) !important;
}

/* POST EXCERPT */

.ffm-archive .ffm-archive-posts .elementor-post__excerpt {
    margin-bottom: 20px;
    color: #716b73 !important;
    font-size: 14px;
    line-height: 1.7;
}

.ffm-archive .ffm-archive-posts .elementor-post__excerpt p {
    margin: 0;
    color: inherit;
}

/* READ MORE */

.ffm-archive .ffm-archive-posts .elementor-post__read-more {
    display: inline-block;
    color: var(--ffm-purple) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ffm-archive .ffm-archive-posts .elementor-post__read-more:hover {
    opacity: 0.6;
}

/* PAGINATION */

.ffm-archive .ffm-archive-posts .elementor-pagination {
    margin-top: 45px;
}

.ffm-archive .ffm-archive-posts .elementor-pagination a,
.ffm-archive .ffm-archive-posts .elementor-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 3px;
    border: 1px solid #ded9df;
    background: transparent;
    color: #211d22 !important;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ffm-archive .ffm-archive-posts .elementor-pagination .current {
    background: #211d22;
    border-color: #211d22;
    color: #ffffff !important;
}

.ffm-archive .ffm-archive-posts .elementor-pagination a:hover {
    background: var(--ffm-purple);
    border-color: var(--ffm-purple);
    color: #ffffff !important;
}

/* TABLET */

@media (max-width: 1024px) {
    .ffm-archive .ffm-archive-inner {
        padding: 65px 24px 55px;
    }

    .ffm-archive .ffm-archive-content {
        padding: 50px 24px 75px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .ffm-archive .ffm-archive-inner {
        padding: 50px 20px 45px;
    }

    .ffm-archive .ffm-archive-content {
        padding: 40px 20px 60px;
    }

    .ffm-archive .ffm-archive-inner .elementor-heading-title {
        font-size: 44px;
    }

    .ffm-archive .ffm-archive-description {
        font-size: 14px;
        margin-top: 16px;
    }

    .ffm-archive .ffm-archive-section-title {
        margin-bottom: 22px;
    }

    .ffm-archive .ffm-archive-posts .elementor-post__text {
        padding: 20px;
    }

    .ffm-archive .ffm-archive-posts .elementor-post__title a {
        font-size: 21px;
    }

    .ffm-archive .ffm-archive-posts .elementor-pagination {
        margin-top: 35px;
    }

    .ffm-archive .ffm-archive-posts .elementor-pagination a,
    .ffm-archive .ffm-archive-posts .elementor-pagination span {
        min-width: 38px;
        height: 38px;
    }
}


/* =========================================================
   THEFFM — SINGLE POST
   01. ARTICLE HEADER
========================================================= */

.ffm-single,
.ffm-single * {
    box-sizing: border-box;
}

.ffm-single {
    width: 100%;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
    background: #FFFFFF;
}

/* Header container */

.ffm-single .ffm-single-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 45px 24px;
    gap: 13px;
    background: #F2EDF7;
    border: 1px solid var(--ffm-line);
    text-align: center;
}

/* Header inner container */

.ffm-single .ffm-single-header > .e-con-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    gap: 13px;
}

/* Reading time and post meta layout */

.ffm-single .ffm-single-meta {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ffm-single .ffm-single-meta .elementor-widget {
    width: auto;
    margin: 0;
}

.ffm-single .ffm-single-meta .elementor-widget-shortcode {
    position: relative;
}

.ffm-single .ffm-single-meta .elementor-widget-shortcode::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -7px;
    width: 1px;
    height: 13px;
    background: #CBBED3;
    transform: translateY(-50%);
}

.ffm-single .ffm-reading-time {
    display: inline-flex;
    align-items: center;
    color: var(--ffm-muted);
    font-family: var(--ffm-label-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: lowercase;
}

/* Category and publication date */

.ffm-single .ffm-single-header .elementor-widget-post-info {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.ffm-single .ffm-single-header .elementor-post-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ffm-single .ffm-single-category {
    display: inline-flex;
    align-self: center;
    width: fit-content;
    margin: 0;
    padding: 6px 10px;
    border-radius: 3px;
    background: #E5D9EF;
    color: var(--ffm-purple-dark) !important;
    font-family: var(--ffm-label-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
}

.ffm-single .ffm-single-category a {
    color: inherit !important;
    text-decoration: none !important;
}

.ffm-single .elementor-widget-post-info,
.ffm-single .elementor-widget-post-info a,
.ffm-single .elementor-post-info,
.ffm-single .elementor-post-info a {
    color: var(--ffm-muted) !important;
    font-family: var(--ffm-label-font);
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none !important;
}

/* Article title */

.ffm-single .elementor-widget-theme-post-title {
    width: 100%;
    text-align: center;
}

.ffm-single .elementor-widget-theme-post-title .elementor-heading-title {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 0;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2px;
    text-align: center;
}

/* Article introduction */

.ffm-single .elementor-widget-theme-post-excerpt {
    width: 100%;
    max-width: 760px;
    margin: 4px auto 0;
    text-align: center;
}

.ffm-single .elementor-widget-theme-post-excerpt,
.ffm-single .elementor-widget-theme-post-excerpt p {
    color: #62596A;
    font-family: var(--ffm-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.ffm-single .elementor-widget-theme-post-excerpt p {
    margin: 0;
}

/* Mobile header */

@media (max-width: 767px) {
    .ffm-single .ffm-single-header {
        padding: 35px 20px;
        gap: 12px;
    }

    .ffm-single .ffm-single-header > .e-con-inner {
        gap: 12px;
    }

    .ffm-single .elementor-widget-theme-post-title .elementor-heading-title {
        font-size: clamp(36px, 9vw, 46px);
        letter-spacing: -1.2px;
    }

    .ffm-single .elementor-widget-theme-post-excerpt,
    .ffm-single .elementor-widget-theme-post-excerpt p {
        font-size: 15px;
        line-height: 1.75;
    }
}


/* =========================================================
   THEFFM — SINGLE POST
   ARTICLE CONTENT
========================================================= */

/* Main content container */

.ffm-single .ffm-single-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 24px 70px;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
}

/* Post content widget */

.ffm-single .ffm-single-content .elementor-widget-theme-post-content {
    width: 100%;
}

/* Paragraphs */

.ffm-single .ffm-single-content p {
    margin: 0 0 24px;
    color: var(--ffm-muted);
    font-family: var(--ffm-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
}


/* =========================================================
   THEFFM — ARTICLE SECTION HEADINGS
========================================================= */

.ffm-single .ffm-single-content h2 {
    margin: 55px 0 22px !important;
    padding: 0 0 14px !important;
    background: var(--ffm-purple-so) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ffm-line) !important;
     border-bottom: 1px solid var(--ffm-line) !important;
    color: var(--ffm-ink) !important;
    font-family: var(--ffm-font) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.5px !important;
}

/* Mobile */

@media (max-width: 767px) {
    .ffm-single .ffm-single-content h2 {
        margin-top: 40px !important;
        font-size: 24px !important;
    }
}

/* Small purple heading accent */

.ffm-single .ffm-single-content h2 {
    position: relative;
}


/* Links */

.ffm-single .ffm-single-content a {
    color: var(--ffm-purple);
    text-decoration: underline;
    text-decoration-color: #CBB8DC;
    text-underline-offset: 3px;
    transition: color 180ms ease;
}

.ffm-single .ffm-single-content a:hover {
    color: var(--ffm-purple-dark);
    text-decoration-color: var(--ffm-purple-dark);
}

/* Bold text */

.ffm-single .ffm-single-content strong,
.ffm-single .ffm-single-content b {
    color: var(--ffm-ink);
    font-weight: 700;
}

/* Lists */

.ffm-single .ffm-single-content ul,
.ffm-single .ffm-single-content ol {
    margin: 0 0 26px;
    padding-left: 25px;
    color: var(--ffm-muted);
}

.ffm-single .ffm-single-content li {
    margin-bottom: 10px;
    padding-left: 4px;
    font-size: 16px;
    line-height: 1.8;
}

.ffm-single .ffm-single-content li::marker {
    color: var(--ffm-purple);
}

/* Images */

.ffm-single .ffm-single-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 32px auto;
    border-radius: 6px;
}

.ffm-single .ffm-single-content figure {
    max-width: 100%;
    margin: 32px 0;
}

.ffm-single .ffm-single-content figcaption {
    margin-top: 10px;
    color: var(--ffm-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* Image alignment */

.ffm-single .ffm-single-content .aligncenter {
    margin-right: auto;
    margin-left: auto;
}

.ffm-single .ffm-single-content .alignleft {
    margin-right: 24px;
}

.ffm-single .ffm-single-content .alignright {
    margin-left: 24px;
}

/* Blockquotes */

.ffm-single .ffm-single-content blockquote {
    margin: 36px 0;
    padding: 8px 0 8px 24px;
    border-left: 3px solid var(--ffm-purple);
    color: var(--ffm-ink);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.7;
}

.ffm-single .ffm-single-content blockquote p {
    margin: 0;
    color: inherit;
}

/* Tables */

.ffm-single .ffm-single-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
}

.ffm-single .ffm-single-content th,
.ffm-single .ffm-single-content td {
    padding: 12px 14px;
    border: 1px solid var(--ffm-line);
    text-align: left;
}

.ffm-single .ffm-single-content th {
    background: var(--ffm-purple-soft);
    color: var(--ffm-ink);
    font-weight: 700;
}

.ffm-single .ffm-single-content td {
    color: var(--ffm-muted);
}

/* Horizontal divider */

.ffm-single .ffm-single-content hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--ffm-line);
}

/* Mobile */

@media (max-width: 767px) {

    .ffm-single .ffm-single-content {
        padding: 5px 20px 50px;
    }

    .ffm-single .ffm-single-content p,
    .ffm-single .ffm-single-content li {
        font-size: 15px;
        line-height: 1.8;
    }

    .ffm-single .ffm-single-content h2 {
        margin-top: 38px;
        font-size: 26px;
    }

    .ffm-single .ffm-single-content h3 {
        margin-top: 30px;
        font-size: 21px;
    }

    .ffm-single .ffm-single-content h4 {
        font-size: 18px;
    }

    .ffm-single .ffm-single-content blockquote {
        padding-left: 18px;
        font-size: 17px;
    }

    .ffm-single .ffm-single-content table {
        font-size: 13px;
    }

    .ffm-single .ffm-single-content th,
    .ffm-single .ffm-single-content td {
        padding: 9px;
    }
}





/* =========================================================
   THEFFM — SINGLE POST
   RELATED ARTICLES
========================================================= */

.ffm-single .ffm-single-related {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 24px 80px;
    border-top: 1px solid var(--ffm-line);
}

/* Heading */

.ffm-single .ffm-single-related-title {
    margin: 0 0 28px;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

/* Grid */

.ffm-single .ffm-single-related-grid,
.ffm-single .ffm-single-related-grid .elementor-loop-container {
    width: 100%;
}

/* Responsive */

@media (max-width: 767px) {
    .ffm-single .ffm-single-related {
        padding: 40px 20px 55px;
    }

    .ffm-single .ffm-single-related-title {
        font-size: 24px;
        margin-bottom: 22px;
    }
}


/* SINGLE POST — RELATED ARTICLES GRID */

.ffm-single .ffm-single-related-grid {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.ffm-single .ffm-single-related-grid .elementor-loop-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100%;
}

/* Mobile */

@media (max-width: 767px) {
    .ffm-single .ffm-single-related-grid {
        max-width: 100%;
    }

    .ffm-single .ffm-single-related-grid .elementor-loop-container {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }
}

/* SINGLE POST — WHITE CONTENT AND RELATED AREA */

.ffm-single .ffm-single-content {
    background: #FFFFFF;
}

.ffm-single .ffm-single-related {
    background: #FFFFFF;
}

.ffm-single .ffm-single-related .ffm-latest__card {
    background: #FFFFFF;
}

/* =========================================================
   THEFFM — SINGLE POST
   PREVIOUS / NEXT NAVIGATION
========================================================= */

.ffm-single .ffm-single-navigation {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 35px 24px 55px;
    
}

.ffm-single .ffm-single-navigation .elementor-post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.ffm-single .ffm-single-navigation .elementor-post-navigation__prev,
.ffm-single .ffm-single-navigation .elementor-post-navigation__next {
    flex: 1;
    max-width: 48%;
}

.ffm-single .ffm-single-navigation .elementor-post-navigation__next {
    text-align: right;
}

.ffm-single .ffm-single-navigation a {
    text-decoration: none !important;
}

.ffm-single .ffm-single-navigation .post-navigation__prev--label,
.ffm-single .ffm-single-navigation .post-navigation__next--label {
    color: var(--ffm-muted);
    font-family: var(--ffm-label-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ffm-single .ffm-single-navigation .post-navigation__prev--title,
.ffm-single .ffm-single-navigation .post-navigation__next--title {
    color: var(--ffm-purple);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.ffm-single .ffm-single-navigation a:hover .post-navigation__prev--title,
.ffm-single .ffm-single-navigation a:hover .post-navigation__next--title {
    color: var(--ffm-purple-dark);
}

/* Mobile */

@media (max-width: 767px) {
    .ffm-single .ffm-single-navigation {
        padding: 28px 20px 40px;
    }

    .ffm-single .ffm-single-navigation .elementor-post-navigation {
        gap: 15px;
    }

    .ffm-single .ffm-single-navigation .post-navigation__prev--title,
    .ffm-single .ffm-single-navigation .post-navigation__next--title {
        font-size: 13px;
    }
}


/* SINGLE POST — TIGHTER BOTTOM SECTIONS */

/* Related articles */

.ffm-single .ffm-single-related {
    padding-bottom: 30px;
}

/* Previous / next navigation */

.ffm-single .ffm-single-navigation {
    padding-top: 25px;
    padding-bottom: 45px;
}


/* SINGLE POST — BACK TO TOP */

html {
    scroll-behavior: smooth;
}


/* SINGLE POST — BACK TO TOP */

.ffm-single .ffm-back-to-top {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 35px;
    text-align: right;
}

.ffm-single .ffm-back-to-top a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ffm-purple);
    font-family: var(--ffm-label-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 180ms ease;
}

.ffm-single .ffm-back-to-top a:hover {
    color: var(--ffm-purple-dark);
}

/* Mobile */

@media (max-width: 767px) {
    .ffm-single .ffm-back-to-top {
        padding: 0 20px 30px;
    }
}

/* Single post header - full width background */
.ffm-single-header {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 64px 24px;
    box-sizing: border-box;

    background: var(--ffm-purple-soft);
    text-align: center;
}

/* Keep the header content narrower */
.ffm-single-header > * {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

/* Article title */
.ffm-single-header h1 {
    max-width: 850px;
    margin: 16px auto 20px;
}

/* ========================================
   ARTICLE ASIDE
======================================== */

.ffm-article-aside {
    margin: 40px 0;
    padding: 28px 32px;
    background: var(--ffm-purple-soft);
    border: 1px solid var(--ffm-purple-dark);
    border-radius: 0 6px 6px 0;
}

/* Heading */

.ffm-article-aside h3 {
    margin: 0 0 20px;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

/* Paragraphs */

.ffm-article-aside p {
    margin: 0 0 16px;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
    font-size: 15px;
    line-height: 1.8;
}

.ffm-article-aside p:last-child {
    margin-bottom: 0;
}

/* Emphasis */

.ffm-article-aside strong {
    color: var(--ffm-purple-dark);
    font-weight: 700;
}

.ffm-article-aside em {
    color: var(--ffm-ink);
}

/* Mobile */

@media (max-width: 767px) {

    .ffm-article-aside {
        margin: 30px 0;
        padding: 22px 20px;
    }

    .ffm-article-aside h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .ffm-article-aside p {
        font-size: 14px;
        line-height: 1.8;
    }

}

/* IMAGE CAPTIONS */

.ffm-article-body figcaption {
    margin-top: 10px;
    padding-bottom: 12px;
    color: var(--ffm-muted);
    font-family: var(--ffm-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    border-bottom: 1px solid var(--ffm-line);
}

@media (max-width: 767px) {
    .ffm-article-body figcaption {
        font-size: 12px;
        margin-top: 8px;
        padding-bottom: 10px;
    }
}

/* ARTICLE STATISTICS */

.ffm-article-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 36px 0;
}

.ffm-article-stat {
    padding: 22px;
    background: var(--ffm-cream);
    border: 1px solid var(--ffm-line);
    border-radius: 6px;
}

.ffm-article-stat span,
.ffm-article-stat small {
    display: block;
    color: var(--ffm-muted);
    font-family: var(--ffm-label-font);
}

.ffm-article-stat span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ffm-article-stat strong {
    display: block;
    margin: 8px 0;
    color: var(--ffm-purple-dark);
    font-family: var(--ffm-font);
    font-size: 30px;
    line-height: 1.2;
}

.ffm-article-stat small {
    font-size: 13px;
    line-height: 1.5;
}


/* SAVE IDEAS */

.ffm-save-ideas {
    margin: 32px 0;
}

.ffm-save-ideas > .ffm-label {
    display: block;
    margin-bottom: 12px;
}

.ffm-save-idea {
    padding: 20px 0;
    border-bottom: 1px solid var(--ffm-line);
}

.ffm-save-idea:first-of-type {
    border-top: 1px solid var(--ffm-line);
}

.ffm-save-idea h3 {
    margin: 0 0 8px;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.ffm-save-idea p {
    margin: 0;
    color: var(--ffm-muted);
    font-size: 15px;
    line-height: 1.7;
}


@media (max-width: 600px) {
    .ffm-article-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ffm-article-stat {
        padding: 18px;
    }

    .ffm-article-stat strong {
        font-size: 26px;
    }

    .ffm-save-idea {
        padding: 17px 0;
    }
}

/* NEW SIGNINGS */

.ffm-signing-list {
    margin: 28px 0 36px;
    border-top: 1px solid var(--ffm-line);
}

.ffm-signing {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--ffm-line);
}

.ffm-signing img {
    display: block;
    width: 150px !important;
    height: auto !important;
    max-width: 100%;
    margin: 0 !important;
    border-radius: 6px;
}

.ffm-signing h4 {
    margin: 0 0 6px;
    color: var(--ffm-ink);
    font-family: var(--ffm-font);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.ffm-signing p {
    margin: 0;
    color: var(--ffm-muted);
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 600px) {
    .ffm-signing {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 16px;
        padding: 16px 0;
    }

    .ffm-signing img {
        width: 105px !important;
    }

    .ffm-signing h4 {
        font-size: 15px;
    }

    .ffm-signing p {
        font-size: 13px;
    }
}

/* ARTICLE BODY — LAYOUT FIX */

.ffm-single .ffm-single-content .ffm-article-body {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.ffm-single .ffm-single-content .ffm-article-body * {
    box-sizing: border-box;
    min-width: 0;
}

/* SECTION HEADINGS */

.ffm-single .ffm-single-content .ffm-article-body h2 {
    display: block;
    width: 100%;
    margin: 55px 0 22px !important;
    padding: 0 0 14px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ffm-line) !important;
    color: var(--ffm-ink) !important;
    font-family: var(--ffm-font) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* REMOVE UNWANTED HEADING ACCENTS */

.ffm-single .ffm-single-content .ffm-article-body h2::before,
.ffm-single .ffm-single-content .ffm-article-body h2::after {
    display: none !important;
}

/* PREVENT HORIZONTAL OVERFLOW */

.ffm-single .ffm-single-content .ffm-article-body p {
    max-width: 100%;
    overflow-wrap: break-word;
}

@media (max-width: 767px) {
    .ffm-single .ffm-single-content .ffm-article-body h2 {
        margin-top: 38px !important;
        font-size: 24px !important;
    }
}


/* =========================================
   THEFFM — ARTICLE IMAGE FRAME & CAPTIONS
========================================= */

/* Image frame */
.ffm-single .ffm-single-content .ffm-article-body figure {
    width: 100%;
    max-width: 100%;
    margin: 36px 0;
    padding: 10px;

    background: #F7F4FA;
    border: 1px solid #DED6E3;
    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(41, 36, 46, 0.04);
    overflow: hidden;
}

/* Image */
.ffm-single .ffm-single-content .ffm-article-body figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0 !important;
    border: 0;
    border-radius: 7px;
}

/* Integrated caption */
.ffm-single .ffm-single-content .ffm-article-body figure figcaption {
    margin: 0 !important;
    padding: 13px 5px 3px;

    background: transparent;
    border: 0 !important;

    color: #68616D;
    font-family: var(--ffm-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
}

/* Images without captions */
.ffm-single .ffm-single-content .ffm-article-body > img {
    border: 1px solid #DED6E3;
    border-radius: 12px;
    padding: 7px;
    background: #F7F4FA;
}

/* Mobile */
@media (max-width: 767px) {
    .ffm-single .ffm-single-content .ffm-article-body figure {
        margin: 26px 0;
        padding: 7px;
        border-radius: 10px;
    }

    .ffm-single .ffm-single-content .ffm-article-body figure img {
        border-radius: 6px;
    }

    .ffm-single .ffm-single-content .ffm-article-body figure figcaption {
        padding: 11px 4px 3px;
        font-size: 12px;
    }
}


/* =========================================
   FM27 ARTICLE — VIDEO & IMAGE COMPARISONS
========================================= */

/* Video frame */

.ffm-single .ffm-single-content .ffm-article-body .ffm-video {
    padding: 10px;
    background: #F7F4FA;
    border: 1px solid var(--ffm-line);
    border-radius: 12px;
    overflow: hidden;
}

.ffm-video-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 7px;
}

.ffm-video-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FM26 / FM27 comparisons */

.ffm-single .ffm-ui-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin: 32px 0;
}

.ffm-single .ffm-ui-comparison figure {
    min-width: 0;
    margin: 0;
}

/* Mobile */

@media (max-width: 767px) {
    .ffm-single .ffm-ui-comparison {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin: 26px 0;
    }

    .ffm-single .ffm-video {
        padding: 7px;
    }
}


/* ARTICLE — FEATURED LINKS */

.ffm-single .ffm-article-body .ffm-article-link {
    margin: 28px 0 36px;
    text-align: center;
}

.ffm-single .ffm-article-body .ffm-article-link a {
    display: inline-block;
    padding: 11px 16px;
    background: var(--ffm-purple-soft);
    border: 1px solid var(--ffm-line);
    border-radius: 4px;
    color: var(--ffm-purple-dark);
    font-family: var(--ffm-label-font);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease;
}

.ffm-single .ffm-article-body .ffm-article-link a:hover {
    background: #F0EAF5;
    border-color: var(--ffm-purple);
}



/* =========================================
   THEFFM — ARTICLE IMAGE TO HEADING SPACING
========================================= */

/* Reduce space after article images */
.ffm-single .ffm-single-content .ffm-article-body figure {
    margin-bottom: 20px !important;
}

/* Remove extra top spacing when a heading follows an image */
.ffm-single .ffm-single-content .ffm-article-body figure + h2,
.ffm-single .ffm-single-content .ffm-article-body figure + h3,
.ffm-single .ffm-single-content .ffm-article-body figure + h4,
.ffm-single .ffm-single-content .ffm-article-body figure + h5,
.ffm-single .ffm-single-content .ffm-article-body figure + h6 {
    margin-top: 0 !important;
}

/* Mobile spacing */
@media (max-width: 767px) {
    .ffm-single .ffm-single-content .ffm-article-body figure {
        margin-bottom: 16px !important;
    }
}


/* =========================================================
   FM27 — 14 SIMULATIONS ARTICLE STYLES
   Added below the existing Global CSS.
========================================================= */

/* =========================================================
   THEFFM — FM27 SIMULATION ARTICLE ADDITIONS
   Add to the end of Global CSS. Uses existing site variables
   and the .ffm-article-body wrapper.
========================================================= */

.ffm-single .ffm-single-content .ffm-article-body .ffm-table-wrap {
    width: 100%;
    margin: 28px 0 12px;
    overflow-x: auto;
    border: 1px solid var(--ffm-line);
    border-radius: 8px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-table-wrap table {
    min-width: 720px;
    margin: 0;
    border: 0;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-table-wrap th {
    padding: 13px 12px;
    background: #F0EAF5;
    color: #553477;
    white-space: nowrap;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-table-wrap td {
    padding: 11px 12px;
    border-color: #E8E1EB;
    white-space: nowrap;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-table-wrap tbody tr:nth-child(even) {
    background: #FAF8FB;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-table-wrap tbody tr.ffm-table-highlight {
    background: #F2EDF7;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-table-wrap tbody tr.ffm-table-highlight td {
    color: #553477;
    font-weight: 700;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-table-note {
    margin: 0 0 30px;
    color: var(--ffm-muted);
    font-size: 12px;
    line-height: 1.65;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-chart {
    margin: 32px 0 36px;
    padding: 25px;
    background: #F7F4FA;
    border: 1px solid var(--ffm-line);
    border-radius: 10px;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-chart-heading h3 {
    margin: 0 0 5px;
    color: #553477;
    font-family: var(--ffm-font);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-chart-heading p {
    margin: 0 0 22px;
    color: var(--ffm-muted);
    font-size: 12px;
    line-height: 1.5;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-bar-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 10px;
    color: #68616D;
    font-family: var(--ffm-label-font);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-bar-row strong {
    color: var(--ffm-ink);
    text-align: right;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-bar-track {
    height: 13px;
    overflow: hidden;
    border-radius: 4px;
    background: #E5DFE9;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-bar-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #9B75BD;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-bar-row--best .ffm-bar-track i {
    background: #70449A;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-bar-row--best > span,
.ffm-single .ffm-single-content .ffm-article-body .ffm-bar-row--best strong {
    color: #553477;
    font-weight: 700;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-chart-axis {
    display: flex;
    justify-content: space-between;
    margin: 10px 36px 0 64px;
    color: #817887;
    font-family: var(--ffm-label-font);
    font-size: 10px;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-chart-note {
    margin: 16px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--ffm-line);
    color: var(--ffm-muted);
    font-size: 12px;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-comparison-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    color: var(--ffm-ink);
    font-size: 13px;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-comparison-row .ffm-bar-track {
    height: 21px;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-comparison-row .ffm-bar-track i {
    background: #9B75BD;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-comparison-row--expected .ffm-bar-track i {
    background: #C7A9DF;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-comparison-row b {
    color: var(--ffm-ink);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-comparison-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--ffm-line);
    color: var(--ffm-muted);
    font-size: 13px;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-comparison-summary strong {
    color: #553477;
}

@media (max-width: 600px) {
    .ffm-single .ffm-single-content .ffm-article-body .ffm-chart {
        padding: 18px 14px;
        margin: 26px 0;
    }

    .ffm-single .ffm-single-content .ffm-article-body .ffm-bar-row {
        grid-template-columns: 48px minmax(0, 1fr) 22px;
        gap: 7px;
        font-size: 11px;
    }

    .ffm-single .ffm-single-content .ffm-article-body .ffm-chart-axis {
        margin-left: 55px;
        margin-right: 29px;
        font-size: 9px;
    }

    .ffm-single .ffm-single-content .ffm-article-body .ffm-comparison-row {
        grid-template-columns: 68px minmax(0, 1fr) 36px;
        gap: 8px;
        font-size: 12px;
    }
}


/* FM27 simulations article: quickfire priorities panel */
.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire {
    margin: 42px 0 34px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #D8C9E6;
    border-radius: 14px;
    background: linear-gradient(135deg, #F5F0F9 0%, #FBF9FC 100%);
    box-shadow: 0 10px 28px rgba(84, 38, 127, 0.08);
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__header {
    padding: 25px 28px 20px;
    border-bottom: 1px solid #E4D9EC;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: #7540A8;
    font-family: var(--ffm-label-font);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__header h2 {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    color: #29242E;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__header p {
    margin: 0;
    color: #68616D;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 28px;
    list-style: none;
    counter-reset: quickfire;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__list li {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 13px;
    align-items: start;
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid #E9E1EF;
    counter-increment: quickfire;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__list li:last-child {
    border-bottom: 0;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__list li::before {
    content: counter(quickfire, decimal-leading-zero);
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #7540A8;
    color: #fff;
    font-family: var(--ffm-label-font);
    font-size: 11px;
    font-weight: 800;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__list li strong {
    display: block;
    margin: 1px 0 3px;
    color: #54267F;
    font-size: 15px;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__list li span {
    grid-column: 2;
    color: #514A57;
    font-size: 14px;
    line-height: 1.7;
}

.ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__finish {
    margin: 0;
    padding: 19px 28px 22px;
    border-top: 1px solid #D8C9E6;
    background: rgba(117, 64, 168, 0.07);
    color: #54267F;
    font-weight: 700;
}

@media (max-width: 600px) {
    .ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__header { padding: 21px 18px 17px; }
    .ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__list { padding: 6px 18px; }
    .ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__list li { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; padding: 14px 0; }
    .ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__list li::before { width: 29px; height: 29px; }
    .ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__list li span { font-size: 13px; }
    .ffm-single .ffm-single-content .ffm-article-body .ffm-quickfire__finish { padding: 17px 18px 19px; }
}/* End custom CSS */