/* Chess Suite — global design tokens and reusable primitives */

html {
    margin: 0;
}

body.cfs-site {
    margin: 0;
    min-width: 0;
    background: #fff;
}

body.cfs-site img {
    max-width: 100%;
}

.cfs-site {
    --cfs-blue: #599FD9;
    --cfs-blue-dark: #1E5F8C;
    --cfs-navy: #163B5C;
    --cfs-yellow: #FBF74F;
    --cfs-text: #111111;
    --cfs-muted: #667085;
    --cfs-surface: #F4F6F8;
    --cfs-ice: #EEF7FD;
    --cfs-white: #FFFFFF;
    --cfs-border: #E4E9EF;
    --cfs-content-width: 1240px;
    --cfs-radius: 8px;
    --cfs-shadow: 0 5px 18px rgba(22, 59, 92, 0.07);

    color: var(--cfs-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cfs-site *,
.cfs-site *::before,
.cfs-site *::after {
    box-sizing: border-box;
}

.cfs-container {
    width: min(calc(100% - 48px), var(--cfs-content-width));
    margin-inline: auto;
}

.cfs-section {
    padding-block: 56px;
}

.cfs-section--surface {
    background: var(--cfs-surface);
}

.cfs-section--navy {
    background: var(--cfs-navy);
    color: var(--cfs-white);
}

.cfs-eyebrow {
    margin: 0 0 10px;
    color: var(--cfs-blue-dark);
    font-family: Montserrat, Inter, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

.cfs-section--navy .cfs-eyebrow {
    color: var(--cfs-yellow);
}

.cfs-heading {
    margin: 0;
    color: var(--cfs-navy);
    font-family: Montserrat, Inter, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cfs-section--navy .cfs-heading {
    color: var(--cfs-white);
}

.cfs-divider {
    width: 42px;
    height: 3px;
    margin: 14px 0 18px;
    border: 0;
    background: var(--cfs-yellow);
}

.cfs-card {
    background: var(--cfs-white);
    border: 1px solid var(--cfs-border);
    border-radius: var(--cfs-radius);
    box-shadow: var(--cfs-shadow);
}

.cfs-button,
a.cfs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: var(--cfs-blue-dark);
    color: var(--cfs-white);
    font-family: Montserrat, Inter, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.cfs-button:hover,
a.cfs-button:hover {
    background: var(--cfs-navy);
    color: var(--cfs-white);
}

.cfs-button:focus-visible,
a.cfs-button:focus-visible {
    outline: 3px solid rgba(89, 159, 217, .35);
    outline-offset: 2px;
}

.cfs-button--yellow,
a.cfs-button--yellow {
    background: var(--cfs-yellow);
    color: var(--cfs-navy);
}

.cfs-button--yellow:hover,
a.cfs-button--yellow:hover {
    background: #fff95f;
    color: var(--cfs-navy);
}

.cfs-muted {
    color: var(--cfs-muted);
}

.cfs-icon-box {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--cfs-ice);
    color: var(--cfs-blue-dark);
}

/* Small compatibility guard for content that briefly renders before Elementor CSS. */
.cfs-site img {
    max-width: 100%;
    height: auto;
}
/* Chess Suite — custom global header */

body.cfs-custom-header-enabled .elementor-location-header,
body.cfs-custom-header-enabled #site-header,
body.cfs-custom-header-enabled header.site-header {
    display: none !important;
}

body.cfs-custom-header-enabled #cfs-site-header {
    display: block !important;
}

.cfs-header {
    position: relative;
    z-index: 9998;
    width: 100%;
    border-bottom: 1px solid rgba(22, 59, 92, 0.10);
    background: var(--cfs-white);
    box-shadow: 0 2px 12px rgba(22, 59, 92, 0.04);
}

.cfs-header--sticky {
    position: sticky;
    top: 0;
}

.admin-bar .cfs-header--sticky {
    top: 32px;
}

.cfs-header__inner {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) auto;
    min-height: 88px;
    align-items: center;
    gap: 30px;
}

.cfs-header__brand {
    display: inline-flex;
    width: fit-content;
    max-width: 210px;
    align-items: center;
    color: var(--cfs-navy);
    text-decoration: none;
}

.cfs-header__logo {
    display: block;
    width: auto;
    height: 48px;
    max-width: 205px;
    object-fit: contain;
}

.cfs-header__site-name {
    font-family: Montserrat, Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.cfs-header__nav--desktop {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
}

.cfs-header__menu,
.cfs-header__menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cfs-header__nav--desktop > .cfs-header__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.cfs-header__menu > li {
    position: relative;
    margin: 0;
}

.cfs-header__menu a {
    color: #172033;
    text-decoration: none;
}

.cfs-header__nav--desktop .cfs-header__menu > li > a {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 4px 0;
    font-family: Montserrat, Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1px;
    line-height: 1;
    text-transform: uppercase;
    transition: color .18s ease;
}

.cfs-header__nav--desktop .cfs-header__menu > li > a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--cfs-yellow);
    content: "";
    opacity: 0;
    transform: scaleX(.25);
    transform-origin: center;
    transition: opacity .18s ease, transform .18s ease;
}

