:root {
    --content-list-accent: var(--hl-header-red, #c8192e);
    --content-list-accent-dark: var(--hl-header-red-dark, #a61123);
    --content-list-ink: #1a1a1a;
    --content-list-muted: #777;
    --content-list-line: #eee;
    --content-list-canvas: #f5f5f5;
}

body.hl-site-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.content-list-page,
.content-list-page *,
.content-list-page *::before,
.content-list-page *::after {
    box-sizing: border-box;
}

.content-list-page {
    flex: 1 0 auto;
    min-width: 0;
    min-height: 68vh;
    padding: 92px 0 64px;
    background: var(--content-list-canvas);
    color: var(--content-list-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
}

.content-list-page a {
    color: inherit;
    text-decoration: none;
}

.content-list-page img {
    display: block;
    max-width: 100%;
}

.content-list-shell {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 10px;
}

.content-list-hero {
    position: relative;
    margin: 0 0 10px;
    overflow: hidden;
}

.content-list-hero__viewport {
    overflow: hidden;
    touch-action: pan-y;
}

.content-list-hero__track {
    display: flex;
    transition: transform 480ms cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.content-list-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.content-list-slide__inner {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 10 / 3;
    background: #dfe3e8;
}

.content-list-slide__inner::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, .72) 100%);
}

.content-list-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 500ms ease;
}

.content-list-slide__inner:hover .content-list-slide__image {
    transform: scale(1.035);
}

.content-list-slide__tag {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 3px 9px;
    background: var(--content-list-accent);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
}

.content-list-slide__title {
    position: absolute;
    z-index: 2;
    right: 30px;
    bottom: 30px;
    left: 30px;
    display: -webkit-box;
    max-height: calc(1.45em * 2);
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    text-overflow: ellipsis;
    text-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.content-list-hero__arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .34);
    color: #fff;
    cursor: pointer;
    opacity: .18;
    place-items: center;
    transform: translateY(-50%);
    transition: opacity 180ms ease, background 180ms ease;
}

.content-list-hero:hover .content-list-hero__arrow,
.content-list-hero__arrow:focus-visible {
    opacity: .65;
}

.content-list-hero__arrow:hover {
    background: rgba(0, 0, 0, .62);
}

.content-list-hero__arrow i {
    font-size: 15px;
}

.content-list-hero__arrow--prev {
    left: -20px;
    padding-left: 14px;
}

.content-list-hero__arrow--next {
    right: -20px;
    padding-right: 14px;
}

.content-list-hero__dots {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 11px;
    left: 0;
    display: flex;
    min-height: 6px;
    justify-content: center;
    gap: 7px;
}

.content-list-hero__dot {
    width: 18px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .7);
    cursor: pointer;
    transition: background 180ms ease;
}

.content-list-hero__dot.is-active {
    background: var(--content-list-accent);
}

.content-list-hero__arrow[hidden],
.content-list-hero__dots[hidden] {
    display: none !important;
}

.content-list-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.content-feed {
    min-width: 0;
    padding: 20px;
    background: #fff;
}

.content-feed__heading {
    min-height: 31px;
    padding-bottom: 15px;
}

.content-feed__heading h1 {
    margin: 0;
    color: #111;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
}

.content-feed-item {
    display: flex;
    align-items: stretch;
    padding: 20px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--content-list-line);
}

.content-feed-item__cover {
    position: relative;
    display: block;
    width: 30%;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
    background: #eef0f3;
}

