.soft-page {
    --soft-ink: #23333b;
    --soft-muted: #6c7980;
    --soft-border: #e1e8eb;
    --soft-accent: #b82632;
    --soft-accent-light: #fff2f2;
    color: var(--soft-ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

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

.soft-page a {
    text-decoration: none;
}

.soft-page :focus-visible {
    outline: 3px solid rgba(184, 38, 50, .55);
    outline-offset: 3px;
}

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

.soft-shell {
    width: min(100% - 48px, 1360px);
    margin: 0 auto;
    padding: 28px 0 64px;
}

.soft-hero,
.soft-side-panel,
.soft-article {
    background: #fff;
    border: 1px solid var(--soft-border);
    border-radius: 12px;
}

.soft-hero {
    padding: 23px 30px 28px;
}

.soft-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7d8a90;
    font-size: 13px;
    line-height: 1.5;
}

.soft-breadcrumb a {
    color: #64747c;
}

.soft-breadcrumb a:hover {
    color: var(--soft-accent);
}

.soft-hero__content {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-top: 22px;
}

.soft-hero__intro h1 {
    margin: 0;
    color: #1b2a31;
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .01em;
}

.soft-hero__intro p {
    margin: 9px 0 0;
    color: var(--soft-muted);
    font-size: 14px;
    line-height: 1.7;
}

.soft-search {
    width: min(100%, 440px);
    flex: 0 1 440px;
}

.soft-search__field {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 48px;
    padding: 4px;
    background: #f7f9fa;
    border: 1px solid #dce4e8;
    border-radius: 8px;
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.soft-search__field:focus-within {
    border-color: var(--soft-accent);
    box-shadow: 0 0 0 3px rgba(184, 38, 50, .2);
}

.soft-search__field svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-left: 12px;
    color: #8b999f;
}

.soft-search__field input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 10px;
    color: var(--soft-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
}

.soft-search__field input::placeholder {
    color: #8b989e;
}

.soft-search__field button {
    align-self: stretch;
    flex: 0 0 auto;
    min-width: 68px;
    padding: 0 16px;
    color: #fff;
    background: var(--soft-accent);
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 250ms ease;
}

.soft-search__field button:hover {
    background: #94202a;
}

.soft-keywords {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 21px;
}

.soft-keywords__label {
    flex: 0 0 auto;
    color: #68777e;
    font-size: 13px;
}

.soft-keywords__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.soft-keywords__list a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    color: #a52c36;
    background: #fff7f7;
    border: 1px solid #f0d7d9;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 250ms ease, background-color 250ms ease, border-color 250ms ease;
}

.soft-keywords__list a:hover,
.soft-keywords__list a:focus-visible {
    color: #fff;
    background: var(--soft-accent);
    border-color: var(--soft-accent);
}

.soft-keywords__list a:focus-visible {
    outline: 2px solid rgba(184, 38, 50, .32);
    outline-offset: 2px;
}

.soft-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: 24px;
    margin-top: 24px;
}

.soft-results {
    min-width: 0;
}

.soft-results__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    margin-bottom: 14px;
    border-bottom: 1px solid #dfe6e9;
}

.soft-filters {
    display: flex;
    align-self: stretch;
    gap: 28px;
}

.soft-filter {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 2px;
    color: #65747b;
    font-size: 15px;
    font-weight: 500;
    transition: color 250ms ease;
}

.soft-filter::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--soft-accent);
    border-radius: 3px 3px 0 0;
    content: "";
    transform: scaleX(0);
    transition: transform 250ms ease;
}

.soft-filter:hover,
.soft-filter.is-active {
    color: var(--soft-accent);
}

.soft-filter:hover::after,
.soft-filter.is-active::after {
    transform: scaleX(1);
}

.soft-results__count {
    margin: 0;
    color: var(--soft-muted);
    font-size: 13px;
    white-space: nowrap;
}

.soft-results__count strong {
    color: #42545d;
    font-weight: 600;
}

.soft-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.soft-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--soft-border);
    border-radius: 10px;
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.soft-card:hover,
.soft-card:focus-within {
    border-color: #d3aaae;
    box-shadow: 0 5px 18px rgba(35, 51, 59, .06);
}

