.tlx-fa-section,
.tlx-fa-section * {
    box-sizing: border-box;
}

.tlx-fa-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
    font-size: inherit;
}

.tlx-fa-list {
    display: flex;
    width: 100%;
    min-height: clamp(420px, 55vw, 600px);
    overflow: hidden;
    background: #111;
}

.tlx-fa-item {
    position: relative;
    display: block;
    flex: 1 1 0;
    min-width: 72px;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    background-color: #1c2430;
    background-image: var(--tlx-fa-bg);
    background-position: center;
    background-size: cover;
    transition: flex 0.55s ease, filter 0.35s ease;
}

.tlx-fa-item:hover,
.tlx-fa-item:focus {
    color: inherit;
    text-decoration: none;
}

.tlx-fa-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--tlx-fa-bg);
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    transition: transform 0.55s ease;
}

.tlx-fa-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 14, 24, 0) 34%, rgba(6, 14, 24, 0.38) 100%);
    transition: background 0.35s ease;
}

.tlx-fa-item.is-active,
.tlx-fa-item:hover,
.tlx-fa-item:focus-visible {
    flex: 4 1 0;
    outline: none;
}

.tlx-fa-item.is-active::before,
.tlx-fa-item:hover::before,
.tlx-fa-item:focus-visible::before {
    transform: scale(1.06);
}

.tlx-fa-item.is-active::after,
.tlx-fa-item:hover::after,
.tlx-fa-item:focus-visible::after {
    background: linear-gradient(180deg, rgba(6, 14, 24, 0.02) 18%, rgba(6, 14, 24, 0.5) 100%);
}

.tlx-fa-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, 0.22) 100%);
    pointer-events: none;
}

.tlx-fa-closed-title {
    position: absolute;
    left: 50%;
    bottom: 46px;
    z-index: 3;
    transform: translateX(-50%);
    opacity: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.tlx-fa-closed-title span {
    display: block;
    color: #fff;
    font-family: inherit;
    font-size: 1.85em;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-orientation: mixed;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
    white-space: nowrap;
}

.tlx-fa-open-content {
    position: absolute;
    left: clamp(24px, 4vw, 64px);
    right: clamp(20px, 4vw, 64px);
    bottom: clamp(28px, 5vw, 76px);
    z-index: 4;
    max-width: min(560px, 75%);
    color: #fff;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease 0.08s, transform 0.3s ease 0.08s;
    pointer-events: none;
}

.tlx-fa-open-content h3 {
    margin: 0 0 12px;
    color: #fff;
    font-family: inherit;
    font-size: 2.4em;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tlx-fa-open-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-family: inherit;
    font-size: 1em;
    line-height: 1.65;
}

.tlx-fa-item.is-active .tlx-fa-closed-title,
.tlx-fa-item:hover .tlx-fa-closed-title,
.tlx-fa-item:focus-visible .tlx-fa-closed-title {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
}

.tlx-fa-item.is-active .tlx-fa-open-content,
.tlx-fa-item:hover .tlx-fa-open-content,
.tlx-fa-item:focus-visible .tlx-fa-open-content {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .tlx-fa-list {
        min-height: 500px;
    }

    .tlx-fa-item {
        min-width: 64px;
    }

    .tlx-fa-item.is-active,
    .tlx-fa-item:hover,
    .tlx-fa-item:focus-visible {
        flex: 3.2 1 0;
    }

    .tlx-fa-closed-title span {
        font-size: 1.5em;
    }

    .tlx-fa-open-content h3 {
        font-size: 1.9em;
    }
}

@media (max-width: 767px) {
    .tlx-fa-list {
        min-height: auto;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        background: transparent;
        gap: 14px;
        padding-bottom: 15px;
    }

    .tlx-fa-item,
    .tlx-fa-item.is-active,
    .tlx-fa-item:hover,
    .tlx-fa-item:focus-visible {
        flex: 0 0 82%;
        min-height: 420px;
        scroll-snap-align: start;
    }

    .tlx-fa-closed-title {
        display: none;
    }

    .tlx-fa-open-content {
        max-width: none;
        opacity: 1;
        transform: none;
    }

    .tlx-fa-open-content h3 {
        font-size: 1.55em;
    }

    .tlx-fa-item::after,
    .tlx-fa-item.is-active::after,
    .tlx-fa-item:hover::after,
    .tlx-fa-item:focus-visible::after {
        background: linear-gradient(180deg, rgba(6, 14, 24, 0.02) 20%, rgba(6, 14, 24, 0.48) 100%);
    }
}