.cfs-header__nav--desktop .cfs-header__menu > li > a:hover,
.cfs-header__nav--desktop .cfs-header__menu > li > a:focus-visible,
.cfs-header__nav--desktop .current-menu-item > a,
.cfs-header__nav--desktop .current-menu-ancestor > a {
    color: var(--cfs-blue-dark);
}

.cfs-header__nav--desktop .cfs-header__menu > li > a:hover::after,
.cfs-header__nav--desktop .cfs-header__menu > li > a:focus-visible::after,
.cfs-header__nav--desktop .current-menu-item > a::after,
.cfs-header__nav--desktop .current-menu-ancestor > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.cfs-header__nav--desktop .sub-menu {
    position: absolute;
    top: 100%;
    left: -18px;
    z-index: 20;
    display: block;
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--cfs-border);
    border-radius: 8px;
    background: var(--cfs-white);
    box-shadow: 0 16px 38px rgba(22, 59, 92, .13);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease;
}

.cfs-header__nav--desktop li:hover > .sub-menu,
.cfs-header__nav--desktop li:focus-within > .sub-menu,
.cfs-header__nav--desktop li.is-submenu-open > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cfs-header__nav--desktop .sub-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 5px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #344054;
}

.cfs-header__nav--desktop .sub-menu a:hover,
.cfs-header__nav--desktop .sub-menu a:focus-visible {
    background: var(--cfs-ice);
    color: var(--cfs-blue-dark);
}

.cfs-header__actions--desktop {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.cfs-header__join,
.cfs-header__account,
.cfs-header__mobile-join,
.cfs-header__mobile-account {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 5px;
    font-family: Montserrat, Inter, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.cfs-header__join {
    padding: 0 14px;
    border: 1px solid var(--cfs-blue-dark);
    background: transparent;
    color: var(--cfs-blue-dark);
}

.cfs-header__join:hover,
.cfs-header__join:focus-visible {
    background: var(--cfs-ice);
    color: var(--cfs-navy);
}

.cfs-header__account {
    padding: 0 16px;
    border: 1px solid var(--cfs-blue-dark);
    background: var(--cfs-blue-dark);
    color: var(--cfs-white);
}

.cfs-header__account:hover,
.cfs-header__account:focus-visible {
    border-color: var(--cfs-navy);
    background: var(--cfs-navy);
    color: var(--cfs-white);
}

.cfs-header__join:focus-visible,
.cfs-header__account:focus-visible,
.cfs-header__toggle:focus-visible,
.cfs-header__mobile-join:focus-visible,
.cfs-header__mobile-account:focus-visible,
.cfs-header__menu a:focus-visible {
    outline: 3px solid rgba(89, 159, 217, .32);
    outline-offset: 3px;
}

.cfs-header__user-icon {
    flex: 0 0 auto;
}

.cfs-header__toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--cfs-navy);
    cursor: pointer;
}

