.afts-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.afts-nav-col,
.afts-content-col {
    box-sizing: border-box;
    min-width: 0;
}

.afts-nav-title {
    margin-top: 0;
}

.afts-nav-list {
    display: flex;
    flex-direction: column;
}

.afts-nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
    transition: background-color 0.2s ease, color 0.2s ease,
                box-shadow 0.2s ease, border-color 0.2s ease;
}

.afts-progress-fill {
    position: absolute;
    inset: 0;
    background-color: #FF0000;
    transform: scaleX(0);
    transform-origin: left center;
    transition: none;
    pointer-events: none;
    z-index: 0;
}

.afts-nav-item > *:not(.afts-progress-fill) {
    position: relative;
    z-index: 1;
}

.afts-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.afts-item-icon svg { display: block; }

.afts-item-name { line-height: 1.4; }

.afts-content-area {
    position: relative;
    width: 100%;
}

.afts-content-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.afts-content-panel.afts-active,
.afts-content-panel.afts-preactive {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.afts-content-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .afts-wrap { flex-direction: column !important; }

    .afts-nav-col,
    .afts-content-col {
        flex: 0 0 100% !important;
        width: 100% !important;
        order: unset !important;
    }

    .afts-nav-col  { order: 1 !important; }
    .afts-content-col { order: 2 !important; }
}