.LS-home-a {
    min-height: 800px;
}

.LS-home-a-content {
    display: flex;
    align-items: flex-start;
    width: min(1200px, calc(100% - 24px));
    margin: 0 auto;
    padding: 10px 0 50px;
    gap: 10px;
}

.LS-home-a-menu {
    width: 90px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: calc(var(--ls-header-height, 60px) + 10px);
}

.LS-home-a-menu-item {
    width: 90px;
    min-height: 36px;
    border: 0;
    border-radius: var(--ls-border-radius-btn, 4px);
    background: #fff;
    color: #333;
    font-size: 15px;
    line-height: 20px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.LS-home-a-menu-item:hover {
    background: rgb(var(--ls-primary-rgb, 59 130 246) / 12%);
    color: var(--ls-primary, #3b82f6);
    transform: translateY(-1px);
}

.LS-home-a-menu-item.is-active {
    background: var(--ls-primary, #3b82f6);
    color: #fff;
}

.LS-home-a-main {
    flex: 1;
    min-width: 0;
}

.LS-home-a-slider {
    height: 235px;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.LS-home-a-slider-main {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--ls-border-radius, 5px);
    background: #fff;
}

.LS-home-a-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

.LS-home-a-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.LS-home-a-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.LS-home-a-slide p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 42px 12px 34px;
    text-align: center;
    font-size: 16px;
    line-height: 22px;
    color: #fff;
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 55%) 100%);
}

.LS-home-a-slide-empty {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    background: #f5f6f7;
    color: #999;
}

.LS-home-a-slide-empty i {
    font-size: 34px;
}

.LS-home-a-slider-arrow {
    position: absolute;
    top: 50%;
    width: 34px;
    height: 44px;
    margin-top: -22px;
    border: 0;
    border-radius: var(--ls-border-radius-btn, 4px);
    background: rgb(0 0 0 / 38%);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.LS-home-a-slider-arrow:hover {
    background: rgb(0 0 0 / 55%);
    transform: translateY(-1px);
}

.LS-home-a-slider-arrow.prev {
    left: 10px;
}

.LS-home-a-slider-arrow.next {
    right: 10px;
}

.LS-home-a-slider-arrow i {
    font-size: 24px;
}

.LS-home-a-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.LS-home-a-slider-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: var(--ls-radius-full, 999px);
    background: rgb(255 255 255 / 55%);
    cursor: pointer;
}

.LS-home-a-slider-dots button.is-active {
    width: 18px;
    background: #fff;
}

.LS-home-a-promos {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.LS-home-a-promo {
    height: calc(50% - 5px);
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--ls-border-radius, 5px);
    background: #fff;
    color: #fff;
}

.LS-home-a-promo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .2s ease, transform .2s ease;
}

.LS-home-a-promo:hover img {
    opacity: .82;
    transform: scale(1.02);
}

.LS-home-a-promo p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 34px 8px 8px;
    text-align: center;
    font-size: 13px;
    line-height: 18px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 55%) 100%);
}

.LS-home-a-promo-empty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    color: #999;
    background: #f5f6f7;
}

.LS-home-a-promo-empty i {
    font-size: 24px;
}

.LS-home-a-post-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.LS-home-a .ls-post-item {
    overflow: visible;
}

.LS-home-a .LS-home-a-has-mark {
    margin-top: 23px;
}

.LS-home-a-post-markx {
    position: absolute;
    right: 0;
    top: -5px;
    display: flex;
    align-items: center;
    z-index: 9;
}

.LS-home-a-post-mark {
    min-width: 8px;
    display: inline-block;
    position: relative;
    margin: 0 10px 0 0;
    padding: 5px 10px;
    border-radius: 0 5px 5px 5px;
    color: #fff;
    opacity: .7;
    font-size: 12px;
    line-height: 18px;
    cursor: pointer;
    border-color: #f44336;
}

.LS-home-a-post-mark-top {
    background: #1e9fff;
    border-color: #1e9fff;
}

.LS-home-a-post-mark-top::before {
    content: "置顶";
}

.LS-home-a-post-mark-commend {
    background: #f44336;
    border-color: #f44336;
}

.LS-home-a-post-mark-commend::before {
    content: "推荐";
}

.LS-home-a-post-mark::after {
    content: "";
    position: absolute;
    top: 2px;
    left: -5px;
    width: 0;
    height: 0;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-bottom: 4px solid;
    border-bottom-color: inherit;
    transform: rotate(135deg);
}

.LS-home-a-empty {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border-radius: var(--ls-border-radius, 5px);
    background: #fff;
    color: #999;
    font-size: 14px;
}

.LS-home-a-empty i {
    font-size: 30px;
}

.LS-home-a-more {
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    border: 0;
    border-radius: var(--ls-border-radius-btn, 4px);
    background: #fff;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.LS-home-a-more:hover {
    background: rgb(var(--ls-primary-rgb, 59 130 246) / 10%);
    color: var(--ls-primary, #3b82f6);
    transform: translateY(-1px);
}

.LS-home-a-more:disabled {
    cursor: default;
    opacity: .65;
    transform: none;
}

.LS-home-a-sidebar {
    width: 300px;
    flex: 0 0 300px;
    position: sticky;
    top: calc(var(--ls-header-height, 60px) + 10px);
}

.LS-home-a-no-sidebar .LS-home-a-content {
    max-width: 980px;
}