.content-feed-item__cover img {
    aspect-ratio: 48 / 30;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.content-feed-item:hover .content-feed-item__cover img {
    transform: scale(1.025);
}

.content-feed-item__category {
    position: absolute;
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    padding: 2px 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, .52);
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-feed-item__no-image {
    display: grid;
    width: 100%;
    height: 100%;
    place-content: center;
    gap: 7px;
    color: #adb3bd;
    text-align: center;
}

.content-feed-item__no-image i {
    font-size: 25px;
}

.content-feed-item__no-image small {
    font-size: 12px;
}

.content-feed-item__body {
    display: grid;
    width: 100%;
    min-width: 0;
    padding-left: 20px;
    grid-template-rows: min-content auto 24px;
}

.content-feed-item__title {
    margin: 0 0 10px;
    color: var(--content-list-ink);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    text-wrap: wrap;
}

.content-feed-item__title a {
    display: -webkit-box;
    max-height: 56px;
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
    text-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.content-feed-item__title a:hover,
.content-feed-item__title a:focus-visible,
.content-list-panel__title:hover,
.content-list-panel__title:focus-visible {
    color: var(--content-list-accent);
}

.content-feed-item__body > p {
    display: -webkit-box;
    max-height: 52px;
    margin: 0 0 15px;
    overflow: hidden;
    color: var(--content-list-muted);
    font-size: 16px;
    line-height: 26px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.content-feed-item__body > time {
    color: #999;
    font-size: 12px;
    line-height: 24px;
}

.content-feed-item--no-thumb .content-feed-item__body {
    padding-left: 0;
}

.content-list-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    min-width: 0;
    gap: 20px;
}

.content-list-ad {
    width: 300px;
    height: 188px;
    overflow: hidden;
    background: #fff;
}

.content-list-ad > a,
.content-list-ad img {
    display: block;
    width: 100%;
    height: 100%;
}

.content-list-ad img {
    object-fit: cover;
}

.content-list-ad__empty {
    display: grid;
    width: 100%;
    height: 100%;
    place-content: center;
    gap: 7px;
    border: 1px dashed #d9dde5;
    color: #9aa1ad;
    text-align: center;
}

.content-list-ad__empty i {
    font-size: 28px;
}

.content-list-ad__empty strong {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.content-list-ad__empty span {
    font-size: 12px;
}

.content-list-panel {
    padding: 15px;
    background: #fff;
}

.content-list-panel > header {
    padding: 0;
}

.content-list-panel > header h3 {
    position: relative;
    margin: 2px 0 15px;
    padding: 0 0 0 12px;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.content-list-panel > header h3::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 2px;
    background: var(--content-list-accent);
    content: "";
}

.content-list-panel__items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-list-panel__items li {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 15px 0;
    overflow: hidden;
    border-bottom: 1px dashed var(--content-list-line);
}

.content-list-panel__items li.is-text-only {
    display: block;
}

.content-list-panel__items li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.content-list-panel__cover {
    display: block;
    width: 100px;
    flex-shrink: 0;
    overflow: hidden;
    background: #eef0f3;
}

.content-list-panel__cover img {
    aspect-ratio: 48 / 30;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.content-list-panel__items li > div {
    position: relative;
    width: calc(100% - 110px);
    flex-shrink: 1;
    margin-left: 10px;
}

.content-list-panel__items li.is-text-only > div {
    width: 100%;
    margin-left: 0;
}

.content-list-panel__title {
    display: -webkit-box;
    max-height: calc(1.4em * 2);
    margin-bottom: 10px;
    overflow: hidden;
    color: var(--content-list-ink);
    font-size: 14px;
    line-height: 1.4;
    text-overflow: ellipsis;
    text-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.content-list-panel__items time {
    position: absolute;
    bottom: 0;
    display: block;
    margin: 0;
    color: #999;
    font-size: 12px;
    line-height: 14px;
}

.content-list-panel__items li.is-text-only .content-list-panel__title {
    margin-bottom: 8px;
}

.content-list-panel__items li.is-text-only time {
    position: relative;
}

.content-list-panel__empty {
    margin: 0;
    padding: 34px 0 30px;
    color: #999;
    font-size: 13px;
    text-align: center;
}

.content-list-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 26px 0 6px;
    border-top: 1px solid var(--content-list-line);
}

.content-list-pagination a {
    display: grid;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-size: 13px;
    place-items: center;
}

.content-list-pagination a:hover,
.content-list-pagination a:focus-visible,
.content-list-pagination a.is-active {
    border-color: var(--content-list-accent);
    background: var(--content-list-accent);
    color: #fff;
}

.content-list-pagination a:hover,
.content-list-pagination a:focus-visible {
    border-color: var(--content-list-accent-dark);
    background: var(--content-list-accent-dark);
}

.content-feed__empty {
    padding: 90px 24px 105px;
    border-top: 1px solid var(--content-list-line);
    color: #999;
    text-align: center;
}

.content-feed__empty i {
    margin-bottom: 16px;
    color: #c5cad2;
    font-size: 42px;
}

.content-feed__empty h2 {
    margin: 0;
    color: #555;
    font-size: 18px;
    font-weight: 500;
}

.content-feed__empty p {
    margin: 8px 0 0;
    font-size: 13px;
}

@media (max-width: 991px) {
    .content-list-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .content-list-sidebar {
        display: none;
    }
}

@media (max-width: 600px) {
    .content-list-page {
        padding: 64px 0 36px;
        background: #fff;
    }

    .content-list-shell {
        width: 100%;
        padding: 0 15px;
    }

    .content-feed {
        padding: 0;
    }

    .content-list-hero {
        margin-bottom: 8px;
    }

    .content-list-slide__inner {
        aspect-ratio: 16 / 7;
    }

    .content-list-slide__title {
        right: 12px;
        bottom: 10px;
        left: 12px;
        font-size: 16px;
    }

    .content-list-hero__arrow {
        width: 34px;
        height: 48px;
        opacity: .75;
    }

    .content-feed__heading {
        min-height: 52px;
        padding: 14px 0 12px;
    }

    .content-feed__heading h1 {
        font-size: 18px;
        line-height: 26px;
    }

    .content-feed-item {
        padding: 15px 0;
    }

    .content-feed-item__cover {
        width: 33%;
    }

    .content-feed-item__category,
    .content-feed-item__body > p {
        display: none;
    }

    .content-feed-item__body {
        display: flex;
        min-height: 0;
        padding-left: 10px;
        flex-direction: column;
        justify-content: space-between;
    }

    .content-feed-item__title {
        margin: 0;
        font-size: 17px;
        font-weight: 400;
        line-height: 1.36;
    }

    .content-feed-item__title a {
        max-height: 50px;
    }

    .content-feed-item__body > time {
        font-size: 12px;
        line-height: 16px;
    }

    .content-feed-item--no-thumb .content-feed-item__body {
        padding-left: 0;
    }

    .content-feed-item__no-image {
        gap: 4px;
    }

    .content-feed-item__no-image i {
        font-size: 20px;
    }

    .content-feed-item__no-image small {
        font-size: 10px;
    }

    .content-list-pagination {
        padding-top: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-feed-item__cover img,
    .content-list-hero__track,
    .content-list-slide__image {
        transition: none;
    }
}
