.fc27-page {
    --fc27-red: #ff0c0c;
    --fc27-green: #20e3a2;
    --fc27-ink: #0d0d12;
    --fc27-muted: #6b7280;
    --fc27-line: #e5e5ef;
    --fc27-gold: #c9a227;
    max-width: 100%;
    overflow-x: clip;
    background: #fff;
    color: var(--fc27-ink);
    font-family: "Montserrat", Arial, sans-serif;
}

.fc27-page * {
    box-sizing: border-box;
}

.fc27-page h2 {
    margin: 0;
    border-left: none !important;
    padding-left: 0 !important;
    color: inherit !important;
    font-family: "Montserrat", Arial, sans-serif !important;
}

.fc27-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.fc27-page.main-container {
    overflow-x: clip;
}

#fc27_page .hero {
    margin: 3em 0;
}

.fc27-marquee {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: var(--fc27-red);
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.fc27-marquee__viewport {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 49px;
    overflow: hidden;
}

/* Absolute so the max-content track never feeds into the page's intrinsic width. */
.fc27-marquee__track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    width: max-content;
    animation: fc27-marquee-ltr 40s linear infinite;
}

.fc27-marquee--rtl .fc27-marquee__track {
    left: auto;
    right: 0;
    animation-name: fc27-marquee-rtl;
}

.fc27-marquee__group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0;
}

.fc27-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.fc27-marquee__bullet {
    color: var(--fc27-green);
    font-size: 8px;
    line-height: 1;
}

.fc27-marquee__text {
    color: #fff;
}

.fc27-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
    padding: 56px 0 42px;
    border-bottom: 1px solid var(--fc27-line);
}

.fc27-intro__media {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.fc27-intro__media img {
    width: 100%;
    max-width: 589px;
    height: auto;
    object-fit: contain;
}

.fc27-intro__copy {
    min-width: 0;
}

.fc27-intro__eyebrow {
    margin: 0 0 12px;
    color: var(--fc27-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.16px;
    text-transform: uppercase;
}

.fc27-intro__title {
    display: flex;
    flex-direction: column;
    margin: 0 0 18px;
    color: var(--fc27-red);
    font-size: clamp(32px, 4vw, 41px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.64px;
    text-transform: uppercase;
}

.fc27-intro__body {
    margin: 0 0 14px;
    color: var(--fc27-ink);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.fc27-intro__link {
    display: inline-block;
    margin-top: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--fc27-red);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.75px;
    text-decoration: none;
    text-transform: uppercase;
}

.fc27-intro__link:hover {
    color: var(--fc27-red);
    text-decoration: none;
}

.fc27-section {
    padding: 42px 0;
    border-bottom: 1px solid var(--fc27-line);
}

.fc27-section__header {
    position: relative;
    margin-bottom: 28px;
    padding-inline-start: 14px;
}

.fc27-section__header::before {
    position: absolute;
    inset-inline-start: 0;
    top: 2px;
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: var(--fc27-red);
    content: "";
}

.fc27-section__header h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.25;
}

.fc27-section__header p {
    margin: 8px 0 0;
    max-width: 100%;
    color: var(--fc27-muted);
    font-size: 12px;
    line-height: 1.6;
}

.fc27-section__header--compact {
    margin-bottom: 22px;
}

.fc27-section__header--compact h2 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 900;
    line-height: 1.3;
}

.fc27-section__header--news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.fc27-section__header--news::before {
    top: 4px;
}

.fc27-section__all-link {
    flex: 0 0 auto;
    padding: 7px 16px;
    border: 1px solid rgba(255, 12, 12, 0.2);
    border-radius: 50px;
    color: var(--fc27-red);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.fc27-section__all-link:hover {
    color: var(--fc27-red);
    text-decoration: none;
    background: rgba(255, 12, 12, 0.04);
}

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

.fc27-edition-card {
    position: relative;
    min-width: 0;
    min-height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    background: #0b0c10;
}

.fc27-edition-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc27-edition-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
    background: linear-gradient(180deg, rgba(11, 12, 16, 0.1) 0%, rgba(11, 12, 16, 0.96) 100%);
    color: #fff;
}

.fc27-edition-card__badge {
    align-self: flex-start;
    margin-bottom: auto;
    padding: 6px 12px;
    border-radius: 2px;
    background: var(--fc27-gold);
    color: #1a1400;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.05px;
    text-transform: uppercase;
}

.fc27-edition-card__overlay h3 {
    margin: 0 0 10px;
    font-family: "Anton", "Montserrat", Arial, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.fc27-edition-card__overlay p {
    max-width: 92%;
    margin: 0 0 18px;
    color: #c7c9d1;
    font-size: 12px;
    line-height: 1.75;
}

.fc27-edition-card__link {
    display: inline-block;
    width: fit-content;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.75px;
    text-decoration: none;
    text-transform: uppercase;
}

.fc27-edition-card__link:hover {
    color: #fff;
    text-decoration: none;
}

.fc27-edition-card--plus .fc27-edition-card__overlay h3 {
    max-width: 180px;
    line-height: 1.15;
}

/* body is a flex item of the flex <html> shell, so min-width:auto lets wide
   content push it past the viewport where html's overflow-x:hidden clips it. */
body.joker-site-shell:has(#fc27_page) {
    min-width: 0;
}

#fc27_page .fc27-products-section .cards-cont {
    margin: 0;
    max-width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.fc27-no-data {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0;
}

.fc27-no-data__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.fc27-no-data__inner img {
    width: 120px;
    height: auto;
}

.fc27-no-data__inner h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.fc27-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 21px;
}

.fc27-news-card {
    min-width: 0;
    border: 1px solid var(--fc27-line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.fc27-news-card a {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 379px;
    color: inherit;
    text-decoration: none;
}

.fc27-news-card a:hover {
    text-decoration: none;
    color: inherit;
}

.fc27-news-card__media {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.fc27-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc27-news-card__category {
    position: absolute;
    inset-inline-start: 12px;
    top: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    background: var(--fc27-red);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.38px;
    text-transform: uppercase;
}

.fc27-news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 18px 12px;
}

.fc27-news-card__body h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.fc27-news-card__body p {
    flex: 1;
    margin: 0;
    color: var(--fc27-muted);
    font-size: 12px;
    line-height: 1.7;
}

.fc27-news-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px 18px;
}

.fc27-news-card__button {
    padding: 6px 14px;
    border: 1px solid rgba(255, 12, 12, 0.22);
    border-radius: 8px;
    color: var(--fc27-red);
    font-size: 11.5px;
    font-weight: 700;
}

.fc27-news-card__footer time {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
}

@keyframes fc27-marquee-ltr {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes fc27-marquee-rtl {
    from {
        transform: translateX(50%);
    }

    to {
        transform: translateX(0);
    }
}

@media (max-width: 980px) {
    .fc27-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fc27-editions-grid,
    .fc27-news-grid {
        grid-template-columns: 1fr;
    }

    .fc27-edition-card {
        min-height: 460px;
    }

    .fc27-section__header--news {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .fc27-container {
        padding: 0 16px;
    }

    .fc27-section {
        padding: 34px 0;
    }

    .fc27-marquee__item {
        padding: 0 14px;
        font-size: 11px;
    }

    .fc27-edition-card__overlay {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fc27-marquee__track {
        animation: none;
    }
}