.soft-card__link {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    min-height: 188px;
    padding: 20px;
    color: inherit;
}

.soft-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-self: stretch;
    min-width: 0;
}

.soft-card__eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #859197;
    font-size: 12px;
    line-height: 1.5;
}

.soft-kind {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--soft-accent);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.soft-kind::before {
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
    content: "";
}

.soft-card h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 12px 0 0;
    color: #24353c;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 250ms ease;
}

.soft-card:hover h2,
.soft-card:focus-within h2 {
    color: var(--soft-accent);
}

.soft-card__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0 0;
    color: var(--soft-muted);
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.soft-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    color: #8b989e;
    font-size: 12px;
}

.soft-card__more {
    color: #7e8b91;
    white-space: nowrap;
}

.soft-card__foot > span:first-child {
    white-space: nowrap;
}

.soft-card__more span {
    margin-left: 2px;
    font-size: 17px;
    line-height: 1;
    vertical-align: -1px;
}

.soft-card__image {
    flex: 0 0 112px;
    width: 112px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #edf2f3;
    border-radius: 7px;
}

.soft-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.soft-empty {
    grid-column: 1 / -1;
    padding: 64px 20px;
    color: var(--soft-muted);
    text-align: center;
    background: #fff;
    border: 1px solid var(--soft-border);
    border-radius: 10px;
}

.soft-empty__icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    place-items: center;
    color: #a6b2b7;
    background: #f3f6f7;
    border-radius: 50%;
}

.soft-empty__icon svg {
    width: 28px;
    height: 28px;
}

.soft-empty strong {
    display: block;
    color: #405159;
    font-size: 16px;
}

.soft-empty p {
    margin: 8px 0 14px;
    font-size: 13px;
}

.soft-empty a {
    color: var(--soft-accent);
    font-size: 13px;
    font-weight: 600;
}

.soft-pagination {
    margin-top: 24px;
    color: #617178;
    font-size: 14px;
}

.soft-pagination > div {
    flex-wrap: wrap;
}

.soft-pagination a,
.soft-pagination button,
.soft-pagination input {
    border-color: #d9e2e5;
}

.soft-pagination input {
    color: var(--soft-ink);
    background: #fff;
}

.soft-sidebar {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.soft-side-panel {
    padding: 22px;
}

.soft-side-panel__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.soft-side-panel__heading h2 {
    margin: 0;
    color: #24353c;
    font-size: 17px;
    font-weight: 700;
}

.soft-side-panel__heading > span {
    color: #95a0a5;
    font-size: 12px;
}

.soft-hot-list {
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
}

.soft-hot-list li + li {
    border-top: 1px solid #edf1f2;
}

.soft-hot-list a {
    display: block;
    padding: 14px 0;
    color: #34464e;
}

.soft-hot-list li:last-child a {
    padding-bottom: 0;
}

.soft-hot-list__title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 250ms ease;
}

.soft-hot-list a:hover .soft-hot-list__title,
.soft-hot-list a:focus-visible .soft-hot-list__title {
    color: var(--soft-accent);
}

.soft-hot-list__meta {
    display: block;
    margin-top: 6px;
    color: #98a4a9;
    font-size: 12px;
}

.soft-side-empty {
    margin: 20px 0 0;
    color: var(--soft-muted);
    font-size: 13px;
}

.soft-breadcrumb--detail {
    margin: 0 0 20px;
}

.soft-layout--detail {
    margin-top: 0;
}

.soft-article {
    min-width: 0;
    padding: 42px clamp(24px, 4vw, 58px);
}

