/* =========================================
   FilmicJourney Main Site
   Global Styles
   ========================================= */

:root {
    --fj-bg: #ffffff;
    --fj-text: #111111;
    --fj-muted: #666666;
    --fj-border: #e5e5e5;
    --fj-black: #000000;
    --fj-white: #ffffff;
}

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

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--fj-bg);
    color: var(--fj-text);
    font-family: "General Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

/* =========================================
   Fonts
   ========================================= */

@font-face {
    font-family: "General Sans";
    src: url("/assets/fonts/GeneralSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "General Sans";
    src: url("/assets/fonts/GeneralSans-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "General Sans";
    src: url("/assets/fonts/GeneralSans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Monr";
    src: url("/assets/fonts/Monr.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   Header
   ========================================= */

.fj-header {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    z-index: 1000;
}

.fj-header__inner {
    width: min(1400px, calc(100% - 40px));
    min-height: 96px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}


/* Brand */

.fj-brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.fj-brand__logo {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fj-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fj-brand__name {
    font-family: "Monr", "General Sans", sans-serif;
    font-size: 20px;
    line-height: 1;
    white-space: nowrap;
}


/* Navigation */

.fj-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.fj-nav > a,
.fj-nav__categories-button {
    border: 0;
    background: transparent;
    padding: 8px 0;
    color: #111111;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.fj-nav > a,
.fj-nav__categories-button {
    transition: opacity 0.2s ease;
}

.fj-nav > a:hover,
.fj-nav__categories-button:hover {
    opacity: 0.55;
}

.fj-nav > a.is-active {
    font-weight: 700;
}


/* Desktop categories */

.fj-nav__categories {
    position: relative;
}

.fj-nav__categories-button {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.fj-nav__categories-button svg {
    width: 14px;
    height: 14px;
}

.fj-nav__categories-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 210px;
    padding: 8px;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.18s ease,
        visibility 0.18s ease;
}

.fj-nav__categories:hover .fj-nav__categories-menu,
.fj-nav__categories:focus-within .fj-nav__categories-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fj-nav__categories-menu a {
    display: block;
    padding: 10px 12px;
    color: #111111;
    font-size: 14px;
}

.fj-nav__categories-menu a:hover {
    background: #f5f5f5;
}


/* Right actions */

.fj-header__actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fj-icon-button,
.fj-join-button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #111111;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.fj-icon-button:hover,
.fj-join-button:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.fj-icon-button svg {
    width: 20px;
    height: 20px;
}

.fj-join-button svg {
    width: 19px;
    height: 19px;
}

.fj-join-button span {
    display: none;
}


/* Mobile search */

.fj-mobile-search,
.fj-mobile-expand,
.fj-mobile-nav {
    display: none;
}

.fj-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================
   Mobile Header
   ========================================= */

@media (max-width: 768px) {

    .fj-header {
        border-bottom: 0;
    }

    .fj-header__inner {
        width: 100%;
        min-height: 74px;
        padding: 10px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .fj-brand {
        min-width: 0;
        gap: 9px;
    }

    .fj-brand__logo {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid #e8e8e8;
        overflow: hidden;
    }

    .fj-brand__logo img {
        width: 36px;
        height: 36px;
    }

    .fj-brand__name {
        font-size: 17px;
    }

    .fj-nav {
        display: none;
    }

    .fj-header__actions {
        gap: 7px;
        flex-shrink: 0;
    }

    .fj-icon-button,
    .fj-join-button {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .fj-join-button span {
        display: none;
    }

    .fj-join-button svg {
        width: 18px;
        height: 18px;
    }

    .fj-mobile-expand {
        position: absolute;
        left: 50%;
        bottom: -20px;
        width: 40px;
        height: 40px;
        transform: translateX(-50%);
        border: 1px solid #e5e5e5;
        border-radius: 50%;
        background: #ffffff;
        color: #111111;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 5;
        transition: transform 0.25s ease;
    }

    .fj-mobile-expand svg {
        width: 19px;
        height: 19px;
    }

    .fj-header.is-expanded .fj-mobile-expand {
        transform: translateX(-50%) rotate(180deg);
    }

    .fj-mobile-nav {
        display: block;
        max-height: 0;
        overflow: hidden;
        padding: 0 20px;
        transition:
            max-height 0.3s ease,
            padding 0.3s ease;
    }

    .fj-header.is-expanded .fj-mobile-nav {
        max-height: 600px;
        padding-top: 20px;
        padding-bottom: 28px;
    }

    .fj-mobile-nav > a,
    .fj-mobile-nav__title {
        display: block;
        padding: 10px 0;
        color: #111111;
        font-size: 15px;
        font-weight: 500;
    }

    .fj-mobile-nav__title {
        font-weight: 700;
        padding-top: 18px;
    }

    .fj-mobile-nav__categories {
        display: flex;
        flex-direction: column;
        border-left: 1px solid #e5e5e5;
        margin: 4px 0 10px;
        padding-left: 14px;
    }

    .fj-mobile-nav__categories a {
        padding: 8px 0;
        color: #666666;
        font-size: 14px;
    }

    /* Search takeover */

    .fj-header.is-searching .fj-brand,
    .fj-header.is-searching .fj-header__actions,
    .fj-header.is-searching .fj-mobile-expand,
    .fj-header.is-searching .fj-mobile-nav {
        display: none;
    }

    .fj-header.is-searching .fj-header__inner {
        justify-content: stretch;
    }

    .fj-header.is-searching .fj-mobile-search {
        display: block;
        width: 100%;
    }

    .fj-mobile-search form {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .fj-mobile-search input {
        width: 100%;
        min-width: 0;
        height: 56px;
        box-sizing: border-box;
        padding: 0 14px;
        border: 1px solid #e5e5e5;
        border-radius: 0;
        outline: none;
        background: #ffffff;
        color: #111111;
        -webkit-appearance: none;
        appearance: none;
    }

    .fj-mobile-search input::-webkit-search-cancel-button,
    .fj-mobile-search input::-webkit-search-decoration {
        -webkit-appearance: none;
        appearance: none;
    }

    .fj-mobile-search input:focus {
        border-color: #111111;
    }

}





/* =========================================
   Footer
   ========================================= */

.fj-footer {
    width: 100%;
    margin-top: 80px;
    background: #000;
    color: #fff;
}


/* CTA
   ----------------------------------------- */

.fj-footer__cta {
    width: min(1400px, calc(100% - 40px));
    min-height: 120px;
    margin: 0 auto;

    display: flex;
    align-items: center;
}

.fj-footer__cta-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.fj-footer__cta-content h2 {
    margin: 0;

    color: #fff;
    font-family: "Monr", "General Sans", sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
}

.fj-footer__subscribe {
    width: 140px;
}

.fj-footer__subscribe .fj-button__top {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fj-button.fj-footer__subscribe {
    --fj-btn-color: #d2d641;
    --fj-btn-outline: #ffffff;
    --fj-btn-shadow: #ffffff;
}

.fj-button.fj-footer__subscribe .fj-button__top {
    color: #111111;
}


/* 70 / 30
   ----------------------------------------- */

.fj-footer__main {
    width: 100%;

    display: grid;
    grid-template-columns: 70% 30%;

    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}


/* LEFT 70% */

.fj-footer__left {
    min-width: 0;

    padding: 50px max(20px, calc((100vw - 1400px) / 2));
    padding-right: 50px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.fj-footer__column {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fj-footer__column h3 {
    margin: 0 0 18px;

    color: #fff;
    font-family: "General Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.fj-footer__column a {
    display: block;

    margin: 0 0 11px;

    color: #aaa;
    font-family: "General Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;

    transition: color 0.2s ease;
}

.fj-footer__column a:hover {
    color: #fff;
}


/* RIGHT 30% */

.fj-footer__right {
    min-width: 0;
    min-height: 290px;

    padding: 40px 25px;

    border-left: 1px solid rgba(255, 255, 255, 0.15);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.fj-footer__right-logo {
    width: 145px;
    height: 145px;

    margin-bottom: 18px;

    border-radius: 50%;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.fj-footer__right-logo img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.fj-footer__right-name {
    margin-bottom: 7px;

    color: #fff;
    font-family: "Monr", "General Sans", sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.fj-footer__right-copyright {
    margin-bottom: 6px;

    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

.fj-footer__right-warning {
    color: #aaa;
    font-size: 12px;
    line-height: 1.4;
}


/* BOTTOM
   ----------------------------------------- */

.fj-footer__bottom {
    width: min(1400px, calc(100% - 40px));
    min-height: 75px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.fj-footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #aaa;
    font-size: 13px;
    line-height: 1.4;

    transition: color 0.2s ease;
}

.fj-footer__contact:hover {
    color: #fff;
}

.fj-footer__socials {
    display: flex;
    align-items: center;
    gap: 9px;
}

.fj-footer__social-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.fj-footer__social-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.fj-footer__social-icon svg {
    width: 18px;
    height: 18px;

    display: block;
}


/* MOBILE
   ----------------------------------------- */

@media (max-width: 768px) {

    .fj-footer {
        margin-top: 55px;
    }

    .fj-footer__cta {
        width: calc(100% - 30px);
        min-height: 105px;
    }

    .fj-footer__cta-content {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    .fj-footer__cta-content h2 {
        font-size: 22px;
    }

    .fj-footer__subscribe {
        width: 120px;
        flex: 0 0 120px;
    }

    .fj-footer__subscribe .fj-button__top {
        min-height: 42px;
        padding: 0 10px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .fj-footer__main {
        display: flex;
        flex-direction: column;
    }


    .fj-footer__left {
        width: 100%;
        padding: 35px 20px;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 25px;
    }


    .fj-footer__column:first-child {
        grid-column: 1 / -1;
    }

    .fj-footer__column:last-child {
        align-self: center;
    }


    .fj-footer__column h3 {
        font-size: 13px;
    }


    .fj-footer__column a {
        font-size: 13px;
    }


    .fj-footer__right {
        width: 100%;
        min-height: 250px;

        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }


    .fj-footer__right-logo {
        width: 125px;
        height: 125px;
    }


    .fj-footer__right-logo img {
        width: 95px;
        height: 95px;
    }


    .fj-footer__bottom {
        width: calc(100% - 30px);
        min-height: 120px;
        padding: 20px 0;

        flex-direction: column;
        justify-content: center;

        gap: 18px;
    }

}

/* =========================================================
   VIDEO GRID
   ========================================================= */

.fj-video-grid {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.fj-video-card {
    display: grid;
    grid-template-columns: 44% 1fr;
    gap: 20px;
    min-width: 0;
    padding: 0;
}

.fj-video-card__image-link {
    display: block;
    min-width: 0;
}

.fj-video-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f1f1;
}

.fj-video-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.fj-video-card__image-link:hover img {
    transform: scale(1.04);
}

.fj-video-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fj-video-card__title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.fj-video-card__title a {
    color: #111;
    text-decoration: none;
}

.fj-video-card__title a:hover {
    text-decoration: underline;
}

.fj-video-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.4;
}

.fj-video-card__meta a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.fj-video-card__meta a:hover {
    text-decoration: underline;
}

.fj-video-card__meta time {
    color: #666;
}

.fj-video-card__watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fj-video-card__watch:hover {
    background: #333;
    transform: translateY(-2px);
}

@media (max-width: 768px) {

    .fj-video-grid {
        width: min(100% - 24px, 600px);
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fj-video-card {
        grid-template-columns: 42% 1fr;
        gap: 16px;
    }

    .fj-video-card__title {
        font-size: 17px;
        margin-bottom: 9px;
    }

    .fj-video-card__meta {
        font-size: 12px;
        gap: 5px 9px;
        margin-bottom: 12px;
    }

    .fj-video-card__watch {
        min-height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }
}


/* =========================================================
   HOMEPAGE HEADING
   ========================================================= */

.fj-home-section {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
    padding: 60px 0 80px;
}

.fj-home-heading {
    margin-bottom: 30px;
}

.fj-home-heading h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

@media (max-width: 768px) {

    .fj-home-section {
        width: min(100% - 24px, 600px);
        padding: 40px 0 60px;
    }

    .fj-home-heading {
        margin-bottom: 22px;
    }

    .fj-home-heading h1 {
        font-size: 26px;
    }
}


/* =========================================================
   VIDEO PAGE
   ========================================================= */

.video-page {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 55px 0 80px;
}

.video-page article {
    width: 100%;
}

.video-page__header {
    margin-bottom: 24px;
}

.video-page__header h1 {
    margin: 0;
    color: #111;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.video-page__player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-page__thumbnail {
    width: 100%;
    margin-bottom: 24px;
    background: #f1f1f1;
}

.video-page__thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

.video-page__category {
    margin-bottom: 22px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.video-page__category a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

.video-page__category a:hover {
    text-decoration: underline;
}

.video-page__description {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    white-space: normal;
}

@media (max-width: 768px) {

    .video-page {
        width: min(100% - 24px, 700px);
        padding: 40px 0 60px;
    }

    .video-page__header {
        margin-bottom: 18px;
    }

    .video-page__header h1 {
        font-size: 25px;
    }

    .video-page__player {
        margin-bottom: 20px;
    }

    .video-page__description {
        font-size: 15px;
        line-height: 1.65;
    }
}


.fj-header {
    border-bottom: 0;
}

.fj-button {
    --fj-btn-radius: 0.75em;
    --fj-btn-color: #ffffff;
    --fj-btn-outline: #000000;
    --fj-btn-hover-offset: 4px;
    --fj-btn-active-offset: 2px;
    --fj-btn-shadow: #000000;

    display: inline-block;
    padding: 0;
    border: none;
    border-radius: var(--fj-btn-radius);
    background: var(--fj-btn-outline);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--fj-btn-outline);
    text-align: center;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.fj-button__top {
    display: block;
    box-sizing: border-box;
    border: 3px solid var(--fj-btn-outline);
    border-radius: var(--fj-btn-radius);
    padding: 0.65em 1.4em;
    background: var(--fj-btn-color);
    color: var(--fj-btn-outline);
    white-space: nowrap;
    transform: translateY(-0.2em);
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.fj-button:hover {
    box-shadow: var(--fj-btn-hover-offset) var(--fj-btn-hover-offset) 0 var(--fj-btn-shadow);
    transform: translate(calc(-1 * var(--fj-btn-hover-offset)), calc(-1 * var(--fj-btn-hover-offset)));
    animation: fjButtonShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.fj-button:hover .fj-button__top {
    transform: translateY(-0.33em);
}

.fj-button:active .fj-button__top {
    transform: translateY(0);
}

.fj-button:active {
    box-shadow: var(--fj-btn-active-offset) var(--fj-btn-active-offset) 0 var(--fj-btn-shadow);
    transform: translate(calc(-1 * var(--fj-btn-active-offset)), calc(-1 * var(--fj-btn-active-offset)));
}

.fj-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--fj-btn-outline), inset 0 0 0 2px var(--fj-btn-color);
}

@keyframes fjButtonShake {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-2px) translateY(-2px) rotate(-1deg); }
    75% { transform: translateX(2px) translateY(2px) rotate(1deg); }
}

@media (max-width: 768px) {
    .fj-header__join {
        display: none;
    }
}

.fj-nav__categories-inline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 500;
}

.fj-nav__categories-inline a,
.fj-nav__categories-inline span {
    color: #111111;
    transition: opacity 0.2s ease;
}

.fj-nav__categories-inline a:hover {
    opacity: 0.55;
}

.fj-nav__categories-inline .is-active {
    font-weight: 700;
}

.fj-nav > a.is-active,
.fj-nav > span.is-active {
    font-weight: 700;
    cursor: default;
}

.fj-mobile-nav > a,
.fj-mobile-nav > span,
.fj-mobile-nav__title {
    display: block;
    padding: 10px 0;
    color: #111111;
    font-size: 15px;
    font-weight: 500;
}

.fj-mobile-nav > span.is-active {
    font-weight: 700;
}

.fj-mobile-nav__categories a,
.fj-mobile-nav__categories span {
    display: block;
    padding: 8px 0;
    color: #666666;
    font-size: 14px;
}

.fj-mobile-nav__categories span.is-active {
    color: #111111;
    font-weight: 700;
}

.fj-mobile-nav__join {
    font-weight: 700;
}

.fj-mobile-expand {
    border: 0;
}

@keyframes fjArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.fj-mobile-expand svg {
    animation: fjArrowBounce 1.4s ease-in-out infinite;
}

.fj-search-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.fj-search-modal[hidden] {
    display: none;
}

.fj-search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fj-search-modal.is-open .fj-search-modal__backdrop {
    opacity: 1;
}

.fj-search-modal__panel {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: #ffffff;
    padding: 28px 24px calc(28px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.fj-search-modal.is-open .fj-search-modal__panel {
    transform: translateY(0);
}

.fj-search-modal__panel form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fj-search-modal__panel input {
    flex: 1;
    min-width: 0;
    height: 56px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid #e5e5e5;
    outline: none;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    -webkit-appearance: none;
    appearance: none;
}

.fj-search-modal__panel input::-webkit-search-cancel-button,
.fj-search-modal__panel input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.fj-search-modal__panel input:focus {
    border-color: #111111;
}

.fj-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .fj-menu-toggle {
        display: inline-flex;
    }
}

.fj-header.is-menu-open {
    position: relative;
    z-index: 3100;
}

.fj-fullscreen-nav {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: #ffffff;
    clip-path: circle(0px at calc(100% - 38px) 38px);
    transition: clip-path 0.5s ease;
    overflow-y: auto;
}

.fj-fullscreen-nav[hidden] {
    display: none;
}

.fj-fullscreen-nav.is-open {
    clip-path: circle(150% at calc(100% - 38px) 38px);
}

.fj-fullscreen-nav nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 100px 32px 40px;
    min-height: 100%;
    box-sizing: border-box;
}

.fj-fullscreen-nav nav a,
.fj-fullscreen-nav nav span {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 22px;
    font-weight: 500;
    color: #111111;
    border-bottom: 1px solid #f0f0f0;
}

.fj-fullscreen-nav nav span.is-active {
    font-weight: 700;
}

.fj-fullscreen-nav__join {
    margin-top: 20px;
    font-weight: 700;
    border-bottom: 0;
}

.video-page__breadcrumb {
    margin-bottom: 20px;
    color: #666666;
    font-size: 13px;
    line-height: 1.5;
}

.video-page__breadcrumb a {
    color: #666666;
    text-decoration: none;
}

.video-page__breadcrumb a:hover {
    color: #111111;
    text-decoration: underline;
}

.video-page__breadcrumb .is-current {
    color: #111111;
    font-weight: 600;
}

.video-page__breadcrumb-sep {
    margin: 0 8px;
    color: #cccccc;
}

.video-page__meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
}

.video-page__meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.video-page__meta-label {
    flex-shrink: 0;
    min-width: 74px;
    color: #999999;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.video-page__chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-page__chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f5f5f5;
    color: #111111;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.video-page__chip:hover {
    background: #111111;
    color: #ffffff;
}

.video-page__meta-row time {
    color: #666666;
    font-size: 14px;
}

.video-page__cta {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #eeeeee;
}

@media (max-width: 768px) {
    .video-page__breadcrumb {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .video-page__meta {
        gap: 12px;
        margin-bottom: 20px;
    }

    .video-page__meta-row {
        gap: 8px;
    }

    .video-page__meta-label {
        min-width: 60px;
        font-size: 11px;
    }

    .video-page__chip {
        padding: 5px 12px;
        font-size: 12px;
    }

    .video-page__cta {
        margin-top: 28px;
        padding-top: 20px;
    }
}

.fj-footer__cta {
    justify-content: space-between;
}

.fj-footer__cta-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fj-footer__cta-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.fj-footer__right-logo {
    width: auto;
    height: auto;
    margin-bottom: 0;
    background: transparent;
    border-radius: 0;
}

.fj-footer__right-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.fj-footer__bottom-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fj-footer__copyright {
    color: #777777;
    font-size: 12px;
    line-height: 1.4;
}

.fj-footer__warning {
    color: #aaaaaa;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .fj-footer__cta {
        justify-content: flex-start;
        gap: 14px;
    }

    .fj-footer__cta-content {
        width: auto;
        flex: 1;
    }

    .fj-footer__cta-logo {
        width: 44px;
        height: 44px;
    }

    .fj-footer__cta-logo img {
        width: 28px;
        height: 28px;
    }
}


.fj-header__join-icon {
    display: none;
}

@media (max-width: 768px) {
    .fj-header__join-icon {
        display: inline-flex;
    }
}

.fj-category-showcase {
    display: none;
}

@media (max-width: 768px) {
    .fj-category-showcase {
        display: block;
        padding: 14px 16px 4px;
    }

    .fj-category-showcase__row {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 8px;
    }

    .fj-category-showcase__item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 11px 16px;
        border-radius: 14px;
        background: #f5f5f5;
        color: #111111;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }

    .fj-category-showcase__item.is-active {
        background: #111111;
        color: #ffffff;
    }
}

@media (max-width: 400px) {
    .fj-category-showcase__row {
        gap: 6px;
    }

    .fj-category-showcase__item {
        padding: 8px 10px;
        border-radius: 12px;
        font-size: 11px;
    }
}

@media (max-width: 340px) {
    .fj-category-showcase__row {
        gap: 4px;
    }

    .fj-category-showcase__item {
        padding: 6px 8px;
        border-radius: 10px;
        font-size: 10px;
    }
}

.fj-search-modal__panel {
    height: 40vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fj-search-modal__panel form {
    flex-shrink: 0;
}

.fj-search-results {
    flex: 1;
    overflow-y: auto;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fj-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #111111;
}

.fj-search-result__thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f1f1;
}

.fj-search-result__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.fj-search-result__title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 480px) {
    .fj-search-result__thumb {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
    }

    .fj-search-result__title {
        font-size: 13px;
    }
}

.fj-search-show-all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 12px auto 0;
}

.fj-search-show-all[hidden] {
    display: none;
}

.fj-search-page-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 28px;
    max-width: 480px;
}

.fj-search-page-form input {
    flex: 1;
    height: 56px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid #e5e5e5;
    outline: none;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
}

.fj-search-page-form input:focus {
    border-color: #111111;
}

.fj-search-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    font-size: 14px;
    color: #666666;
}

.fj-search-pagination a {
    color: #111111;
    font-weight: 700;
    text-decoration: none;
}

.fj-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px auto 0;
}

.fj-pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #111111;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease;
}

.fj-pagination__btn:hover {
    background: #f5f5f5;
}

.fj-pagination__btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.fj-pagination__btn--number {
    padding: 10px 14px;
    min-width: 40px;
    justify-content: center;
}

.fj-pagination__btn.is-current {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
    border-radius: 14px;
    cursor: default;
}

.fj-pagination__btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.fj-pagination__ellipsis {
    padding: 0 4px;
    color: #999999;
    font-weight: 700;
}

@media (max-width: 480px) {
    .fj-pagination {
        gap: 6px;
    }

    .fj-pagination__btn {
        padding: 8px 10px;
        font-size: 12px;
    }
}

.fj-search-results {
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
}

.fj-search-results::-webkit-scrollbar {
    width: 6px;
}

.fj-search-results::-webkit-scrollbar-track {
    background: transparent;
}

.fj-search-results::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 999px;
}

.fj-search-results::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa;
}

.fj-search-pagination a:hover {
    text-decoration: underline;
}

.fj-video-card {
    border-radius: 10px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fj-video-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.fj-video-card__image {
    aspect-ratio: 4 / 5;
    border-radius: 8px;
}

.fj-video-card__image-link:hover img {
    transform: none;
}

.fj-video-card__meta {
    gap: 6px 0;
}

.fj-video-card__meta-item {
    position: relative;
}

.fj-video-card__meta-item:not(:last-child)::after {
    content: "\2022";
    margin: 0 8px;
    color: #cccccc;
    font-weight: 400;
}

.fj-marquee {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
}

.fj-video-card__meta-item.fj-marquee {
    display: inline-block;
    vertical-align: middle;
    max-width: 150px;
}

.fj-marquee__inner {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}

.fj-marquee.is-overflowing:hover .fj-marquee__inner {
    transition-property: transform;
    transition-timing-function: linear;
    transition-duration: var(--marquee-duration, 3s);
    transform: translateX(var(--marquee-distance, 0px));
}

@media (max-width: 768px) {
    .fj-video-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fj-video-card__image {
        aspect-ratio: 4 / 5;
    }

    .fj-video-card__meta-item.fj-marquee {
        max-width: 120px;
    }
}

.fj-video-card__title,
.fj-video-card__meta,
.fj-video-card__watch {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.fj-video-card__title a.fj-marquee {
    max-width: 100%;
}

@media (max-width: 768px) {
    .fj-video-card {
        gap: 10px;
    }

    .fj-video-card__image {
        max-width: 88%;
        margin: 0 auto;
    }

    .fj-video-card__content {
        padding: 0 4px;
    }

    .fj-video-card__title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .fj-video-card__meta {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .fj-video-card__meta-item.fj-marquee {
        max-width: 90px;
    }

    .fj-video-card__watch {
        min-height: 34px;
        padding: 0 12px;
        font-size: 11px;
    }
}

.fj-video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fj-video-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fj-video-card__content {
    padding: 14px 2px 0;
}

.fj-video-card__title {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fj-video-card__model {
    text-align: center;
    margin: 8px 0 18px;
    font-size: 14px;
    font-weight: 600;
}

.fj-video-card__model a {
    color: #111111;
    text-decoration: none;
}

.fj-video-card__model a:hover {
    text-decoration: underline;
}

.fj-video-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.fj-video-card__category {
    display: inline-block;
    max-width: 60%;
    color: #111111;
    font-weight: 600;
    text-decoration: none;
}

.fj-video-card__category:hover {
    text-decoration: underline;
}

.fj-video-card__date {
    flex-shrink: 0;
    color: #666666;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .fj-video-grid {
        grid-template-columns: 1fr;
    }

    .fj-video-card__content {
        padding: 12px 4px 0;
    }

    .fj-video-card__title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .fj-video-card__model {
        margin: 6px 0 14px;
        font-size: 13px;
    }

    .fj-video-card__category {
        font-size: 12px;
    }

    .fj-video-card__date {
        font-size: 12px;
    }
}

.fj-video-card {
    padding: 14px 14px 0;
    box-sizing: border-box;
}

.fj-video-card__model {
    text-align: center;
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 600;
}

.fj-video-card__content {
    padding: 14px 0 0;
}

@media (max-width: 768px) {
    .fj-video-card {
        padding: 10px 10px 0;
    }

    .fj-video-card__model {
        margin: 0 0 20px;
        font-size: 13px;
    }

    .fj-video-card__content {
        padding: 12px 0 0;
    }
}

.fj-video-card__model {
    font-size: 17px;
}

.fj-video-card__model a.fj-marquee {
    display: inline-block;
    max-width: 100%;
    vertical-align: bottom;
}

@media (max-width: 768px) {
    .fj-video-card__model {
        font-size: 16px;
    }
}

* {
    -webkit-tap-highlight-color: transparent;
}

.fj-video-card {
    padding: 7px 14px 0;
}

.fj-video-card__model {
    font-size: 34px;
}

.fj-video-card__title a:hover {
    text-decoration: none;
}

.fj-video-card__model a.fj-marquee,
.fj-video-card__category {
    position: relative;
    text-decoration: none;
}

.fj-video-card__model a.fj-marquee::after,
.fj-video-card__category::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.fj-video-card__model a.fj-marquee:hover::after,
.fj-video-card__category:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .fj-video-card {
        padding: 5px 10px 0;
    }

    .fj-video-card__model {
        font-size: 32px;
    }
}

.video-page__info {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.video-page__info-left {
    min-width: 0;
}

.video-page__title {
    margin: 0 0 12px;
    color: #111111;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.video-page__meta-line {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 14px;
    color: #666666;
}

.video-page__meta-item {
    position: relative;
    color: #666666;
    text-decoration: none;
}

.video-page__meta-item:not(:last-child)::after {
    content: "\2022";
    margin: 0 8px;
    color: #cccccc;
}

.video-page__meta-item:hover {
    color: #111111;
}

.video-page__divider {
    width: 1px;
    align-self: stretch;
    margin: 16px 0;
    background: #e5e5e5;
}

.video-page__info-right {
    min-width: 0;
}

.video-page__label {
    display: inline-block;
    margin-right: 8px;
    color: #999999;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.video-page__model-line {
    margin-bottom: 20px;
    font-size: 15px;
}

.video-page__model-line a {
    color: #111111;
    font-weight: 600;
    text-decoration: none;
}

.video-page__model-line a:hover {
    text-decoration: underline;
}

.video-page__tags-line {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-page__tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-page__related {
    margin-bottom: 48px;
}

.video-page__related-title {
    margin: 0 0 20px;
    font-size: 28px;
    font-weight: 700;
    color: #111111;
}

@media (max-width: 768px) {
    .video-page__related-title {
        font-size: 22px;
    }
}

.fj-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.fj-carousel__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}

.fj-carousel__track::-webkit-scrollbar {
    display: none;
}

.fj-carousel__item {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: start;
    display: flex;
}

.fj-carousel__item .fj-video-card {
    flex: 1;
}

.fj-carousel__nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #111111;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.fj-carousel__nav svg {
    width: 18px;
    height: 18px;
    display: block;
}

.fj-carousel__nav:hover {
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .video-page__info {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 32px;
    }

    .video-page__divider {
        display: none;
    }

    .video-page__title {
        font-size: 21px;
    }

    .video-page__related {
        margin-bottom: 32px;
    }

    .fj-carousel__nav {
        display: none;
    }

    .fj-carousel__item {
        width: 200px;
    }
}

.video-page__info {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .video-page__info {
        padding: 20px;
    }
}

.video-page__player {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 24px;
}

.video-page__player--black {
    background: #000;
}

.video-page__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.video-page__play-icon {
    width: 72px;
    height: 72px;
    display: block;
    transition: transform 0.15s ease;
}

.video-page__play-button:hover .video-page__play-icon {
    transform: scale(1.08);
}

.video-page__play-caption {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.video-page__loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #000000;
}

.video-page__spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: fjSpin 0.8s linear infinite;
}

.video-page__loading-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@keyframes fjSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .video-page__play-icon {
        width: 56px;
        height: 56px;
    }

    .video-page__play-caption {
        font-size: 13px;
    }
}

body :not(a):not(button):not(input):not(select):not(textarea):not(label) {
    cursor: default;
}

.fj-banner-section {
    width: min(1200px, calc(100% - 120px));
    margin: 28px auto 40px;
}

.fj-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.fj-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.fj-banner__content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
    max-width: 46%;
    padding: 0 4% 0 5%;
}

.fj-banner__content h1 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.fj-banner__content h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #444444;
}

@media (max-width: 768px) {
    .fj-banner-section {
        width: min(100% - 32px, 600px);
        margin: 16px auto 24px;
    }

    .fj-banner {
        height: auto;
        aspect-ratio: 1983 / 793;
        border-radius: 14px;
    }

    .fj-banner__content {
        max-width: 52%;
        padding: 0 3% 0 4%;
    }

    .fj-banner__content h1 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .fj-banner__content h2 {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .fj-banner__content h1 {
        font-size: 13px;
    }

    .fj-banner__content h2 {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .fj-video-card__meta {
        gap: 16px;
    }
}

.fj-search-clear {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.fj-search-clear.is-visible {
    display: inline-flex;
}

.fj-search-clear svg {
    width: 22px;
    height: 22px;
}


.fj-error-page {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.fj-error-page__image {
    flex: 0 0 50%;
    max-width: 960px;
}

.fj-error-page__image img {
    width: 100%;
    height: auto;
    display: block;
}

.fj-error-page__content {
    flex: 1;
    text-align: left;
}

.fj-error-page__code {
    font-size: 16px;
    font-weight: 700;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.fj-error-page__heading {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .fj-error-page {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin: 40px auto;
    }

    .fj-error-page__image {
        flex: none;
        max-width: 480px;
        margin: 0 auto;
    }

    .fj-error-page__content {
        text-align: center;
    }

    .fj-error-page__code {
        font-size: 14px;
    }

    .fj-error-page__heading {
        font-size: 24px;
        margin-bottom: 20px;
    }
}
\n

/* Category carousels (homepage) */
.fj-category-carousel {
    margin-bottom: 40px;
}

.video-page__related-title a {
    color: inherit;
    text-decoration: none;
}

.video-page__related-title a:hover {
    text-decoration: underline;
}

.fj-video-card__image--view-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.fj-video-card__view-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fj-video-card__image-link--view-more:hover .fj-video-card__view-more-icon {
    background: #333333;
    transform: translateY(-2px) scale(1.05);
}

.fj-video-card--view-more {
    text-align: center;
}

.fj-video-card__content--view-more {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}

.fj-video-card__content--view-more .fj-video-card__watch {
    width: 100%;
}


/* =========================================================
   TAGS LISTING PAGE
   ========================================================= */

.fj-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 18px;
    margin: 0 10px;
    background: #ffffff;
    border: 1.5px solid #111111;
    border-radius: 12px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fj-tag-chip:hover {
    background: #111111;
    border-color: #111111;
}

.fj-tag-chip:hover .fj-tag-chip__name {
    color: #ffffff;
}

.fj-tag-chip:hover .fj-tag-chip__count {
    background: #ffffff;
    color: #111111;
}

.fj-tag-chip__name {
    color: #111111;
    font-weight: 600;
    font-size: 15px;
}

.fj-tag-chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    background: #111111;
    color: #ffffff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.fj-tags-marquee {
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
    padding: 10px 0;
}

.fj-tag-row {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 50px, #000 calc(100% - 50px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 50px, #000 calc(100% - 50px), transparent 100%);
}

.fj-tag-row__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation-duration: 45s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.fj-tag-row--ltr .fj-tag-row__track {
    animation-name: fjTagScrollLtr;
}

.fj-tag-row--rtl .fj-tag-row__track {
    animation-name: fjTagScrollRtl;
}

.fj-tag-row:hover .fj-tag-row__track {
    animation-play-state: paused;
}

@keyframes fjTagScrollLtr {
    0% { transform: translateX(-33.3333%); }
    100% { transform: translateX(0%); }
}

@keyframes fjTagScrollRtl {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-33.3333%); }
}

@media (max-width: 768px) {
    .fj-tag-chip {
        padding: 6px 6px 6px 14px;
        margin: 0 6px;
        gap: 8px;
    }

    .fj-tag-chip__name {
        font-size: 13px;
    }

    .fj-tag-chip__count {
        min-width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .fj-tags-marquee {
        gap: 16px;
    }

    .fj-tag-row__track {
        animation-duration: 32s;
    }
}
