.elementor-5704 .elementor-element.elementor-element-ed0bde2{--display:flex;--padding-top:070px;--padding-bottom:80px;--padding-left:07px;--padding-right:6px;}.elementor-5704 .elementor-element.elementor-element-f4a8634{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-5704 .elementor-element.elementor-element-92f3a8c{--grid-columns:3;}@media(max-width:1024px){.elementor-5704 .elementor-element.elementor-element-92f3a8c{--grid-columns:2;}}@media(max-width:767px){.elementor-5704 .elementor-element.elementor-element-92f3a8c{--grid-columns:1;}}/* Start custom CSS */@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 hero and social links
   03. Latest posts / Elementor loop
   04. Football Manager section and article list
   05. Work With Me section
   06. Responsive layouts
   07. Additional links and Fantasy Football cards
   08. Section spacing and dividers
   09. Final typography and visual overrides
   10. Accessibility
   ---------------------------------------------------------
   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;
}

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

.ffm-work-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 55px;
    padding: 45px;
    border-radius: 15px;
    background: #29242E;
}

.ffm-work .ffm-eyebrow {
    color: #C5A6E0;
}

.ffm-work-main h2 {
    margin: 0 0 16px;
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

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

.ffm-work-main > p {
    max-width: 470px;
    margin: 0 0 25px;
    color: #D0CAD4;
    font-size: 14px;
    line-height: 1.75;
}

.ffm-work-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 7px;
    background: var(--ffm-purple);
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 700;
    transition: background-color 180ms ease, gap 180ms ease;
}

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

.ffm-work .ffm-aside-heading {
    margin: 0;
    color: #C5A6E0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.ffm-work-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

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

.ffm-work-item strong {
    margin-bottom: 5px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
}

.ffm-work-item span {
    color: #BDB5C3;
    font-size: 12px;
    line-height: 1.5;
}

/* =========================================================
   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;
}

/* WSL Fantasy section */

.ffm-fantasy {
    padding-top: 20px !important;
}

.ffm-fantasy .ffm-inner {
    position: relative;
    padding-top: 35px;
}

/* Section divider */

.ffm-fantasy .ffm-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #DED3E8;
}
/* 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;
}/* End custom CSS */