.soft-article__header,
.soft-article__media,
.soft-article-body,
.soft-article__footer {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.soft-article__header h1 {
    margin: 15px 0 0;
    color: #1d2d34;
    font-size: clamp(25px, 2.6vw, 36px);
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.soft-article__summary {
    margin: 18px 0 0;
    color: #6b7a81;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.soft-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 22px;
    color: #8a979d;
    font-size: 13px;
}

.soft-article__media {
    overflow: hidden;
    margin-top: 30px;
    background: #f1f5f6;
    border-radius: 8px;
}

.soft-article__media img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
}

.soft-article__media--video {
    aspect-ratio: 16 / 9;
    background: #1e292e;
}

.soft-article__media--video iframe,
.soft-article__media--video video,
.soft-article__media--video img,
.soft-article__media-empty {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
    object-fit: contain;
}

.soft-article__media-empty {
    display: grid;
    place-items: center;
    color: #c2cdd1;
    font-size: 14px;
}

.soft-article-body {
    padding-top: 30px;
    color: #35474e;
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.soft-article-body p,
.soft-article-body ul,
.soft-article-body ol,
.soft-article-body blockquote,
.soft-article-body figure,
.soft-article-body table {
    margin: 1em 0;
}

.soft-article-body h2,
.soft-article-body h3,
.soft-article-body h4 {
    margin: 1.6em 0 .6em;
    color: #24353c;
    font-weight: 700;
    line-height: 1.5;
}

.soft-article-body h2 {
    font-size: 1.3em;
}

.soft-article-body h3 {
    font-size: 1.15em;
}

.soft-article-body ul,
.soft-article-body ol {
    padding-left: 1.5em;
    list-style: revert;
}

.soft-article-body img,
.soft-article-body video {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.soft-article-body iframe {
    max-width: 100%;
    border: 0;
}

.soft-article-body figcaption {
    margin-top: 6px;
    color: #839198;
    font-size: 13px;
    text-align: center;
}

.soft-article-body a {
    color: var(--soft-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.soft-article-body blockquote {
    padding: 12px 18px;
    color: #5a6d75;
    background: #f5f8f9;
    border-left: 3px solid #b9cdd2;
}

.soft-article-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.soft-article-body th,
.soft-article-body td {
    padding: 8px 12px;
    border: 1px solid #dfe6e9;
    vertical-align: top;
}

.soft-article-body pre {
    max-width: 100%;
    overflow-x: auto;
}

.soft-article__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid #e9eef0;
}

.soft-article__footer a {
    color: #687a82;
    font-size: 14px;
    transition: color 250ms ease;
}

.soft-article__footer a:first-child,
.soft-article__footer a:hover {
    color: var(--soft-accent);
}

.soft-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.soft-quick-links a {
    padding: 7px 12px;
    color: #5e7078;
    background: #f3f6f7;
    border-radius: 5px;
    font-size: 13px;
    transition: color 250ms ease, background-color 250ms ease;
}

.soft-quick-links a:hover {
    color: var(--soft-accent);
    background: var(--soft-accent-light);
}

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

@media (max-width: 700px) {
    .soft-shell {
        width: calc(100% - 32px);
        padding: 16px 0 40px;
    }

    .soft-hero {
        padding: 18px 20px 20px;
    }

    .soft-hero__content {
        display: block;
        margin-top: 18px;
    }

    .soft-search {
        width: 100%;
        margin-top: 19px;
    }

    .soft-keywords {
        align-items: flex-start;
        gap: 9px;
        margin-top: 17px;
    }

    .soft-keywords__label {
        padding-top: 7px;
    }

    .soft-keywords__list {
        gap: 7px;
    }

    .soft-layout {
        gap: 20px;
        margin-top: 18px;
    }

    .soft-results__header {
        min-height: 44px;
    }

    .soft-filters {
        gap: 22px;
    }

    .soft-filter {
        font-size: 14px;
    }

    .soft-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .soft-card__link {
        min-height: 165px;
        padding: 17px 42px 17px 17px;
    }

    .soft-card__image {
        flex-basis: 96px;
        width: 96px;
    }

    .soft-card h2 {
        margin-top: 9px;
        font-size: 15px;
    }

    .soft-side-panel {
        padding: 20px 42px 20px 20px;
    }

    .soft-breadcrumb--detail {
        margin-bottom: 15px;
    }

    .soft-layout--detail {
        margin-top: 0;
    }

    .soft-article {
        padding: 26px 42px 30px 20px;
    }

    .soft-article__header h1 {
        font-size: 24px;
    }

    .soft-article__summary {
        font-size: 14px;
    }

    .soft-article-body {
        padding-top: 24px;
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .soft-card__link {
        gap: 12px;
        padding-right: 38px;
    }

    .soft-card__image {
        flex-basis: 64px;
        width: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .soft-page *,
    .soft-page *::before,
    .soft-page *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