.cfs-header__toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.cfs-header__toggle[aria-expanded="true"] .cfs-header__toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.cfs-header__toggle[aria-expanded="true"] .cfs-header__toggle-line:nth-child(2) {
    opacity: 0;
}

.cfs-header__toggle[aria-expanded="true"] .cfs-header__toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.cfs-header__mobile-panel {
    display: none;
}

@media (max-width: 1050px) {
    .cfs-header__inner {
        grid-template-columns: minmax(145px, 190px) minmax(0, 1fr) auto;
        gap: 20px;
    }

    .cfs-header__nav--desktop > .cfs-header__menu {
        gap: 22px;
    }

    .cfs-header__nav--desktop .cfs-header__menu > li > a {
        font-size: 11px;
    }

    .cfs-header__logo {
        height: 44px;
    }
}

@media (max-width: 900px) {
    body.cfs-menu-open {
        overflow: hidden;
    }

    .cfs-header__inner {
        display: flex;
        min-height: 72px;
        justify-content: space-between;
        gap: 18px;
    }

    .cfs-header__brand {
        max-width: 180px;
    }

    .cfs-header__logo {
        height: 42px;
        max-width: 176px;
    }

    .cfs-header__nav--desktop,
    .cfs-header__actions--desktop {
        display: none;
    }

    .cfs-header__toggle {
        display: block;
        flex: 0 0 44px;
    }

    .cfs-header__mobile-panel {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 30;
        display: block;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        border-top: 1px solid var(--cfs-border);
        background: var(--cfs-white);
        box-shadow: 0 20px 36px rgba(22, 59, 92, .12);
    }

    .cfs-header__mobile-panel[hidden] {
        display: none !important;
    }

    .cfs-header__mobile-inner {
        padding-top: 14px;
        padding-bottom: 22px;
    }

    .cfs-header__nav--mobile .cfs-header__menu {
        display: flex;
        flex-direction: column;
    }

    .cfs-header__nav--mobile .cfs-header__menu > li {
        border-bottom: 1px solid #EEF1F4;
    }

    .cfs-header__nav--mobile .cfs-header__menu a {
        display: flex;
        min-height: 48px;
        align-items: center;
        padding: 10px 4px;
        font-family: Montserrat, Inter, sans-serif;
        font-size: 12px;
        font-weight: 650;
        color: #172033;
        text-transform: uppercase;
    }

    .cfs-header__nav--mobile .current-menu-item > a,
    .cfs-header__nav--mobile .current-menu-ancestor > a {
        color: var(--cfs-blue-dark);
    }

    .cfs-header__nav--mobile .sub-menu {
        padding: 0 0 8px 18px;
    }

    .cfs-header__nav--mobile .sub-menu a {
        min-height: 40px;
        font-family: Inter, sans-serif;
        font-size: 12px;
        font-weight: 600;
        text-transform: none;
    }

    .cfs-header__mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding-top: 18px;
    }

    .cfs-header__mobile-join,
    .cfs-header__mobile-account {
        width: 100%;
        min-height: 44px;
        padding: 0 14px;
    }

    .cfs-header__mobile-join {
        border: 1px solid var(--cfs-blue-dark);
        background: transparent;
        color: var(--cfs-blue-dark);
    }

    .cfs-header__mobile-account {
        border: 1px solid var(--cfs-blue-dark);
        background: var(--cfs-blue-dark);
        color: var(--cfs-white);
    }
}

@media (max-width: 480px) {
    .cfs-header__mobile-actions {
        grid-template-columns: 1fr;
    }

    .cfs-header__brand {
        max-width: 160px;
    }

    .cfs-header__logo {
        height: 38px;
        max-width: 158px;
    }
}

@media (max-width: 782px) {
    .admin-bar .cfs-header--sticky {
        top: 46px;
    }
}
/* Chess Suite — compact global footer */
body.cfs-custom-footer-enabled .elementor-location-footer,
body.cfs-custom-footer-enabled #site-footer,
body.cfs-custom-footer-enabled footer.site-footer {
    display: none !important;
}

body.cfs-custom-footer-enabled #cfs-site-footer {
    display: block !important;
}

.cfs-footer {
    position: relative;
    width: 100%;
    background: var(--cfs-navy);
    color: #dce7ef;
}

.cfs-newsletter__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.cfs-footer__accent {
    height: 3px;
    background: var(--cfs-yellow);
}

.cfs-footer__main {
    padding: 38px 0 34px;
}

.cfs-footer__inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(130px, .62fr) minmax(145px, .7fr) minmax(260px, 1fr);
    gap: 34px;
    align-items: start;
}

.cfs-footer__brand {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    text-decoration: none;
}

.cfs-footer__brand img {
    display: block;
    width: auto;
    max-width: min(100%, 310px);
    height: auto;
    max-height: 86px;
    object-fit: contain;
    object-position: left center;
    filter: none !important;
    mix-blend-mode: normal;
}

.cfs-footer__description {
    max-width: 390px;
    margin: 18px 0 0;
    color: #cbd9e5;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
}

.cfs-footer h2 {
    margin: 4px 0 16px;
    color: #fff;
    font-family: Montserrat, Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    line-height: 1.2;
    text-transform: uppercase;
}

.cfs-footer__menu {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cfs-footer__menu li {
    margin: 0;
    padding: 0;
}

.cfs-footer__menu a {
    display: inline-flex;
    color: #cbd9e5;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.cfs-footer__menu a:hover,
.cfs-footer__menu a:focus-visible {
    color: var(--cfs-yellow);
    transform: translateX(2px);
}

.cfs-footer__contact-list {
    display: grid;
    gap: 11px;
}

.cfs-footer__contact-list > a,
.cfs-footer__contact-list > div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    color: #cbd9e5;
    font-family: Inter, sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.cfs-footer__contact-list > a:hover,
.cfs-footer__contact-list > a:focus-visible {
    color: #fff;
}

.cfs-footer__contact-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: var(--cfs-yellow);
}

.cfs-footer__contact-icon svg {
    width: 13px;
    height: 13px;
}

.cfs-footer__social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.cfs-footer__social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.cfs-footer__social a:hover,
.cfs-footer__social a:focus-visible {
    background: var(--cfs-yellow);
    color: var(--cfs-navy);
    transform: translateY(-2px);
}

.cfs-footer__social svg {
    width: 15px;
    height: 15px;
}

.cfs-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(4, 23, 41, .12);
}

.cfs-footer__bottom-inner {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.cfs-footer__bottom p {
    margin: 0;
    color: #aebfce;
    font-family: Inter, sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.45;
}

.cfs-footer__credit a,
.cfs-footer__credit span {
    color: var(--cfs-yellow);
    font-weight: 700;
    text-decoration: none;
}

.cfs-footer a:focus-visible {
    outline: 3px solid rgba(251,247,79,.28);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .cfs-footer__inner {
        grid-template-columns: minmax(250px, 1.2fr) repeat(2, minmax(145px, .7fr));
        gap: 30px 26px;
    }

    .cfs-footer__contact-column {
        grid-column: 1 / -1;
    }

    .cfs-footer__contact-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
    }
}

@media (max-width: 700px) {
    .cfs-footer__main {
        padding: 34px 0 28px;
    }

    .cfs-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .cfs-footer__brand-column,
    .cfs-footer__contact-column {
        grid-column: 1 / -1;
    }

    .cfs-footer__brand {
        width: min(100%, 245px);
    }

    .cfs-footer__brand img {
        max-width: 245px;
        max-height: 78px;
    }

    .cfs-footer__description {
        max-width: 100%;
        margin-top: 15px;
        font-size: 12.5px;
    }

    .cfs-footer__contact-list {
        grid-template-columns: 1fr;
    }

    .cfs-footer__bottom-inner {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding-block: 15px;
    }
}

/* v0.9.2 — preserve original Federation logo appearance in footer */
@media (max-width: 767px) {
    .cfs-footer__brand {
        padding: 8px 10px;
    }

    .cfs-footer__brand img {
        max-width: 240px;
        max-height: 72px;
    }
}
